Changeset 2309 for trunk/sources/HeuristicLab.MainForm/3.2/MainFormBase.cs
- Timestamp:
- 08/25/09 13:25:40 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm/3.2/MainFormBase.cs
r2306 r2309 82 82 protected set { 83 83 if (this.activeView != value) { 84 this.activeView = value; 85 OnActiveViewChanged(); 84 if (InvokeRequired) { 85 Action<IView> action = delegate(IView activeView) { this.ActiveView = activeView; }; 86 Invoke(action, new object[] { value }); 87 } else { 88 this.activeView = value; 89 OnActiveViewChanged(); 90 } 86 91 } 87 92 }
Note: See TracChangeset
for help on using the changeset viewer.