コード例 #1
0
 private void p1_MouseClick(object sender, MouseEventArgs e)
 {
     x++;
     if (x == 1)
     {
         frmMy fr = new frmMy();
         fr.Show();
     }
     else if (x == 2)
     {
     }
     else if (x == 3)
     {
     }
     else
     {
     }
 }
コード例 #2
0
        private void pictureBox3_Click(object sender, EventArgs e)
        {
            frmMy f = new frmMy();

            f.WindowState = FormWindowState.Minimized;
        }