This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dev:odbc:sample_net [2015/01/28 02:07] doc |
dev:odbc:sample_net [2016/06/28 22:38] (current) |
||
|---|---|---|---|
| Line 217: | Line 217: | ||
| this.tableLayoutPanel1.ColumnCount = 3; | this.tableLayoutPanel1.ColumnCount = 3; | ||
| this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | ||
| - | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); | + | this.tableLayoutPanel1.ColumnStyles.Add(new |
| + | System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); | ||
| this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | ||
| this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1); | this.tableLayoutPanel1.Controls.Add(this.label2, 0, 1); | ||
| Line 233: | Line 234: | ||
| this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); | ||
| this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); | ||
| - | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F)); | + | this.tableLayoutPanel1.RowStyles.Add(new |
| - | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); | + | System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F)); |
| - | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60F)); | + | this.tableLayoutPanel1.RowStyles.Add(new |
| - | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); | + | System.Windows.Forms.RowStyle()); |
| + | this.tableLayoutPanel1.RowStyles.Add(new | ||
| + | System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60F)); | ||
| + | this.tableLayoutPanel1.RowStyles.Add(new | ||
| + | System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); | ||
| this.tableLayoutPanel1.Size = new System.Drawing.Size(630, 424); | this.tableLayoutPanel1.Size = new System.Drawing.Size(630, 424); | ||
| this.tableLayoutPanel1.TabIndex = 0; | this.tableLayoutPanel1.TabIndex = 0; | ||
| Line 279: | Line 284: | ||
| this.dgvResult.BackgroundColor = System.Drawing.Color.White; | this.dgvResult.BackgroundColor = System.Drawing.Color.White; | ||
| this.dgvResult.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | this.dgvResult.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | ||
| - | this.dgvResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | + | this.dgvResult.ColumnHeadersHeightSizeMode = |
| + | System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | ||
| this.tableLayoutPanel1.SetColumnSpan(this.dgvResult, 3); | this.tableLayoutPanel1.SetColumnSpan(this.dgvResult, 3); | ||
| this.dgvResult.Dock = System.Windows.Forms.DockStyle.Fill; | this.dgvResult.Dock = System.Windows.Forms.DockStyle.Fill; | ||
| Line 319: | Line 325: | ||
| this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 2); | this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 2); | ||
| this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | ||
| - | this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); | + | this.tableLayoutPanel2.ColumnStyles.Add(new |
| + | System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); | ||
| this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | ||
| this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); | ||
| Line 335: | Line 342: | ||
| this.tableLayoutPanel2.Name = "tableLayoutPanel2"; | this.tableLayoutPanel2.Name = "tableLayoutPanel2"; | ||
| this.tableLayoutPanel2.RowCount = 1; | this.tableLayoutPanel2.RowCount = 1; | ||
| - | this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); | + | this.tableLayoutPanel2.RowStyles.Add(new |
| + | System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); | ||
| this.tableLayoutPanel2.Size = new System.Drawing.Size(524, 26); | this.tableLayoutPanel2.Size = new System.Drawing.Size(524, 26); | ||
| this.tableLayoutPanel2.TabIndex = 0; | this.tableLayoutPanel2.TabIndex = 0; | ||
| Line 405: | Line 413: | ||
| this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||
| this.Text = "SQL Window"; | this.Text = "SQL Window"; | ||
| - | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); | + | this.FormClosing += new |
| + | System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing); | ||
| this.tableLayoutPanel1.ResumeLayout(false); | this.tableLayoutPanel1.ResumeLayout(false); | ||
| this.tableLayoutPanel1.PerformLayout(); | this.tableLayoutPanel1.PerformLayout(); | ||