private void ViewCell_Tapped(object sender, EventArgs e) { if (buttonSelect == 2) { Acr.UserDialogs.UserDialogs.Instance.Toast("Aqui no podes guardar nada, Buscar en inventario o en los productos que tienen diferencias!"); return; } Productos p2 = new Productos(); tap += 1; p2 = p; p = (Productos)this.lvwProductos.SelectedItem; if (p2 != p) { tap = 1; } if (tap == 2) { var f = new IgresarProductosPage(); f.CodigoProducto = p.Codigo; f.NombreProducto = p.Nombre; f.Usuario = Usuario; f.ProductosDiferencias = buttonSelect != 1 ? true : false; f.Cargar(); Navigation.PushAsync(f, true); } }
private void ViewCell_Tapped(object sender, EventArgs e) { Productos p2 = new Productos(); tap += 1; p2 = p; p = (Productos)this.lvwProductos.SelectedItem; if (p2 != p) { tap = 1; } if (tap == 2) { var f = new IgresarProductosPage(); f.CodigoProducto = p.Codigo; f.NombreProducto = p.Nombre; f.Usuario = Usuario; f.ProductosDiferencias = buttonSelect != 1 ? true : false; f.Cargar(); Navigation.PushAsync(f, true); } }