Free cookie consent management tool by TermsFeed Policy Generator

Changeset 865 for trunk


Ignore:
Timestamp:
11/29/08 12:30:22 (16 years ago)
Author:
shofstad
Message:

added empty legend form (#407)

Location:
trunk/sources/HeuristicLab.Visualization.Test
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization.Test/HeuristicLab.Visualization.Test.csproj

    r861 r865  
    5252  </PropertyGroup>
    5353  <ItemGroup>
    54     <Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
    55       <SpecificVersion>False</SpecificVersion>
    56       <HintPath>NUnit-2.4.8-bin\nunit.framework.dll</HintPath>
    57     </Reference>
    5854    <Reference Include="System" />
    5955    <Reference Include="System.Core">
     
    7470    <Compile Include="HeuristicLabVisualizationTestApplication.cs" />
    7571    <Compile Include="HeuristicLabVisualizationTestPlugin.cs" />
    76     <Compile Include="LineChartTestForm.cs">
     72    <Compile Include="LegendForm.cs">
    7773      <SubType>Form</SubType>
    7874    </Compile>
    79     <Compile Include="LineChartTestForm.Designer.cs">
    80       <DependentUpon>LineChartTestForm.cs</DependentUpon>
     75    <Compile Include="LegendForm.Designer.cs">
     76      <DependentUpon>LegendForm.cs</DependentUpon>
    8177    </Compile>
    82     <Compile Include="LineChartTests.cs" />
    8378    <Compile Include="MainForm.cs">
    8479      <SubType>Form</SubType>
     
    9489  </ItemGroup>
    9590  <ItemGroup>
    96     <ProjectReference Include="..\HeuristicLab.Core\HeuristicLab.Core.csproj">
    97       <Project>{F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>
    98       <Name>HeuristicLab.Core</Name>
    99     </ProjectReference>
    10091    <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj">
    10192      <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
     
    10899  </ItemGroup>
    109100  <ItemGroup>
    110     <EmbeddedResource Include="LineChartTestForm.resx">
    111       <DependentUpon>LineChartTestForm.cs</DependentUpon>
    112     </EmbeddedResource>
    113101    <EmbeddedResource Include="MainForm.resx">
    114102      <DependentUpon>MainForm.cs</DependentUpon>
  • trunk/sources/HeuristicLab.Visualization.Test/MainForm.Designer.cs

    r725 r865  
    2626      this.canvasUI = new HeuristicLab.Visualization.CanvasUI();
    2727      this.label2 = new System.Windows.Forms.Label();
     28      this.legendButton = new System.Windows.Forms.Button();
    2829      this.SuspendLayout();
    2930      //
     
    3334      this.canvasUI.MouseEventListener = null;
    3435      this.canvasUI.Name = "canvasUI";
    35       this.canvasUI.Size = new System.Drawing.Size(800, 600);
     36      this.canvasUI.Size = new System.Drawing.Size(800, 571);
    3637      this.canvasUI.TabIndex = 3;
    3738      this.canvasUI.Text = "canvasUI";
     
    4748      this.label2.Text = "Canvas";
    4849      //
     50      // legendButton
     51      //
     52      this.legendButton.Location = new System.Drawing.Point(12, 606);
     53      this.legendButton.Name = "legendButton";
     54      this.legendButton.Size = new System.Drawing.Size(75, 23);
     55      this.legendButton.TabIndex = 5;
     56      this.legendButton.Text = "Legend";
     57      this.legendButton.UseVisualStyleBackColor = true;
     58      this.legendButton.Click += new System.EventHandler(this.legendButton_Click);
     59      //
    4960      // MainForm
    5061      //
     
    5263      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    5364      this.ClientSize = new System.Drawing.Size(822, 637);
     65      this.Controls.Add(this.legendButton);
    5466      this.Controls.Add(this.label2);
    5567      this.Controls.Add(this.canvasUI);
     
    6577    private HeuristicLab.Visualization.CanvasUI canvasUI;
    6678    private System.Windows.Forms.Label label2;
     79    private System.Windows.Forms.Button legendButton;
    6780  }
    6881}
  • trunk/sources/HeuristicLab.Visualization.Test/MainForm.cs

    r725 r865  
    115115      lastActualPoint = actualPoint;
    116116    }
     117
     118    private void legendButton_Click(object sender, System.EventArgs e) {
     119      LegendForm form = new LegendForm();
     120      form.Show();
     121    }
    117122  }
    118123}
Note: See TracChangeset for help on using the changeset viewer.