Changeset 12986 for trunk/sources/HeuristicLab.DataPreprocessing.Views
- Timestamp:
- 10/07/15 16:47:17 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.Designer.cs
r12012 r12986 63 63 this.btnReplace = new System.Windows.Forms.Button(); 64 64 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 65 this.addLineButton = new System.Windows.Forms.Button(); 66 this.addColumnButton = new System.Windows.Forms.Button(); 65 67 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 66 68 this.contextMenuCell.SuspendLayout(); … … 70 72 // 71 73 this.rowsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left))); 72 this.rowsTextBox.Enabled = false;73 74 this.errorProvider.SetIconAlignment(this.rowsTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 74 75 this.errorProvider.SetIconPadding(this.rowsTextBox, 2); 75 this.rowsTextBox.ReadOnly = true;76 76 this.rowsTextBox.Size = new System.Drawing.Size(71, 20); 77 77 // … … 79 79 // 80 80 this.columnsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left))); 81 this.columnsTextBox.Enabled = false;82 this.columnsTextBox.ReadOnly = true;83 81 this.columnsTextBox.Size = new System.Drawing.Size(71, 20); 84 82 // 85 // statisticsTextBox86 //87 this.statisticsTextBox.Size = new System.Drawing.Size(522, 13);88 //89 83 // btnApplySort 90 84 // 91 this.btnApplySort.Location = new System.Drawing.Point(3 49, 19);85 this.btnApplySort.Location = new System.Drawing.Point(320, -1); 92 86 this.btnApplySort.Name = "btnApplySort"; 93 this.btnApplySort.Size = new System.Drawing.Size( 75, 23);87 this.btnApplySort.Size = new System.Drawing.Size(87, 23); 94 88 this.btnApplySort.TabIndex = 7; 95 89 this.btnApplySort.Text = "Apply Sort"; … … 104 98 this.replaceValueOverSelectionToolStripMenuItem}); 105 99 this.contextMenuCell.Name = "contextMenuCell"; 106 this.contextMenuCell.Size = new System.Drawing.Size(225, 70);100 this.contextMenuCell.Size = new System.Drawing.Size(225, 48); 107 101 // 108 102 // replaceValueOverColumnToolStripMenuItem … … 154 148 this.interpolationToolStripMenuItem_Column.Click += new System.EventHandler(this.ReplaceWithInterpolation_Column_Click); 155 149 // 156 // smoothingToolStripMenuItem 157 // 158 this.smoothingToolStripMenuItem_Column.Name = "smoothingToolStripMenuItem ";150 // smoothingToolStripMenuItem_Column 151 // 152 this.smoothingToolStripMenuItem_Column.Name = "smoothingToolStripMenuItem_Column"; 159 153 this.smoothingToolStripMenuItem_Column.Size = new System.Drawing.Size(155, 22); 160 154 this.smoothingToolStripMenuItem_Column.Text = "Smoothing"; … … 202 196 // btnSearch 203 197 // 204 this.btnSearch.Location = new System.Drawing.Point( 201, 19);198 this.btnSearch.Location = new System.Drawing.Point(173, -1); 205 199 this.btnSearch.Name = "btnSearch"; 206 200 this.btnSearch.Size = new System.Drawing.Size(53, 23); … … 213 207 // btnReplace 214 208 // 215 this.btnReplace.Location = new System.Drawing.Point(2 60, 19);209 this.btnReplace.Location = new System.Drawing.Point(232, -1); 216 210 this.btnReplace.Name = "btnReplace"; 217 211 this.btnReplace.Size = new System.Drawing.Size(55, 23); … … 222 216 this.btnReplace.Click += new System.EventHandler(this.btnReplace_Click); 223 217 // 218 // addLineButton 219 // 220 this.addLineButton.Location = new System.Drawing.Point(173, 25); 221 this.addLineButton.Name = "addLineButton"; 222 this.addLineButton.Size = new System.Drawing.Size(114, 23); 223 this.addLineButton.TabIndex = 10; 224 this.addLineButton.Text = "Add Line"; 225 this.addLineButton.UseVisualStyleBackColor = true; 226 this.addLineButton.Click += new System.EventHandler(this.addLineButton_Click); 227 // 228 // addColumnButton 229 // 230 this.addColumnButton.Location = new System.Drawing.Point(293, 25); 231 this.addColumnButton.Name = "addColumnButton"; 232 this.addColumnButton.Size = new System.Drawing.Size(114, 23); 233 this.addColumnButton.TabIndex = 10; 234 this.addColumnButton.Text = "Add Column"; 235 this.addColumnButton.UseVisualStyleBackColor = true; 236 this.addColumnButton.Click += new System.EventHandler(this.addColumnButton_Click); 237 // 224 238 // DataGridContentView 225 239 // 226 240 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 227 241 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 242 this.Controls.Add(this.addColumnButton); 243 this.Controls.Add(this.addLineButton); 228 244 this.Controls.Add(this.btnReplace); 229 245 this.Controls.Add(this.btnSearch); 230 246 this.Controls.Add(this.btnApplySort); 231 247 this.Name = "DataGridContentView"; 232 this.Size = new System.Drawing.Size(528, 404);233 248 this.Controls.SetChildIndex(this.statisticsTextBox, 0); 234 249 this.Controls.SetChildIndex(this.rowsLabel, 0); … … 239 254 this.Controls.SetChildIndex(this.btnSearch, 0); 240 255 this.Controls.SetChildIndex(this.btnReplace, 0); 256 this.Controls.SetChildIndex(this.addLineButton, 0); 257 this.Controls.SetChildIndex(this.addColumnButton, 0); 241 258 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); 242 259 this.contextMenuCell.ResumeLayout(false); … … 265 282 private System.Windows.Forms.ToolTip toolTip; 266 283 private System.Windows.Forms.ToolStripMenuItem smoothingToolStripMenuItem_Column; 284 private System.Windows.Forms.Button addLineButton; 285 private System.Windows.Forms.Button addColumnButton; 267 286 } 268 287 } -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
r12983 r12986 164 164 165 165 ClearSorting(); 166 //UpdateData(); // rownames are created on DataGrid creation. Therefore, no update possible, yet.167 166 } 168 167 … … 632 631 #endregion 633 632 633 private void addLineButton_Click(object sender, EventArgs e) { 634 Content.PreProcessingData.InsertRow(Content.Rows); 635 } 636 637 private void addColumnButton_Click(object sender, EventArgs e) { 638 Content.PreProcessingData.InsertColumn<double>(Content.Columns.ToString(), Content.Columns); 639 } 640 634 641 } 635 642 }
Note: See TracChangeset
for help on using the changeset viewer.