Ejemplo n.º 1
0
 private void ClockForm_MouseMove(object sender, MouseEventArgs e)
 {
     if (VectorManipulator.CaptureMode)
     {
         VectorManipulator.Movement(e.X, e.Y);
         this.Repaint();
     }
 }
Ejemplo n.º 2
0
 private void ClockForm_MouseUp(object sender, MouseEventArgs e)
 {
     if (VectorManipulator.DecreaseCaptureLevel(e.Button))
     {
         VectorManipulator.Movement(e.X, e.Y);
         this.Repaint();
     }
 }
Ejemplo n.º 3
0
        private void ClockForm_MouseDown(object sender, MouseEventArgs e)
        {
            if (VectorManipulator.IncreaseCaptureLevel(e.Button))
            {
                //  Переключаем часы в режим трех управляемых мышью стрелок.
                this.RadioBtn_TestVectors.Checked = true;

                VectorManipulator.Movement(e.X, e.Y);
                this.Repaint();
            }
        }