📄 probuy.cs
字号:
this.dataGridTextBoxColumn1.HeaderText = "进货号码";
this.dataGridTextBoxColumn1.MappingName = "ProBuyID";
this.dataGridTextBoxColumn1.NullText = "";
this.dataGridTextBoxColumn1.Width = 75;
//
// dataGridTextBoxColumn2
//
this.dataGridTextBoxColumn2.Format = "";
this.dataGridTextBoxColumn2.FormatInfo = null;
this.dataGridTextBoxColumn2.HeaderText = "商品号";
this.dataGridTextBoxColumn2.MappingName = "ProductID";
this.dataGridTextBoxColumn2.NullText = "";
this.dataGridTextBoxColumn2.Width = 50;
//
// dataGridTextBoxColumn3
//
this.dataGridTextBoxColumn3.Format = "";
this.dataGridTextBoxColumn3.FormatInfo = null;
this.dataGridTextBoxColumn3.HeaderText = "供应商";
this.dataGridTextBoxColumn3.MappingName = "ProviderID";
this.dataGridTextBoxColumn3.NullText = "";
this.dataGridTextBoxColumn3.Width = 50;
//
// dataGridTextBoxColumn7
//
this.dataGridTextBoxColumn7.Format = "";
this.dataGridTextBoxColumn7.FormatInfo = null;
this.dataGridTextBoxColumn7.HeaderText = "单位";
this.dataGridTextBoxColumn7.MappingName = "ProBuyUnit";
this.dataGridTextBoxColumn7.NullText = "";
this.dataGridTextBoxColumn7.Width = 40;
//
// dataGridTextBoxColumn8
//
this.dataGridTextBoxColumn8.Format = "";
this.dataGridTextBoxColumn8.FormatInfo = null;
this.dataGridTextBoxColumn8.HeaderText = "数量";
this.dataGridTextBoxColumn8.MappingName = "ProBuyNumber";
this.dataGridTextBoxColumn8.NullText = "";
this.dataGridTextBoxColumn8.Width = 40;
//
// dataGridTextBoxColumn4
//
this.dataGridTextBoxColumn4.Format = "";
this.dataGridTextBoxColumn4.FormatInfo = null;
this.dataGridTextBoxColumn4.HeaderText = "单价";
this.dataGridTextBoxColumn4.MappingName = "ProBuyPrice";
this.dataGridTextBoxColumn4.NullText = "";
this.dataGridTextBoxColumn4.Width = 50;
//
// dataGridTextBoxColumn5
//
this.dataGridTextBoxColumn5.Format = "";
this.dataGridTextBoxColumn5.FormatInfo = null;
this.dataGridTextBoxColumn5.HeaderText = "进货日期";
this.dataGridTextBoxColumn5.MappingName = "ProBuyDate";
this.dataGridTextBoxColumn5.NullText = "";
this.dataGridTextBoxColumn5.Width = 75;
//
// dataGridTextBoxColumn6
//
this.dataGridTextBoxColumn6.Format = "";
this.dataGridTextBoxColumn6.FormatInfo = null;
this.dataGridTextBoxColumn6.HeaderText = "经手人";
this.dataGridTextBoxColumn6.MappingName = "ProBuyPeople";
this.dataGridTextBoxColumn6.NullText = "";
this.dataGridTextBoxColumn6.Width = 50;
//
// btnApply
//
this.btnApply.Image = ((System.Drawing.Image)(resources.GetObject("btnApply.Image")));
this.btnApply.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnApply.Location = new System.Drawing.Point(312, 224);
this.btnApply.Name = "btnApply";
this.btnApply.Size = new System.Drawing.Size(56, 24);
this.btnApply.TabIndex = 45;
this.btnApply.Text = "确定";
this.btnApply.Click += new System.EventHandler(this.btnApply_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.textProviderName);
this.groupBox1.Controls.Add(this.label10);
this.groupBox1.Controls.Add(this.textProName);
this.groupBox1.Controls.Add(this.label9);
this.groupBox1.Controls.Add(this.textProBuyID);
this.groupBox1.Controls.Add(this.label8);
this.groupBox1.Controls.Add(this.dateTimePicker1);
this.groupBox1.Controls.Add(this.combUnit);
this.groupBox1.Controls.Add(this.textProID);
this.groupBox1.Controls.Add(this.label7);
this.groupBox1.Controls.Add(this.textProNumber);
this.groupBox1.Controls.Add(this.textProPrice);
this.groupBox1.Controls.Add(this.textPeople);
this.groupBox1.Controls.Add(this.textProviderID);
this.groupBox1.Controls.Add(this.groupBox2);
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.label6);
this.groupBox1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(8, 0);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(480, 216);
this.groupBox1.TabIndex = 42;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "进货记录";
//
// textProviderName
//
this.textProviderName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProviderName.Cursor = System.Windows.Forms.Cursors.Arrow;
this.textProviderName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProBuy, "ProBuy.ProviderName"));
this.textProviderName.Location = new System.Drawing.Point(72, 152);
this.textProviderName.Name = "textProviderName";
this.textProviderName.Size = new System.Drawing.Size(120, 23);
this.textProviderName.TabIndex = 27;
this.textProviderName.Text = "";
//
// label10
//
this.label10.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label10.Location = new System.Drawing.Point(8, 160);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(72, 23);
this.label10.TabIndex = 26;
this.label10.Text = "供应商名称";
//
// textProName
//
this.textProName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProName.Cursor = System.Windows.Forms.Cursors.Arrow;
this.textProName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProBuy, "ProBuy.ProductName"));
this.textProName.Location = new System.Drawing.Point(72, 88);
this.textProName.Name = "textProName";
this.textProName.Size = new System.Drawing.Size(120, 23);
this.textProName.TabIndex = 25;
this.textProName.Text = "";
//
// label9
//
this.label9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
this.label9.Location = new System.Drawing.Point(8, 96);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(56, 23);
this.label9.TabIndex = 24;
this.label9.Text = "商品名称";
//
// textProBuyID
//
this.textProBuyID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.textProBuyID.Cursor = System.Windows.Forms.Cursors.Arrow;
this.textProBuyID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objDataSetProBuy, "ProBuy.ProBuyID"));
this.textProBuyID.Location = new System.Drawing.Point(72, 24);
this.textProBuyID.Name = "textProBuyID";
this.textProBuyID.Size = new System.Drawing.Size(120, 23);
this.textProBuyID.TabIndex = 23;
this.textProBuyID.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.objDataSetProBuy, "ProBuy.ProBuyDate"));
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.objDataSetProBuy, "ProBuy.ProBuyUnit"));
this.combUnit.Items.AddRange(new object[] {
"-请选择-",
"千克",
"吨",
"台",
"箱",
"袋",
"套",
"件",
"辆"});
this.combUnit.Location = new System.Drawing.Point(72, 184);
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.objDataSetProBuy, "ProBuy.ProductID"));
this.textProID.Location = new System.Drawing.Point(72, 56);
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.objDataSetProBuy, "ProBuy.ProBuyNumber"));
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.objDataSetProBuy, "ProBuy.ProBuyPrice"));
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.objDataSetProBuy, "ProBuy.ProBuyPeople"));
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 = "";
//
// textProviderID
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -