private void linkToOrderWindow_Click(object sender, RoutedEventArgs e) { OrderWindow orderWindow = new OrderWindow(); orderWindow.Show(); this.Close(); }
// Method : // Description : // // // Parameters : // // Returns : // private void OrderPageWithCustomer(string branch, Customer customer) { OrderWindow orderWindow = new OrderWindow(branch, customer); orderWindow.Show(); this.Close(); }
private void InsertButton_Click(object sender, RoutedEventArgs e) { OrderWindow orderWindow = new OrderWindow(); orderWindow.LogTextBlock.Text = this.LogTextBlock.Text; orderWindow.Show(); }
// Method : // Description : // // // Parameters : // // Returns : // private void OrderPageWithCustomer(string branch, Customer customer) { customerViewModel.UpdateNewCustomer(customer); OrderWindow orderWindow = new OrderWindow(branch, customer); orderWindow.Show(); this.Close(); }
private void _mainViewModel_OrdersTab(object sender, EventArgs e) { _orderWindow = new OrderWindow { DataContext = _mainViewModel }; _orderWindow.Show(); }
private void Checkout_Click(object sender, RoutedEventArgs e) { if (order.IsActive == false) { order = new OrderWindow(); order.Show(); } else { order.Show(); } }
/// <summary> /// 订单管理 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tsbOrder_Click(object sender, EventArgs e) { if (null == orderWindow || orderWindow.IsDisposed) { orderWindow = new OrderWindow(); orderWindow.MdiParent = this; orderWindow.StartLoad += (obj, ev) => { StartLoad(obj); }; orderWindow.StopLoad += (obj, ev) => { StopLoad(obj); }; orderWindow.Show(); } SetSelect(tsbOrder, tsmiOrder); orderWindow.Activate(); }
private void miOrder_Click(object sender, RoutedEventArgs e) { OrderWindow window = new OrderWindow(); window.Show(); }
private void OpenOrderWindow() { _orderWindowViewModel = new OrderWindowViewModel(); _orderWindow = new OrderWindow(_orderWindowViewModel); _orderWindow.Show(); }
private void OrderButton_Click(object sender, RoutedEventArgs e) { OrderWindow ow = new OrderWindow(); ow.Show(); }