예제 #1
0
 private void DisableButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         bool?blnEnabled = StaffFunctions.EnableOrDisable(selectedStaffID);
         if (blnEnabled != null)
         {
             refreshStaffGrid();
         }
     }
     catch (Exception generalException) { MessageFunctions.Error("Error changing status", generalException); }
 }