Changeset 16502


Ignore:
Timestamp:
01/05/19 14:42:55 (7 months ago)
Author:
gkronber
Message:

#2978: prevent excessive OnPaint calls by setting the BackColor in AlgorithmView tabPages.

Location:
trunk/HeuristicLab.Optimization.Views/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Optimization.Views/3.3/AlgorithmView.Designer.cs

    r15583 r16502  
    114114      //
    115115      this.problemTabPage.AllowDrop = true;
     116      this.problemTabPage.BackColor = System.Drawing.SystemColors.Window;
    116117      this.problemTabPage.Controls.Add(this.problemViewHost);
    117118      this.problemTabPage.Controls.Add(this.openProblemButton);
     
    123124      this.problemTabPage.TabIndex = 0;
    124125      this.problemTabPage.Text = "Problem";
    125       this.problemTabPage.UseVisualStyleBackColor = true;
    126126      this.problemTabPage.DragDrop += new System.Windows.Forms.DragEventHandler(this.problemTabPage_DragDrop);
    127127      this.problemTabPage.DragEnter += new System.Windows.Forms.DragEventHandler(this.problemTabPage_DragEnterOver);
     
    168168      // parametersTabPage
    169169      //
     170      this.parametersTabPage.BackColor = System.Drawing.SystemColors.Window;
    170171      this.parametersTabPage.Controls.Add(this.parameterCollectionView);
    171172      this.parametersTabPage.Location = new System.Drawing.Point(4, 22);
     
    175176      this.parametersTabPage.TabIndex = 1;
    176177      this.parametersTabPage.Text = "Algorithm";
    177       this.parametersTabPage.UseVisualStyleBackColor = true;
    178178      //
    179179      // parameterCollectionView
     
    193193      // resultsTabPage
    194194      //
     195      this.resultsTabPage.BackColor = System.Drawing.SystemColors.Window;
    195196      this.resultsTabPage.Controls.Add(this.resultsView);
    196197      this.resultsTabPage.Location = new System.Drawing.Point(4, 22);
     
    200201      this.resultsTabPage.TabIndex = 2;
    201202      this.resultsTabPage.Text = "Results";
    202       this.resultsTabPage.UseVisualStyleBackColor = true;
    203203      //
    204204      // resultsView
     
    217217      // runsTabPage
    218218      //
     219      this.runsTabPage.BackColor = System.Drawing.SystemColors.Window;
    219220      this.runsTabPage.Controls.Add(this.storeAlgorithmInEachRunCheckBox);
    220221      this.runsTabPage.Controls.Add(this.runsView);
     
    225226      this.runsTabPage.TabIndex = 3;
    226227      this.runsTabPage.Text = "Runs";
    227       this.runsTabPage.UseVisualStyleBackColor = true;
    228228      //
    229229      // storeAlgorithmInEachRunCheckBox
  • trunk/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.Designer.cs

    r15583 r16502  
    188188      // engineTabPage
    189189      //
     190      this.engineTabPage.BackColor = System.Drawing.SystemColors.Window;
    190191      this.engineTabPage.Controls.Add(this.engineViewHost);
    191192      this.engineTabPage.Controls.Add(this.engineComboBox);
     
    197198      this.engineTabPage.TabIndex = 5;
    198199      this.engineTabPage.Text = "Engine";
    199       this.engineTabPage.UseVisualStyleBackColor = true;
    200200      //
    201201      // engineViewHost
  • trunk/HeuristicLab.Optimization.Views/3.3/HeuristicLab.Optimization.Views-3.3.csproj

    r15566 r16502  
    456456  </ItemGroup>
    457457  <ItemGroup>
     458    <EmbeddedResource Include="AlgorithmView.resx">
     459      <DependentUpon>AlgorithmView.cs</DependentUpon>
     460    </EmbeddedResource>
    458461    <EmbeddedResource Include="CreateNewSingleEncodingDialog.resx">
    459462      <DependentUpon>CreateNewSingleEncodingDialog.cs</DependentUpon>
     463    </EmbeddedResource>
     464    <EmbeddedResource Include="EngineAlgorithmView.resx">
     465      <DependentUpon>EngineAlgorithmView.cs</DependentUpon>
    460466    </EmbeddedResource>
    461467  </ItemGroup>
  • trunk/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.Designer.cs

    r15583 r16502  
    108108      // globalScopeTabPage
    109109      //
     110      this.globalScopeTabPage.BackColor = System.Drawing.SystemColors.Window;
    110111      this.globalScopeTabPage.Controls.Add(this.globalScopeView);
    111112      this.globalScopeTabPage.Location = new System.Drawing.Point(4, 22);
     
    114115      this.globalScopeTabPage.TabIndex = 6;
    115116      this.globalScopeTabPage.Text = "Global Scope";
    116       this.globalScopeTabPage.UseVisualStyleBackColor = true;
    117117      //
    118118      // globalScopeView
Note: See TracChangeset for help on using the changeset viewer.