private void cameraToolStripMenuItem_Click(object sender, EventArgs e) { bool isOpen = HDLSysPF.IsAlreadyOpenedForm("frmCamera"); if (isOpen == false) { frmCamera frmTest = new frmCamera(); frmTest.Show(); } }
private void btnHelp_Click(object sender, EventArgs e) { bool isOpen = HDLSysPF.IsAlreadyOpenedForm("frmCamera"); if (isOpen == false) { frmCamera frmTest = new frmCamera(oCamera, cameraListCtrl.Rows.Count, 0); frmTest.Show(); } }