Пример #1
0
 private async void RegisterCommandExecute()
 {
     MainViewModel.GetInstanceMainViewModel().RegisterVm = new RegisterViewModel();
     await Application.Current.MainPage.Navigation.PushAsync(new RegisterPage());
 }
Пример #2
0
 private async void LoginCommandExecute()
 {
     MainViewModel.GetInstanceMainViewModel().LoginVm = new LoginViewModel();
     await Application.Current.MainPage.Navigation.PushAsync(new LoginPage());
 }