📄 form6.cs
字号:
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label6
//
this.label6.Location = new System.Drawing.Point(16, 360);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(64, 23);
this.label6.TabIndex = 7;
this.label6.Text = "编号";
this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label7
//
this.label7.Font = new System.Drawing.Font("宋体", 10F);
this.label7.ForeColor = System.Drawing.Color.Blue;
this.label7.Location = new System.Drawing.Point(232, 264);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(64, 23);
this.label7.TabIndex = 8;
this.label7.Text = "总价格";
this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label8
//
this.label8.Font = new System.Drawing.Font("宋体", 10F);
this.label8.ForeColor = System.Drawing.Color.Blue;
this.label8.Location = new System.Drawing.Point(232, 312);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(64, 23);
this.label8.TabIndex = 9;
this.label8.Text = "收款";
this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label9
//
this.label9.Font = new System.Drawing.Font("宋体", 10F);
this.label9.ForeColor = System.Drawing.Color.Blue;
this.label9.Location = new System.Drawing.Point(232, 408);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(64, 23);
this.label9.TabIndex = 10;
this.label9.Text = "找零";
this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// label10
//
this.label10.Font = new System.Drawing.Font("宋体", 10F);
this.label10.Location = new System.Drawing.Point(472, 264);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(64, 23);
this.label10.TabIndex = 11;
this.label10.Text = "付款方式";
this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label10.Click += new System.EventHandler(this.label10_Click);
//
// label11
//
this.label11.Font = new System.Drawing.Font("宋体", 10F);
this.label11.Location = new System.Drawing.Point(472, 312);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(64, 23);
this.label11.TabIndex = 12;
this.label11.Text = "数量";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label11.Click += new System.EventHandler(this.label11_Click);
//
// label12
//
this.label12.Font = new System.Drawing.Font("宋体", 10F);
this.label12.Location = new System.Drawing.Point(472, 360);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(64, 23);
this.label12.TabIndex = 13;
this.label12.Text = "流水号";
this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.label12.Click += new System.EventHandler(this.label12_Click);
//
// button1
//
this.button1.Font = new System.Drawing.Font("宋体", 11F);
this.button1.ForeColor = System.Drawing.Color.Red;
this.button1.Location = new System.Drawing.Point(296, 360);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(104, 32);
this.button1.TabIndex = 3;
this.button1.Text = "收 银";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// txtid6
//
this.txtid6.Location = new System.Drawing.Point(80, 264);
this.txtid6.Name = "txtid6";
this.txtid6.TabIndex = 1;
this.txtid6.Text = "";
//
// txtn6
//
this.txtn6.Location = new System.Drawing.Point(80, 312);
this.txtn6.Name = "txtn6";
this.txtn6.TabIndex = 16;
this.txtn6.TabStop = false;
this.txtn6.Text = "";
//
// txti6
//
this.txti6.Location = new System.Drawing.Point(80, 360);
this.txti6.Name = "txti6";
this.txti6.TabIndex = 17;
this.txti6.TabStop = false;
this.txti6.Text = "";
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(296, 264);
this.textBox4.Name = "textBox4";
this.textBox4.TabIndex = 18;
this.textBox4.TabStop = false;
this.textBox4.Text = "";
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(296, 312);
this.textBox5.Name = "textBox5";
this.textBox5.TabIndex = 2;
this.textBox5.Text = "";
//
// textBox6
//
this.textBox6.Location = new System.Drawing.Point(304, 408);
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(88, 21);
this.textBox6.TabIndex = 20;
this.textBox6.TabStop = false;
this.textBox6.Text = "";
//
// textBox7
//
this.textBox7.Location = new System.Drawing.Point(536, 312);
this.textBox7.Name = "textBox7";
this.textBox7.TabIndex = 4;
this.textBox7.Text = "";
//
// txtliushuihao
//
this.txtliushuihao.Location = new System.Drawing.Point(536, 360);
this.txtliushuihao.Name = "txtliushuihao";
this.txtliushuihao.TabIndex = 22;
this.txtliushuihao.TabStop = false;
this.txtliushuihao.Text = "";
this.txtliushuihao.TextChanged += new System.EventHandler(this.textBox8_TextChanged);
//
// comboBox1
//
this.comboBox1.Items.AddRange(new object[] {
"现金",
"信用卡",
"支票"});
this.comboBox1.Location = new System.Drawing.Point(536, 264);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(104, 20);
this.comboBox1.TabIndex = 23;
this.comboBox1.TabStop = false;
//
// label13
//
this.label13.Font = new System.Drawing.Font("宋体", 12F);
this.label13.ForeColor = System.Drawing.Color.Blue;
this.label13.Location = new System.Drawing.Point(160, 0);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(408, 32);
this.label13.TabIndex = 24;
this.label13.Text = "杭 州 电 子 科 技 大 学 华 联 超 市 销 售 系 统";
this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label14
//
this.label14.BackColor = System.Drawing.Color.Red;
this.label14.Location = new System.Drawing.Point(520, 416);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(192, 23);
this.label14.TabIndex = 25;
this.label14.Text = "格式版面 未完成";
this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// Form6
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(736, 458);
this.Controls.Add(this.label14);
this.Controls.Add(this.label13);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.txtliushuihao);
this.Controls.Add(this.textBox7);
this.Controls.Add(this.textBox6);
this.Controls.Add(this.textBox5);
this.Controls.Add(this.textBox4);
this.Controls.Add(this.txti6);
this.Controls.Add(this.txtn6);
this.Controls.Add(this.txtid6);
this.Controls.Add(this.button1);
this.Controls.Add(this.label12);
this.Controls.Add(this.label11);
this.Controls.Add(this.label10);
this.Controls.Add(this.label9);
this.Controls.Add(this.label8);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.dataGrid1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "Form6";
this.Text = "Form6";
this.Load += new System.EventHandler(this.Form6_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit();
this.ResumeLayout(false);
}
#endregion
private void Form6_Load(object sender, System.EventArgs e)
{
}
private void dataGrid1_Navigate(object sender, System.Windows.Forms.NavigateEventArgs ne)
{
}
private void label11_Click(object sender, System.EventArgs e)
{
}
private void label12_Click(object sender, System.EventArgs e)
{
}
private void label10_Click(object sender, System.EventArgs e)
{
}
private void textBox8_TextChanged(object sender, System.EventArgs e)
{
}
private void button1_Click(object sender, System.EventArgs e)
{
jjjj++;
txtliushuihao.Text=jjjj.ToString();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -