コード例 #1
0
ファイル: App.xaml.cs プロジェクト: codyweis/DanceApp
        public App()
        {
            InitializeComponent();


            MainPage = new MainLoginPage();
        }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: ErickIR/refFactory-App
        public App()
        {
            InitializeComponent();
            Device.SetFlags(new[] { "SwipeView_Experimental" });
            Current = this;
            var isLoggedIn = Properties.ContainsKey("IsLoggedIn") && (bool)Properties["IsLoggedIn"];

            if (isLoggedIn)
            {
                MainPage = new MainPage();
            }
            else
            {
                MainPage = new MainLoginPage(this);
            }
        }