📄 frmzdcx.cs
字号:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
namespace bggl.fm
{
/// <summary>
/// frmzdcx 的摘要说明。
/// </summary>
public class frmzdcx : System.Windows.Forms.Form
{
string deskc="";
string settypec="";
string knumberc="";
string knamec="";
string khaoc="";
string zkc="";
string Ddtimec="";
string spersonc="";
DataSet objset=new DataSet();
bggl.cs.tablezhangdan zhangdan=new bggl.cs.tablezhangdan();
bggl.cs.diancai sel=new bggl.cs.diancai();
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
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.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.DateTimePicker dateTimePicker1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button4;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public frmzdcx(string deska,string settypea,string knumbera,string knamea,string khaoa,string zka,string Ddtimea,string spersona)
{
deskc=deska;
settypec=settypea;
knumberc=knumbera;
knamec=knamea;
khaoc=khaoa;
zkc=zka;
Ddtimec=Ddtimea;
spersonc=spersona;
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <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.label20 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.label22 = new System.Windows.Forms.Label();
this.label21 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label19 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label18 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
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.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
this.button2 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label20);
this.groupBox1.Controls.Add(this.label14);
this.groupBox1.Controls.Add(this.dateTimePicker1);
this.groupBox1.Controls.Add(this.label22);
this.groupBox1.Controls.Add(this.label21);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.label19);
this.groupBox1.Controls.Add(this.textBox1);
this.groupBox1.Controls.Add(this.label18);
this.groupBox1.Controls.Add(this.label17);
this.groupBox1.Controls.Add(this.label16);
this.groupBox1.Controls.Add(this.label15);
this.groupBox1.Controls.Add(this.label13);
this.groupBox1.Controls.Add(this.label12);
this.groupBox1.Controls.Add(this.label11);
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.label4);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.label24);
this.groupBox1.Location = new System.Drawing.Point(0, 184);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(576, 224);
this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false;
//
// label20
//
this.label20.Location = new System.Drawing.Point(72, 160);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(96, 24);
this.label20.TabIndex = 27;
this.label20.Text = "label20";
//
// label14
//
this.label14.Location = new System.Drawing.Point(16, 160);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(48, 16);
this.label14.TabIndex = 26;
this.label14.Text = "折扣:";
//
// dateTimePicker1
//
this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dateTimePicker1.Location = new System.Drawing.Point(464, 112);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(96, 21);
this.dateTimePicker1.TabIndex = 25;
//
// label22
//
this.label22.Location = new System.Drawing.Point(72, 48);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(88, 24);
this.label22.TabIndex = 24;
this.label22.Text = "label22";
//
// label21
//
this.label21.Location = new System.Drawing.Point(16, 48);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(56, 24);
this.label21.TabIndex = 23;
this.label21.Text = "帐单号:";
//
// button1
//
this.button1.Location = new System.Drawing.Point(64, 192);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(32, 24);
this.button1.TabIndex = 21;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label19
//
this.label19.Location = new System.Drawing.Point(16, 200);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(48, 16);
this.label19.TabIndex = 20;
this.label19.Text = "找零:";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(464, 152);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(96, 21);
this.textBox1.TabIndex = 19;
this.textBox1.Text = "";
this.textBox1.Leave += new System.EventHandler(this.textBox1_Leave);
//
// label18
//
this.label18.Location = new System.Drawing.Point(400, 160);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(72, 16);
this.label18.TabIndex = 18;
this.label18.Text = "实收价格:";
//
// label17
//
this.label17.Location = new System.Drawing.Point(288, 160);
this.label17.Name = "label17";
this.label17.TabIndex = 17;
this.label17.Text = "label17";
//
// label16
//
this.label16.Location = new System.Drawing.Point(216, 160);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(72, 24);
this.label16.TabIndex = 16;
this.label16.Text = "应收价格:";
//
// label15
//
this.label15.Location = new System.Drawing.Point(288, 120);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(88, 24);
this.label15.TabIndex = 15;
this.label15.Text = "label15";
//
// label13
//
this.label13.Location = new System.Drawing.Point(400, 120);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(72, 24);
this.label13.TabIndex = 12;
this.label13.Text = "结帐时间:";
//
// label12
//
this.label12.Location = new System.Drawing.Point(72, 120);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(136, 24);
this.label12.TabIndex = 11;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -