private void MainForm_MouseDown(object sender, MouseEventArgs e) { if (this.tmDelay.Enabled) { this.tmDelay.Stop(); } MoveHandler.MouseDown(e); }
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(); }
private void MainForm_MouseMove(object sender, MouseEventArgs e) { MoveHandler.MouseMove(this, e); }