- Timestamp:
- 01/28/10 23:46:26 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 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 -
trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IView.cs
r2696 r2711 28 28 public interface IView { 29 29 30 bool IsShown { get; } 30 31 string Caption { get; set; } 31 32 event EventHandler CaptionChanged;
Note: See TracChangeset
for help on using the changeset viewer.