private void buttonDispatchDriver_Click(object sender, RoutedEventArgs e) { FunctionsContextMenu.IsOpen = false; PosDialogWindow window = TicketDeliveryDispatchControl.CreateInDefaultWindow(); PosDialogWindow.ShowPosDialogWindow(this, window); }
public static PosDialogWindow CreateInDefaultWindow() { TicketDeliveryDispatchControl control = new TicketDeliveryDispatchControl(); return(new PosDialogWindow(control, Types.Strings.DeliveryDriverDispatch, 650, 500)); }