private void button1_Click(object sender, EventArgs e) { frmConnStr con = new frmConnStr(load); con.ShowDialog(); this.Close(); }
private void LoadData() { try { LoadTables(); } catch { frmConnStr con = new frmConnStr(LoadTables); con.ShowDialog(); } InitEditors(); }