private void metroTile2_Click(object sender, EventArgs e) { this.Hide(); AddOrder addorder = new AddOrder(); addorder.Show(); }
private void AddOrders_OnClick(object sender, RoutedEventArgs e) { _applicationManager.getCustomers(); _applicationManager.getEmployees(); _applicationManager.getProducts(); _applicationManager.GetOrderDetails(); var addOrderForm = new AddOrder(); addOrderForm.Show(); }
private void BtnAction_Click(object sender, RoutedEventArgs e) { Button button = (Button)sender; string orderId = button.Uid; Order order = ToObject <Order>(new OrderService().GetOrderById(orderId)); Window addorders = new AddOrder(order); addorders.Title = "编辑商品"; addorders.Show(); addorders.Closed += Addorders_Closed; }
void AddNewUserOrder(object paramter) { AddOrder newOrder = new AddOrder(); newOrder.Show(); }