- Timestamp:
- 08/17/11 13:49:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs
r6527 r6664 98 98 } 99 99 } 100 var modifierMenuItem = new ToolStripMenuItem(); 101 modifierMenuItem.Text = "Modify RunCollection"; 102 modifierMenuItem.Click += ModifierMenuItem_OnClick; 103 analyzeRunsToolStripDropDownButton.DropDownItems.Add(modifierMenuItem); 100 104 } 101 105 … … 336 340 } 337 341 } 342 private void ModifierMenuItem_OnClick(object sender, EventArgs args) { 343 var modifier = new RunCollectionModificationEvaluator(); 344 modifier.RunCollection.AddRange(Content.Select(r => (IRun)r.Clone())); 345 MainFormManager.MainForm.ShowContent(modifier); 346 } 338 347 private void removeButton_Click(object sender, EventArgs e) { 339 348 if (itemsListView.SelectedItems.Count > 0) {
Note: See TracChangeset
for help on using the changeset viewer.