- Timestamp:
- 12/01/16 16:21:10 (8 years ago)
- Location:
- trunk/sources/HeuristicLab.Analysis.Views/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.Designer.cs
r14436 r14437 54 54 this.label3 = new System.Windows.Forms.Label(); 55 55 this.commonGroupBox = new System.Windows.Forms.GroupBox(); 56 this.isVisibleInLegendCheckBox = new System.Windows.Forms.CheckBox(); 57 this.label10 = new System.Windows.Forms.Label(); 56 58 this.displayNameTextBox = new System.Windows.Forms.TextBox(); 57 59 this.axisGroupBox = new System.Windows.Forms.GroupBox(); … … 90 92 this.chartTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 91 93 this.chartTypeComboBox.FormattingEnabled = true; 92 this.chartTypeComboBox.Location = new System.Drawing.Point( 57, 45);94 this.chartTypeComboBox.Location = new System.Drawing.Point(102, 45); 93 95 this.chartTypeComboBox.Name = "chartTypeComboBox"; 94 this.chartTypeComboBox.Size = new System.Drawing.Size(2 64, 21);96 this.chartTypeComboBox.Size = new System.Drawing.Size(219, 21); 95 97 this.chartTypeComboBox.TabIndex = 3; 96 98 this.chartTypeComboBox.SelectedValueChanged += new System.EventHandler(this.chartTypeComboBox_SelectedValueChanged); … … 103 105 // 104 106 this.colorButton.BackColor = System.Drawing.SystemColors.Control; 105 this.colorButton.Location = new System.Drawing.Point( 56, 72);107 this.colorButton.Location = new System.Drawing.Point(102, 72); 106 108 this.colorButton.Name = "colorButton"; 107 109 this.colorButton.Size = new System.Drawing.Size(23, 23); … … 172 174 this.commonGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 173 175 | System.Windows.Forms.AnchorStyles.Right))); 176 this.commonGroupBox.Controls.Add(this.isVisibleInLegendCheckBox); 177 this.commonGroupBox.Controls.Add(this.label10); 174 178 this.commonGroupBox.Controls.Add(this.displayNameTextBox); 175 179 this.commonGroupBox.Controls.Add(this.axisGroupBox); … … 181 185 this.commonGroupBox.Location = new System.Drawing.Point(0, 0); 182 186 this.commonGroupBox.Name = "commonGroupBox"; 183 this.commonGroupBox.Size = new System.Drawing.Size(327, 1 74);187 this.commonGroupBox.Size = new System.Drawing.Size(327, 199); 184 188 this.commonGroupBox.TabIndex = 0; 185 189 this.commonGroupBox.TabStop = false; 186 190 this.commonGroupBox.Text = "Common"; 187 191 // 192 // isVisibleInLegendCheckBox 193 // 194 this.isVisibleInLegendCheckBox.AutoSize = true; 195 this.isVisibleInLegendCheckBox.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; 196 this.isVisibleInLegendCheckBox.Location = new System.Drawing.Point(102, 104); 197 this.isVisibleInLegendCheckBox.Name = "isVisibleInLegendCheckBox"; 198 this.isVisibleInLegendCheckBox.Size = new System.Drawing.Size(15, 14); 199 this.isVisibleInLegendCheckBox.TabIndex = 8; 200 this.isVisibleInLegendCheckBox.UseVisualStyleBackColor = true; 201 this.isVisibleInLegendCheckBox.CheckedChanged += new System.EventHandler(this.isVisibleInLegendCheckBox_CheckedChanged); 202 // 203 // label10 204 // 205 this.label10.AutoSize = true; 206 this.label10.Location = new System.Drawing.Point(6, 104); 207 this.label10.Name = "label10"; 208 this.label10.Size = new System.Drawing.Size(90, 13); 209 this.label10.TabIndex = 7; 210 this.label10.Text = "&Visible in Legend:"; 211 // 188 212 // displayNameTextBox 189 213 // 190 214 this.displayNameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 191 215 | System.Windows.Forms.AnchorStyles.Right))); 192 this.displayNameTextBox.Location = new System.Drawing.Point( 57, 19);216 this.displayNameTextBox.Location = new System.Drawing.Point(102, 19); 193 217 this.displayNameTextBox.Name = "displayNameTextBox"; 194 this.displayNameTextBox.Size = new System.Drawing.Size(2 64, 20);218 this.displayNameTextBox.Size = new System.Drawing.Size(219, 20); 195 219 this.displayNameTextBox.TabIndex = 1; 196 220 this.displayNameTextBox.Validated += new System.EventHandler(this.displayNameTextBox_Validated); … … 205 229 this.axisGroupBox.Controls.Add(this.label5); 206 230 this.axisGroupBox.Controls.Add(this.label6); 207 this.axisGroupBox.Location = new System.Drawing.Point(6, 1 01);231 this.axisGroupBox.Location = new System.Drawing.Point(6, 126); 208 232 this.axisGroupBox.Name = "axisGroupBox"; 209 233 this.axisGroupBox.Size = new System.Drawing.Size(315, 67); … … 317 341 this.histoGramGroupBox.Controls.Add(this.binsNumericUpDown); 318 342 this.histoGramGroupBox.Controls.Add(this.label3); 319 this.histoGramGroupBox.Location = new System.Drawing.Point(0, 280);343 this.histoGramGroupBox.Location = new System.Drawing.Point(0, 305); 320 344 this.histoGramGroupBox.Name = "histoGramGroupBox"; 321 345 this.histoGramGroupBox.Size = new System.Drawing.Size(327, 47); … … 360 384 this.lineChartGroupBox.Controls.Add(this.lineStyleComboBox); 361 385 this.lineChartGroupBox.Controls.Add(this.label8); 362 this.lineChartGroupBox.Location = new System.Drawing.Point(0, 180);386 this.lineChartGroupBox.Location = new System.Drawing.Point(0, 205); 363 387 this.lineChartGroupBox.Name = "lineChartGroupBox"; 364 388 this.lineChartGroupBox.Size = new System.Drawing.Size(327, 94); … … 433 457 this.Controls.Add(this.commonGroupBox); 434 458 this.Name = "DataRowVisualPropertiesControl"; 435 this.Size = new System.Drawing.Size(327, 3 31);459 this.Size = new System.Drawing.Size(327, 356); 436 460 ((System.ComponentModel.ISupportInitialize)(this.binsNumericUpDown)).EndInit(); 437 461 this.commonGroupBox.ResumeLayout(false); … … 483 507 private System.Windows.Forms.Panel panel2; 484 508 private System.Windows.Forms.Panel panel1; 509 private System.Windows.Forms.Label label10; 510 private System.Windows.Forms.CheckBox isVisibleInLegendCheckBox; 485 511 } 486 512 } -
trunk/sources/HeuristicLab.Analysis.Views/3.3/DataRowVisualPropertiesControl.cs
r14185 r14437 94 94 binsExactRadioButton.Checked = Content.ExactBins; 95 95 displayNameTextBox.Text = Content.DisplayName; 96 isVisibleInLegendCheckBox.Checked = Content.IsVisibleInLegend; 96 97 } 97 98 } finally { SuppressEvents = false; } … … 103 104 lineChartGroupBox.Enabled = Content != null && Content.ChartType == DataRowVisualProperties.DataRowChartType.Line; 104 105 histoGramGroupBox.Enabled = Content != null && Content.ChartType == DataRowVisualProperties.DataRowChartType.Histogram; 106 isVisibleInLegendCheckBox.Enabled = Content != null; 105 107 } 106 108 … … 188 190 } 189 191 } 192 193 private void isVisibleInLegendCheckBox_CheckedChanged(object sender, EventArgs e) { 194 if (!SuppressEvents && Content != null) { 195 Content.IsVisibleInLegend = isVisibleInLegendCheckBox.Checked; 196 } 197 } 190 198 #endregion 191 199 }
Note: See TracChangeset
for help on using the changeset viewer.