private void scanSurfaceForm_FormClosed(object sender, FormClosedEventArgs e) { scanSurfaceForm = null; }
private void Feed() { PreviewSetting.ShowMatrix = true; ScanSurfaceForm frm = new ScanSurfaceForm(); frm.Show(); }
private void scanSurfaceToolStripMenuItem1_Click(object sender, EventArgs e) { if (scanSurfaceForm == null) { scanSurfaceForm = new ScanSurfaceForm(); scanSurfaceForm.FormClosed += new FormClosedEventHandler(scanSurfaceForm_FormClosed); scanSurfaceForm.Show(); } else { scanSurfaceForm.Show(); } }