Esempio n. 1
0
 private void newDetailsMBtn_Click(object sender, RoutedEventArgs e)
 {
     //this.WindowState = System.Windows.WindowState.Minimized;
        //NewDetailsWindow NewDetailsWindowObj = new NewDetailsWindow();
       //  NewDetailsWindowObj.Show();
     ExpenseManagerGUI.NewDetailsWindow NewDetailsWindowobj = new ExpenseManagerGUI.NewDetailsWindow(null);
         NewDetailsWindowobj.Show();
 }
Esempio n. 2
0
 private void editExpenseBtn_Click(object sender, RoutedEventArgs e)
 {
     ExpenseInfo expenseToEdit = GetSelectedExpenseItem();
     if (expenseToEdit != null)
     {
         ExpenseManagerGUI.NewDetailsWindow NewDetailsWindowobj = new ExpenseManagerGUI.NewDetailsWindow(expenseToEdit);
         NewDetailsWindowobj.Show();
     }
 }