Пример #1
0
        public App()
        {
            InitializeComponent();

            Current = this;
            var isLoggedIn = Properties.ContainsKey("IsLoggedIn") ? (bool)Properties["IsLoggedIn"] : false;

            if (isLoggedIn)
            {
                MainPage = new Inicio();
            }
            else
            {
                MainPage = new LoginModalPage(this);
            }
        }
Пример #2
0
 public void ShowMainPage()
 {
     MainPage = new Inicio();
 }