public override bool MouseRightUp(int x, int y) { if (_drawable == null) { return(false); } return(_drawable.MouseRightUp(x, y)); }
public bool MouseRightUp(int x, int y) { _rect.MouseRightUp(x, y); if (_target == null) { return(false); } else { return(_target.MouseRightUp(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; } }