Changeset 2443 for branches/Mainform refactoring/HeuristicLab.MainForm/3.2
- Timestamp:
- 10/20/09 15:34:02 (15 years ago)
- Location:
- branches/Mainform refactoring/HeuristicLab.MainForm/3.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Mainform refactoring/HeuristicLab.MainForm/3.2/Interfaces/IMainForm.cs
r2426 r2443 36 36 37 37 Type UserInterfaceItemType { get; } 38 void ShowView(IView view); 38 bool ShowView(IView view); //return value indicates if a new form for the view is created 39 void HideView(IView view); 39 40 void CloseView(IView view); 40 41 void CloseAllViews(); -
branches/Mainform refactoring/HeuristicLab.MainForm/3.2/MainFormManager.cs
r2438 r2443 113 113 if (t1.IsAssignableFrom(t2)) 114 114 return 1; 115 return -1; 115 else if (t2.IsAssignableFrom(t1)) 116 return -1; 117 else 118 return 0; 116 119 } 117 120 ); … … 121 124 throw new Exception("Could not determine which is the default view for type " + viewableType.ToString() + "."); 122 125 } 123 } 126 } 124 127 } 125 128
Note: See TracChangeset
for help on using the changeset viewer.