private void add_table_btn_ButtonClick(object sender, EventArgs e) { if (CreateTable.hndlr == null) { CreateTable ct = new CreateTable(); ct.ShowDialog(); } else { CreateTable.hndlr.ShowDialog(); } }
public CreateTable() { hndlr = this; InitializeComponent(); checkStatus(); }