예제 #1
0
 public App()
 {
     // Instantiate and initialize ViewModel for page.
     adderViewModel = new AdderViewModel();
     adderViewModel.RestoreState(Current.Properties);
     MainPage = new AddingMachinePage(adderViewModel);
 }
예제 #2
0
 public App()
 {
     // Instantiate and initialize ViewModel for page.
     adderViewModel = new AdderViewModel();
     adderViewModel.RestoreState(Current.Properties);
     MainPage = new AddingMachinePage(adderViewModel);
 }
예제 #3
0
 public App()
 {
     adderViewModel = new AdderViewModel();
     adderViewModel.RestoreState(Current.Properties);
     MainPage = new MVVMCalculatorPage(adderViewModel);
 }