- Timestamp:
- 04/16/13 13:13:41 (11 years ago)
- Location:
- branches/OaaS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewHost.cs
r7259 r9363 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) { … … 193 195 configurationLabel.Enabled = !activeView.Locked; 194 196 } 197 private void activeView_Changed(object sender, EventArgs e) { 198 OnChanged(); 199 } 195 200 196 201 protected override void OnSizeChanged(EventArgs e) { 197 202 //mkommend: solution to resizing issues. taken from http://support.microsoft.com/kb/953934 198 203 //not implemented with a panel to reduce the number of nested controls 199 if (Handle != null) 204 //also cf. http://connect.microsoft.com/VisualStudio/feedback/details/98368/csc-incorrectly-allows-comparison-between-intptr-and-null 205 if (Handle != IntPtr.Zero) 200 206 this.BeginInvoke((Action<EventArgs>)OnSizeChangedHelper, e); 201 207 }
Note: See TracChangeset
for help on using the changeset viewer.