private void Bank_EP_Add(object sender, EventArgs e) { try { Bank o = new Bank(); o.ShowDialog(); Fill_Bank(); } catch { } }
private void Bank_EP_Edit(object sender, EventArgs e) { try { Bank o = new Bank(((DataRowView)Bank_DG.SelectedItem)["bnk_id"]); o.ShowDialog(); Fill_Bank(); } catch { } }