private void BtnAddPhotographer_Click(object sender, RoutedEventArgs e) { selectedShow = (Show)((FrameworkElement)e.OriginalSource).DataContext; CloureParam cloureParam = new CloureParam("miembros", "1"); CloureManager.Navigate(typeof(UsersSelectionPage), cloureParam); }
private void MenuFlyoutItem_Click(object sender, RoutedEventArgs e) { MenuFlyoutItem menuFlyoutItem = (MenuFlyoutItem)sender; User item = (User)menuFlyoutItem.Tag; if (menuFlyoutItem.Name == "edit") { edit(item.id); } if (menuFlyoutItem.Name == "delete") { DisplayDeleteDialog(item); } if (menuFlyoutItem.Name == "add_payment") { CloureManager.Navigate(typeof(UserAddPaymentPage), item.id); } if (menuFlyoutItem.Name == "account_summary") { CloureManager.Navigate(typeof(UserCCPage), item.id); } if (menuFlyoutItem.Name == "generate_random_pass") { DisplayRegenatePass(item); } }
private async void finalizar() { if (btnAceptar.IsEnabled) { receipt.cartItems = carrito; receipt.CustomerId = CustomerId; receipt.CompanyBranchId = (int)txtSucursal.SelectedValue; receipt.TypeId = (int)txtComprobante.SelectedValue; if (receipt.cartItems.Count == 0) { var dialog = new MessageDialog("Debes agregar items al carrito"); await dialog.ShowAsync(); } else if (receipt.CustomerId == 0) { var dialog = new MessageDialog("Debes agregar un cliente al comprobante"); await dialog.ShowAsync(); } else { CloureManager.Navigate(typeof(InvoicingFinishPage), receipt); } } }
private void GlobalCommand_Click(object sender, RoutedEventArgs e) { Button globalCommand = (Button)sender; if (globalCommand.Name == "add") { CloureManager.Navigate(typeof(UserAddPage)); } }
private void btnAddEntity_Click(object sender, RoutedEventArgs e) { if (SelectedPaymentMethodId == 5 || SelectedPaymentMethodId == 7) { CloureManager.Navigate(typeof(BankAddPage)); } if (SelectedPaymentMethodId == 2) { CloureManager.Navigate(typeof(DebitCardAddPage)); } if (SelectedPaymentMethodId == 3) { CloureManager.Navigate(typeof(CreditCardAddPage)); } }
private void product_selected(ProductService product) { lstProductos.Visibility = Visibility.Collapsed; txtProducto.Text = product.Id.ToString(); if (product.MeasureUnitId == 3) { CloureManager.Navigate(typeof(SetUnitsByMeasurePage), product); } else { CartItem cartItem = new CartItem(); double cant = 0; double.TryParse(txtProductoCantidad.Text, out cant); cartItem.ImagenPath = product.ImagePath; cartItem.Cantidad = cant; cartItem.ProductoId = product.Id; cartItem.Descripcion = product.Title; cartItem.Importe = product.Importe; cartItem.Total = product.Importe * cant; addProductToCarrito(cartItem); } }
void edit(int message_id) { CloureManager.Navigate(typeof(MessageDetailPage), message_id); }
void edit(int id) { CloureManager.Navigate(typeof(ProductServiceCategoryAddPage), id); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(PlacesPage)); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(TransportsPage)); }
private void edit(string id) { CloureManager.Navigate(typeof(UserGroupAddPage), id); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(DebitCardsPage)); }
private void edit(int PropertyId) { CloureManager.Navigate(typeof(PropertiesAddPage), PropertyId); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(ShowsPersonalHistoryPage)); }
void edit(CreditCard bank) { CloureManager.Navigate(typeof(CreditCardAddPage), bank); }
private void BtnAddMultiple_Click(object sender, RoutedEventArgs e) { CloureManager.Navigate(typeof(ShowsAddMultiplePage)); }
private void BtnLiquidar_Click(object sender, RoutedEventArgs e) { CloureManager.Navigate(typeof(ShowAgregarLiquidacion)); }
void edit(Bank bank) { CloureManager.Navigate(typeof(BankAddPage), bank); }
private void HyperlinkPedido_Click(Hyperlink sender, HyperlinkClickEventArgs args) { finishedDialog.Hide(); CloureManager.Navigate(typeof(ReceiptDetails), receipt.Id); //throw new NotImplementedException(); }
private void btnBuyStock_Click(object sender, RoutedEventArgs e) { CloureManager.Navigate(typeof(ProductsServicesBuyStockPage)); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(LinkedAccountsPage)); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(UsersGroupsPage)); }
private void btnAdd_Click(object sender, RoutedEventArgs e) { CloureManager.Navigate(typeof(UserAddPage)); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(InvoicingPage)); }
void edit(int user_id) { CloureManager.Navigate(typeof(UserAddPage), user_id); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(BandsArtistsPage)); }
private void btnAdd_Click(object sender, RoutedEventArgs e) { CloureManager.Navigate(typeof(ProductServiceCategoryAddPage)); }
void edit(int id) { CloureManager.Navigate(typeof(ShowAddPage), id); }
private void btnAdd_Click(object sender, RoutedEventArgs e) { CloureManager.Navigate(typeof(BankCheckAdd)); }
public override void OnModuleCreated() { CloureManager.Navigate(typeof(CompanyBranchesPage)); }