Example #1
0
 protected override void OnMouseUp(MouseEventArgs e)
 {
     base.OnMouseUp(e);
     if (e.Button == MouseButtons.Left)
     {
         SystemButtonManager.ProcessMouseOperate(e.Location, MouseOperate.Up);
     }
 }
Example #2
0
 protected override void OnMouseLeave(EventArgs e)
 {
     base.OnMouseLeave(e);
     SystemButtonManager.ProcessMouseOperate(Point.Empty, MouseOperate.Leave);
 }
Example #3
0
 protected override void OnMouseMove(MouseEventArgs e)
 {
     base.OnMouseMove(e);
     SystemButtonManager.ProcessMouseOperate(e.Location, MouseOperate.Move);
 }