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

📄 frmbookdoc.cs

📁 采用C#和SQL Server 2000开发 功能比较全面的图书馆管理系统
💻 CS
📖 第 1 页 / 共 3 页
字号:
using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data;using System.Data.SqlClient;namespace 图书馆管理系统{	public class frmBookDoc : 图书馆管理系统.frmBase	{
		internal System.Windows.Forms.GroupBox GroupBox1;
		internal System.Windows.Forms.TextBox txbRemark;
		internal System.Windows.Forms.Label Label16;
		internal System.Windows.Forms.CheckBox ckbRegist;
		internal System.Windows.Forms.TextBox txbWorker;
		internal System.Windows.Forms.Label Label15;
		internal System.Windows.Forms.TextBox txbTotalPages;
		internal System.Windows.Forms.Label Label14;
		internal System.Windows.Forms.TextBox txbPrice;
		internal System.Windows.Forms.Label Label13;
		internal System.Windows.Forms.ComboBox cbbBookcase;
		internal System.Windows.Forms.Label Label12;
		internal System.Windows.Forms.ComboBox cbbPress;
		internal System.Windows.Forms.Label Label11;
		internal System.Windows.Forms.TextBox txbISBN;
		internal System.Windows.Forms.Label Label10;
		internal System.Windows.Forms.TextBox txbTranslator;
		internal System.Windows.Forms.Label Label9;
		internal System.Windows.Forms.TextBox txbAuthor;
		internal System.Windows.Forms.Label Label7;
		internal System.Windows.Forms.ComboBox cbbType;
		internal System.Windows.Forms.Label Label8;
		internal System.Windows.Forms.TextBox txbName;
		internal System.Windows.Forms.Label Label6;
		internal System.Windows.Forms.TextBox txbNumber;
		internal System.Windows.Forms.Label Label5;
		internal System.Windows.Forms.TextBox txbCode;
		internal System.Windows.Forms.Label Label4;
		private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
		private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
		private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
		private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
		private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
		private System.Data.SqlClient.SqlConnection sqlConnection1;
		private 图书馆管理系统.DataSet1 dataSet11;		private System.ComponentModel.IContainer components = null;		public frmBookDoc()		{			// 该调用是 Windows 窗体设计器所必需的。			InitializeComponent();			// TODO: 在 InitializeComponent 调用后添加任何初始化		}		/// <summary>		/// 清理所有正在使用的资源。		/// </summary>		protected override void Dispose( bool disposing )		{			if( disposing )			{				if (components != null) 				{					components.Dispose();				}			}			base.Dispose( disposing );		}		#region 设计器生成的代码		/// <summary>		/// 设计器支持所需的方法 - 不要使用代码编辑器修改		/// 此方法的内容。		/// </summary>		private void InitializeComponent()		{			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.txbRemark = new System.Windows.Forms.TextBox();
			this.Label16 = new System.Windows.Forms.Label();
			this.ckbRegist = new System.Windows.Forms.CheckBox();
			this.txbWorker = new System.Windows.Forms.TextBox();
			this.Label15 = new System.Windows.Forms.Label();
			this.txbTotalPages = new System.Windows.Forms.TextBox();
			this.Label14 = new System.Windows.Forms.Label();
			this.txbPrice = new System.Windows.Forms.TextBox();
			this.Label13 = new System.Windows.Forms.Label();
			this.cbbBookcase = new System.Windows.Forms.ComboBox();
			this.Label12 = new System.Windows.Forms.Label();
			this.cbbPress = new System.Windows.Forms.ComboBox();
			this.Label11 = new System.Windows.Forms.Label();
			this.txbISBN = new System.Windows.Forms.TextBox();
			this.Label10 = new System.Windows.Forms.Label();
			this.txbTranslator = new System.Windows.Forms.TextBox();
			this.Label9 = new System.Windows.Forms.Label();
			this.txbAuthor = new System.Windows.Forms.TextBox();
			this.Label7 = new System.Windows.Forms.Label();
			this.cbbType = new System.Windows.Forms.ComboBox();
			this.Label8 = new System.Windows.Forms.Label();
			this.txbName = new System.Windows.Forms.TextBox();
			this.Label6 = new System.Windows.Forms.Label();
			this.txbNumber = new System.Windows.Forms.TextBox();
			this.Label5 = new System.Windows.Forms.Label();
			this.txbCode = new System.Windows.Forms.TextBox();
			this.Label4 = new System.Windows.Forms.Label();
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			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.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			this.dataSet11 = new 图书馆管理系统.DataSet1();
			((System.ComponentModel.ISupportInitialize)(this.dgdList)).BeginInit();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
			this.SuspendLayout();
			// 
			// dgdList
			// 
			this.dgdList.Name = "dgdList";
			this.dgdList.Size = new System.Drawing.Size(619, 72);
			// 
			// GroupBox1
			// 
			this.GroupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.GroupBox1.Controls.Add(this.txbRemark);
			this.GroupBox1.Controls.Add(this.Label16);
			this.GroupBox1.Controls.Add(this.ckbRegist);
			this.GroupBox1.Controls.Add(this.txbWorker);
			this.GroupBox1.Controls.Add(this.Label15);
			this.GroupBox1.Controls.Add(this.txbTotalPages);
			this.GroupBox1.Controls.Add(this.Label14);
			this.GroupBox1.Controls.Add(this.txbPrice);
			this.GroupBox1.Controls.Add(this.Label13);
			this.GroupBox1.Controls.Add(this.cbbBookcase);
			this.GroupBox1.Controls.Add(this.Label12);
			this.GroupBox1.Controls.Add(this.cbbPress);
			this.GroupBox1.Controls.Add(this.Label11);
			this.GroupBox1.Controls.Add(this.txbISBN);
			this.GroupBox1.Controls.Add(this.Label10);
			this.GroupBox1.Controls.Add(this.txbTranslator);
			this.GroupBox1.Controls.Add(this.Label9);
			this.GroupBox1.Controls.Add(this.txbAuthor);
			this.GroupBox1.Controls.Add(this.Label7);
			this.GroupBox1.Controls.Add(this.cbbType);
			this.GroupBox1.Controls.Add(this.Label8);
			this.GroupBox1.Controls.Add(this.txbName);
			this.GroupBox1.Controls.Add(this.Label6);
			this.GroupBox1.Controls.Add(this.txbNumber);
			this.GroupBox1.Controls.Add(this.Label5);
			this.GroupBox1.Controls.Add(this.txbCode);
			this.GroupBox1.Controls.Add(this.Label4);
			this.GroupBox1.Location = new System.Drawing.Point(8, 160);
			this.GroupBox1.Name = "GroupBox1";
			this.GroupBox1.Size = new System.Drawing.Size(616, 160);
			this.GroupBox1.TabIndex = 8;
			this.GroupBox1.TabStop = false;
			// 
			// txbRemark
			// 
			this.txbRemark.Location = new System.Drawing.Point(504, 32);
			this.txbRemark.Multiline = true;
			this.txbRemark.Name = "txbRemark";
			this.txbRemark.Size = new System.Drawing.Size(96, 112);
			this.txbRemark.TabIndex = 31;
			this.txbRemark.Text = "";
			// 
			// Label16
			// 
			this.Label16.Location = new System.Drawing.Point(504, 16);
			this.Label16.Name = "Label16";
			this.Label16.Size = new System.Drawing.Size(56, 16);
			this.Label16.TabIndex = 30;
			this.Label16.Text = "简介";
			// 
			// ckbRegist
			// 
			this.ckbRegist.Location = new System.Drawing.Point(208, 126);
			this.ckbRegist.Name = "ckbRegist";
			this.ckbRegist.Size = new System.Drawing.Size(80, 24);
			this.ckbRegist.TabIndex = 29;
			this.ckbRegist.Text = "是否注销";
			// 
			// txbWorker
			// 
			this.txbWorker.Location = new System.Drawing.Point(144, 126);
			this.txbWorker.Name = "txbWorker";
			this.txbWorker.Size = new System.Drawing.Size(56, 21);
			this.txbWorker.TabIndex = 27;
			this.txbWorker.Text = "";
			// 
			// Label15
			// 
			this.Label15.Location = new System.Drawing.Point(144, 110);
			this.Label15.Name = "Label15";
			this.Label15.Size = new System.Drawing.Size(56, 16);
			this.Label15.TabIndex = 26;
			this.Label15.Text = "操作员";
			// 
			// txbTotalPages
			// 
			this.txbTotalPages.Location = new System.Drawing.Point(80, 126);
			this.txbTotalPages.Name = "txbTotalPages";
			this.txbTotalPages.Size = new System.Drawing.Size(56, 21);
			this.txbTotalPages.TabIndex = 25;
			this.txbTotalPages.Text = "";
			// 
			// Label14
			// 
			this.Label14.Location = new System.Drawing.Point(79, 110);
			this.Label14.Name = "Label14";
			this.Label14.Size = new System.Drawing.Size(56, 16);
			this.Label14.TabIndex = 24;
			this.Label14.Text = "页码";
			// 
			// txbPrice
			// 
			this.txbPrice.Location = new System.Drawing.Point(16, 126);
			this.txbPrice.Name = "txbPrice";
			this.txbPrice.Size = new System.Drawing.Size(56, 21);
			this.txbPrice.TabIndex = 23;
			this.txbPrice.Text = "";
			// 
			// Label13
			// 
			this.Label13.Location = new System.Drawing.Point(13, 110);
			this.Label13.Name = "Label13";
			this.Label13.Size = new System.Drawing.Size(56, 16);
			this.Label13.TabIndex = 22;
			this.Label13.Text = "价格";
			// 
			// cbbBookcase
			// 
			this.cbbBookcase.Location = new System.Drawing.Point(304, 126);

⌨️ 快捷键说明

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