📄 consumeform.designer.cs
字号:
this.数量TextBox.Size = new System.Drawing.Size(51, 21);
this.数量TextBox.TabIndex = 11;
this.数量TextBox.Text = "1";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(432, 178);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(41, 12);
this.label5.TabIndex = 10;
this.label5.Text = "数量:";
//
// 添加Button
//
this.添加Button.Image = ((System.Drawing.Image)(resources.GetObject("添加Button.Image")));
this.添加Button.Location = new System.Drawing.Point(329, 5);
this.添加Button.Name = "添加Button";
this.添加Button.Size = new System.Drawing.Size(65, 25);
this.添加Button.TabIndex = 12;
this.添加Button.Text = "添加";
this.添加Button.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.添加Button.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.添加Button.UseVisualStyleBackColor = true;
this.添加Button.Click += new System.EventHandler(this.添加Button_Click);
//
// 单价TextBox
//
this.单价TextBox.Location = new System.Drawing.Point(234, 173);
this.单价TextBox.Name = "单价TextBox";
this.单价TextBox.ReadOnly = true;
this.单价TextBox.Size = new System.Drawing.Size(49, 21);
this.单价TextBox.TabIndex = 14;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(182, 178);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(41, 12);
this.label6.TabIndex = 13;
this.label6.Text = "单价:";
//
// 打印Button
//
this.打印Button.Image = ((System.Drawing.Image)(resources.GetObject("打印Button.Image")));
this.打印Button.Location = new System.Drawing.Point(399, 5);
this.打印Button.Name = "打印Button";
this.打印Button.Size = new System.Drawing.Size(65, 25);
this.打印Button.TabIndex = 15;
this.打印Button.Text = "打印";
this.打印Button.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.打印Button.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.打印Button.UseVisualStyleBackColor = true;
this.打印Button.Click += new System.EventHandler(this.打印Button_Click);
//
// 保存Button
//
this.保存Button.Image = ((System.Drawing.Image)(resources.GetObject("保存Button.Image")));
this.保存Button.Location = new System.Drawing.Point(469, 5);
this.保存Button.Name = "保存Button";
this.保存Button.Size = new System.Drawing.Size(65, 25);
this.保存Button.TabIndex = 16;
this.保存Button.Text = "保存";
this.保存Button.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.保存Button.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
this.保存Button.UseVisualStyleBackColor = true;
this.保存Button.Click += new System.EventHandler(this.保存Button_Click);
//
// 旅客消费表DataGridView
//
this.旅客消费表DataGridView.BackgroundColor = System.Drawing.SystemColors.MenuHighlight;
this.旅客消费表DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.旅客消费表DataGridView.Location = new System.Drawing.Point(5, 204);
this.旅客消费表DataGridView.Name = "旅客消费表DataGridView";
this.旅客消费表DataGridView.ReadOnly = true;
this.旅客消费表DataGridView.RowHeadersVisible = false;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.Green;
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Yellow;
this.旅客消费表DataGridView.RowsDefaultCellStyle = dataGridViewCellStyle4;
this.旅客消费表DataGridView.RowTemplate.Height = 23;
this.旅客消费表DataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.旅客消费表DataGridView.Size = new System.Drawing.Size(533, 207);
this.旅客消费表DataGridView.TabIndex = 17;
//
// printDocument1
//
this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
//
// printPreviewDialog1
//
this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
this.printPreviewDialog1.Enabled = true;
this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
this.printPreviewDialog1.Name = "printPreviewDialog1";
this.printPreviewDialog1.Visible = false;
//
// ConsumeForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.ClientSize = new System.Drawing.Size(540, 414);
this.Controls.Add(this.旅客消费表DataGridView);
this.Controls.Add(this.保存Button);
this.Controls.Add(this.打印Button);
this.Controls.Add(this.单价TextBox);
this.Controls.Add(this.label6);
this.Controls.Add(this.添加Button);
this.Controls.Add(this.数量TextBox);
this.Controls.Add(this.label5);
this.Controls.Add(this.折扣价格TextBox);
this.Controls.Add(this.label4);
this.Controls.Add(this.消费品名称TextBox);
this.Controls.Add(this.label3);
this.Controls.Add(this.酒店房号ComboBox);
this.Controls.Add(this.旅客姓名ComboBox);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ConsumeForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "登记旅客消费信息";
this.Load += new System.EventHandler(this.ConsumeForm_Load);
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.消费品价格DataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.旅客消费表DataGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.DataGridView 消费品价格DataGridView;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox 旅客姓名ComboBox;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.ComboBox 酒店房号ComboBox;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox 消费品名称TextBox;
private System.Windows.Forms.TextBox 折扣价格TextBox;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox 数量TextBox;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Button 添加Button;
private System.Windows.Forms.TextBox 单价TextBox;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Button 打印Button;
private System.Windows.Forms.Button 保存Button;
private System.Windows.Forms.DataGridView 旅客消费表DataGridView;
private System.Drawing.Printing.PrintDocument printDocument1;
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -