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