Пример #1
0
 void SelectReportGroupViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     switch (e.PropertyName)
     {
     case "SelectedReportGroup":
     case "ReportName":
         OKCommand.UpdateCanExecuteCommand();
         break;
     }
 }
Пример #2
0
 /// <summary>
 /// Handler for the PropertyChanged event
 /// </summary>
 /// <param name="sender">The source of the event</param>
 /// <param name="e">The event arguments associated with the event</param>
 void SelectReportModelDialogViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     //Hand
     switch (e.PropertyName)
     {
     case "SelectedDataModel":
         OKCommand.UpdateCanExecuteCommand();
         break;
     }
 }