Exemple #1
0
 private void pictureBox_MouseMove(object sender, MouseEventArgs e)
 {
     if (drawer.started)
     {
         drawer.Draw(e.Location);
     }
 }
Exemple #2
0
        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);
        }