Example #1
0
        public App()
        {
            InitializeComponent();

            //MainPage = new HelloWorldAppPage();
            MainPage = new HelloWorldPage();
            //MainPage = new HelloTabbedPage();
        }
Example #2
0
        public App()
        {
            // The root page of your application

            /*var content = new ContentPage
             * {
             *  Title = "HelloWorldApp",
             *  Content = new StackLayout
             *  {
             *      VerticalOptions = LayoutOptions.Center,
             *      Children = {
             *          new Label {
             *              HorizontalTextAlignment = TextAlignment.Center,
             *              Text = "Welcome to Xamarin Forms!"
             *          }
             *      }
             *  }
             * };*/

            MainPage = new HelloWorldPage();
            //MainPage = new NavigationPage(content);
        }