You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
225 lines
9.4 KiB
225 lines
9.4 KiB
namespace Stone.User
|
|
{
|
|
partial class frmSqlServer
|
|
{
|
|
/// <summary>
|
|
/// 必需的设计器变量。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 清理所有正在使用的资源。
|
|
/// </summary>
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
/// <summary>
|
|
/// 设计器支持所需的方法 - 不要
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.txtServer = new System.Windows.Forms.TextBox();
|
|
this.btnOK = new System.Windows.Forms.Button();
|
|
this.txtUser = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtPassword = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.txtTimeOut = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtDataBase = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.btnTest = new System.Windows.Forms.Button();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(18, 33);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(53, 12);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "服务器:";
|
|
//
|
|
// txtServer
|
|
//
|
|
this.txtServer.Location = new System.Drawing.Point(77, 29);
|
|
this.txtServer.Name = "txtServer";
|
|
this.txtServer.Size = new System.Drawing.Size(220, 21);
|
|
this.txtServer.TabIndex = 1;
|
|
this.txtServer.Text = "(local)";
|
|
//
|
|
// btnOK
|
|
//
|
|
this.btnOK.Location = new System.Drawing.Point(141, 176);
|
|
this.btnOK.Name = "btnOK";
|
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
|
this.btnOK.TabIndex = 7;
|
|
this.btnOK.Text = "确定";
|
|
this.btnOK.UseVisualStyleBackColor = true;
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
//
|
|
// txtUser
|
|
//
|
|
this.txtUser.Location = new System.Drawing.Point(77, 56);
|
|
this.txtUser.Name = "txtUser";
|
|
this.txtUser.Size = new System.Drawing.Size(220, 21);
|
|
this.txtUser.TabIndex = 2;
|
|
this.txtUser.Text = "sa";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(18, 60);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(53, 12);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "用 户:";
|
|
//
|
|
// txtPassword
|
|
//
|
|
this.txtPassword.Location = new System.Drawing.Point(77, 83);
|
|
this.txtPassword.Name = "txtPassword";
|
|
this.txtPassword.PasswordChar = '*';
|
|
this.txtPassword.Size = new System.Drawing.Size(220, 21);
|
|
this.txtPassword.TabIndex = 3;
|
|
this.txtPassword.Text = "sa";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(18, 87);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(53, 12);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "密 码:";
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Location = new System.Drawing.Point(222, 176);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btnCancel.TabIndex = 8;
|
|
this.btnCancel.Text = "取消";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.txtTimeOut);
|
|
this.groupBox1.Controls.Add(this.label5);
|
|
this.groupBox1.Controls.Add(this.txtDataBase);
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Controls.Add(this.btnTest);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Controls.Add(this.btnCancel);
|
|
this.groupBox1.Controls.Add(this.txtServer);
|
|
this.groupBox1.Controls.Add(this.txtPassword);
|
|
this.groupBox1.Controls.Add(this.btnOK);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.txtUser);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(318, 216);
|
|
this.groupBox1.TabIndex = 8;
|
|
this.groupBox1.TabStop = false;
|
|
//
|
|
// txtTimeOut
|
|
//
|
|
this.txtTimeOut.Location = new System.Drawing.Point(77, 137);
|
|
this.txtTimeOut.Name = "txtTimeOut";
|
|
this.txtTimeOut.Size = new System.Drawing.Size(220, 21);
|
|
this.txtTimeOut.TabIndex = 5;
|
|
this.txtTimeOut.Text = "100";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(18, 141);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(65, 12);
|
|
this.label5.TabIndex = 10;
|
|
this.label5.Text = "连接超时:";
|
|
//
|
|
// txtDataBase
|
|
//
|
|
this.txtDataBase.Location = new System.Drawing.Point(77, 110);
|
|
this.txtDataBase.Name = "txtDataBase";
|
|
this.txtDataBase.Size = new System.Drawing.Size(220, 21);
|
|
this.txtDataBase.TabIndex = 4;
|
|
this.txtDataBase.Text = "ZhiDaPower";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(18, 114);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(53, 12);
|
|
this.label4.TabIndex = 8;
|
|
this.label4.Text = "数据库:";
|
|
//
|
|
// btnTest
|
|
//
|
|
this.btnTest.Location = new System.Drawing.Point(20, 176);
|
|
this.btnTest.Name = "btnTest";
|
|
this.btnTest.Size = new System.Drawing.Size(75, 23);
|
|
this.btnTest.TabIndex = 6;
|
|
this.btnTest.Text = "测试";
|
|
this.btnTest.UseVisualStyleBackColor = true;
|
|
this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
|
|
//
|
|
// frmSqlServer
|
|
//
|
|
this.AcceptButton = this.btnOK;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.btnCancel;
|
|
this.ClientSize = new System.Drawing.Size(343, 240);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "frmSqlServer";
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "数据库连接";
|
|
this.Load += new System.EventHandler(this.frmSqlServer_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox txtServer;
|
|
private System.Windows.Forms.Button btnOK;
|
|
private System.Windows.Forms.TextBox txtUser;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtPassword;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Button btnTest;
|
|
private System.Windows.Forms.TextBox txtTimeOut;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox txtDataBase;
|
|
private System.Windows.Forms.Label label4;
|
|
}
|
|
}
|