Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8015


Ignore:
Timestamp:
06/17/12 00:09:49 (12 years ago)
Author:
abeham
Message:

#1829:

  • Fixed exception that would occur if no DataRows are present
  • Fixed enabled state in DataRowVisualPropertiesControl (initially should be disabled, unless Content is assigned)
  • Fixed tab order in DataTableVisualPropertiesDialog
Location:
trunk/sources/HeuristicLab.Analysis.Views/3.3
Files:
4 edited

Legend:

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

    r7259 r8015  
    4545      chartTypeComboBox.DataSource = Enum.GetValues(typeof(DataRowVisualProperties.DataRowChartType));
    4646      lineStyleComboBox.DataSource = Enum.GetValues(typeof(DataRowVisualProperties.DataRowLineStyle));
     47      SetEnabledStateOfControls();
    4748    }
    4849
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesControl.Designer.cs

    r7967 r8015  
    141141      // yAxisPrimaryTitleTextBox
    142142      //
    143       this.yAxisPrimaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    144             | System.Windows.Forms.AnchorStyles.Right)));
     143      this.yAxisPrimaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     144                  | System.Windows.Forms.AnchorStyles.Right)));
    145145      this.yAxisPrimaryTitleTextBox.Location = new System.Drawing.Point(66, 19);
    146146      this.yAxisPrimaryTitleTextBox.Name = "yAxisPrimaryTitleTextBox";
     
    151151      // yAxisSecondaryTitleTextBox
    152152      //
    153       this.yAxisSecondaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    154             | System.Windows.Forms.AnchorStyles.Right)));
     153      this.yAxisSecondaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     154                  | System.Windows.Forms.AnchorStyles.Right)));
    155155      this.yAxisSecondaryTitleTextBox.Location = new System.Drawing.Point(66, 19);
    156156      this.yAxisSecondaryTitleTextBox.Name = "yAxisSecondaryTitleTextBox";
     
    170170      // xAxisPrimaryGroupBox
    171171      //
    172       this.xAxisPrimaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    173             | System.Windows.Forms.AnchorStyles.Right)));
     172      this.xAxisPrimaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     173                  | System.Windows.Forms.AnchorStyles.Right)));
    174174      this.xAxisPrimaryGroupBox.Controls.Add(this.panel2);
    175175      this.xAxisPrimaryGroupBox.Controls.Add(this.panel1);
     
    194194      this.panel2.Name = "panel2";
    195195      this.panel2.Size = new System.Drawing.Size(106, 20);
    196       this.panel2.TabIndex = 9;
     196      this.panel2.TabIndex = 6;
    197197      //
    198198      // xAxisPrimaryMaximumFixedRadioButton
     
    202202      this.xAxisPrimaryMaximumFixedRadioButton.Name = "xAxisPrimaryMaximumFixedRadioButton";
    203203      this.xAxisPrimaryMaximumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    204       this.xAxisPrimaryMaximumFixedRadioButton.TabIndex = 8;
     204      this.xAxisPrimaryMaximumFixedRadioButton.TabIndex = 1;
    205205      this.xAxisPrimaryMaximumFixedRadioButton.TabStop = true;
    206206      this.xAxisPrimaryMaximumFixedRadioButton.Text = "&Fixed:";
     
    214214      this.xAxisPrimaryMaximumAutoRadioButton.Name = "xAxisPrimaryMaximumAutoRadioButton";
    215215      this.xAxisPrimaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    216       this.xAxisPrimaryMaximumAutoRadioButton.TabIndex = 7;
     216      this.xAxisPrimaryMaximumAutoRadioButton.TabIndex = 0;
    217217      this.xAxisPrimaryMaximumAutoRadioButton.TabStop = true;
    218218      this.xAxisPrimaryMaximumAutoRadioButton.Text = "&Auto";
     
    227227      this.panel1.Name = "panel1";
    228228      this.panel1.Size = new System.Drawing.Size(106, 20);
    229       this.panel1.TabIndex = 9;
     229      this.panel1.TabIndex = 3;
    230230      //
    231231      // xAxisPrimaryMinimumFixedRadioButton
     
    235235      this.xAxisPrimaryMinimumFixedRadioButton.Name = "xAxisPrimaryMinimumFixedRadioButton";
    236236      this.xAxisPrimaryMinimumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    237       this.xAxisPrimaryMinimumFixedRadioButton.TabIndex = 4;
     237      this.xAxisPrimaryMinimumFixedRadioButton.TabIndex = 1;
    238238      this.xAxisPrimaryMinimumFixedRadioButton.TabStop = true;
    239239      this.xAxisPrimaryMinimumFixedRadioButton.Text = "&Fixed:";
     
    247247      this.xAxisPrimaryMinimumAutoRadioButton.Name = "xAxisPrimaryMinimumAutoRadioButton";
    248248      this.xAxisPrimaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    249       this.xAxisPrimaryMinimumAutoRadioButton.TabIndex = 3;
     249      this.xAxisPrimaryMinimumAutoRadioButton.TabIndex = 0;
    250250      this.xAxisPrimaryMinimumAutoRadioButton.TabStop = true;
    251251      this.xAxisPrimaryMinimumAutoRadioButton.Text = "&Auto";
     
    255255      // xAxisPrimaryMinimumFixedTextBox
    256256      //
    257       this.xAxisPrimaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    258             | System.Windows.Forms.AnchorStyles.Right)));
     257      this.xAxisPrimaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     258                  | System.Windows.Forms.AnchorStyles.Right)));
    259259      this.xAxisPrimaryMinimumFixedTextBox.Location = new System.Drawing.Point(191, 45);
    260260      this.xAxisPrimaryMinimumFixedTextBox.Name = "xAxisPrimaryMinimumFixedTextBox";
    261261      this.xAxisPrimaryMinimumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    262       this.xAxisPrimaryMinimumFixedTextBox.TabIndex = 5;
     262      this.xAxisPrimaryMinimumFixedTextBox.TabIndex = 4;
    263263      this.xAxisPrimaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisPrimaryMinimumFixedTextBox_Validating);
    264264      //
    265265      // xAxisPrimaryMaximumFixedTextBox
    266266      //
    267       this.xAxisPrimaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    268             | System.Windows.Forms.AnchorStyles.Right)));
     267      this.xAxisPrimaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     268                  | System.Windows.Forms.AnchorStyles.Right)));
    269269      this.xAxisPrimaryMaximumFixedTextBox.Location = new System.Drawing.Point(191, 71);
    270270      this.xAxisPrimaryMaximumFixedTextBox.Name = "xAxisPrimaryMaximumFixedTextBox";
    271271      this.xAxisPrimaryMaximumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    272       this.xAxisPrimaryMaximumFixedTextBox.TabIndex = 9;
     272      this.xAxisPrimaryMaximumFixedTextBox.TabIndex = 7;
    273273      this.xAxisPrimaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisPrimaryMaximumFixedTextBox_Validating);
    274274      //
     
    279279      this.label12.Name = "label12";
    280280      this.label12.Size = new System.Drawing.Size(54, 13);
    281       this.label12.TabIndex = 6;
     281      this.label12.TabIndex = 5;
    282282      this.label12.Text = "&Maximum:";
    283283      //
     
    293293      // xAxisPrimaryTitleTextBox
    294294      //
    295       this.xAxisPrimaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    296             | System.Windows.Forms.AnchorStyles.Right)));
     295      this.xAxisPrimaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     296                  | System.Windows.Forms.AnchorStyles.Right)));
    297297      this.xAxisPrimaryTitleTextBox.Location = new System.Drawing.Point(66, 19);
    298298      this.xAxisPrimaryTitleTextBox.Name = "xAxisPrimaryTitleTextBox";
     
    312312      // xAxisSecondaryGroupBox
    313313      //
    314       this.xAxisSecondaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    315             | System.Windows.Forms.AnchorStyles.Left)
    316             | System.Windows.Forms.AnchorStyles.Right)));
     314      this.xAxisSecondaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     315                  | System.Windows.Forms.AnchorStyles.Left)
     316                  | System.Windows.Forms.AnchorStyles.Right)));
    317317      this.xAxisSecondaryGroupBox.Controls.Add(this.panel4);
    318318      this.xAxisSecondaryGroupBox.Controls.Add(this.panel3);
     
    337337      this.panel4.Name = "panel4";
    338338      this.panel4.Size = new System.Drawing.Size(106, 20);
    339       this.panel4.TabIndex = 9;
     339      this.panel4.TabIndex = 6;
    340340      //
    341341      // xAxisSecondaryMaximumFixedRadioButton
     
    345345      this.xAxisSecondaryMaximumFixedRadioButton.Name = "xAxisSecondaryMaximumFixedRadioButton";
    346346      this.xAxisSecondaryMaximumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    347       this.xAxisSecondaryMaximumFixedRadioButton.TabIndex = 8;
     347      this.xAxisSecondaryMaximumFixedRadioButton.TabIndex = 1;
    348348      this.xAxisSecondaryMaximumFixedRadioButton.TabStop = true;
    349349      this.xAxisSecondaryMaximumFixedRadioButton.Text = "&Fixed:";
     
    357357      this.xAxisSecondaryMaximumAutoRadioButton.Name = "xAxisSecondaryMaximumAutoRadioButton";
    358358      this.xAxisSecondaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    359       this.xAxisSecondaryMaximumAutoRadioButton.TabIndex = 7;
     359      this.xAxisSecondaryMaximumAutoRadioButton.TabIndex = 0;
    360360      this.xAxisSecondaryMaximumAutoRadioButton.TabStop = true;
    361361      this.xAxisSecondaryMaximumAutoRadioButton.Text = "&Auto";
     
    370370      this.panel3.Name = "panel3";
    371371      this.panel3.Size = new System.Drawing.Size(106, 20);
    372       this.panel3.TabIndex = 9;
     372      this.panel3.TabIndex = 3;
    373373      //
    374374      // xAxisSecondaryMinimumFixedRadioButton
     
    378378      this.xAxisSecondaryMinimumFixedRadioButton.Name = "xAxisSecondaryMinimumFixedRadioButton";
    379379      this.xAxisSecondaryMinimumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    380       this.xAxisSecondaryMinimumFixedRadioButton.TabIndex = 4;
     380      this.xAxisSecondaryMinimumFixedRadioButton.TabIndex = 1;
    381381      this.xAxisSecondaryMinimumFixedRadioButton.TabStop = true;
    382382      this.xAxisSecondaryMinimumFixedRadioButton.Text = "&Fixed:";
     
    390390      this.xAxisSecondaryMinimumAutoRadioButton.Name = "xAxisSecondaryMinimumAutoRadioButton";
    391391      this.xAxisSecondaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    392       this.xAxisSecondaryMinimumAutoRadioButton.TabIndex = 3;
     392      this.xAxisSecondaryMinimumAutoRadioButton.TabIndex = 0;
    393393      this.xAxisSecondaryMinimumAutoRadioButton.TabStop = true;
    394394      this.xAxisSecondaryMinimumAutoRadioButton.Text = "&Auto";
     
    398398      // xAxisSecondaryMinimumFixedTextBox
    399399      //
    400       this.xAxisSecondaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    401             | System.Windows.Forms.AnchorStyles.Right)));
     400      this.xAxisSecondaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     401                  | System.Windows.Forms.AnchorStyles.Right)));
    402402      this.xAxisSecondaryMinimumFixedTextBox.Location = new System.Drawing.Point(191, 45);
    403403      this.xAxisSecondaryMinimumFixedTextBox.Name = "xAxisSecondaryMinimumFixedTextBox";
    404404      this.xAxisSecondaryMinimumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    405       this.xAxisSecondaryMinimumFixedTextBox.TabIndex = 5;
     405      this.xAxisSecondaryMinimumFixedTextBox.TabIndex = 4;
    406406      this.xAxisSecondaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisSecondaryMinimumFixedTextBox_Validating);
    407407      //
    408408      // xAxisSecondaryMaximumFixedTextBox
    409409      //
    410       this.xAxisSecondaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    411             | System.Windows.Forms.AnchorStyles.Right)));
     410      this.xAxisSecondaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     411                  | System.Windows.Forms.AnchorStyles.Right)));
    412412      this.xAxisSecondaryMaximumFixedTextBox.Location = new System.Drawing.Point(191, 71);
    413413      this.xAxisSecondaryMaximumFixedTextBox.Name = "xAxisSecondaryMaximumFixedTextBox";
    414414      this.xAxisSecondaryMaximumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    415       this.xAxisSecondaryMaximumFixedTextBox.TabIndex = 9;
     415      this.xAxisSecondaryMaximumFixedTextBox.TabIndex = 7;
    416416      this.xAxisSecondaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.xAxisSecondaryMaximumFixedTextBox_Validating);
    417417      //
     
    427427      // xAxisSecondaryTitleTextBox
    428428      //
    429       this.xAxisSecondaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    430             | System.Windows.Forms.AnchorStyles.Right)));
     429      this.xAxisSecondaryTitleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     430                  | System.Windows.Forms.AnchorStyles.Right)));
    431431      this.xAxisSecondaryTitleTextBox.Location = new System.Drawing.Point(66, 19);
    432432      this.xAxisSecondaryTitleTextBox.Name = "xAxisSecondaryTitleTextBox";
     
    441441      this.label5.Name = "label5";
    442442      this.label5.Size = new System.Drawing.Size(54, 13);
    443       this.label5.TabIndex = 6;
     443      this.label5.TabIndex = 5;
    444444      this.label5.Text = "&Maximum:";
    445445      //
     
    455455      // axisTabControl
    456456      //
    457       this.axisTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    458             | System.Windows.Forms.AnchorStyles.Right)));
     457      this.axisTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     458                  | System.Windows.Forms.AnchorStyles.Right)));
    459459      this.axisTabControl.Controls.Add(this.xAxisTabPage);
    460460      this.axisTabControl.Controls.Add(this.yAxisTabPage);
     
    491491      // yAxisSecondaryGroupBox
    492492      //
    493       this.yAxisSecondaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    494             | System.Windows.Forms.AnchorStyles.Left)
    495             | System.Windows.Forms.AnchorStyles.Right)));
     493      this.yAxisSecondaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     494                  | System.Windows.Forms.AnchorStyles.Left)
     495                  | System.Windows.Forms.AnchorStyles.Right)));
    496496      this.yAxisSecondaryGroupBox.Controls.Add(this.panel8);
    497497      this.yAxisSecondaryGroupBox.Controls.Add(this.panel7);
     
    516516      this.panel8.Name = "panel8";
    517517      this.panel8.Size = new System.Drawing.Size(106, 20);
    518       this.panel8.TabIndex = 10;
     518      this.panel8.TabIndex = 6;
    519519      //
    520520      // yAxisSecondaryMaximumFixedRadioButton
     
    524524      this.yAxisSecondaryMaximumFixedRadioButton.Name = "yAxisSecondaryMaximumFixedRadioButton";
    525525      this.yAxisSecondaryMaximumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    526       this.yAxisSecondaryMaximumFixedRadioButton.TabIndex = 8;
     526      this.yAxisSecondaryMaximumFixedRadioButton.TabIndex = 1;
    527527      this.yAxisSecondaryMaximumFixedRadioButton.TabStop = true;
    528528      this.yAxisSecondaryMaximumFixedRadioButton.Text = "&Fixed:";
     
    536536      this.yAxisSecondaryMaximumAutoRadioButton.Name = "yAxisSecondaryMaximumAutoRadioButton";
    537537      this.yAxisSecondaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    538       this.yAxisSecondaryMaximumAutoRadioButton.TabIndex = 7;
     538      this.yAxisSecondaryMaximumAutoRadioButton.TabIndex = 0;
    539539      this.yAxisSecondaryMaximumAutoRadioButton.TabStop = true;
    540540      this.yAxisSecondaryMaximumAutoRadioButton.Text = "&Auto";
     
    549549      this.panel7.Name = "panel7";
    550550      this.panel7.Size = new System.Drawing.Size(106, 20);
    551       this.panel7.TabIndex = 10;
     551      this.panel7.TabIndex = 3;
    552552      //
    553553      // yAxisSecondaryMinimumFixedRadioButton
     
    557557      this.yAxisSecondaryMinimumFixedRadioButton.Name = "yAxisSecondaryMinimumFixedRadioButton";
    558558      this.yAxisSecondaryMinimumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    559       this.yAxisSecondaryMinimumFixedRadioButton.TabIndex = 4;
     559      this.yAxisSecondaryMinimumFixedRadioButton.TabIndex = 1;
    560560      this.yAxisSecondaryMinimumFixedRadioButton.TabStop = true;
    561561      this.yAxisSecondaryMinimumFixedRadioButton.Text = "&Fixed:";
     
    569569      this.yAxisSecondaryMinimumAutoRadioButton.Name = "yAxisSecondaryMinimumAutoRadioButton";
    570570      this.yAxisSecondaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    571       this.yAxisSecondaryMinimumAutoRadioButton.TabIndex = 3;
     571      this.yAxisSecondaryMinimumAutoRadioButton.TabIndex = 0;
    572572      this.yAxisSecondaryMinimumAutoRadioButton.TabStop = true;
    573573      this.yAxisSecondaryMinimumAutoRadioButton.Text = "&Auto";
     
    577577      // yAxisSecondaryMinimumFixedTextBox
    578578      //
    579       this.yAxisSecondaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    580             | System.Windows.Forms.AnchorStyles.Right)));
     579      this.yAxisSecondaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     580                  | System.Windows.Forms.AnchorStyles.Right)));
    581581      this.yAxisSecondaryMinimumFixedTextBox.Location = new System.Drawing.Point(191, 45);
    582582      this.yAxisSecondaryMinimumFixedTextBox.Name = "yAxisSecondaryMinimumFixedTextBox";
    583583      this.yAxisSecondaryMinimumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    584       this.yAxisSecondaryMinimumFixedTextBox.TabIndex = 5;
     584      this.yAxisSecondaryMinimumFixedTextBox.TabIndex = 4;
    585585      this.yAxisSecondaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisSecondaryMinimumFixedTextBox_Validating);
    586586      //
    587587      // yAxisSecondaryMaximumFixedTextBox
    588588      //
    589       this.yAxisSecondaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    590             | System.Windows.Forms.AnchorStyles.Right)));
     589      this.yAxisSecondaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     590                  | System.Windows.Forms.AnchorStyles.Right)));
    591591      this.yAxisSecondaryMaximumFixedTextBox.Location = new System.Drawing.Point(191, 71);
    592592      this.yAxisSecondaryMaximumFixedTextBox.Name = "yAxisSecondaryMaximumFixedTextBox";
    593593      this.yAxisSecondaryMaximumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    594       this.yAxisSecondaryMaximumFixedTextBox.TabIndex = 9;
     594      this.yAxisSecondaryMaximumFixedTextBox.TabIndex = 7;
    595595      this.yAxisSecondaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisSecondaryMaximumFixedTextBox_Validating);
    596596      //
     
    601601      this.label13.Name = "label13";
    602602      this.label13.Size = new System.Drawing.Size(54, 13);
    603       this.label13.TabIndex = 6;
     603      this.label13.TabIndex = 5;
    604604      this.label13.Text = "&Maximum:";
    605605      //
     
    615615      // yAxisPrimaryGroupBox
    616616      //
    617       this.yAxisPrimaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    618             | System.Windows.Forms.AnchorStyles.Right)));
     617      this.yAxisPrimaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     618                  | System.Windows.Forms.AnchorStyles.Right)));
    619619      this.yAxisPrimaryGroupBox.Controls.Add(this.panel6);
    620620      this.yAxisPrimaryGroupBox.Controls.Add(this.panel5);
     
    639639      this.panel6.Name = "panel6";
    640640      this.panel6.Size = new System.Drawing.Size(106, 20);
    641       this.panel6.TabIndex = 10;
     641      this.panel6.TabIndex = 6;
    642642      //
    643643      // yAxisPrimaryMaximumFixedRadioButton
     
    647647      this.yAxisPrimaryMaximumFixedRadioButton.Name = "yAxisPrimaryMaximumFixedRadioButton";
    648648      this.yAxisPrimaryMaximumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    649       this.yAxisPrimaryMaximumFixedRadioButton.TabIndex = 8;
     649      this.yAxisPrimaryMaximumFixedRadioButton.TabIndex = 1;
    650650      this.yAxisPrimaryMaximumFixedRadioButton.TabStop = true;
    651651      this.yAxisPrimaryMaximumFixedRadioButton.Text = "&Fixed:";
     
    659659      this.yAxisPrimaryMaximumAutoRadioButton.Name = "yAxisPrimaryMaximumAutoRadioButton";
    660660      this.yAxisPrimaryMaximumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    661       this.yAxisPrimaryMaximumAutoRadioButton.TabIndex = 7;
     661      this.yAxisPrimaryMaximumAutoRadioButton.TabIndex = 0;
    662662      this.yAxisPrimaryMaximumAutoRadioButton.TabStop = true;
    663663      this.yAxisPrimaryMaximumAutoRadioButton.Text = "&Auto";
     
    672672      this.panel5.Name = "panel5";
    673673      this.panel5.Size = new System.Drawing.Size(106, 20);
    674       this.panel5.TabIndex = 10;
     674      this.panel5.TabIndex = 3;
    675675      //
    676676      // yAxisPrimaryMinimumAutoRadioButton
     
    680680      this.yAxisPrimaryMinimumAutoRadioButton.Name = "yAxisPrimaryMinimumAutoRadioButton";
    681681      this.yAxisPrimaryMinimumAutoRadioButton.Size = new System.Drawing.Size(47, 17);
    682       this.yAxisPrimaryMinimumAutoRadioButton.TabIndex = 3;
     682      this.yAxisPrimaryMinimumAutoRadioButton.TabIndex = 0;
    683683      this.yAxisPrimaryMinimumAutoRadioButton.TabStop = true;
    684684      this.yAxisPrimaryMinimumAutoRadioButton.Text = "&Auto";
     
    692692      this.yAxisPrimaryMinimumFixedRadioButton.Name = "yAxisPrimaryMinimumFixedRadioButton";
    693693      this.yAxisPrimaryMinimumFixedRadioButton.Size = new System.Drawing.Size(53, 17);
    694       this.yAxisPrimaryMinimumFixedRadioButton.TabIndex = 4;
     694      this.yAxisPrimaryMinimumFixedRadioButton.TabIndex = 1;
    695695      this.yAxisPrimaryMinimumFixedRadioButton.TabStop = true;
    696696      this.yAxisPrimaryMinimumFixedRadioButton.Text = "&Fixed:";
     
    700700      // yAxisPrimaryMinimumFixedTextBox
    701701      //
    702       this.yAxisPrimaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    703             | System.Windows.Forms.AnchorStyles.Right)));
     702      this.yAxisPrimaryMinimumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     703                  | System.Windows.Forms.AnchorStyles.Right)));
    704704      this.yAxisPrimaryMinimumFixedTextBox.Location = new System.Drawing.Point(191, 45);
    705705      this.yAxisPrimaryMinimumFixedTextBox.Name = "yAxisPrimaryMinimumFixedTextBox";
    706706      this.yAxisPrimaryMinimumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    707       this.yAxisPrimaryMinimumFixedTextBox.TabIndex = 5;
     707      this.yAxisPrimaryMinimumFixedTextBox.TabIndex = 4;
    708708      this.yAxisPrimaryMinimumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisPrimaryMinimumFixedTextBox_Validating);
    709709      //
    710710      // yAxisPrimaryMaximumFixedTextBox
    711711      //
    712       this.yAxisPrimaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    713             | System.Windows.Forms.AnchorStyles.Right)));
     712      this.yAxisPrimaryMaximumFixedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     713                  | System.Windows.Forms.AnchorStyles.Right)));
    714714      this.yAxisPrimaryMaximumFixedTextBox.Location = new System.Drawing.Point(191, 71);
    715715      this.yAxisPrimaryMaximumFixedTextBox.Name = "yAxisPrimaryMaximumFixedTextBox";
    716716      this.yAxisPrimaryMaximumFixedTextBox.Size = new System.Drawing.Size(244, 20);
    717       this.yAxisPrimaryMaximumFixedTextBox.TabIndex = 9;
     717      this.yAxisPrimaryMaximumFixedTextBox.TabIndex = 7;
    718718      this.yAxisPrimaryMaximumFixedTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.yAxisPrimaryMaximumFixedTextBox_Validating);
    719719      //
     
    724724      this.label7.Name = "label7";
    725725      this.label7.Size = new System.Drawing.Size(54, 13);
    726       this.label7.TabIndex = 6;
     726      this.label7.TabIndex = 5;
    727727      this.label7.Text = "&Maximum:";
    728728      //
     
    738738      // titleTextBox
    739739      //
    740       this.titleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    741             | System.Windows.Forms.AnchorStyles.Right)));
     740      this.titleTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     741                  | System.Windows.Forms.AnchorStyles.Right)));
    742742      this.titleTextBox.Location = new System.Drawing.Point(66, 0);
    743743      this.titleTextBox.Name = "titleTextBox";
     
    757757      // axisFontLabel
    758758      //
    759       this.axisFontLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    760             | System.Windows.Forms.AnchorStyles.Right)));
     759      this.axisFontLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     760                  | System.Windows.Forms.AnchorStyles.Right)));
    761761      this.axisFontLabel.AutoSize = true;
    762762      this.axisFontLabel.Location = new System.Drawing.Point(98, 60);
     
    768768      // titleFontLabel
    769769      //
    770       this.titleFontLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    771             | System.Windows.Forms.AnchorStyles.Right)));
     770      this.titleFontLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     771                  | System.Windows.Forms.AnchorStyles.Right)));
    772772      this.titleFontLabel.AutoSize = true;
    773773      this.titleFontLabel.Location = new System.Drawing.Point(98, 31);
     
    827827      // DataTableVisualPropertiesControl
    828828      //
    829       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    830829      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    831830      this.Controls.Add(this.axisFontLabel);
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesDialog.Designer.cs

    r7967 r8015  
    9191      // tabControl
    9292      //
    93       this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    94             | System.Windows.Forms.AnchorStyles.Left)
    95             | System.Windows.Forms.AnchorStyles.Right)));
     93      this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     94                  | System.Windows.Forms.AnchorStyles.Left)
     95                  | System.Windows.Forms.AnchorStyles.Right)));
    9696      this.tabControl.Controls.Add(this.seriesTabPage);
    9797      this.tabControl.Controls.Add(this.chartTabPage);
     
    115115      // splitContainer
    116116      //
    117       this.splitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    118             | System.Windows.Forms.AnchorStyles.Left)
    119             | System.Windows.Forms.AnchorStyles.Right)));
     117      this.splitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     118                  | System.Windows.Forms.AnchorStyles.Left)
     119                  | System.Windows.Forms.AnchorStyles.Right)));
    120120      this.splitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
    121121      this.splitContainer.Location = new System.Drawing.Point(0, 0);
     
    139139      // downButton
    140140      //
     141      this.downButton.Enabled = false;
    141142      this.downButton.Location = new System.Drawing.Point(35, 3);
    142143      this.downButton.Name = "downButton";
     
    149150      // upButton
    150151      //
     152      this.upButton.Enabled = false;
    151153      this.upButton.Location = new System.Drawing.Point(3, 3);
    152154      this.upButton.Name = "upButton";
     
    159161      // seriesListView
    160162      //
    161       this.seriesListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    162             | System.Windows.Forms.AnchorStyles.Left)
    163             | System.Windows.Forms.AnchorStyles.Right)));
     163      this.seriesListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     164                  | System.Windows.Forms.AnchorStyles.Left)
     165                  | System.Windows.Forms.AnchorStyles.Right)));
    164166      this.seriesListView.HideSelection = false;
    165167      this.seriesListView.Location = new System.Drawing.Point(3, 32);
     
    175177      // dataRowVisualPropertiesControl
    176178      //
    177       this.dataRowVisualPropertiesControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    178             | System.Windows.Forms.AnchorStyles.Left)
    179             | System.Windows.Forms.AnchorStyles.Right)));
     179      this.dataRowVisualPropertiesControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     180                  | System.Windows.Forms.AnchorStyles.Left)
     181                  | System.Windows.Forms.AnchorStyles.Right)));
    180182      this.dataRowVisualPropertiesControl.Content = null;
    181183      this.dataRowVisualPropertiesControl.Location = new System.Drawing.Point(3, 26);
     
    197199      // dataTableVisualPropertiesControl
    198200      //
    199       this.dataTableVisualPropertiesControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    200             | System.Windows.Forms.AnchorStyles.Left)
    201             | System.Windows.Forms.AnchorStyles.Right)));
     201      this.dataTableVisualPropertiesControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     202                  | System.Windows.Forms.AnchorStyles.Left)
     203                  | System.Windows.Forms.AnchorStyles.Right)));
    202204      this.dataTableVisualPropertiesControl.Content = null;
    203205      this.dataTableVisualPropertiesControl.Location = new System.Drawing.Point(3, 6);
     
    209211      //
    210212      this.AcceptButton = this.okButton;
    211       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    212213      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    213214      this.CancelButton = this.cancelButton;
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableVisualPropertiesDialog.cs

    r7259 r8015  
    9292        if (seriesListView.SelectedItems.Count != 1) {
    9393          dataRowVisualPropertiesControl.Content = null;
     94          upButton.Enabled = downButton.Enabled = false;
    9495        } else {
    9596          string rowName = seriesListView.SelectedItems[0].Text;
    9697          dataRowVisualPropertiesControl.Content = Content.Rows[rowName].VisualProperties;
     98          upButton.Enabled = seriesListView.SelectedIndices[0] > 0;
     99          downButton.Enabled = seriesListView.SelectedIndices[0] < seriesListView.Items.Count - 1;
    97100        }
    98101      }
     
    160163        seriesListView.Items.Add(new ListViewItem(row.Name, 0));
    161164      }
    162       seriesListView.SelectedIndices.Add(0);
     165      if (seriesListView.Items.Count > 0)
     166        seriesListView.SelectedIndices.Add(0);
    163167    }
    164168
Note: See TracChangeset for help on using the changeset viewer.