public App() { // Instantiate and initialize ViewModel for page. adderViewModel = new AdderViewModel(); adderViewModel.RestoreState(Current.Properties); MainPage = new AddingMachinePage(adderViewModel); }
public App() { adderViewModel = new AdderViewModel(); adderViewModel.RestoreState(Current.Properties); MainPage = new MVVMCalculatorPage(adderViewModel); }