Beispiel #1
0
        void OnLoginButtonClicked(object sender, EventArgs e)
        {
            var page = (Page)Activator.CreateInstance(typeof(LoginPage));

            page.Title = "Login";
            if (page != null)
            {
                CPMasterDetailPage.GetMasterDetail().Detail = new NavigationPage(page);
            }
        }
 public CPMasterDetailPage()
 {
     InitializeComponent();
     MasterPage.ListView.ItemSelected += ListView_ItemSelected;
     masterDetailPage = this;
 }
Beispiel #3
0
 public App()
 {
     InitializeComponent();
     MainPage = new CPMasterDetailPage();
     self     = this;
 }