Changeset 2711 for trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2
- Timestamp:
- 01/28/10 23:46:26 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/View.cs
r2704 r2711 35 35 InitializeComponent(); 36 36 this.initialized = false; 37 this.isShown = false; 37 38 this.closeReason = CloseReason.None; 38 39 } … … 52 53 } 53 54 } 55 } 56 57 private bool isShown; 58 public bool IsShown { 59 get { return this.isShown; } 54 60 } 55 61 … … 101 107 102 108 protected virtual void OnShown(ViewShownEventArgs e) { 109 this.isShown = true; 103 110 } 104 111 105 112 protected virtual void OnHidden(EventArgs e) { 113 this.isShown = false; 106 114 } 107 115 … … 132 140 133 141 protected virtual void OnClosed(FormClosedEventArgs e) { 142 this.isShown = false; 134 143 } 135 144
Note: See TracChangeset
for help on using the changeset viewer.