Esempio n. 1
0
 public App()
 {
     if (Device.Idiom != TargetIdiom.Phone && Device.OS == TargetPlatform.Windows)
     {
         MainPage = new ControlsPageWindows();
     }
     else
     {
         MainPage = new NavigationPage(new ControlPage());
     }
 }
Esempio n. 2
0
 public App()
 {
     if (Device.Idiom != TargetIdiom.Phone && Device.OS == TargetPlatform.Windows)
     {
         MainPage = controlsExplorer = new ControlsPageWindows();
     }
     else
     {
         page = new NavigationPage(new ControlPage());
         page.BarBackgroundColor = Color.FromHex("#168DDB");
         page.BarTextColor       = Color.White;
         MainPage = page;
     }
 }