- Timestamp:
- 05/30/11 18:07:32 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/histogram (added) merged: 5959,5961,5970,5994-5996,5999,6007,6010-6016,6020,6022,6027-6028,6032,6046,6055-6056,6081-6082,6086-6087,6089,6115,6176,6194-6195,6338-6341
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ViewHost.cs
r5956 r6342 101 101 } 102 102 } else viewType = null; 103 configurationLabel.Visible = activeView is IConfigureableView; 104 configurationLabel.Enabled = activeView != null && !activeView.Locked; 103 105 } 104 106 } … … 189 191 private void activeView_LockedChanged(object sender, EventArgs e) { 190 192 Locked = activeView.Locked; 193 configurationLabel.Enabled = !activeView.Locked; 191 194 } 192 195 … … 200 203 base.OnSizeChanged(e); 201 204 viewsLabel.Location = new Point(Width - viewsLabel.Margin.Right - viewsLabel.Width, viewsLabel.Margin.Top); 205 configurationLabel.Location = new Point(Width - configurationLabel.Margin.Right - configurationLabel.Width, viewsLabel.Bottom + viewsLabel.Margin.Bottom + configurationLabel.Margin.Top); 202 206 } 203 207 … … 287 291 startDragAndDrop = false; 288 292 } 293 294 private void configurationLabel_MouseDoubleClick(object sender, MouseEventArgs e) { 295 ((IConfigureableView)ActiveView).ShowConfiguration(); 296 } 289 297 #endregion 290 298 }
Note: See TracChangeset
for help on using the changeset viewer.