// ------------------------------------------------------------------- // EVENTS // ------------------------------------------------------------------- private void PictureBox_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { PictureBox.MakeFirstRectangleSelection(e.X, e.Y, PictureBox.ZoomPixel); PictureBox.Refresh(); } }
// ------------------------------------------------------------------- // Event // ------------------------------------------------------------------- private void PictureBox_MouseDown(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { IsUsingCursorSelector = true; PictureBox.MakeFirstRectangleSelection(e.X, e.Y, PictureBox.ZoomPixel); UpdateNumerics(); } }