📄 frmkaidan.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>
/// frmkaidan 的摘要说明。
/// </summary>
public class frmkaidan : System.Windows.Forms.Form
{
string j;
ListView lv;
string z;
DataSet objset=new DataSet();
cs.Class1 zuowei=new bggl.cs.Class1();
string zhi;
string empty="";
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox textBox7;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.DateTimePicker dateTimePicker1;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ColumnHeader columnHeader6;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox textBox6;
private System.ComponentModel.IContainer components;
public frmkaidan(string i,string o,ListView aa)
{
j=i;
z=o;
lv=aa;
//
// 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.components = new System.ComponentModel.Container();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.textBox6 = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.button3 = new System.Windows.Forms.Button();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.textBox4 = new System.Windows.Forms.TextBox();
this.button4 = new System.Windows.Forms.Button();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.textBox1 = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.textBox8 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.textBox7 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.button2);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.button7);
this.groupBox1.Location = new System.Drawing.Point(0, 248);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(600, 56);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "操作";
//
// button2
//
this.button2.Location = new System.Drawing.Point(440, 16);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(72, 32);
this.button2.TabIndex = 7;
this.button2.Text = "移除";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(360, 16);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(72, 32);
this.button1.TabIndex = 0;
this.button1.Text = "开单";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button7
//
this.button7.Location = new System.Drawing.Point(520, 16);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(72, 32);
this.button7.TabIndex = 6;
this.button7.Text = "退出";
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.textBox6);
this.groupBox2.Controls.Add(this.label8);
this.groupBox2.Controls.Add(this.button3);
this.groupBox2.Controls.Add(this.textBox5);
this.groupBox2.Controls.Add(this.label1);
this.groupBox2.Controls.Add(this.textBox4);
this.groupBox2.Controls.Add(this.button4);
this.groupBox2.Controls.Add(this.textBox1);
this.groupBox2.Controls.Add(this.label7);
this.groupBox2.Controls.Add(this.dateTimePicker1);
this.groupBox2.Controls.Add(this.textBox3);
this.groupBox2.Controls.Add(this.label6);
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Controls.Add(this.textBox8);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Controls.Add(this.textBox7);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.textBox2);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Location = new System.Drawing.Point(0, 304);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(600, 176);
this.groupBox2.TabIndex = 4;
this.groupBox2.TabStop = false;
this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter);
//
// textBox6
//
this.textBox6.Location = new System.Drawing.Point(72, 56);
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(104, 21);
this.textBox6.TabIndex = 36;
this.textBox6.Text = "";
//
// label8
//
this.label8.Location = new System.Drawing.Point(8, 64);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(72, 24);
this.label8.TabIndex = 35;
this.label8.Text = "餐厅类型:";
//
// button3
//
this.button3.Location = new System.Drawing.Point(352, 24);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(24, 21);
this.button3.TabIndex = 34;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(448, 64);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(104, 21);
this.textBox5.TabIndex = 33;
this.textBox5.Text = "";
//
// label1
//
this.label1.Location = new System.Drawing.Point(384, 64);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(48, 16);
this.label1.TabIndex = 32;
this.label1.Text = "折扣:";
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(264, 24);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(80, 21);
this.textBox4.TabIndex = 31;
this.textBox4.Text = "";
//
// button4
//
this.button4.ImageList = this.imageList1;
this.button4.Location = new System.Drawing.Point(72, 96);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(32, 32);
this.button4.TabIndex = 30;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// imageList1
//
this.imageList1.ImageSize = new System.Drawing.Size(30, 30);
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(448, 104);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(104, 21);
this.textBox1.TabIndex = 29;
this.textBox1.Text = "";
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// label7
//
this.label7.Location = new System.Drawing.Point(384, 104);
this.label7.Name = "label7";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -