📄 main.designer.cs
字号:
namespace Chapter09
{
partial class frmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.btnExecute = new System.Windows.Forms.Button();
this.txtQuery = new System.Windows.Forms.TextBox();
this.dgvResults = new System.Windows.Forms.DataGridView();
this.lblResults = new System.Windows.Forms.Label();
this.lblQuery = new System.Windows.Forms.Label();
this.txtConnectionString = new System.Windows.Forms.TextBox();
this.lblConnectionString = new System.Windows.Forms.Label();
this.cboResultSets = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.dgvResults)).BeginInit();
this.SuspendLayout();
//
// btnExecute
//
this.btnExecute.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnExecute.Location = new System.Drawing.Point(500, 130);
this.btnExecute.Name = "btnExecute";
this.btnExecute.Size = new System.Drawing.Size(75, 23);
this.btnExecute.TabIndex = 4;
this.btnExecute.Text = "Execute";
this.btnExecute.UseVisualStyleBackColor = true;
this.btnExecute.Click += new System.EventHandler(this.btnExecute_Click);
//
// txtQuery
//
this.txtQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtQuery.Location = new System.Drawing.Point(34, 50);
this.txtQuery.Multiline = true;
this.txtQuery.Name = "txtQuery";
this.txtQuery.Size = new System.Drawing.Size(541, 74);
this.txtQuery.TabIndex = 3;
this.txtQuery.Text = "EXEC spTSQL 54";
//
// dgvResults
//
this.dgvResults.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dgvResults.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvResults.Location = new System.Drawing.Point(34, 188);
this.dgvResults.Name = "dgvResults";
this.dgvResults.Size = new System.Drawing.Size(541, 262);
this.dgvResults.TabIndex = 7;
//
// lblResults
//
this.lblResults.AutoSize = true;
this.lblResults.Location = new System.Drawing.Point(34, 162);
this.lblResults.Name = "lblResults";
this.lblResults.Size = new System.Drawing.Size(59, 13);
this.lblResults.TabIndex = 5;
this.lblResults.Text = "Result Set:";
//
// lblQuery
//
this.lblQuery.AutoSize = true;
this.lblQuery.Location = new System.Drawing.Point(34, 34);
this.lblQuery.Name = "lblQuery";
this.lblQuery.Size = new System.Drawing.Size(134, 13);
this.lblQuery.TabIndex = 2;
this.lblQuery.Text = "T-SQL Query or Command:";
//
// txtConnectionString
//
this.txtConnectionString.Location = new System.Drawing.Point(131, 9);
this.txtConnectionString.Name = "txtConnectionString";
this.txtConnectionString.Size = new System.Drawing.Size(444, 20);
this.txtConnectionString.TabIndex = 1;
this.txtConnectionString.Text = "Data Source=localhost;Initial Catalog=AdventureWorks;Integrated Security=SSPI";
//
// lblConnectionString
//
this.lblConnectionString.AutoSize = true;
this.lblConnectionString.Location = new System.Drawing.Point(34, 12);
this.lblConnectionString.Name = "lblConnectionString";
this.lblConnectionString.Size = new System.Drawing.Size(91, 13);
this.lblConnectionString.TabIndex = 0;
this.lblConnectionString.Text = "ConnectionString:";
//
// cboResultSets
//
this.cboResultSets.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboResultSets.FormattingEnabled = true;
this.cboResultSets.Location = new System.Drawing.Point(99, 159);
this.cboResultSets.Name = "cboResultSets";
this.cboResultSets.Size = new System.Drawing.Size(121, 21);
this.cboResultSets.TabIndex = 6;
this.cboResultSets.SelectedIndexChanged += new System.EventHandler(this.cboResultSets_SelectedIndexChanged);
//
// frmMain
//
this.AcceptButton = this.btnExecute;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(587, 462);
this.Controls.Add(this.cboResultSets);
this.Controls.Add(this.lblConnectionString);
this.Controls.Add(this.txtConnectionString);
this.Controls.Add(this.lblQuery);
this.Controls.Add(this.lblResults);
this.Controls.Add(this.dgvResults);
this.Controls.Add(this.txtQuery);
this.Controls.Add(this.btnExecute);
this.Name = "frmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SQL Server Debugging Test Client";
((System.ComponentModel.ISupportInitialize)(this.dgvResults)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnExecute;
private System.Windows.Forms.TextBox txtQuery;
private System.Windows.Forms.DataGridView dgvResults;
private System.Windows.Forms.Label lblResults;
private System.Windows.Forms.Label lblQuery;
private System.Windows.Forms.TextBox txtConnectionString;
private System.Windows.Forms.Label lblConnectionString;
private System.Windows.Forms.ComboBox cboResultSets;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -