Beispiel #1
0
 private void ClickSaveBtn(object sender, RoutedEventArgs e)
 {
     DataGrid1.CommitEdit();
     try
     {
         itemController.SaveItem(((Button)sender).DataContext as Item);
         GetItemsList(itemController.GetItemsByDate((DateTime)SearchDate.SelectedDate));
     }
     catch (Exception ex)
     {
         excpetionHandler.HandleException(ex);
     }
 }