Changeset 9315 for trunk/sources/HeuristicLab.MainForm.WindowsForms
- Timestamp:
- 03/12/13 21:52:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewHost.cs
r8587 r9315 181 181 activeView.CaptionChanged += new EventHandler(activeView_CaptionChanged); 182 182 activeView.LockedChanged += new EventHandler(activeView_LockedChanged); 183 activeView.Changed += new EventHandler(activeView_Changed); 183 184 } 184 185 private void DeregisterActiveViewEvents() { 185 186 activeView.CaptionChanged -= new EventHandler(activeView_CaptionChanged); 186 187 activeView.LockedChanged -= new EventHandler(activeView_LockedChanged); 188 activeView.Changed -= new EventHandler(activeView_Changed); 187 189 } 188 190 private void activeView_CaptionChanged(object sender, EventArgs e) { … … 192 194 Locked = activeView.Locked; 193 195 configurationLabel.Enabled = !activeView.Locked; 196 } 197 private void activeView_Changed(object sender, EventArgs e) { 198 OnChanged(); 194 199 } 195 200
Note: See TracChangeset
for help on using the changeset viewer.