private void SearchToolStripMenuItem_Click(object sender, EventArgs e) { if (_search != null) { return; } _search = new SearchDialog(SafeGetCurrTableModel()); _search.FormClosed += (s, ee) => { _search = null; }; _search.Show(this); }
private void SearchToolStripMenuItem_Click(object sender, EventArgs e) { if (_search != null) return; _search = new SearchDialog( SafeGetCurrTableModel() ); _search.FormClosed += (s, ee) => { _search = null; }; _search.Show(this); }