Exemplo n.º 1
0
 void SelectReportGroupViewModel_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
 {
     switch (e.PropertyName)
     {
     case "SelectedReportGroup":
     case "ReportName":
         OKCommand.UpdateCanExecuteCommand();
         break;
     }
 }
Exemplo n.º 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;
     }
 }