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 { } }
private void pictureBox3_Click(object sender, EventArgs e) { frmMy f = new frmMy(); f.WindowState = FormWindowState.Minimized; }