private void btnAddNewBooks_Click(object sender, EventArgs e) { using (Form_AddExpense ae = new Form_AddExpense()) { ae.ShowDialog(); } }
private void btnAdd_Click(object sender, EventArgs e) { using (Form_AddExpense form = new Form_AddExpense()) { form.ShowDialog(); } }
private void btnEdit_Click(object sender, EventArgs e) { using (Form_AddExpense form = new Form_AddExpense(this, curRowIndex)) { form.ShowDialog(); PopulateDataGrid(); } }