Changeset 11431 for branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/NodeCollectionView.cs
- Timestamp:
- 10/09/14 03:10:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OptimizationNetworks/HeuristicLab.Optimization.Networks.Views/3.3/NodeCollectionView.cs
r11409 r11431 47 47 if (typeSelectorDialog.ShowDialog(this) == DialogResult.OK) { 48 48 try { 49 return (INode)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 49 var n = (INode)typeSelectorDialog.TypeSelector.CreateInstanceOfSelectedType(); 50 n.Name = GetUniqueName(n.Name); 51 return n; 50 52 } 51 53 catch (Exception ex) {
Note: See TracChangeset
for help on using the changeset viewer.