コード例 #1
0
ファイル: VM_MainWindow.cs プロジェクト: AnneLorin/Movie.NET
 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();
     }
 }
コード例 #2
0
ファイル: VM_MainWindow.cs プロジェクト: AnneLorin/Movie.NET
 /**
  * Display an Authentication view on Detail page
  * */
 private void GoToUserManagement()
 {
     RootPage = new RootFrame();
     Info     = "MainWindow set rootFrame for user management";
     Console.WriteLine(Info);
 }