Exemple #1
0
        private void MainForm_MouseDown(object sender, MouseEventArgs e)
        {
            if (this.tmDelay.Enabled)
            {
                this.tmDelay.Stop();
            }

            MoveHandler.MouseDown(e);
        }
Exemple #2
0
        private void MainForm_MouseUp(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Right)
            {
                this.contextMenuStrip1.Show((Control)sender, e.X, e.Y);
            }
            if (!this.tmDelay.Enabled)
            {
                this.tmDelay.Start();
            }

            MoveHandler.MouseUp();
        }
Exemple #3
0
 private void MainForm_MouseMove(object sender, MouseEventArgs e)
 {
     MoveHandler.MouseMove(this, e);
 }