📄 fmreckoning.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace UI
{
/// <summary>
/// fmreckoning 的摘要说明。
/// </summary>
public class fmreckoning : System.Windows.Forms.Form
{
private string rid;
private string reckoning;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lbltab;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label lblname;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox txtVIPID;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label lblvname;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label lblVsort;
private System.Windows.Forms.Label lbl;
private System.Windows.Forms.Label lblvIntegral;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label lblcharge;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label lbldeposit;
private System.Windows.Forms.Label lblreduce;
private System.Windows.Forms.Label lblFavourable;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.CheckBox checkBox4;
private System.Windows.Forms.CheckBox checkBox5;
private System.Windows.Forms.CheckBox checkBox6;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.TextBox txtpayment;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.TextBox txtguPayment;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label lblpayGue;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TreeView treeView1;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.GroupBox groupBox5;
private System.Windows.Forms.TreeView treeView2;
private System.Windows.Forms.ListView lsttab;
private System.Windows.Forms.ColumnHeader 房间号;
private System.Windows.Forms.ColumnHeader 消费项目;
private System.Windows.Forms.ColumnHeader 单价;
private System.Windows.Forms.ColumnHeader 打折比例;
private System.Windows.Forms.ColumnHeader 折后单价;
private System.Windows.Forms.ColumnHeader 打折金额;
private System.Windows.Forms.ColumnHeader 消费数量;
private System.Windows.Forms.ColumnHeader 应收金额;
private System.Windows.Forms.ColumnHeader 服务生;
private System.Windows.Forms.ColumnHeader 消费时间;
private System.Windows.Forms.ColumnHeader 记帐人;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public fmreckoning(string rid,string reckoning)
{
this.rid=rid;
this.reckoning=reckoning;
InitializeComponent();
}
// public fmreckoning(string rid,string reckoning)
// {
// this.rid=rid;//房间号
// this.reckoning=reckoning;//帐单
//
// }
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.lblname = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.lbltab = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.label15 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.lblvIntegral = new System.Windows.Forms.Label();
this.lbl = new System.Windows.Forms.Label();
this.lblVsort = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.lblvname = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.txtVIPID = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label21 = new System.Windows.Forms.Label();
this.lblpayGue = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.txtguPayment = new System.Windows.Forms.TextBox();
this.label19 = new System.Windows.Forms.Label();
this.txtpayment = new System.Windows.Forms.TextBox();
this.label18 = new System.Windows.Forms.Label();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.lblFavourable = new System.Windows.Forms.Label();
this.lblreduce = new System.Windows.Forms.Label();
this.lbldeposit = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.lblcharge = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.treeView1 = new System.Windows.Forms.TreeView();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label23 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.label22 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.treeView2 = new System.Windows.Forms.TreeView();
this.lsttab = new System.Windows.Forms.ListView();
this.房间号 = new System.Windows.Forms.ColumnHeader();
this.消费项目 = new System.Windows.Forms.ColumnHeader();
this.单价 = new System.Windows.Forms.ColumnHeader();
this.打折比例 = new System.Windows.Forms.ColumnHeader();
this.折后单价 = new System.Windows.Forms.ColumnHeader();
this.打折金额 = new System.Windows.Forms.ColumnHeader();
this.消费数量 = new System.Windows.Forms.ColumnHeader();
this.应收金额 = new System.Windows.Forms.ColumnHeader();
this.服务生 = new System.Windows.Forms.ColumnHeader();
this.消费时间 = new System.Windows.Forms.ColumnHeader();
this.记帐人 = new System.Windows.Forms.ColumnHeader();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
this.panel1.SuspendLayout();
this.groupBox5.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.BackColor = System.Drawing.Color.Snow;
this.groupBox1.Controls.Add(this.label10);
this.groupBox1.Controls.Add(this.label9);
this.groupBox1.Controls.Add(this.label8);
this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.lblname);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.lbltab);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Location = new System.Drawing.Point(8, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(752, 88);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// label10
//
this.label10.Location = new System.Drawing.Point(296, 56);
this.label10.Name = "label10";
this.label10.TabIndex = 11;
this.label10.Text = "无";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label9
//
this.label9.Location = new System.Drawing.Point(208, 56);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(72, 23);
this.label9.TabIndex = 10;
this.label9.Text = "公司名称:";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label8
//
this.label8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label8.Location = new System.Drawing.Point(88, 56);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(80, 23);
this.label8.TabIndex = 9;
this.label8.Text = "无";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label7
//
this.label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label7.Location = new System.Drawing.Point(8, 56);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(72, 23);
this.label7.TabIndex = 8;
this.label7.Text = "手工单号:";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label6
//
this.label6.Location = new System.Drawing.Point(696, 16);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(40, 23);
this.label6.TabIndex = 7;
this.label6.Text = "1000";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// label5
//
this.label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label5.Location = new System.Drawing.Point(600, 16);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(80, 23);
this.label5.TabIndex = 6;
this.label5.Text = "消费金额:";
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// lblname
//
this.lblname.Location = new System.Drawing.Point(536, 16);
this.lblname.Name = "lblname";
this.lblname.Size = new System.Drawing.Size(48, 23);
this.lblname.TabIndex = 5;
this.lblname.Text = "张三";
this.lblname.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// label4
//
this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -