Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/01/10 14:22:30 (13 years ago)
Author:
swinkler
Message:

Finished first version of heatmap view. (#1188)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DiversityAnalysis/HeuristicLab.Problems.TravelingSalesman.Views/3.3/HeatmapView.Designer.cs

    r4700 r4701  
    2626      System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    2727      System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
    28       System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
     28      System.Windows.Forms.DataVisualization.Charting.Title title1= new System.Windows.Forms.DataVisualization.Charting.Title();
    2929      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HeatmapView));
    3030      this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
     
    3232      this.ZeroLabel = new System.Windows.Forms.Label();
    3333      this.OneLabel = new System.Windows.Forms.Label();
     34      this.GrayscalesPictureBox = new System.Windows.Forms.PictureBox();
     35      this.grayscaledImagesCheckBox = new System.Windows.Forms.CheckBox();
    3436      ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
    3537      ((System.ComponentModel.ISupportInitialize)(this.ColorsPictureBox)).BeginInit();
     38      ((System.ComponentModel.ISupportInitialize)(this.GrayscalesPictureBox)).BeginInit();
    3639      this.SuspendLayout();
    3740      //
     
    4649      chartArea1.AxisX.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.IncreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont)));
    4750      chartArea1.AxisX.Title = "Solution Index";
    48       chartArea1.AxisY.Maximum = 1D;
    49       chartArea1.AxisY.Minimum = 0D;
    5051      chartArea1.AxisY.Title = "Solution Index";
    5152      chartArea1.CursorX.IsUserEnabled = true;
     
    6162      this.chart.Location = new System.Drawing.Point(0, 0);
    6263      this.chart.Name = "chart";
    63       this.chart.Size = new System.Drawing.Size(403, 358);
     64      this.chart.Size = new System.Drawing.Size(403, 335);
    6465      this.chart.TabIndex = 0;
    6566      this.chart.Text = "chart";
     
    6869      title1.Text = "Solution Similarities";
    6970      this.chart.Titles.Add(title1);
    70       this.chart.CustomizeLegend += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CustomizeLegendEventArgs>(this.chart_CustomizeLegend);
    71       this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown);
    72       this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove);
    7371      //
    7472      // ColorsPictureBox
     
    107105      this.OneLabel.Text = "1.0";
    108106      //
     107      // GrayscalesPictureBox
     108      //
     109      this.GrayscalesPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     110                  | System.Windows.Forms.AnchorStyles.Right)));
     111      this.GrayscalesPictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     112      this.GrayscalesPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("GrayscalesPictureBox.Image")));
     113      this.GrayscalesPictureBox.Location = new System.Drawing.Point(409, 23);
     114      this.GrayscalesPictureBox.Name = "GrayscalesPictureBox";
     115      this.GrayscalesPictureBox.Size = new System.Drawing.Size(35, 312);
     116      this.GrayscalesPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     117      this.GrayscalesPictureBox.TabIndex = 15;
     118      this.GrayscalesPictureBox.TabStop = false;
     119      this.GrayscalesPictureBox.Visible = false;
     120      //
     121      // grayscaledImagesCheckBox
     122      //
     123      this.grayscaledImagesCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     124      this.grayscaledImagesCheckBox.AutoSize = true;
     125      this.grayscaledImagesCheckBox.Location = new System.Drawing.Point(0, 338);
     126      this.grayscaledImagesCheckBox.Name = "grayscaledImagesCheckBox";
     127      this.grayscaledImagesCheckBox.Size = new System.Drawing.Size(115, 17);
     128      this.grayscaledImagesCheckBox.TabIndex = 16;
     129      this.grayscaledImagesCheckBox.Text = "Grayscaled images";
     130      this.grayscaledImagesCheckBox.UseVisualStyleBackColor = true;
     131      this.grayscaledImagesCheckBox.CheckedChanged += new System.EventHandler(this.grayscaledImagesCheckBox_CheckedChanged);
     132      //
    109133      // HeatmapView
    110134      //
    111135      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    112136      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     137      this.Controls.Add(this.grayscaledImagesCheckBox);
    113138      this.Controls.Add(this.ZeroLabel);
    114139      this.Controls.Add(this.OneLabel);
    115140      this.Controls.Add(this.ColorsPictureBox);
    116141      this.Controls.Add(this.chart);
     142      this.Controls.Add(this.GrayscalesPictureBox);
    117143      this.Name = "HeatmapView";
    118144      this.Size = new System.Drawing.Size(444, 358);
    119145      ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
    120146      ((System.ComponentModel.ISupportInitialize)(this.ColorsPictureBox)).EndInit();
     147      ((System.ComponentModel.ISupportInitialize)(this.GrayscalesPictureBox)).EndInit();
    121148      this.ResumeLayout(false);
    122149      this.PerformLayout();
     
    130157    private System.Windows.Forms.Label ZeroLabel;
    131158    private System.Windows.Forms.Label OneLabel;
     159    private System.Windows.Forms.PictureBox GrayscalesPictureBox;
     160    private System.Windows.Forms.CheckBox grayscaledImagesCheckBox;
    132161  }
    133162}
Note: See TracChangeset for help on using the changeset viewer.