- Timestamp:
- 04/19/10 00:09:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/View.cs
r3398 r3403 82 82 83 83 this.IsShown = true; 84 mainform.ShowView(this , firstTimeShown);84 mainform.ShowView(this); 85 85 if (firstTimeShown) { 86 86 Form form = mainform.GetForm(this); … … 146 146 } 147 147 148 protected virtual void OnShown(ViewShownEventArgs e) {149 } 150 151 protected virtual void OnHidden(EventArgs e) {148 internal protected virtual void OnShown(ViewShownEventArgs e) { 149 } 150 151 internal protected virtual void OnHidden(EventArgs e) { 152 152 } 153 153 … … 170 170 } 171 171 172 protected virtual void OnClosing(FormClosingEventArgs e) {172 internal protected virtual void OnClosing(FormClosingEventArgs e) { 173 173 } 174 174 … … 185 185 } 186 186 187 protected virtual void OnClosed(FormClosedEventArgs e) {187 internal protected virtual void OnClosed(FormClosedEventArgs e) { 188 188 } 189 189 … … 215 215 public void ResumeRepaint(bool refresh) { 216 216 if (InvokeRequired) 217 Invoke((Action<bool>)ResumeRepaint, refresh);218 else 219 ((Control)this).ResumeRepaint(refresh);217 Invoke((Action<bool>)ResumeRepaint, refresh); 218 else 219 ((Control)this).ResumeRepaint(refresh); 220 220 } 221 221 }
Note: See TracChangeset
for help on using the changeset viewer.