private void camara2ToolStripMenuItem_Click(object sender, EventArgs e) { if (fcs2 == null) { fcs2 = new fSetCam2(); fcs2.MdiParent = this; fcs2.FormClosed += new FormClosedEventHandler(CloseForm); fcs2.Show(); } else { fcs2.Activate(); } }
private void button2_Click(object sender, EventArgs e) { fSetCam2 f = new fSetCam2(); f.Show(); }