void IMouseHandler.canvas_MouseDown(object sender, MouseEventArgs e)
{
this.lastBindingMouseButtons = this.BindingMouseButtons;
if ((e.Button & this.lastBindingMouseButtons) != MouseButtons.None)
{
var control = sender as Control;
this.SetBounds(control.Width, control.Height);
if (!cameraState.IsSameState(this.camera))
{
SetCamera(this.camera.Position, this.camera.Target, this.camera.UpVector);
}
this._startPosition = GetArcBallPosition(e.X, e.Y);
mouseDownFlag = true;
}
}