- Timestamp:
- 09/18/14 15:19:38 (10 years ago)
- Location:
- trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/ManipulationView.Designer.cs
r10977 r11381 49 49 this.label10 = new System.Windows.Forms.Label(); 50 50 this.tabDataShuffle = new System.Windows.Forms.TabPage(); 51 this.l abel6= new System.Windows.Forms.Label();51 this.lblShuffleProperties = new System.Windows.Forms.Label(); 52 52 this.grpBoxPreview = new System.Windows.Forms.GroupBox(); 53 53 this.tabsPreview = new System.Windows.Forms.TabControl(); … … 66 66 this.lblPreviewShuffle = new System.Windows.Forms.Label(); 67 67 this.label9 = new System.Windows.Forms.Label(); 68 this.shuffleSeparatelyCheckbox = new System.Windows.Forms.CheckBox(); 68 69 this.grpBoxData.SuspendLayout(); 69 70 this.tabsData.SuspendLayout(); … … 350 351 // tabDataShuffle 351 352 // 352 this.tabDataShuffle.Controls.Add(this.label6); 353 this.tabDataShuffle.Controls.Add(this.shuffleSeparatelyCheckbox); 354 this.tabDataShuffle.Controls.Add(this.lblShuffleProperties); 353 355 this.tabDataShuffle.Location = new System.Drawing.Point(4, 22); 354 356 this.tabDataShuffle.Name = "tabDataShuffle"; … … 359 361 this.tabDataShuffle.UseVisualStyleBackColor = true; 360 362 // 361 // l abel6362 // 363 this.l abel6.AutoSize = true;364 this.l abel6.Enabled = false;365 this.l abel6.Location = new System.Drawing.Point(3, 3);366 this.l abel6.Name = "label6";367 this.l abel6.Size = new System.Drawing.Size(115, 13);368 this.l abel6.TabIndex = 0;369 this.l abel6.Text = "No properties available";363 // lblShuffleProperties 364 // 365 this.lblShuffleProperties.AutoSize = true; 366 this.lblShuffleProperties.Enabled = false; 367 this.lblShuffleProperties.Location = new System.Drawing.Point(3, 3); 368 this.lblShuffleProperties.Name = "lblShuffleProperties"; 369 this.lblShuffleProperties.Size = new System.Drawing.Size(115, 13); 370 this.lblShuffleProperties.TabIndex = 0; 371 this.lblShuffleProperties.Text = "No properties available"; 370 372 // 371 373 // grpBoxPreview … … 536 538 this.label9.Size = new System.Drawing.Size(100, 23); 537 539 this.label9.TabIndex = 0; 540 // 541 // shuffleSeparatelyCheckbox 542 // 543 this.shuffleSeparatelyCheckbox.AutoSize = true; 544 this.shuffleSeparatelyCheckbox.Location = new System.Drawing.Point(6, 2); 545 this.shuffleSeparatelyCheckbox.Name = "shuffleSeparatelyCheckbox"; 546 this.shuffleSeparatelyCheckbox.Size = new System.Drawing.Size(233, 17); 547 this.shuffleSeparatelyCheckbox.TabIndex = 1; 548 this.shuffleSeparatelyCheckbox.Text = "Shuffle training and test partitions separately"; 549 this.shuffleSeparatelyCheckbox.UseVisualStyleBackColor = true; 538 550 // 539 551 // ManipulationView … … 619 631 private System.Windows.Forms.Label label10; 620 632 private System.Windows.Forms.TabPage tabDataShuffle; 621 private System.Windows.Forms.Label l abel6;633 private System.Windows.Forms.Label lblShuffleProperties; 622 634 private System.Windows.Forms.ComboBox cmbVariableNames; 623 635 private System.Windows.Forms.Label label8; 624 636 private System.Windows.Forms.Label lblPreviewInActive; 637 private System.Windows.Forms.CheckBox shuffleSeparatelyCheckbox; 625 638 } 626 639 } -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/ManipulationView.cs
r11171 r11381 51 51 ()=>validateDeleteRowsInfo(), 52 52 ()=>validateReplaceWith(), 53 ()=> {btnApply.Enabled = true; lblPreviewShuffle.Text = "Data will be shuffled randomly - preview not possible";} //shuffle53 ()=>validateShuffle() 54 54 }; 55 55 … … 59 59 ()=>Content.ManipulationLogic.DeleteRowsWithMissingValuesGreater(getRowsColumnsInfo()), 60 60 ()=>replaceMissingValues(), 61 ()=>Content.ManipulationLogic.ShuffleWithRanges( )61 ()=>Content.ManipulationLogic.ShuffleWithRanges(shuffleSeparatelyCheckbox.Checked) 62 62 }; 63 64 63 } 65 64 … … 228 227 } 229 228 229 private void validateShuffle() { 230 btnApply.Enabled = true; 231 lblShuffleProperties.Enabled = false; 232 lblShuffleProperties.Visible = false; 233 shuffleSeparatelyCheckbox.Enabled = true; 234 shuffleSeparatelyCheckbox.Visible = true; 235 } 236 230 237 public new ManipulationContent Content { 231 238 get { return (ManipulationContent)base.Content; }
Note: See TracChangeset
for help on using the changeset viewer.