void CloseForm(object sender, FormClosedEventArgs e) { formrov = null; fc1 = null; fc2 = null; fc3 = null; fcs1 = null; fcs2 = null; fcs3 = null; }
private void camara1ToolStripMenuItem_Click(object sender, EventArgs e) { if (fcs1 == null) { fcs1 = new fSetCam1(); fcs1.MdiParent = this; fcs1.FormClosed += new FormClosedEventHandler(CloseForm); fcs1.Show(); } else { fcs1.Activate(); } }
private void button2_Click(object sender, EventArgs e) { fSetCam1 f = new fSetCam1(); f.Show(); }