⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updata_man.cs

📁 因本人正在学习中
💻 CS
📖 第 1 页 / 共 2 页
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
using System.IO;
namespace 图书
{
	/// <summary>
	/// updata_man 的摘要说明。
	/// </summary>
	public class updata_man : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox txt_bz;
		private System.Windows.Forms.TextBox txtID;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.TextBox txtname;
		private System.Windows.Forms.Button btn_cancel;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.DataGrid dataGrid1;
		private System.Windows.Forms.ToolBar toolBar3;
		private System.Windows.Forms.ToolBarButton tobtnupdata;
		private System.Windows.Forms.ToolBarButton toolBarButton13;
		private System.Windows.Forms.ImageList imageList1;
		private System.ComponentModel.IContainer components;
		private System.Windows.Forms.ComboBox cob_sex;
		private System.Windows.Forms.TextBox txt_qy;
		private System.Windows.Forms.TextBox txt_lx;
		private System.Windows.Forms.TextBox txt_sex;
		private System.Windows.Forms.TextBox txt_sl;
		private System.Windows.Forms.Button btn_sure;
	public static DataSet ds;
		public updata_man()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(updata_man));
			this.label2 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.txt_bz = new System.Windows.Forms.TextBox();
			this.txtID = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.label6 = new System.Windows.Forms.Label();
			this.txtname = new System.Windows.Forms.TextBox();
			this.btn_cancel = new System.Windows.Forms.Button();
			this.label3 = new System.Windows.Forms.Label();
			this.dataGrid1 = new System.Windows.Forms.DataGrid();
			this.toolBar3 = new System.Windows.Forms.ToolBar();
			this.tobtnupdata = new System.Windows.Forms.ToolBarButton();
			this.toolBarButton13 = new System.Windows.Forms.ToolBarButton();
			this.imageList1 = new System.Windows.Forms.ImageList(this.components);
			this.cob_sex = new System.Windows.Forms.ComboBox();
			this.txt_qy = new System.Windows.Forms.TextBox();
			this.txt_lx = new System.Windows.Forms.TextBox();
			this.txt_sex = new System.Windows.Forms.TextBox();
			this.txt_sl = new System.Windows.Forms.TextBox();
			this.btn_sure = new System.Windows.Forms.Button();
			((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
			this.SuspendLayout();
			// 
			// label2
			// 
			this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.label2.Location = new System.Drawing.Point(96, 112);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(72, 24);
			this.label2.TabIndex = 18;
			this.label2.Text = "姓名:";
			this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(80, 72);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(88, 24);
			this.label1.TabIndex = 17;
			this.label1.Text = "读者编号:";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// txt_bz
			// 
			this.txt_bz.Location = new System.Drawing.Point(168, 192);
			this.txt_bz.Multiline = true;
			this.txt_bz.Name = "txt_bz";
			this.txt_bz.Size = new System.Drawing.Size(344, 88);
			this.txt_bz.TabIndex = 32;
			this.txt_bz.Text = "";
			// 
			// txtID
			// 
			this.txtID.Location = new System.Drawing.Point(168, 72);
			this.txtID.Name = "txtID";
			this.txtID.Size = new System.Drawing.Size(112, 21);
			this.txtID.TabIndex = 22;
			this.txtID.Text = "";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(112, 184);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(56, 24);
			this.label7.TabIndex = 27;
			this.label7.Text = "备注:";
			this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(352, 72);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(88, 24);
			this.label4.TabIndex = 20;
			this.label4.Text = "借书数量:";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(352, 112);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(88, 24);
			this.label5.TabIndex = 25;
			this.label5.Text = "借书期限:";
			this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(360, 144);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(80, 24);
			this.label6.TabIndex = 26;
			this.label6.Text = "读者类型:";
			this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// txtname
			// 
			this.txtname.Location = new System.Drawing.Point(168, 112);
			this.txtname.Name = "txtname";
			this.txtname.Size = new System.Drawing.Size(112, 21);
			this.txtname.TabIndex = 23;
			this.txtname.Text = "";
			// 
			// btn_cancel
			// 
			this.btn_cancel.Location = new System.Drawing.Point(400, 488);
			this.btn_cancel.Name = "btn_cancel";
			this.btn_cancel.Size = new System.Drawing.Size(88, 24);
			this.btn_cancel.TabIndex = 24;
			this.btn_cancel.Text = "取消(&C)";
			this.btn_cancel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
			this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(112, 152);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(56, 24);
			this.label3.TabIndex = 19;
			this.label3.Text = "性别:";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// dataGrid1
			// 
			this.dataGrid1.DataMember = "";
			this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
			this.dataGrid1.Location = new System.Drawing.Point(48, 288);
			this.dataGrid1.Name = "dataGrid1";
			this.dataGrid1.Size = new System.Drawing.Size(648, 184);
			this.dataGrid1.TabIndex = 34;
			this.dataGrid1.Click += new System.EventHandler(this.dataGrid1_Click_1);
			// 
			// toolBar3
			// 
			this.toolBar3.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
																						this.tobtnupdata,
																						this.toolBarButton13});
			this.toolBar3.DropDownArrows = true;
			this.toolBar3.ImageList = this.imageList1;
			this.toolBar3.Location = new System.Drawing.Point(0, 0);
			this.toolBar3.Name = "toolBar3";
			this.toolBar3.ShowToolTips = true;
			this.toolBar3.Size = new System.Drawing.Size(712, 41);
			this.toolBar3.TabIndex = 35;
			this.toolBar3.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar3_ButtonClick);
			// 
			// tobtnupdata
			// 
			this.tobtnupdata.ImageIndex = 1;
			this.tobtnupdata.Text = "修改";
			this.tobtnupdata.ToolTipText = "修改";
			// 
			// toolBarButton13
			// 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -