📄 printform.designer.cs
字号:
namespace MyHotel
{
partial class PrintForm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PrintForm));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.label1 = new System.Windows.Forms.Label();
this.帐单类型ComboBox = new System.Windows.Forms.ComboBox();
this.客人姓名TextBox = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.酒店房号TextBox = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.查询Button = new System.Windows.Forms.Button();
this.打印Button = new System.Windows.Forms.Button();
this.printDocument1 = new System.Drawing.Printing.PrintDocument();
this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
this.帐单GroupBox = new System.Windows.Forms.GroupBox();
this.帐单DataGridView = new System.Windows.Forms.DataGridView();
this.帐单GroupBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.帐单DataGridView)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(1, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(65, 12);
this.label1.TabIndex = 0;
this.label1.Text = "帐单类型:";
//
// 帐单类型ComboBox
//
this.帐单类型ComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.帐单类型ComboBox.FormattingEnabled = true;
this.帐单类型ComboBox.Items.AddRange(new object[] {
"旅客入住单",
"旅客结帐单"});
this.帐单类型ComboBox.Location = new System.Drawing.Point(69, 6);
this.帐单类型ComboBox.Name = "帐单类型ComboBox";
this.帐单类型ComboBox.Size = new System.Drawing.Size(96, 20);
this.帐单类型ComboBox.TabIndex = 1;
//
// 客人姓名TextBox
//
this.客人姓名TextBox.Location = new System.Drawing.Point(361, 6);
this.客人姓名TextBox.Name = "客人姓名TextBox";
this.客人姓名TextBox.Size = new System.Drawing.Size(48, 21);
this.客人姓名TextBox.TabIndex = 5;
this.客人姓名TextBox.Text = "%%";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(302, 9);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(65, 12);
this.label3.TabIndex = 4;
this.label3.Text = "客人姓名:";
//
// 酒店房号TextBox
//
this.酒店房号TextBox.Location = new System.Drawing.Point(242, 6);
this.酒店房号TextBox.Name = "酒店房号TextBox";
this.酒店房号TextBox.Size = new System.Drawing.Size(54, 21);
this.酒店房号TextBox.TabIndex = 7;
this.酒店房号TextBox.Text = "RZX";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(171, 9);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(65, 12);
this.label4.TabIndex = 6;
this.label4.Text = "酒店房号:";
//
// 查询Button
//
this.查询Button.Image = ((System.Drawing.Image)(resources.GetObject("查询Button.Image")));
this.查询Button.Location = new System.Drawing.Point(412, 6);
this.查询Button.Name = "查询Button";
this.查询Button.Size = new System.Drawing.Size(65, 25);
this.查询Button.TabIndex = 8;
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(474, 6);
this.打印Button.Name = "打印Button";
this.打印Button.Size = new System.Drawing.Size(65, 25);
this.打印Button.TabIndex = 9;
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);
//
// 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;
//
// 帐单GroupBox
//
this.帐单GroupBox.Controls.Add(this.帐单DataGridView);
this.帐单GroupBox.Location = new System.Drawing.Point(3, 33);
this.帐单GroupBox.Name = "帐单GroupBox";
this.帐单GroupBox.Size = new System.Drawing.Size(536, 378);
this.帐单GroupBox.TabIndex = 10;
this.帐单GroupBox.TabStop = false;
this.帐单GroupBox.Text = "旅客入住单";
//
// 帐单DataGridView
//
this.帐单DataGridView.BackgroundColor = System.Drawing.SystemColors.Highlight;
this.帐单DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.帐单DataGridView.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
this.帐单DataGridView.Location = new System.Drawing.Point(6, 20);
this.帐单DataGridView.Name = "帐单DataGridView";
this.帐单DataGridView.ReadOnly = true;
this.帐单DataGridView.RowHeadersVisible = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.Green;
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Yellow;
this.帐单DataGridView.RowsDefaultCellStyle = dataGridViewCellStyle1;
this.帐单DataGridView.RowTemplate.Height = 23;
this.帐单DataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.帐单DataGridView.Size = new System.Drawing.Size(524, 349);
this.帐单DataGridView.TabIndex = 1;
//
// PrintForm
//
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.帐单GroupBox);
this.Controls.Add(this.查询Button);
this.Controls.Add(this.打印Button);
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.label1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "PrintForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "补打帐单";
this.帐单GroupBox.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.帐单DataGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox 帐单类型ComboBox;
private System.Windows.Forms.TextBox 客人姓名TextBox;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox 酒店房号TextBox;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button 查询Button;
private System.Windows.Forms.Button 打印Button;
private System.Drawing.Printing.PrintDocument printDocument1;
private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
private System.Windows.Forms.GroupBox 帐单GroupBox;
private System.Windows.Forms.DataGridView 帐单DataGridView;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -