/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(客户结账)); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.btnSave = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.客房信息BindingSource = new System.Windows.Forms.BindingSource(this.components); this.客房管理DataSet = new WindowsApplication1.客房管理DataSet(); this.客房信息BindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.客房管理DataSetBindingSource = new System.Windows.Forms.BindingSource(this.components); this.客房信息TableAdapter = new WindowsApplication1.客房管理DataSetTableAdapters.客房信息TableAdapter(); this.comboBox3 = new System.Windows.Forms.ComboBox(); this.客户信息BindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.客户信息BindingSource = new System.Windows.Forms.BindingSource(this.components); this.客户信息TableAdapter = new WindowsApplication1.客房管理DataSetTableAdapters.客户信息TableAdapter(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSetBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客户信息BindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客户信息BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.SystemColors.Desktop; this.label1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Image = ((System.Drawing.Image)(resources.GetObject("label1.Image"))); this.label1.Location = new System.Drawing.Point(167, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(77, 14); this.label1.TabIndex = 0; this.label1.Text = "应收金额:"; // // label2 // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; this.label2.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image"))); this.label2.Location = new System.Drawing.Point(12, 63); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(49, 14); this.label2.TabIndex = 3; this.label2.Text = "打折:"; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "95", "90", "85", "80", "75", "70"}); this.comboBox1.Location = new System.Drawing.Point(78, 57); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(83, 20); this.comboBox1.TabIndex = 5; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // btnSave // this.btnSave.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.btnSave.Font = new System.Drawing.Font("楷体_GB2312", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image"))); this.btnSave.Location = new System.Drawing.Point(251, 61); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(83, 20); this.btnSave.TabIndex = 6; this.btnSave.Text = "结账"; this.btnSave.UseVisualStyleBackColor = false; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // label4 // this.label4.AutoSize = true; this.label4.BackColor = System.Drawing.SystemColors.ControlText; this.label4.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label4.ForeColor = System.Drawing.SystemColors.ControlText; this.label4.Image = ((System.Drawing.Image)(resources.GetObject("label4.Image"))); this.label4.Location = new System.Drawing.Point(12, 18); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(49, 14); this.label4.TabIndex = 8; this.label4.Text = "姓名:"; this.label4.Click += new System.EventHandler(this.label4_Click); // // comboBox2 // this.comboBox2.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.客房信息BindingSource, "客房价格", true)); this.comboBox2.DataSource = this.客房信息BindingSource1; this.comboBox2.DisplayMember = "客房价格"; this.comboBox2.FormattingEnabled = true; this.comboBox2.Location = new System.Drawing.Point(251, 17); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(83, 20); this.comboBox2.TabIndex = 10; this.comboBox2.ValueMember = "客房价格"; // // 客房信息BindingSource // this.客房信息BindingSource.DataMember = "客房信息"; this.客房信息BindingSource.DataSource = this.客房管理DataSet; // // 客房管理DataSet // this.客房管理DataSet.DataSetName = "客房管理DataSet"; this.客房管理DataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // 客房信息BindingSource1 // this.客房信息BindingSource1.DataMember = "客房信息"; this.客房信息BindingSource1.DataSource = this.客房管理DataSet; // // 客房管理DataSetBindingSource // this.客房管理DataSetBindingSource.DataSource = this.客房管理DataSet; this.客房管理DataSetBindingSource.Position = 0; // // 客房信息TableAdapter // this.客房信息TableAdapter.ClearBeforeFill = true; // // comboBox3 // this.comboBox3.BackColor = System.Drawing.SystemColors.ControlLightLight; this.comboBox3.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.客户信息BindingSource1, "姓名", true)); this.comboBox3.DataSource = this.客户信息BindingSource; this.comboBox3.DisplayMember = "姓名"; this.comboBox3.FormattingEnabled = true; this.comboBox3.Location = new System.Drawing.Point(78, 17); this.comboBox3.Name = "comboBox3"; this.comboBox3.Size = new System.Drawing.Size(83, 20); this.comboBox3.TabIndex = 11; this.comboBox3.ValueMember = "姓名"; // // 客户信息BindingSource1 // this.客户信息BindingSource1.DataMember = "客户信息"; this.客户信息BindingSource1.DataSource = this.客房管理DataSet; // // 客户信息BindingSource // this.客户信息BindingSource.DataMember = "客户信息"; this.客户信息BindingSource.DataSource = this.客房管理DataSetBindingSource; // // 客户信息TableAdapter // this.客户信息TableAdapter.ClearBeforeFill = true; // // 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(352, 228); this.pictureBox1.TabIndex = 12; this.pictureBox1.TabStop = false; this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); // // 客户结账 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveCaptionText; this.ClientSize = new System.Drawing.Size(349, 231); this.Controls.Add(this.label4); this.Controls.Add(this.comboBox3); this.Controls.Add(this.comboBox2); this.Controls.Add(this.btnSave); this.Controls.Add(this.comboBox1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.pictureBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "客户结账"; this.Text = "客户结账"; this.Load += new System.EventHandler(this.客户结账_Load); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSetBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客户信息BindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客户信息BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { 客房管理DataSet ds = new 客房管理DataSet(); global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); any.Namespace = ds.Namespace; sequence.Items.Add(any); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; }
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); 客房管理DataSet ds = new 客房管理DataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "客户信息DataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; }
public virtual int Update(客房管理DataSet dataSet) { return this.Adapter.Update(dataSet, "管理员信息"); }
public virtual int Update(客房管理DataSet.管理员信息DataTable dataTable) { return this.Adapter.Update(dataTable); }
public virtual int Fill(客房管理DataSet.管理员信息DataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(客户登记)); this.button1 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.客房信息BindingSource = new System.Windows.Forms.BindingSource(this.components); this.客房管理DataSet = new WindowsApplication1.客房管理DataSet(); this.客房信息TableAdapter = new WindowsApplication1.客房管理DataSetTableAdapters.客房信息TableAdapter(); this.客户信息BindingSource = new System.Windows.Forms.BindingSource(this.components); this.客户信息TableAdapter = new WindowsApplication1.客房管理DataSetTableAdapters.客户信息TableAdapter(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客户信息BindingSource)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button1.Image = ((System.Drawing.Image)(resources.GetObject("button1.Image"))); this.button1.Location = new System.Drawing.Point(80, 348); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "确定"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(126, 63); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(100, 21); this.textBox1.TabIndex = 1; // // label1 // this.label1.AutoSize = true; this.label1.Image = ((System.Drawing.Image)(resources.GetObject("label1.Image"))); this.label1.Location = new System.Drawing.Point(31, 66); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 12); this.label1.TabIndex = 2; this.label1.Text = "姓 名:"; // // label2 // this.label2.AutoSize = true; this.label2.Image = ((System.Drawing.Image)(resources.GetObject("label2.Image"))); this.label2.Location = new System.Drawing.Point(31, 120); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(53, 12); this.label2.TabIndex = 5; this.label2.Text = "身份证:"; // // label3 // this.label3.AutoSize = true; this.label3.Image = ((System.Drawing.Image)(resources.GetObject("label3.Image"))); this.label3.Location = new System.Drawing.Point(364, 168); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(53, 12); this.label3.TabIndex = 6; this.label3.Text = "客房号:"; // // button2 // this.button2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button2.Image = ((System.Drawing.Image)(resources.GetObject("button2.Image"))); this.button2.Location = new System.Drawing.Point(431, 348); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 7; this.button2.Text = "取消"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label4 // this.label4.AutoSize = true; this.label4.Image = ((System.Drawing.Image)(resources.GetObject("label4.Image"))); this.label4.Location = new System.Drawing.Point(364, 111); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(53, 12); this.label4.TabIndex = 10; this.label4.Text = "年 龄:"; // // label5 // this.label5.AutoSize = true; this.label5.Image = ((System.Drawing.Image)(resources.GetObject("label5.Image"))); this.label5.Location = new System.Drawing.Point(31, 174); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(53, 12); this.label5.TabIndex = 11; this.label5.Text = "性 别:"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(106, 405); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(11, 12); this.label6.TabIndex = 14; this.label6.Text = " "; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label7.Image = ((System.Drawing.Image)(resources.GetObject("label7.Image"))); this.label7.Location = new System.Drawing.Point(364, 66); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(53, 12); this.label7.TabIndex = 15; this.label7.Text = "籍 贯:"; // // pictureBox1 // this.pictureBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage"))); this.pictureBox1.Location = new System.Drawing.Point(0, -4); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(580, 397); this.pictureBox1.TabIndex = 22; this.pictureBox1.TabStop = false; this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); // // 客房信息BindingSource // this.客房信息BindingSource.DataMember = "客房信息"; this.客房信息BindingSource.DataSource = this.客房管理DataSet; // // 客房管理DataSet // this.客房管理DataSet.DataSetName = "客房管理DataSet"; this.客房管理DataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // 客房信息TableAdapter // this.客房信息TableAdapter.ClearBeforeFill = true; // // 客户信息BindingSource // this.客户信息BindingSource.DataMember = "客户信息"; this.客户信息BindingSource.DataSource = this.客房管理DataSet; // // 客户信息TableAdapter // this.客户信息TableAdapter.ClearBeforeFill = true; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(126, 117); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(100, 21); this.textBox2.TabIndex = 23; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(126, 165); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(100, 21); this.textBox3.TabIndex = 24; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(441, 63); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(100, 21); this.textBox4.TabIndex = 25; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(441, 108); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(100, 21); this.textBox5.TabIndex = 26; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(441, 162); this.textBox6.Name = "textBox6"; this.textBox6.Size = new System.Drawing.Size(100, 21); this.textBox6.TabIndex = 27; // // 客户登记 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(577, 384); this.Controls.Add(this.textBox6); this.Controls.Add(this.textBox5); this.Controls.Add(this.textBox4); this.Controls.Add(this.textBox3); this.Controls.Add(this.textBox2); this.Controls.Add(this.label7); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.button2); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.textBox1); this.Controls.Add(this.button1); this.Controls.Add(this.pictureBox1); this.Name = "客户登记"; this.Text = "客户登记"; this.Load += new System.EventHandler(this.来客登记_Load); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客户信息BindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(客房信息)); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.button3 = new System.Windows.Forms.Button(); this.dataGridView2 = new System.Windows.Forms.DataGridView(); this.button4 = new System.Windows.Forms.Button(); this.客房信息BindingSource = new System.Windows.Forms.BindingSource(this.components); this.客房管理DataSet = new WindowsApplication1.客房管理DataSet(); this.客房信息TableAdapter = new WindowsApplication1.客房管理DataSetTableAdapters.客房信息TableAdapter(); this.button5 = new System.Windows.Forms.Button(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // dataGridView1 // this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Location = new System.Drawing.Point(-1, 63); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.RowTemplate.Height = 23; this.dataGridView1.Size = new System.Drawing.Size(338, 212); this.dataGridView1.TabIndex = 0; this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick); // // button1 // this.button1.ForeColor = System.Drawing.SystemColors.ControlText; this.button1.Location = new System.Drawing.Point(343, 63); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(85, 23); this.button1.TabIndex = 1; this.button1.Text = "客户登记"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(673, 395); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(85, 23); this.button2.TabIndex = 2; this.button2.Text = "客户信息查询"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.SystemColors.ControlLight; this.label1.Font = new System.Drawing.Font("华文行楷", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(314, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(157, 37); this.label1.TabIndex = 3; this.label1.Text = "客房信息"; // // button3 // this.button3.Location = new System.Drawing.Point(45, 395); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 4; this.button3.Text = "显示"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // dataGridView2 // this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView2.Location = new System.Drawing.Point(434, 63); this.dataGridView2.Name = "dataGridView2"; this.dataGridView2.RowTemplate.Height = 23; this.dataGridView2.Size = new System.Drawing.Size(367, 212); this.dataGridView2.TabIndex = 5; // // button4 // this.button4.Location = new System.Drawing.Point(343, 125); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(85, 23); this.button4.TabIndex = 6; this.button4.Text = "客户退房"; this.button4.UseVisualStyleBackColor = true; this.button4.Click += new System.EventHandler(this.button4_Click); // // 客房信息BindingSource // this.客房信息BindingSource.DataMember = "客房信息"; this.客房信息BindingSource.DataSource = this.客房管理DataSet; // // 客房管理DataSet // this.客房管理DataSet.DataSetName = "客房管理DataSet"; this.客房管理DataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // 客房信息TableAdapter // this.客房信息TableAdapter.ClearBeforeFill = true; // // button5 // this.button5.Location = new System.Drawing.Point(343, 201); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(85, 23); this.button5.TabIndex = 7; this.button5.Text = "客户结账"; this.button5.UseVisualStyleBackColor = true; this.button5.Click += new System.EventHandler(this.button5_Click); // // 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(802, 470); this.pictureBox1.TabIndex = 8; this.pictureBox1.TabStop = false; this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); // // 客房信息 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.HighlightText; this.ClientSize = new System.Drawing.Size(801, 466); this.Controls.Add(this.button5); this.Controls.Add(this.dataGridView2); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.button4); this.Controls.Add(this.button3); this.Controls.Add(this.label1); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.pictureBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "客房信息"; this.Text = "客房信息"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客房信息BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.客房管理DataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }