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

📄 frmreside.cs

📁 采用C#和SQL Server 2000开发 功能比较全面的酒店管理系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
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 frmReside : 酒店管理系统.frmBase	{
		internal System.Windows.Forms.GroupBox GroupBox1;
		internal System.Windows.Forms.Button btnList;
		internal System.Windows.Forms.TextBox txbId;
		internal System.Windows.Forms.CheckBox ckbVip;
		internal System.Windows.Forms.CheckBox ckbSecrecy;
		internal System.Windows.Forms.CheckBox ckbWakeUp;
		internal System.Windows.Forms.CheckBox ckbBreakfast;
		internal System.Windows.Forms.ComboBox cbbPhoneLevel;
		internal System.Windows.Forms.Label Label24;
		internal System.Windows.Forms.DateTimePicker tmLeft;
		internal System.Windows.Forms.DateTimePicker tmArrive;
		internal System.Windows.Forms.TextBox txbRemark;
		internal System.Windows.Forms.Label Label23;
		internal System.Windows.Forms.TextBox txbDestineCompany;
		internal System.Windows.Forms.Label Label22;
		internal System.Windows.Forms.TextBox txbMemberId;
		internal System.Windows.Forms.Label Label21;
		internal System.Windows.Forms.TextBox txbOperator;
		internal System.Windows.Forms.Label Label20;
		internal System.Windows.Forms.TextBox txbOperationPeople;
		internal System.Windows.Forms.Label Label19;
		internal System.Windows.Forms.TextBox txbName;
		internal System.Windows.Forms.Label Label18;
		internal System.Windows.Forms.CheckBox ckbAddBed;
		internal System.Windows.Forms.TextBox txbState;
		internal System.Windows.Forms.Label Label17;
		internal System.Windows.Forms.TextBox txbBeforMoney;
		internal System.Windows.Forms.Label Label16;
		internal System.Windows.Forms.TextBox txbAddPrice;
		internal System.Windows.Forms.Label Label15;
		internal System.Windows.Forms.TextBox txbNumber;
		internal System.Windows.Forms.Label Label14;
		internal System.Windows.Forms.Button btnOpen;
		internal System.Windows.Forms.TextBox txbReasonDiscount;
		internal System.Windows.Forms.Label Label13;
		internal System.Windows.Forms.TextBox txbDiscount;
		internal System.Windows.Forms.Label Label12;
		internal System.Windows.Forms.TextBox txbNowPrice;
		internal System.Windows.Forms.Label Label11;
		internal System.Windows.Forms.TextBox txbOriginPrice;
		internal System.Windows.Forms.Label Label9;
		internal System.Windows.Forms.TextBox txbRoomCode;
		internal System.Windows.Forms.Label Label8;
		internal System.Windows.Forms.TextBox txbPhone;
		internal System.Windows.Forms.Label Label7;
		internal System.Windows.Forms.Label Label6;
		internal System.Windows.Forms.Label Label5;
		internal System.Windows.Forms.ComboBox cbbRoomType;
		internal System.Windows.Forms.Label Label10;
		internal System.Windows.Forms.TextBox txbInId;
		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;		// added member		public bool bClose = false;		private DateTime gridMouseDownTime = new DateTime();		private string strRoomCode = "";		public frmReside()		{			// 该调用是 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()		{			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmReside));
			this.GroupBox1 = new System.Windows.Forms.GroupBox();
			this.btnList = new System.Windows.Forms.Button();
			this.txbId = new System.Windows.Forms.TextBox();
			this.dataSet11 = new 酒店管理系统.DataSet1();
			this.ckbVip = new System.Windows.Forms.CheckBox();
			this.ckbSecrecy = new System.Windows.Forms.CheckBox();
			this.ckbWakeUp = new System.Windows.Forms.CheckBox();
			this.ckbBreakfast = new System.Windows.Forms.CheckBox();
			this.cbbPhoneLevel = new System.Windows.Forms.ComboBox();
			this.Label24 = new System.Windows.Forms.Label();
			this.tmLeft = new System.Windows.Forms.DateTimePicker();
			this.tmArrive = new System.Windows.Forms.DateTimePicker();
			this.txbRemark = new System.Windows.Forms.TextBox();
			this.Label23 = new System.Windows.Forms.Label();
			this.txbDestineCompany = new System.Windows.Forms.TextBox();
			this.Label22 = new System.Windows.Forms.Label();
			this.txbMemberId = new System.Windows.Forms.TextBox();
			this.Label21 = new System.Windows.Forms.Label();
			this.txbOperator = new System.Windows.Forms.TextBox();
			this.Label20 = new System.Windows.Forms.Label();
			this.txbOperationPeople = new System.Windows.Forms.TextBox();
			this.Label19 = new System.Windows.Forms.Label();
			this.txbName = new System.Windows.Forms.TextBox();
			this.Label18 = new System.Windows.Forms.Label();
			this.ckbAddBed = new System.Windows.Forms.CheckBox();
			this.txbState = new System.Windows.Forms.TextBox();
			this.Label17 = new System.Windows.Forms.Label();
			this.txbBeforMoney = new System.Windows.Forms.TextBox();
			this.Label16 = new System.Windows.Forms.Label();
			this.txbAddPrice = new System.Windows.Forms.TextBox();
			this.Label15 = new System.Windows.Forms.Label();
			this.txbNumber = new System.Windows.Forms.TextBox();
			this.Label14 = new System.Windows.Forms.Label();
			this.btnOpen = new System.Windows.Forms.Button();
			this.txbReasonDiscount = new System.Windows.Forms.TextBox();
			this.Label13 = new System.Windows.Forms.Label();
			this.txbDiscount = new System.Windows.Forms.TextBox();
			this.Label12 = new System.Windows.Forms.Label();
			this.txbNowPrice = new System.Windows.Forms.TextBox();
			this.Label11 = new System.Windows.Forms.Label();
			this.txbOriginPrice = new System.Windows.Forms.TextBox();
			this.Label9 = new System.Windows.Forms.Label();
			this.txbRoomCode = new System.Windows.Forms.TextBox();
			this.Label8 = new System.Windows.Forms.Label();
			this.txbPhone = new System.Windows.Forms.TextBox();
			this.Label7 = new System.Windows.Forms.Label();
			this.Label6 = new System.Windows.Forms.Label();
			this.Label5 = new System.Windows.Forms.Label();
			this.cbbRoomType = new System.Windows.Forms.ComboBox();
			this.Label10 = new System.Windows.Forms.Label();
			this.txbInId = new System.Windows.Forms.TextBox();
			this.Label4 = new System.Windows.Forms.Label();
			this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter();
			this.sqlDeleteCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlConnection1 = new System.Data.SqlClient.SqlConnection();
			this.sqlInsertCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand();
			this.sqlUpdateCommand1 = new System.Data.SqlClient.SqlCommand();
			((System.ComponentModel.ISupportInitialize)(this.dgdList)).BeginInit();
			this.GroupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit();
			this.SuspendLayout();
			// 
			// dgdList
			// 
			this.dgdList.Location = new System.Drawing.Point(0, 89);
			this.dgdList.Name = "dgdList";
			this.dgdList.Size = new System.Drawing.Size(502, 104);
			this.dgdList.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dgdList_MouseDown);
			this.dgdList.DoubleClick += new System.EventHandler(this.dgdList_DoubleClick);
			// 
			// GroupBox1

⌨️ 快捷键说明

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