private void buttonEditTimesheet_Click(object sender, RoutedEventArgs e) { FunctionsContextMenu.IsOpen = false; PosDialogWindow window = TimesheetMaintenanceControl.CreateInDefaultWindow(); PosDialogWindow.ShowPosDialogWindow(this, window); }
public static PosDialogWindow CreateInDefaultWindow() { TimesheetMaintenanceControl control = new TimesheetMaintenanceControl(); return(new PosDialogWindow(control, Strings.TimesheetMaintenance, 1000, 620)); }