private void PictureBox1_MouseDown(object sender, MouseEventArgs e) { isEnd = true; if (isEnd) { pictureBox2.Visible = true; myDraw = new myDrawRectangel(ShowDrawRectangle); thDraw = new Thread(Run); thDraw.Start(); } }
private void FormMagnifying_Load(object sender, EventArgs e) { myDraw = new myDrawRectangel(ShowDrawRectangle); thDraw = new Thread(Run); thDraw.Start(); }