Beispiel #1
0
 public App()
 {
     if (Device.Idiom != TargetIdiom.Phone && Device.OS == TargetPlatform.Windows)
     {
         MainPage = new ControlsPageWindows();
     }
     else
     {
         MainPage = new NavigationPage(new ControlPage());
     }
 }
 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;
     }
 }