示例#1
0
        public App()
        {
            //create Azure Data Service
            App.azureService   = new AzureDataService();
            App.submittedForms = new List <FormTable5>();

            // The root page of your application
            var content = new ContentPage
            {
                Title   = "PCL",
                Content = new StackLayout
                {
                    VerticalOptions = LayoutOptions.Center,
                    Children        =
                    {
                        new Label {
                            HorizontalTextAlignment = TextAlignment.Center,
                            Text = "Welcome to Xamarin Forms!"
                        }
                    }
                }
            };


            MainPage = new MainPage();
        }
示例#2
0
        public App()
        {
            //create Azure Data Service
            App.azureService   = new AzureDataService();
            App.submittedForms = new List <FormTable5>();

            // The root page of your application


            MainPage = new NavigationPage(new LoginPage());
        }