?? 登錄界面.designer.cs
字號:
?namespace 圖書管理
{
partial class 登錄界面
{
// private System.Windows.Forms.Label label2_Click;
// private System.Windows.Forms.Label label3_Click;
// private System.Windows.Forms.TextBox textBox1_TextChanged;
// private System.Windows.Forms.TextBox textBox2_TextChanged;
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(登錄界面));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.lblUser = new System.Windows.Forms.Label();
this.lblPassword = new System.Windows.Forms.Label();
this.textUserID = new System.Windows.Forms.TextBox();
this.textUserPassword = new System.Windows.Forms.TextBox();
this.bunOk = new System.Windows.Forms.Button();
this.bunCancel = new System.Windows.Forms.Button();
this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
this.dataSet1dl1 = new 圖書管理.DataSet1dl();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1dl1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(-1, -1);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(490, 421);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("黑體", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.ForeColor = System.Drawing.SystemColors.ActiveCaption;
this.label1.Location = new System.Drawing.Point(168, 103);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(143, 33);
this.label1.TabIndex = 1;
this.label1.Text = "登錄系統";
//
// lblUser
//
this.lblUser.AutoSize = true;
this.lblUser.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblUser.Location = new System.Drawing.Point(78, 171);
this.lblUser.Name = "lblUser";
this.lblUser.Size = new System.Drawing.Size(56, 16);
this.lblUser.TabIndex = 2;
this.lblUser.Text = "用戶名";
this.lblUser.Click += new System.EventHandler(this.lblUser_Click);
//
// lblPassword
//
this.lblPassword.AutoSize = true;
this.lblPassword.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblPassword.ForeColor = System.Drawing.SystemColors.ActiveCaption;
this.lblPassword.Location = new System.Drawing.Point(80, 238);
this.lblPassword.Name = "lblPassword";
this.lblPassword.Size = new System.Drawing.Size(40, 16);
this.lblPassword.TabIndex = 3;
this.lblPassword.Text = "密碼";
this.lblPassword.Click += new System.EventHandler(this.lblPassword_Click);
//
// textUserID
//
this.textUserID.Location = new System.Drawing.Point(162, 168);
this.textUserID.Name = "textUserID";
this.textUserID.Size = new System.Drawing.Size(152, 21);
this.textUserID.TabIndex = 4;
this.textUserID.TextChanged += new System.EventHandler(this.textUserID_TextChanged_1);
//
// textUserPassword
//
this.textUserPassword.Location = new System.Drawing.Point(162, 235);
this.textUserPassword.Name = "textUserPassword";
this.textUserPassword.Size = new System.Drawing.Size(152, 21);
this.textUserPassword.TabIndex = 5;
this.textUserPassword.TextChanged += new System.EventHandler(this.textUserPassword_TextChanged_1);
//
// bunOk
//
this.bunOk.Location = new System.Drawing.Point(110, 303);
this.bunOk.Name = "bunOk";
this.bunOk.Size = new System.Drawing.Size(66, 23);
this.bunOk.TabIndex = 6;
this.bunOk.Text = "確定";
this.bunOk.UseVisualStyleBackColor = true;
this.bunOk.Click += new System.EventHandler(this.button1_Click);
//
// bunCancel
//
this.bunCancel.Location = new System.Drawing.Point(263, 302);
this.bunCancel.Name = "bunCancel";
this.bunCancel.Size = new System.Drawing.Size(67, 23);
this.bunCancel.TabIndex = 7;
this.bunCancel.Text = "取消";
this.bunCancel.UseVisualStyleBackColor = true;
this.bunCancel.Click += new System.EventHandler(this.button2_Click);
//
// sqlSelectCommand1
//
this.sqlSelectCommand1.CommandText = "SELECT UserID, UserPassword, UserSort\r\nFROM [User]";
this.sqlSelectCommand1.Connection = this.sqlConnection1;
//
// sqlInsertCommand1
//
this.sqlInsertCommand1.CommandText = "INSERT INTO [User] ([UserID], [UserPassword], [UserSort]) VALUES (@UserID, @UserP" +
"assword, @UserSort);\r\nSELECT UserID, UserPassword, UserSort FROM [User] WHERE (U" +
"serID = @UserID)";
this.sqlInsertCommand1.Connection = this.sqlConnection1;
this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
new System.Data.SqlClient.SqlParameter("@UserID", System.Data.SqlDbType.Char, 0, "UserID"),
new System.Data.SqlClient.SqlParameter("@UserPassword", System.Data.SqlDbType.Char, 0, "UserPassword"),
new System.Data.SqlClient.SqlParameter("@UserSort", System.Data.SqlDbType.VarChar, 0, "UserSort")});
//
// sqlUpdateCommand1
//
this.sqlUpdateCommand1.CommandText = resources.GetString("sqlUpdateCommand1.CommandText");
this.sqlUpdateCommand1.Connection = this.sqlConnection1;
this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
new System.Data.SqlClient.SqlParameter("@UserID", System.Data.SqlDbType.Char, 0, "UserID"),
new System.Data.SqlClient.SqlParameter("@UserPassword", System.Data.SqlDbType.Char, 0, "UserPassword"),
new System.Data.SqlClient.SqlParameter("@UserSort", System.Data.SqlDbType.VarChar, 0, "UserSort"),
new System.Data.SqlClient.SqlParameter("@Original_UserID", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserID", System.Data.DataRowVersion.Original, null),
new System.Data.SqlClient.SqlParameter("@IsNull_UserPassword", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UserPassword", System.Data.DataRowVersion.Original, true, null, "", "", ""),
new System.Data.SqlClient.SqlParameter("@Original_UserPassword", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserPassword", System.Data.DataRowVersion.Original, null),
new System.Data.SqlClient.SqlParameter("@IsNull_UserSort", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UserSort", System.Data.DataRowVersion.Original, true, null, "", "", ""),
new System.Data.SqlClient.SqlParameter("@Original_UserSort", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserSort", System.Data.DataRowVersion.Original, null)});
//
// sqlDeleteCommand1
//
this.sqlDeleteCommand1.CommandText = resources.GetString("sqlDeleteCommand1.CommandText");
this.sqlDeleteCommand1.Connection = this.sqlConnection1;
this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
new System.Data.SqlClient.SqlParameter("@Original_UserID", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserID", System.Data.DataRowVersion.Original, null),
new System.Data.SqlClient.SqlParameter("@IsNull_UserPassword", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UserPassword", System.Data.DataRowVersion.Original, true, null, "", "", ""),
new System.Data.SqlClient.SqlParameter("@Original_UserPassword", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserPassword", System.Data.DataRowVersion.Original, null),
new System.Data.SqlClient.SqlParameter("@IsNull_UserSort", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UserSort", System.Data.DataRowVersion.Original, true, null, "", "", ""),
new System.Data.SqlClient.SqlParameter("@Original_UserSort", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "UserSort", System.Data.DataRowVersion.Original, null)});
//
// sqlDataAdapter1
//
this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "User", new System.Data.Common.DataColumnMapping[] {
new System.Data.Common.DataColumnMapping("UserID", "UserID"),
new System.Data.Common.DataColumnMapping("UserPassword", "UserPassword"),
new System.Data.Common.DataColumnMapping("UserSort", "UserSort")})});
this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
//
// sqlConnection1
//
this.sqlConnection1.ConnectionString = "Data Source=TOMATO-788860A5\\JA;Initial Catalog=BookManager1;Integrated Security=T" +
"rue";
this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
//
// dataSet1dl1
//
this.dataSet1dl1.DataSetName = "DataSet1dl";
this.dataSet1dl1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// 登錄界面
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(487, 418);
this.Controls.Add(this.bunCancel);
this.Controls.Add(this.bunOk);
this.Controls.Add(this.textUserPassword);
this.Controls.Add(this.textUserID);
this.Controls.Add(this.lblPassword);
this.Controls.Add(this.lblUser);
this.Controls.Add(this.label1);
this.Controls.Add(this.pictureBox1);
this.ForeColor = System.Drawing.SystemColors.ActiveCaption;
this.Name = "登錄界面";
this.Text = "登錄界面";
this.Load += new System.EventHandler(this.登錄界面_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1dl1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lblUser;
private System.Windows.Forms.Label lblPassword;
private System.Windows.Forms.TextBox textUserID;
private System.Windows.Forms.TextBox textUserPassword;
private System.Windows.Forms.Button bunOk;
private System.Windows.Forms.Button bunCancel;
private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
private System.Data.SqlClient.SqlConnection sqlConnection1;
private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
private DataSet1dl dataSet1dl1;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -