private void pictureBox_MouseMove(object sender, MouseEventArgs e) { if (drawer.started) { drawer.Draw(e.Location); } }
private void pictureBox1_MouseMove(object sender, MouseEventArgs e) { if (drawer.ok) { drawer.Draw(e.Location); } pictureBox1.Refresh(); mouseLocationLabel.Text = string.Format("X:{0},Y:{1}", e.X, e.Y); }