Ejemplo n.º 1
0
 private void BtnInitlogInClick(object sender, RoutedEventArgs e)
 {
     loginVM.InitializeLoginController();
     if (loginVM.IsAuthenticated == true)
     {
         loginVM.UpdateButtonContent();
         mainWindow = MainWindow.Instance;
         mainWindow.Login.Content = "Profil";
         Frontpage page = new Frontpage();
         NavigationService.Navigate(page);
     }
 }