Changeset 3572


Ignore:
Timestamp:
04/30/10 14:50:08 (12 years ago)
Author:
mkommend
Message:

added ViewHostPanel to MainForm.WindowsForms (ticket #993)

Location:
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/HeuristicLab.MainForm.WindowsForms-3.3.csproj

    r3571 r3572  
    164164      <DependentUpon>ViewHost.cs</DependentUpon>
    165165    </Compile>
     166    <Compile Include="ViewHostPanel.cs">
     167      <SubType>Component</SubType>
     168    </Compile>
     169    <Compile Include="ViewHostPanel.Designer.cs">
     170      <DependentUpon>ViewHostPanel.cs</DependentUpon>
     171    </Compile>
    166172  </ItemGroup>
    167173  <ItemGroup>
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.Designer.cs

    r3437 r3572  
    4747      this.components = new System.ComponentModel.Container();
    4848      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewHost));
    49       this.viewPanel = new System.Windows.Forms.Panel();
     49      this.viewPanel = new ViewHostPanel();
    5050      this.messageLabel = new System.Windows.Forms.Label();
    5151      this.viewsLabel = new System.Windows.Forms.Label();
     
    111111    #endregion
    112112
    113     private System.Windows.Forms.Panel viewPanel;
     113    private ViewHostPanel viewPanel;
    114114    private System.Windows.Forms.Label viewsLabel;
    115115    private System.Windows.Forms.Label messageLabel;
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ViewHost.cs

    r3557 r3572  
    107107      viewPanel.Visible = false;
    108108      viewContextMenuStrip.Item = Content;
    109      
     109
    110110      if (Content != null) {
    111111        if (viewContextMenuStrip.Items.Count == 0)
     
    177177      }
    178178    }
    179 
    180179    #region forwarding of view events
    181180    protected override void OnReadOnlyChanged() {
Note: See TracChangeset for help on using the changeset viewer.