📄 prosell.cs
字号:
this.label9.Size = new System.Drawing.Size(56, 23);
this.label9.TabIndex = 24;
this.label9.Text = "客户名称";
//
// textProSellID
//
this.textProSellID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProSellID.Cursor = System.Windows.Forms.Cursors.Arrow;
this.textProSellID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ProSellID"));
this.textProSellID.Location = new System.Drawing.Point(72, 16);
this.textProSellID.Name = "textProSellID";
this.textProSellID.Size = new System.Drawing.Size(120, 23);
this.textProSellID.TabIndex = 23;
this.textProSellID.Text = "";
//
// 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(8, 24);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(72, 23);
this.label8.TabIndex = 22;
this.label8.Text = "销售编号";
//
// dateTimePicker1
//
this.dateTimePicker1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ProSellDate"));
this.dateTimePicker1.Location = new System.Drawing.Point(312, 80);
this.dateTimePicker1.Name = "dateTimePicker1";
this.dateTimePicker1.Size = new System.Drawing.Size(128, 23);
this.dateTimePicker1.TabIndex = 21;
//
// combUnit
//
this.combUnit.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.objDataSetProSell, "ProSell.ProSellUnit"));
this.combUnit.Items.AddRange(new object[] {
"-请选择-",
"千克",
"吨",
"台",
"箱",
"袋",
"套",
"件",
"辆"});
this.combUnit.Location = new System.Drawing.Point(72, 176);
this.combUnit.Name = "combUnit";
this.combUnit.Size = new System.Drawing.Size(121, 22);
this.combUnit.TabIndex = 20;
this.combUnit.Text = "-请选择-";
//
// textProID
//
this.textProID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProID.Cursor = System.Windows.Forms.Cursors.Arrow;
this.textProID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ProductID"));
this.textProID.Location = new System.Drawing.Point(72, 48);
this.textProID.Name = "textProID";
this.textProID.Size = new System.Drawing.Size(120, 23);
this.textProID.TabIndex = 18;
this.textProID.Text = "";
//
// 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 = 17;
this.label7.Text = "商品编号";
//
// textProNumber
//
this.textProNumber.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProNumber.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ProSellNumber"));
this.textProNumber.Location = new System.Drawing.Point(312, 16);
this.textProNumber.Name = "textProNumber";
this.textProNumber.Size = new System.Drawing.Size(128, 23);
this.textProNumber.TabIndex = 15;
this.textProNumber.Text = "";
//
// textProPrice
//
this.textProPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProPrice.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ProSellPrice"));
this.textProPrice.Location = new System.Drawing.Point(312, 48);
this.textProPrice.Name = "textProPrice";
this.textProPrice.Size = new System.Drawing.Size(128, 23);
this.textProPrice.TabIndex = 13;
this.textProPrice.Text = "";
//
// textPeople
//
this.textPeople.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textPeople.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ProSellPeople"));
this.textPeople.Location = new System.Drawing.Point(312, 112);
this.textPeople.Name = "textPeople";
this.textPeople.Size = new System.Drawing.Size(128, 23);
this.textPeople.TabIndex = 12;
this.textPeople.Text = "";
//
// textClientID
//
this.textClientID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textClientID.Cursor = System.Windows.Forms.Cursors.Arrow;
this.textClientID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ClientID"));
this.textClientID.Location = new System.Drawing.Point(72, 112);
this.textClientID.Name = "textClientID";
this.textClientID.Size = new System.Drawing.Size(120, 23);
this.textClientID.TabIndex = 10;
this.textClientID.Text = "";
//
// groupBox2
//
this.groupBox2.Controls.Add(this.textRemark);
this.groupBox2.Location = new System.Drawing.Point(264, 136);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(184, 64);
this.groupBox2.TabIndex = 9;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "信息备注";
//
// textRemark
//
this.textRemark.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textRemark.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProSell, "ProSell.ProSellRemark"));
this.textRemark.Location = new System.Drawing.Point(16, 16);
this.textRemark.Multiline = true;
this.textRemark.Name = "textRemark";
this.textRemark.Size = new System.Drawing.Size(152, 32);
this.textRemark.TabIndex = 0;
this.textRemark.Text = "";
//
// 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(240, 48);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 23);
this.label5.TabIndex = 4;
this.label5.Text = "销售单价";
//
// label4
//
this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label4.Location = new System.Drawing.Point(240, 16);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(56, 23);
this.label4.TabIndex = 3;
this.label4.Text = "销售数量";
//
// label3
//
this.label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label3.Location = new System.Drawing.Point(240, 112);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(48, 23);
this.label3.TabIndex = 2;
this.label3.Text = "经手人";
//
// label2
//
this.label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label2.Location = new System.Drawing.Point(8, 176);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(56, 23);
this.label2.TabIndex = 1;
this.label2.Text = "商品单位";
//
// label1
//
this.label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label1.Location = new System.Drawing.Point(8, 120);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 23);
this.label1.TabIndex = 0;
this.label1.Text = "客户编号";
//
// label6
//
this.label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label6.Location = new System.Drawing.Point(240, 80);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(72, 23);
this.label6.TabIndex = 5;
this.label6.Text = "销售日期";
//
// btnExit
//
this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
this.btnExit.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnExit.Location = new System.Drawing.Point(416, 240);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(64, 24);
this.btnExit.TabIndex = 35;
this.btnExit.Text = "退出";
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// btnCancel
//
this.btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnCancel.Location = new System.Drawing.Point(240, 240);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(64, 24);
this.btnCancel.TabIndex = 36;
this.btnCancel.Text = "取消";
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// dataGrid1
//
this.dataGrid1.AlternatingBackColor = System.Drawing.Color.GhostWhite;
this.dataGrid1.BackColor = System.Drawing.Color.GhostWhite;
this.dataGrid1.BackgroundColor = System.Drawing.Color.Lavender;
this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dataGrid1.CaptionBackColor = System.Drawing.Color.RoyalBlue;
this.dataGrid1.CaptionForeColor = System.Drawing.Color.White;
this.dataGrid1.DataMember = "ProSell";
this.dataGrid1.DataSource = this.objDataSetProSell;
this.dataGrid1.FlatMode = true;
this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8F);
this.dataGrid1.ForeColor = System.Drawing.Color.MidnightBlue;
this.dataGrid1.GridLineColor = System.Drawing.Color.RoyalBlue;
this.dataGrid1.HeaderBackColor = System.Drawing.Color.MidnightBlue;
this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
this.dataGrid1.HeaderForeColor = System.Drawing.Color.Lavender;
this.dataGrid1.LinkColor = System.Drawing.Color.Teal;
this.dataGrid1.Location = new System.Drawing.Point(16, 272);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Lavender;
this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
this.dataGrid1.ReadOnly = true;
this.dataGrid1.SelectionBackColor = System.Drawing.Color.Teal;
this.dataGrid1.SelectionForeColor = System.Drawing.Color.PaleGreen;
this.dataGrid1.Size = new System.Drawing.Size(480, 152);
this.dataGrid1.TabIndex = 38;
this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
this.dataGridTableStyle1});
//
// dataGridTableStyle1
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -