Changeset 456
- Timestamp:
- 08/06/08 15:31:22 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataAnalysis/SvmExporter.cs
r455 r456 50 50 for(int j = 0; j < dataset.Columns; j++) { 51 51 dataGridView.Rows[i].Cells[j].Value = dataset.GetValue(i, j); 52 dataGridView.Rows[i].HeaderCell.Value = i.ToString(); 52 53 } 53 54 } … … 64 65 65 66 private void InitializeComponent() { 67 System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); 66 68 this.dataGridView = new System.Windows.Forms.DataGridView(); 67 69 this.helpLabel = new System.Windows.Forms.Label(); … … 74 76 this.dataGridView.AllowUserToAddRows = false; 75 77 this.dataGridView.AllowUserToDeleteRows = false; 76 this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 78 this.dataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 79 | System.Windows.Forms.AnchorStyles.Left) 77 80 | System.Windows.Forms.AnchorStyles.Right))); 78 81 this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; … … 80 83 this.dataGridView.Name = "dataGridView"; 81 84 this.dataGridView.ReadOnly = true; 85 dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 86 dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; 87 dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 88 dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; 89 dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; 90 dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 91 dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 92 this.dataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle1; 93 this.dataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders; 82 94 this.dataGridView.Size = new System.Drawing.Size(568, 200); 83 95 this.dataGridView.TabIndex = 0; … … 95 107 // nextButton 96 108 // 109 this.nextButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 97 110 this.nextButton.Location = new System.Drawing.Point(505, 231); 98 111 this.nextButton.Name = "nextButton";
Note: See TracChangeset
for help on using the changeset viewer.