private void propertyOptionsToolStripMenuItem_Click(object sender, EventArgs e) { if (this.propOptionsDlg == null) { this.propOptionsDlg = new ProcedureOptionsDialog(); this.propOptionsDlg.FormClosed += delegate { this.procDlg = null; }; } this.propOptionsDlg.Show(); }
private void procedureToolStripMenuItem_Click(object sender, EventArgs e) { if (this.procDlg == null) { this.procDlg = new ProcedurePropertiesDialog(); this.procDlg.FormClosed += delegate { this.procDlg = null; }; } this.procDlg.Show(); }