Пример #1
0
 public App()
 {
     // The root page of your application
     MainPage = new ConferencePage ();
     /*
     MainPage = new ContentPage {
         Content = new StackLayout {
             VerticalOptions = LayoutOptions.Center,
             Children = {
                 new Label {
                     XAlign = TextAlignment.Center,
                     Text = "Welcome to Xamarin Forms!"
                 }
             }
         }
     };
     */
 }
Пример #2
0
        public App()
        {
            // The root page of your application
            MainPage = new ConferencePage();

            /*
             * MainPage = new ContentPage {
             *      Content = new StackLayout {
             *              VerticalOptions = LayoutOptions.Center,
             *              Children = {
             *                      new Label {
             *                              XAlign = TextAlignment.Center,
             *                              Text = "Welcome to Xamarin Forms!"
             *                      }
             *              }
             *      }
             * };
             */
        }
Пример #3
0
 public App()
 {
     MainPage = new ConferencePage();
 }