Example #1
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     if (flag == true)
     {
         FishAdult a = new FishAdult();
         Graphics  g = pictureBox1.CreateGraphics();
         a.Create(MousePosition.X, MousePosition.Y, g);
         flag = false;
     }
 }