private void BtnWiPInventory_Click(object sender, RoutedEventArgs e) { WiPInventoryWindow wiPInventoryWindow = new WiPInventoryWindow(); wiPInventoryWindow.Show(); wiPInventoryWindow.Focus(); }
private void RunShift() { if (MessageBox.Show("Add expected output to inventory? ", "Attention", MessageBoxButton.YesNo) == MessageBoxResult.Yes) { Shift.AddProductionToInventory(); WiPInventoryWindow.UpdateControls(); //PressScheduleWindow.WeekControls.Remove(this); } }