public SelectCostObjective(MainWindow mainWindow, AddItem itemWindow)
     : this()
 {
     this.addItemWindow = itemWindow;
     this.mainWindow = mainWindow;
     Scenario = CostObjectiveScenarios.AddItem;
     async = new AsyncWork(mainWindow); async2 = new AsyncWork(mainWindow); async3 = new AsyncWork(mainWindow);
 }
 private void btnAddNewItem_Click(object sender, RoutedEventArgs e)
 {
     AddItem dialog = new AddItem(mainWindow,this);
     dialog.ShowDialog();
 }