Exemple #1
0
 void SetSessionUser(User user)
 {
     Console.WriteLine("VM_MainWindow: SetSession User.");
     if (user != null)
     {
         Console.WriteLine("VM_MainWindow: rootFrame");
         RootPage = new RootFrame();
     }
     else
     {
         Console.WriteLine("VM_MainWindow: authentication");
         RootPage = new Authentication();
     }
 }
Exemple #2
0
 /**
  * Display an Authentication view on Detail page
  * */
 private void GoToUserManagement()
 {
     RootPage = new RootFrame();
     Info     = "MainWindow set rootFrame for user management";
     Console.WriteLine(Info);
 }