- Timestamp:
- 06/11/13 21:41:08 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/ClassificationImportTypeDialog.Designer.cs
r9456 r9608 62 62 // OkButton 63 63 // 64 this.OkButton.Location = new System.Drawing.Point(303, 4 64);64 this.OkButton.Location = new System.Drawing.Point(303, 482); 65 65 // 66 66 // TrainingTestTrackBar … … 78 78 // CancelationButton 79 79 // 80 this.CancelationButton.Location = new System.Drawing.Point(384, 4 64);80 this.CancelationButton.Location = new System.Drawing.Point(384, 482); 81 81 // 82 82 // ProblemDataSettingsGroupBox … … 87 87 this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableComboBox); 88 88 this.ProblemDataSettingsGroupBox.Controls.Add(this.UniformDistributionOfClassesCheckbox); 89 this.ProblemDataSettingsGroupBox.Size = new System.Drawing.Size(447, 31 5);89 this.ProblemDataSettingsGroupBox.Size = new System.Drawing.Size(447, 312); 90 90 this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.UniformDistributionOfClassesCheckbox, 0); 91 91 this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TargetVariableComboBox, 0); … … 110 110 // 111 111 this.PreviewDatasetMatrix.Location = new System.Drawing.Point(6, 134); 112 this.PreviewDatasetMatrix.Size = new System.Drawing.Size(435, 17 5);112 this.PreviewDatasetMatrix.Size = new System.Drawing.Size(435, 172); 113 113 // 114 114 // PreviewLabel … … 118 118 // TargetVariableComboBox 119 119 // 120 this.TargetVariableComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 120 this.TargetVariableComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 121 121 | System.Windows.Forms.AnchorStyles.Right))); 122 122 this.TargetVariableComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; … … 178 178 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 179 179 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 180 this.ClientSize = new System.Drawing.Size(471, 499);180 this.ClientSize = new System.Drawing.Size(471, 517); 181 181 this.Name = "ClassificationImportTypeDialog"; 182 182 this.Text = "Classification CSV Import"; -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/DataAnalysisImportTypeDialog.Designer.cs
r9456 r9608 72 72 this.PreviewDatasetMatrix = new HeuristicLab.Data.Views.StringConvertibleMatrixView(); 73 73 this.ToolTip = new System.Windows.Forms.ToolTip(this.components); 74 this.CheckboxColumnNames = new System.Windows.Forms.CheckBox(); 74 75 ((System.ComponentModel.ISupportInitialize)(this.TrainingTestTrackBar)).BeginInit(); 75 76 this.CSVSettingsGroupBox.SuspendLayout(); … … 93 94 this.OkButton.DialogResult = System.Windows.Forms.DialogResult.OK; 94 95 this.OkButton.Enabled = false; 95 this.OkButton.Location = new System.Drawing.Point(303, 4 07);96 this.OkButton.Location = new System.Drawing.Point(303, 422); 96 97 this.OkButton.Name = "OkButton"; 97 98 this.OkButton.Size = new System.Drawing.Size(75, 23); … … 137 138 this.CancelationButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 138 139 this.CancelationButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 139 this.CancelationButton.Location = new System.Drawing.Point(384, 4 07);140 this.CancelationButton.Location = new System.Drawing.Point(384, 422); 140 141 this.CancelationButton.Name = "CancelationButton"; 141 142 this.CancelationButton.Size = new System.Drawing.Size(75, 23); … … 248 249 this.CSVSettingsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 249 250 | System.Windows.Forms.AnchorStyles.Right))); 251 this.CSVSettingsGroupBox.Controls.Add(this.CheckboxColumnNames); 250 252 this.CSVSettingsGroupBox.Controls.Add(this.DateTimeFormatInfoLabel); 251 253 this.CSVSettingsGroupBox.Controls.Add(this.DecimalSeparatorInfoLabel); … … 259 261 this.CSVSettingsGroupBox.Location = new System.Drawing.Point(12, 32); 260 262 this.CSVSettingsGroupBox.Name = "CSVSettingsGroupBox"; 261 this.CSVSettingsGroupBox.Size = new System.Drawing.Size(447, 1 05);263 this.CSVSettingsGroupBox.Size = new System.Drawing.Size(447, 126); 262 264 this.CSVSettingsGroupBox.TabIndex = 16; 263 265 this.CSVSettingsGroupBox.TabStop = false; … … 313 315 this.ProblemDataSettingsGroupBox.Controls.Add(this.TrainingTestTrackBar); 314 316 this.ProblemDataSettingsGroupBox.Controls.Add(this.ShuffleDataCheckbox); 315 this.ProblemDataSettingsGroupBox.Location = new System.Drawing.Point(12, 1 43);317 this.ProblemDataSettingsGroupBox.Location = new System.Drawing.Point(12, 164); 316 318 this.ProblemDataSettingsGroupBox.Name = "ProblemDataSettingsGroupBox"; 317 this.ProblemDataSettingsGroupBox.Size = new System.Drawing.Size(447, 25 8);319 this.ProblemDataSettingsGroupBox.Size = new System.Drawing.Size(447, 252); 318 320 this.ProblemDataSettingsGroupBox.TabIndex = 17; 319 321 this.ProblemDataSettingsGroupBox.TabStop = false; … … 362 364 this.PreviewDatasetMatrix.ShowRowsAndColumnsTextBox = false; 363 365 this.PreviewDatasetMatrix.ShowStatisticalInformation = false; 364 this.PreviewDatasetMatrix.Size = new System.Drawing.Size(435, 1 44);366 this.PreviewDatasetMatrix.Size = new System.Drawing.Size(435, 138); 365 367 this.PreviewDatasetMatrix.TabIndex = 0; 368 // 369 // CheckboxColumnNames 370 // 371 this.CheckboxColumnNames.AutoSize = true; 372 this.CheckboxColumnNames.Location = new System.Drawing.Point(9, 103); 373 this.CheckboxColumnNames.Name = "CheckboxColumnNames"; 374 this.CheckboxColumnNames.Size = new System.Drawing.Size(144, 17); 375 this.CheckboxColumnNames.TabIndex = 24; 376 this.CheckboxColumnNames.Text = "Column names in first line"; 377 this.CheckboxColumnNames.UseVisualStyleBackColor = true; 378 this.CheckboxColumnNames.CheckedChanged += new System.EventHandler(this.CheckboxColumnNames_CheckedChanged); 366 379 // 367 380 // DataAnalysisImportTypeDialog … … 370 383 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 371 384 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 372 this.ClientSize = new System.Drawing.Size(471, 4 42);385 this.ClientSize = new System.Drawing.Size(471, 457); 373 386 this.Controls.Add(this.ProblemDataSettingsGroupBox); 374 387 this.Controls.Add(this.CSVSettingsGroupBox); … … 422 435 protected System.Windows.Forms.Label ShuffelInfoLabel; 423 436 protected System.Windows.Forms.ToolTip ToolTip; 437 private System.Windows.Forms.CheckBox CheckboxColumnNames; 424 438 } 425 439 } -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/DataAnalysisImportTypeDialog.cs
r9458 r9608 68 68 Separator = (char)SeparatorComboBox.SelectedValue, 69 69 NumberFormatInfo = (NumberFormatInfo)DecimalSeparatorComboBox.SelectedValue, 70 DateTimeFormatInfo = (DateTimeFormatInfo)DateTimeFormatComboBox.SelectedValue 70 DateTimeFormatInfo = (DateTimeFormatInfo)DateTimeFormatComboBox.SelectedValue, 71 VariableNamesAvailable = CheckboxColumnNames.Checked 71 72 }; 72 73 } … … 99 100 DateTimeFormatComboBox.Enabled = true; 100 101 ProblemTextBox.Text = openFileDialog.FileName; 102 TableFileParser csvParser = new TableFileParser(); 103 CheckboxColumnNames.Checked = csvParser.AreColumnNamesInFirstLine(ProblemTextBox.Text, 104 (NumberFormatInfo)DecimalSeparatorComboBox.SelectedValue, 105 (DateTimeFormatInfo)DateTimeFormatComboBox.SelectedValue, 106 (char)SeparatorComboBox.SelectedValue); 101 107 ParseCSVFile(); 102 108 } 103 109 104 110 protected virtual void CSVFormatComboBoxSelectionChangeCommitted(object sender, EventArgs e) { 111 if (string.IsNullOrEmpty(ProblemTextBox.Text)) return; 112 113 ParseCSVFile(); 114 } 115 116 protected virtual void CheckboxColumnNames_CheckedChanged(object sender, EventArgs e) { 105 117 if (string.IsNullOrEmpty(ProblemTextBox.Text)) return; 106 118 … … 115 127 (NumberFormatInfo)DecimalSeparatorComboBox.SelectedValue, 116 128 (DateTimeFormatInfo)DateTimeFormatComboBox.SelectedValue, 117 (char)SeparatorComboBox.SelectedValue); 129 (char)SeparatorComboBox.SelectedValue, 130 CheckboxColumnNames.Checked); 118 131 IEnumerable<string> variableNamesWithType = GetVariableNamesWithType(csvParser); 119 132 PreviewDatasetMatrix.Content = new Dataset(variableNamesWithType, csvParser.Values); -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/RegressionImportTypeDialog.Designer.cs
r9456 r9608 53 53 this.SuspendLayout(); 54 54 // 55 // OkButton 56 // 57 this.OkButton.Location = new System.Drawing.Point(303, 421); 58 // 59 // CancelationButton 60 // 61 this.CancelationButton.Location = new System.Drawing.Point(384, 421); 62 // 55 63 // ProblemDataSettingsGroupBox 56 64 // … … 58 66 this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableLabel); 59 67 this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableComboBox); 68 this.ProblemDataSettingsGroupBox.Size = new System.Drawing.Size(447, 251); 60 69 this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.PreviewLabel, 0); 61 70 this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.ShuffelInfoLabel, 0); … … 106 115 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 107 116 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 108 this.ClientSize = new System.Drawing.Size(471, 4 42);117 this.ClientSize = new System.Drawing.Size(471, 456); 109 118 this.Name = "RegressionImportTypeDialog"; 110 119 this.Text = "Regression CSV Import"; -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/TimeSeriesPrognosisImportTypeDialog.Designer.cs
r9456 r9608 59 59 this.ShuffleDataCheckbox.Visible = false; 60 60 // 61 // OkButton 62 // 63 this.OkButton.Location = new System.Drawing.Point(303, 407); 64 // 65 // CancelationButton 66 // 67 this.CancelationButton.Location = new System.Drawing.Point(384, 407); 68 // 61 69 // ProblemDataSettingsGroupBox 62 70 // … … 64 72 this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableComboBox); 65 73 this.ProblemDataSettingsGroupBox.Controls.Add(this.TargetVariableLabel); 74 this.ProblemDataSettingsGroupBox.Size = new System.Drawing.Size(447, 237); 66 75 this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.ShuffleDataCheckbox, 0); 67 76 this.ProblemDataSettingsGroupBox.Controls.SetChildIndex(this.TargetVariableLabel, 0); … … 80 89 this.ErrorTextBox.Location = new System.Drawing.Point(6, 19); 81 90 this.ErrorTextBox.Size = new System.Drawing.Size(435, 69); 91 // 92 // PreviewDatasetMatrix 93 // 94 this.PreviewDatasetMatrix.Size = new System.Drawing.Size(435, 123); 82 95 // 83 96 // SeparatorInfoLabel … … 101 114 // TargetVariableComboBox 102 115 // 103 this.TargetVariableComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 116 this.TargetVariableComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 104 117 | System.Windows.Forms.AnchorStyles.Right))); 105 118 this.TargetVariableComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
Note: See TracChangeset
for help on using the changeset viewer.