public App() { //// The root page of your application //var content = new ContentPage { // Title = "App_Xamarin_Pcl", // Content = new StackLayout { // VerticalOptions = LayoutOptions.Center, // Children = { // new Label { // HorizontalTextAlignment = TextAlignment.Center, // Text = "Welcome to Xamarin Forms!" // } // } // } //}; //MainPage = new NavigationPage(content); MainPage = new App_Xamarin_Pcl.MainPage(); }
public App() { InitializeComponent(); MainPage = new App_Xamarin_Pcl.MainPage(); }