- Timestamp:
- 04/19/10 03:28:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs
r3362 r3407 123 123 if (typeSelectorDialog == null) { 124 124 typeSelectorDialog = new TypeSelectorDialog(); 125 typeSelectorDialog.Caption = "Select Value Type";125 typeSelectorDialog.Caption = "Select Value"; 126 126 typeSelectorDialog.TypeSelector.Configure(typeof(IItem), false, false); 127 127 } 128 128 if (typeSelectorDialog.ShowDialog(this) == DialogResult.OK) { 129 Content.Value = (IItem)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 129 try { 130 Content.Value = (IItem)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 131 } 132 catch (Exception ex) { 133 Auxiliary.ShowErrorMessageBox(ex); 134 } 130 135 } 131 136 }
Note: See TracChangeset
for help on using the changeset viewer.