Exemplo n.º 1
0
 public MainPage()
 {
     InitializeComponent();
     Core.Log("New MainPage.");
     if (!Core.Initialized)
     {
         Detail = new SelectTypePage();
     }
     else
     {
         Detail = NavigationViewModel.Instance.GuessCurrentPage();
         SetOutline();
     }
 }
Exemplo n.º 2
0
        public MainPage()
        {
            InitializeComponent();


            if (Core.App.Service is null)
            {
                Detail = new SelectTypePage();
            }
            else
            {
                Detail = NavigationViewModel.Instance.GuessCurrentPage();
                SetOutline();
            }
        }