public override bool MouseMiddleUp(int x, int y) { if (_drawable == null) { return(false); } return(_drawable.MouseMiddleUp(x, y)); }
public bool MouseMiddleUp(int x, int y) { _rect.MouseMiddleUp(x, y); if (_target == null) { return(false); } else { return(_target.MouseMiddleUp(x, y)); } }
private void D3DContent_MouseUp(object sender, MouseEventArgs e) { switch (e.Button) { case MouseButtons.Left: m_leftDown = false; if (_drawable.MouseLeftUp(e.X, e.Y)) { Invalidate(); } break; case MouseButtons.Middle: m_middleDown = false; if (_drawable.MouseMiddleUp(e.X, e.Y)) { Invalidate(); } break; case MouseButtons.Right: m_rightDown = false; if (_drawable.MouseRightUp(e.X, e.Y)) { Invalidate(); } break; } if (!m_leftDown && !m_middleDown && !m_rightDown) { Capture = false; } }