public override ViewModelBase Initialize()
 {
     mViewModel = new UsersControlViewModel()
     {
         Users = new ObservableCollection <User>(MainWindowController.serviceClient.GetUsers())
     };
     return(mViewModel);
 }
 public void ExecuteUsersCommand(object obj)
 {
     usersControlController                      = new UsersControlController();
     mViewModel.ActiveViewModel                  = usersControlController.Initialize();
     usersControlViewModel                       = (UsersControlViewModel)mViewModel.ActiveViewModel;
     mViewModel.ButtonsEnabled                   = true;
     mViewModel.UserCurrentBackColor             = new SolidColorBrush(Colors.DodgerBlue);
     mViewModel.UserCurrentForeColor             = new SolidColorBrush(Colors.White);
     mViewModel.CostMonthCurrentBackColor        = new SolidColorBrush(Colors.White);
     mViewModel.CostMonthCurrentForeColor        = new SolidColorBrush(Colors.Black);
     mViewModel.CostBusinessUnitCurrentBackColor = new SolidColorBrush(Colors.White);
     mViewModel.CostBusinessUnitCurrentForeColor = new SolidColorBrush(Colors.Black);
     mViewModel.StartCurrentBackColor            = new SolidColorBrush(Colors.White);
     mViewModel.StartCurrentForeColor            = new SolidColorBrush(Colors.Black);
     mViewModel.VehiclesCurrentBackColor         = new SolidColorBrush(Colors.White);
     mViewModel.VehiclesCurrentForeColor         = new SolidColorBrush(Colors.Black);
     mViewModel.EmployeeCurrentBackColor         = new SolidColorBrush(Colors.White);
     mViewModel.EmployeeCurrentForeColor         = new SolidColorBrush(Colors.Black);
     mViewModel.BusinessUnitCurrentBackColor     = new SolidColorBrush(Colors.White);
     mViewModel.BusinessUnitCurrentForeColor     = new SolidColorBrush(Colors.Black);
 }