private void Income_EP_Add(object sender, EventArgs e) { try { Payment o = new Payment(Transactions_Types.Cust); o.ShowDialog(); Fill_DG(); } catch { } }
private void Income_EP_Edit(object sender, EventArgs e) { try { Payment o = new Payment(Transactions_Types.Cust, ((DataRowView)Income_DG.SelectedItem)["pay_id"]); o.ShowDialog(); Fill_DG(); } catch { } }