public ProveedoresTabletPage() { Title = "Proveedorees"; Master = new ProveedoresPage(); Detail = new ContentPage { Content = new StackLayout { VerticalOptions = LayoutOptions.Center, HorizontalOptions = LayoutOptions.Center, Children = { new Label { Text = "Select a Proveedor", FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)) } } } }; ((ProveedoresPage)Master).ItemSelected = (proveedor) => { //Detail = new StorePage(store); if (Device.OS != TargetPlatform.Windows) { IsPresented = false; } }; IsPresented = true; }
public async void Guardar_Click(object sender, EventArgs e) { guardarButton.IsEnabled = false; loading.IsRunning = true; //suario us = Settings.User; //us.Ciudad = Ciudad1.SelectedItem.ToString(); //await dataWCF.SetUsuario(us); //Settings.User.Ciudad = us.Ciudad; await this.Navigation.PopPopupAsync(); var prove = new ProveedoresPage(); await Navigation.PushModalAsync(prove); }