Changeset 3471
- Timestamp:
- 04/21/10 18:44:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs
r3466 r3471 121 121 messageLabel.Visible = false; 122 122 viewsLabel.Visible = false; 123 viewsLabel.Enabled = false;124 123 viewPanel.Visible = false; 125 124 viewContextMenuStrip.Item = Content; 126 125 127 126 if (Content != null) { 128 129 127 if (viewContextMenuStrip.Items.Count == 0) 130 128 messageLabel.Visible = true; 131 129 else { 132 130 viewsLabel.Visible = true; 133 view sLabel.Enabled= true;131 viewPanel.Visible = true; 134 132 } 135 133 … … 139 137 ViewType = (Type)viewContextMenuStrip.Items[0].Tag; 140 138 } 141 139 UpdateActiveMenuItem(); 142 140 foreach (IContentView view in cachedViews.Values) 143 141 view.Content = this.Content; … … 169 167 } 170 168 this.ActiveView = view; 171 172 169 Control control = (Control)view; 173 170 control.Dock = DockStyle.Fill;
Note: See TracChangeset
for help on using the changeset viewer.