Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12140


Ignore:
Timestamp:
03/05/15 14:30:16 (9 years ago)
Author:
ascheibe
Message:

#2351 fixed name of NumericUpDown

Location:
trunk/sources/HeuristicLab.Analysis.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/HistogramControl.Designer.cs

    r12139 r12140  
    4848    private void InitializeComponent() {
    4949      this.components = new System.ComponentModel.Container();
    50       System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    51       System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
    52       System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     50      System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     51      System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
     52      System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
    5353      this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
    5454      this.binsNumericUpDown = new System.Windows.Forms.NumericUpDown();
     
    5656      this.exactCheckBox = new System.Windows.Forms.CheckBox();
    5757      this.label2 = new System.Windows.Forms.Label();
    58       this.BandwidthNumericUpDown = new System.Windows.Forms.NumericUpDown();
     58      this.bandwidthNumericUpDown = new System.Windows.Forms.NumericUpDown();
    5959      ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
    6060      ((System.ComponentModel.ISupportInitialize)(this.binsNumericUpDown)).BeginInit();
    61       ((System.ComponentModel.ISupportInitialize)(this.BandwidthNumericUpDown)).BeginInit();
     61      ((System.ComponentModel.ISupportInitialize)(this.bandwidthNumericUpDown)).BeginInit();
    6262      this.SuspendLayout();
    6363      //
     
    6767            | System.Windows.Forms.AnchorStyles.Left)
    6868            | System.Windows.Forms.AnchorStyles.Right)));
    69       chartArea2.Name = "ChartArea1";
    70       this.chart.ChartAreas.Add(chartArea2);
    71       legend2.Alignment = System.Drawing.StringAlignment.Center;
    72       legend2.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
    73       legend2.Name = "Default";
    74       this.chart.Legends.Add(legend2);
     69      chartArea1.Name = "ChartArea1";
     70      this.chart.ChartAreas.Add(chartArea1);
     71      legend1.Alignment = System.Drawing.StringAlignment.Center;
     72      legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
     73      legend1.Name = "Default";
     74      this.chart.Legends.Add(legend1);
    7575      this.chart.Location = new System.Drawing.Point(0, 27);
    7676      this.chart.Name = "chart";
    77       series2.ChartArea = "ChartArea1";
    78       series2.Legend = "Default";
    79       series2.Name = "Series1";
    80       this.chart.Series.Add(series2);
     77      series1.ChartArea = "ChartArea1";
     78      series1.Legend = "Default";
     79      series1.Name = "Series1";
     80      this.chart.Series.Add(series1);
    8181      this.chart.Size = new System.Drawing.Size(465, 336);
    8282      this.chart.TabIndex = 0;
     
    135135      this.label2.Text = "Bandwidth:";
    136136      //
    137       // BandwidthNumericUpDown
     137      // bandwidthNumericUpDown
    138138      //
    139       this.BandwidthNumericUpDown.DecimalPlaces = 2;
    140       this.BandwidthNumericUpDown.Location = new System.Drawing.Point(224, 3);
    141       this.BandwidthNumericUpDown.Maximum = new decimal(new int[] {
     139      this.bandwidthNumericUpDown.DecimalPlaces = 2;
     140      this.bandwidthNumericUpDown.Location = new System.Drawing.Point(224, 3);
     141      this.bandwidthNumericUpDown.Maximum = new decimal(new int[] {
    142142            100000000,
    143143            0,
    144144            0,
    145145            0});
    146       this.BandwidthNumericUpDown.Minimum = new decimal(new int[] {
     146      this.bandwidthNumericUpDown.Minimum = new decimal(new int[] {
    147147            1,
    148148            0,
    149149            0,
    150150            65536});
    151       this.BandwidthNumericUpDown.Name = "BandwidthNumericUpDown";
    152       this.BandwidthNumericUpDown.Size = new System.Drawing.Size(61, 20);
    153       this.BandwidthNumericUpDown.TabIndex = 4;
    154       this.BandwidthNumericUpDown.Value = new decimal(new int[] {
     151      this.bandwidthNumericUpDown.Name = "bandwidthNumericUpDown";
     152      this.bandwidthNumericUpDown.Size = new System.Drawing.Size(61, 20);
     153      this.bandwidthNumericUpDown.TabIndex = 4;
     154      this.bandwidthNumericUpDown.Value = new decimal(new int[] {
    155155            1,
    156156            0,
    157157            0,
    158158            0});
    159       this.BandwidthNumericUpDown.ValueChanged += new System.EventHandler(this.BandwidthNumericUpDown_ValueChanged);
     159      this.bandwidthNumericUpDown.ValueChanged += new System.EventHandler(this.bandwidthNumericUpDown_ValueChanged);
    160160      //
    161161      // HistogramControl
     
    163163      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    164164      this.Controls.Add(this.label2);
    165       this.Controls.Add(this.BandwidthNumericUpDown);
     165      this.Controls.Add(this.bandwidthNumericUpDown);
    166166      this.Controls.Add(this.exactCheckBox);
    167167      this.Controls.Add(this.label1);
     
    172172      ((System.ComponentModel.ISupportInitialize)(this.chart)).EndInit();
    173173      ((System.ComponentModel.ISupportInitialize)(this.binsNumericUpDown)).EndInit();
    174       ((System.ComponentModel.ISupportInitialize)(this.BandwidthNumericUpDown)).EndInit();
     174      ((System.ComponentModel.ISupportInitialize)(this.bandwidthNumericUpDown)).EndInit();
    175175      this.ResumeLayout(false);
    176176      this.PerformLayout();
     
    185185    private System.Windows.Forms.CheckBox exactCheckBox;
    186186    private System.Windows.Forms.Label label2;
    187     private System.Windows.Forms.NumericUpDown BandwidthNumericUpDown;
     187    private System.Windows.Forms.NumericUpDown bandwidthNumericUpDown;
    188188  }
    189189}
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/HistogramControl.cs

    r12139 r12140  
    199199        bandwidth = KernelDensityEstimator.EstimateBandwidth(rowArray);
    200200        suppressUpdate = true;
    201         BandwidthNumericUpDown.Value = (decimal)bandwidth;
     201        bandwidthNumericUpDown.Value = (decimal)bandwidth;
    202202      }
    203203      var density = KernelDensityEstimator.Density(rowArray, rowArray.Length, stepWidth, bandwidth);
     
    234234    }
    235235
    236     private void BandwidthNumericUpDown_ValueChanged(object sender, EventArgs e) {
     236    private void bandwidthNumericUpDown_ValueChanged(object sender, EventArgs e) {
    237237      if (!suppressUpdate) {
    238         UpdateHistogram(decimal.ToDouble(BandwidthNumericUpDown.Value));
     238        UpdateHistogram(decimal.ToDouble(bandwidthNumericUpDown.Value));
    239239      }
    240240      suppressUpdate = false;
Note: See TracChangeset for help on using the changeset viewer.