Exemplo n.º 1
0
 private void addExpenseBtn_Click(object sender, EventArgs e)
 {
     AddData2 expnseData = new AddData2("Add Expense Data","Note:","Amount:");
     expnseData.OnNewDataAdded2 += new delegateNewDataAdded2(expnseData_OnNewDataAdded2);
     expnseData.ShowDialog();
 }
Exemplo n.º 2
0
 private void addCreditBtn_Click(object sender, EventArgs e)
 {
     AddData2 creditData = new AddData2("Add Credit Data", "Note:", "Amount:");
     creditData.OnNewDataAdded2 += new delegateNewDataAdded2(creditData_OnNewDataAdded2);
     creditData.ShowDialog();
 }