📄 manage_user.designer.cs
字号:
//
this.textBox4.Location = new System.Drawing.Point(122, 123);
this.textBox4.Name = "textBox4";
this.textBox4.PasswordChar = '*';
this.textBox4.Size = new System.Drawing.Size(122, 26);
this.textBox4.TabIndex = 6;
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(122, 81);
this.textBox3.Name = "textBox3";
this.textBox3.PasswordChar = '*';
this.textBox3.Size = new System.Drawing.Size(122, 26);
this.textBox3.TabIndex = 5;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(122, 34);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(122, 26);
this.textBox2.TabIndex = 4;
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(16, 188);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(104, 16);
this.label7.TabIndex = 3;
this.label7.Text = "管理员类型:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(16, 133);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(120, 16);
this.label6.TabIndex = 2;
this.label6.Text = "再次输入密码:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(16, 84);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(104, 16);
this.label5.TabIndex = 1;
this.label5.Text = "请输入密码:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(16, 37);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(104, 16);
this.label4.TabIndex = 0;
this.label4.Text = "管理员编号:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 26);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(120, 16);
this.label1.TabIndex = 1;
this.label1.Text = "系统管理员列表";
//
// dataGrid1
//
this.dataGrid1.DataMember = "SysUser";
this.dataGrid1.DataSource = this.dataSet11;
this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
this.dataGrid1.Location = new System.Drawing.Point(3, 61);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.Size = new System.Drawing.Size(192, 305);
this.dataGrid1.TabIndex = 0;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.groupBox1);
this.tabPage2.Location = new System.Drawing.Point(4, 25);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(493, 409);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "忘记密码";
this.tabPage2.UseVisualStyleBackColor = true;
//
// sqlSelectCommand1
//
this.sqlSelectCommand1.CommandText = "SELECT userID, userStyle\r\nFROM SysUser";
this.sqlSelectCommand1.Connection = this.sqlConnection1;
//
// sqlConnection1
//
this.sqlConnection1.ConnectionString = "Data Source=.;Initial Catalog=MarketSystem;Integrated Security=True";
this.sqlConnection1.FireInfoMessageEventOnUserErrors = false;
//
// 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("@userStyle", System.Data.SqlDbType.Char, 0, "userStyle"),
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("@Original_userStyle", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "userStyle", System.Data.DataRowVersion.Original, null)});
//
// sqlDeleteCommand1
//
this.sqlDeleteCommand1.CommandText = "DELETE FROM [SysUser] WHERE (([userID] = @Original_userID) AND ([userStyle] = @Or" +
"iginal_userStyle))";
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("@Original_userStyle", System.Data.SqlDbType.Char, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "userStyle", System.Data.DataRowVersion.Original, null)});
//
// sqlDataAdapter1
//
this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "SysUser", new System.Data.Common.DataColumnMapping[] {
new System.Data.Common.DataColumnMapping("userID", "管理员编号"),
new System.Data.Common.DataColumnMapping("userStyle", "管理员类型")})});
this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.button7);
this.groupBox1.Controls.Add(this.button6);
this.groupBox1.Controls.Add(this.label9);
this.groupBox1.Controls.Add(this.textBox5);
this.groupBox1.Controls.Add(this.label8);
this.groupBox1.Location = new System.Drawing.Point(24, 53);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(423, 258);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "管理员密码找回";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label8.Location = new System.Drawing.Point(28, 60);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(171, 19);
this.label8.TabIndex = 0;
this.label8.Text = "请输入管理员编号:";
//
// textBox5
//
this.textBox5.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox5.Location = new System.Drawing.Point(207, 57);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(156, 29);
this.textBox5.TabIndex = 1;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9.Location = new System.Drawing.Point(63, 137);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(180, 19);
this.label9.TabIndex = 2;
this.label9.Text = "请保管好你的密码:";
//
// button6
//
this.button6.Location = new System.Drawing.Point(88, 194);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(69, 40);
this.button6.TabIndex = 3;
this.button6.Text = "确定";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// button7
//
this.button7.Location = new System.Drawing.Point(207, 194);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(69, 40);
this.button7.TabIndex = 3;
this.button7.Text = "取消";
this.button7.UseVisualStyleBackColor = true;
//
// Manage_User
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(537, 462);
this.Controls.Add(this.tabControl1);
this.Name = "Manage_User";
this.Text = "Manage_User";
this.Load += new System.EventHandler(this.Manage_User_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.tabControl2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
this.tabPage4.ResumeLayout(false);
this.tabPage4.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
this.tabPage2.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.DataGrid dataGrid1;
private System.Windows.Forms.TabPage tabPage2;
private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
private System.Data.SqlClient.SqlConnection sqlConnection1;
private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
private DataSet1 dataSet11;
private System.Windows.Forms.TabControl tabControl2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.Label label8;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -