예제 #1
0
 public HostViewModel()
 {
     SearchText             = "Search";
     StartScreen            = new StartScreenViewModel();
     ExitApplicationCommand = new RelayCommand(ExitApplication);
     SearchGotFocusCommand  = new RelayCommand(SearchGotFocus);
     SearchLostFocusCommand = new RelayCommand(SearchLostFocus);
     ExecuteSearchCommand   = new RelayCommand(ExecuteSearch);
 }
예제 #2
0
 public HostViewModel()
 {
     SearchText = "Search";
     StartScreen = new StartScreenViewModel();
     ExitApplicationCommand = new RelayCommand(ExitApplication);
     SearchGotFocusCommand = new RelayCommand(SearchGotFocus);
     SearchLostFocusCommand = new RelayCommand(SearchLostFocus);
     ExecuteSearchCommand = new RelayCommand(ExecuteSearch);
 }
 public ScreenControllerViewModel()
 {
     CurrentScreen = new StartScreenViewModel();
 }
예제 #4
0
 public ScreenControllerViewModel()
 {
     CurrentScreen = new StartScreenViewModel();
 }