示例#1
0
 protected override void ChangeViewMethod(object parameter)
 {
     if (parameter.ToString() == "SalaryRequest")
     {
         SelectedViewModel = new HandleSalaryRequestViewModel();
     }
 }
示例#2
0
 public FinanceViewModel(Employee _employee)
 {
     Name              = "Finance Team";
     CurrentEmployee   = _employee;
     SelectedViewModel = new HandleSalaryRequestViewModel();
 }