681 lines
39 KiB
C#
681 lines
39 KiB
C#
namespace InvoicingTool
|
|
{
|
|
partial class PurchaseDetail
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PurchaseDetail));
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.lblMessage = new System.Windows.Forms.Label();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtBarcodeAdd = new System.Windows.Forms.TextBox();
|
|
this.btnCommodityAdd = new System.Windows.Forms.Button();
|
|
this.btnSave = new System.Windows.Forms.Button();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.ButtonColse = new System.Windows.Forms.Button();
|
|
this.txtboxentrycount = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtprice = new System.Windows.Forms.TextBox();
|
|
this.txtcount = new System.Windows.Forms.TextBox();
|
|
this.txtcountprice = new System.Windows.Forms.TextBox();
|
|
this.txtname = new System.Windows.Forms.TextBox();
|
|
this.txtShop = new System.Windows.Forms.TextBox();
|
|
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.label7 = new System.Windows.Forms.Label();
|
|
this.PurchasedetailGridView = new System.Windows.Forms.DataGridView();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.Purchase_I = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.purchasedetail_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.Delete = new System.Windows.Forms.DataGridViewLinkColumn();
|
|
this.commodity_barcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.commodity_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.ComboxUnit = new System.Windows.Forms.DataGridViewComboBoxColumn();
|
|
this.commodity_rule = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.purchase_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.unitcount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.purchase_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.total_count = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.total_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.box_unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.commodity_unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.box_price = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
this.panel1.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.PurchasedetailGridView)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
|
this.panel1.Controls.Add(this.panel2);
|
|
this.panel1.Controls.Add(this.label11);
|
|
this.panel1.Controls.Add(this.ButtonColse);
|
|
this.panel1.Location = new System.Drawing.Point(1, 1);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(762, 159);
|
|
this.panel1.TabIndex = 40;
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.BackColor = System.Drawing.Color.White;
|
|
this.panel2.Controls.Add(this.lblMessage);
|
|
this.panel2.Controls.Add(this.label6);
|
|
this.panel2.Controls.Add(this.txtBarcodeAdd);
|
|
this.panel2.Controls.Add(this.btnCommodityAdd);
|
|
this.panel2.Controls.Add(this.btnSave);
|
|
this.panel2.Location = new System.Drawing.Point(13, 45);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(736, 98);
|
|
this.panel2.TabIndex = 57;
|
|
//
|
|
// lblMessage
|
|
//
|
|
this.lblMessage.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.lblMessage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(140)))), ((int)(((byte)(213)))));
|
|
this.lblMessage.Location = new System.Drawing.Point(17, 66);
|
|
this.lblMessage.Name = "lblMessage";
|
|
this.lblMessage.Size = new System.Drawing.Size(704, 21);
|
|
this.lblMessage.TabIndex = 57;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.label6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(140)))), ((int)(((byte)(213)))));
|
|
this.label6.Location = new System.Drawing.Point(17, 20);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(138, 21);
|
|
this.label6.TabIndex = 56;
|
|
this.label6.Text = "请输入商品条码:";
|
|
//
|
|
// txtBarcodeAdd
|
|
//
|
|
this.txtBarcodeAdd.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtBarcodeAdd.Location = new System.Drawing.Point(161, 19);
|
|
this.txtBarcodeAdd.Name = "txtBarcodeAdd";
|
|
this.txtBarcodeAdd.Size = new System.Drawing.Size(307, 25);
|
|
this.txtBarcodeAdd.TabIndex = 0;
|
|
this.txtBarcodeAdd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarcodeAdd_KeyDown);
|
|
//
|
|
// btnCommodityAdd
|
|
//
|
|
this.btnCommodityAdd.AutoSize = true;
|
|
this.btnCommodityAdd.BackColor = System.Drawing.Color.White;
|
|
this.btnCommodityAdd.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnCommodityAdd.BackgroundImage")));
|
|
this.btnCommodityAdd.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|
this.btnCommodityAdd.FlatAppearance.BorderSize = 0;
|
|
this.btnCommodityAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnCommodityAdd.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.btnCommodityAdd.ForeColor = System.Drawing.Color.White;
|
|
this.btnCommodityAdd.Location = new System.Drawing.Point(545, 15);
|
|
this.btnCommodityAdd.Name = "btnCommodityAdd";
|
|
this.btnCommodityAdd.Size = new System.Drawing.Size(84, 31);
|
|
this.btnCommodityAdd.TabIndex = 47;
|
|
this.btnCommodityAdd.TabStop = false;
|
|
this.btnCommodityAdd.Text = "选择商品";
|
|
this.btnCommodityAdd.UseVisualStyleBackColor = false;
|
|
this.btnCommodityAdd.Click += new System.EventHandler(this.btnCommodityAdd_Click);
|
|
//
|
|
// btnSave
|
|
//
|
|
this.btnSave.AutoSize = true;
|
|
this.btnSave.BackColor = System.Drawing.Color.White;
|
|
this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
|
|
this.btnSave.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
|
this.btnSave.FlatAppearance.BorderSize = 0;
|
|
this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnSave.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.btnSave.ForeColor = System.Drawing.Color.White;
|
|
this.btnSave.Location = new System.Drawing.Point(649, 15);
|
|
this.btnSave.Name = "btnSave";
|
|
this.btnSave.Size = new System.Drawing.Size(72, 31);
|
|
this.btnSave.TabIndex = 52;
|
|
this.btnSave.TabStop = false;
|
|
this.btnSave.Text = "保存";
|
|
this.btnSave.UseVisualStyleBackColor = false;
|
|
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.label11.ForeColor = System.Drawing.Color.White;
|
|
this.label11.Location = new System.Drawing.Point(10, 3);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(530, 23);
|
|
this.label11.TabIndex = 40;
|
|
this.label11.Text = "采购单详情";
|
|
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// ButtonColse
|
|
//
|
|
this.ButtonColse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.ButtonColse.BackColor = System.Drawing.Color.Transparent;
|
|
this.ButtonColse.BackgroundImage = global::InvoicingTool.Properties.Resources.Close;
|
|
this.ButtonColse.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|
this.ButtonColse.FlatAppearance.BorderColor = System.Drawing.Color.White;
|
|
this.ButtonColse.FlatAppearance.BorderSize = 0;
|
|
this.ButtonColse.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Red;
|
|
this.ButtonColse.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DeepSkyBlue;
|
|
this.ButtonColse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.ButtonColse.Location = new System.Drawing.Point(739, 0);
|
|
this.ButtonColse.Name = "ButtonColse";
|
|
this.ButtonColse.Size = new System.Drawing.Size(20, 20);
|
|
this.ButtonColse.TabIndex = 39;
|
|
this.ButtonColse.TabStop = false;
|
|
this.ButtonColse.UseVisualStyleBackColor = false;
|
|
this.ButtonColse.Click += new System.EventHandler(this.ButtonColse_Click);
|
|
//
|
|
// txtboxentrycount
|
|
//
|
|
this.txtboxentrycount.Enabled = false;
|
|
this.txtboxentrycount.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtboxentrycount.Location = new System.Drawing.Point(466, 486);
|
|
this.txtboxentrycount.Name = "txtboxentrycount";
|
|
this.txtboxentrycount.Size = new System.Drawing.Size(98, 25);
|
|
this.txtboxentrycount.TabIndex = 54;
|
|
this.txtboxentrycount.Visible = false;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label5.ForeColor = System.Drawing.Color.White;
|
|
this.label5.Location = new System.Drawing.Point(395, 489);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(73, 17);
|
|
this.label5.TabIndex = 53;
|
|
this.label5.Text = "箱入数量:";
|
|
this.label5.Visible = false;
|
|
//
|
|
// txtprice
|
|
//
|
|
this.txtprice.Enabled = false;
|
|
this.txtprice.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtprice.Location = new System.Drawing.Point(269, 486);
|
|
this.txtprice.Name = "txtprice";
|
|
this.txtprice.Size = new System.Drawing.Size(120, 25);
|
|
this.txtprice.TabIndex = 51;
|
|
this.txtprice.Visible = false;
|
|
//
|
|
// txtcount
|
|
//
|
|
this.txtcount.Enabled = false;
|
|
this.txtcount.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtcount.Location = new System.Drawing.Point(99, 486);
|
|
this.txtcount.Name = "txtcount";
|
|
this.txtcount.Size = new System.Drawing.Size(93, 25);
|
|
this.txtcount.TabIndex = 50;
|
|
this.txtcount.Visible = false;
|
|
//
|
|
// txtcountprice
|
|
//
|
|
this.txtcountprice.Enabled = false;
|
|
this.txtcountprice.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtcountprice.Location = new System.Drawing.Point(641, 486);
|
|
this.txtcountprice.Name = "txtcountprice";
|
|
this.txtcountprice.Size = new System.Drawing.Size(124, 25);
|
|
this.txtcountprice.TabIndex = 49;
|
|
this.txtcountprice.Visible = false;
|
|
//
|
|
// txtname
|
|
//
|
|
this.txtname.Enabled = false;
|
|
this.txtname.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtname.Location = new System.Drawing.Point(388, 448);
|
|
this.txtname.Name = "txtname";
|
|
this.txtname.Size = new System.Drawing.Size(377, 25);
|
|
this.txtname.TabIndex = 48;
|
|
this.txtname.Visible = false;
|
|
//
|
|
// txtShop
|
|
//
|
|
this.txtShop.Enabled = false;
|
|
this.txtShop.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.txtShop.Location = new System.Drawing.Point(98, 448);
|
|
this.txtShop.Name = "txtShop";
|
|
this.txtShop.Size = new System.Drawing.Size(204, 25);
|
|
this.txtShop.TabIndex = 41;
|
|
this.txtShop.Visible = false;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label4.ForeColor = System.Drawing.Color.White;
|
|
this.label4.Location = new System.Drawing.Point(198, 489);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(73, 17);
|
|
this.label4.TabIndex = 46;
|
|
this.label4.Text = "商品单价:";
|
|
this.label4.Visible = false;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label3.ForeColor = System.Drawing.Color.White;
|
|
this.label3.Location = new System.Drawing.Point(26, 489);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(73, 17);
|
|
this.label3.TabIndex = 45;
|
|
this.label3.Text = "采购数量:";
|
|
this.label3.Visible = false;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label2.ForeColor = System.Drawing.Color.White;
|
|
this.label2.Location = new System.Drawing.Point(570, 489);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(73, 17);
|
|
this.label2.TabIndex = 44;
|
|
this.label2.Text = "商品总价:";
|
|
this.label2.Visible = false;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label1.ForeColor = System.Drawing.Color.White;
|
|
this.label1.Location = new System.Drawing.Point(308, 449);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(73, 17);
|
|
this.label1.TabIndex = 43;
|
|
this.label1.Text = "商品名称:";
|
|
this.label1.Visible = false;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label7.ForeColor = System.Drawing.Color.White;
|
|
this.label7.Location = new System.Drawing.Point(25, 451);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(73, 17);
|
|
this.label7.TabIndex = 42;
|
|
this.label7.Text = "商品条码:";
|
|
this.label7.Visible = false;
|
|
//
|
|
// PurchasedetailGridView
|
|
//
|
|
this.PurchasedetailGridView.AllowUserToAddRows = false;
|
|
this.PurchasedetailGridView.AllowUserToDeleteRows = false;
|
|
this.PurchasedetailGridView.AllowUserToResizeColumns = false;
|
|
this.PurchasedetailGridView.AllowUserToResizeRows = false;
|
|
this.PurchasedetailGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
this.PurchasedetailGridView.BackgroundColor = System.Drawing.Color.White;
|
|
this.PurchasedetailGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.PurchasedetailGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.SingleHorizontal;
|
|
this.PurchasedetailGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.PurchasedetailGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
|
|
this.PurchasedetailGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
|
|
this.PurchasedetailGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
|
this.Purchase_I,
|
|
this.purchasedetail_id,
|
|
this.Delete,
|
|
this.commodity_barcode,
|
|
this.commodity_name,
|
|
this.ComboxUnit,
|
|
this.commodity_rule,
|
|
this.unit,
|
|
this.purchase_count,
|
|
this.unitcount,
|
|
this.count,
|
|
this.purchase_price,
|
|
this.total_count,
|
|
this.total_price,
|
|
this.box_unit,
|
|
this.commodity_unit,
|
|
this.box_price});
|
|
this.PurchasedetailGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
|
|
this.PurchasedetailGridView.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(209)))), ((int)(((byte)(209)))));
|
|
this.PurchasedetailGridView.Location = new System.Drawing.Point(7, 166);
|
|
this.PurchasedetailGridView.MultiSelect = false;
|
|
this.PurchasedetailGridView.Name = "PurchasedetailGridView";
|
|
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
|
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
|
dataGridViewCellStyle11.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
|
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
|
this.PurchasedetailGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
|
this.PurchasedetailGridView.RowHeadersVisible = false;
|
|
this.PurchasedetailGridView.RowTemplate.Height = 23;
|
|
this.PurchasedetailGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
|
|
this.PurchasedetailGridView.Size = new System.Drawing.Size(751, 374);
|
|
this.PurchasedetailGridView.TabIndex = 41;
|
|
this.PurchasedetailGridView.DataSourceChanged += new System.EventHandler(this.PurchasedetailGridView_DataSourceChanged);
|
|
this.PurchasedetailGridView.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.PurchasedetailGridView_CellClick);
|
|
this.PurchasedetailGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.PurchasedetailGridView_CellContentClick);
|
|
this.PurchasedetailGridView.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.PurchasedetailGridView_CellValueChanged);
|
|
this.PurchasedetailGridView.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.PurchasedetailGridView_ColumnHeaderMouseClick);
|
|
this.PurchasedetailGridView.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.PurchasedetailGridView_DataError);
|
|
this.PurchasedetailGridView.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.PurchasedetailGridView_RowEnter);
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.BackColor = System.Drawing.Color.Transparent;
|
|
this.label10.Font = new System.Drawing.Font("微软雅黑", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label10.ForeColor = System.Drawing.Color.White;
|
|
this.label10.Location = new System.Drawing.Point(571, 542);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(181, 17);
|
|
this.label10.TabIndex = 43;
|
|
this.label10.Text = "©2016 杭州驿商科技有限公司";
|
|
//
|
|
// Purchase_I
|
|
//
|
|
this.Purchase_I.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.Purchase_I.DataPropertyName = "id";
|
|
this.Purchase_I.FillWeight = 5F;
|
|
this.Purchase_I.HeaderText = "序号";
|
|
this.Purchase_I.Name = "Purchase_I";
|
|
this.Purchase_I.ReadOnly = true;
|
|
this.Purchase_I.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// purchasedetail_id
|
|
//
|
|
this.purchasedetail_id.DataPropertyName = "purchasedetail_id";
|
|
this.purchasedetail_id.HeaderText = "purchasedetail_id";
|
|
this.purchasedetail_id.Name = "purchasedetail_id";
|
|
this.purchasedetail_id.Visible = false;
|
|
//
|
|
// Delete
|
|
//
|
|
this.Delete.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle2.NullValue = "删除";
|
|
this.Delete.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.Delete.FillWeight = 5F;
|
|
this.Delete.HeaderText = "操作";
|
|
this.Delete.Name = "Delete";
|
|
this.Delete.ReadOnly = true;
|
|
this.Delete.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
this.Delete.Text = "删除";
|
|
//
|
|
// commodity_barcode
|
|
//
|
|
this.commodity_barcode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.commodity_barcode.DataPropertyName = "commodity_barcode";
|
|
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
this.commodity_barcode.DefaultCellStyle = dataGridViewCellStyle3;
|
|
this.commodity_barcode.FillWeight = 15F;
|
|
this.commodity_barcode.HeaderText = "商品条码";
|
|
this.commodity_barcode.Name = "commodity_barcode";
|
|
this.commodity_barcode.ReadOnly = true;
|
|
this.commodity_barcode.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// commodity_name
|
|
//
|
|
this.commodity_name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.commodity_name.DataPropertyName = "commodity_name";
|
|
this.commodity_name.FillWeight = 20F;
|
|
this.commodity_name.HeaderText = "商品名称";
|
|
this.commodity_name.Name = "commodity_name";
|
|
this.commodity_name.ReadOnly = true;
|
|
//
|
|
// ComboxUnit
|
|
//
|
|
this.ComboxUnit.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
this.ComboxUnit.DefaultCellStyle = dataGridViewCellStyle4;
|
|
this.ComboxUnit.FillWeight = 8F;
|
|
this.ComboxUnit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.ComboxUnit.HeaderText = "单位1";
|
|
this.ComboxUnit.Items.AddRange(new object[] {
|
|
"是",
|
|
"否"});
|
|
this.ComboxUnit.Name = "ComboxUnit";
|
|
//
|
|
// commodity_rule
|
|
//
|
|
this.commodity_rule.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.commodity_rule.DataPropertyName = "commodity_rule";
|
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
this.commodity_rule.DefaultCellStyle = dataGridViewCellStyle5;
|
|
this.commodity_rule.FillWeight = 8F;
|
|
this.commodity_rule.HeaderText = "规格";
|
|
this.commodity_rule.Name = "commodity_rule";
|
|
this.commodity_rule.ReadOnly = true;
|
|
//
|
|
// unit
|
|
//
|
|
this.unit.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.unit.DataPropertyName = "unit";
|
|
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
this.unit.DefaultCellStyle = dataGridViewCellStyle6;
|
|
this.unit.FillWeight = 7F;
|
|
this.unit.HeaderText = "单位";
|
|
this.unit.Name = "unit";
|
|
this.unit.ReadOnly = true;
|
|
//
|
|
// purchase_count
|
|
//
|
|
this.purchase_count.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.purchase_count.DataPropertyName = "purchase_count";
|
|
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle7.Format = "N2";
|
|
dataGridViewCellStyle7.NullValue = "0";
|
|
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.purchase_count.DefaultCellStyle = dataGridViewCellStyle7;
|
|
this.purchase_count.FillWeight = 10F;
|
|
this.purchase_count.HeaderText = "采购数量";
|
|
this.purchase_count.Name = "purchase_count";
|
|
this.purchase_count.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// unitcount
|
|
//
|
|
this.unitcount.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.unitcount.DataPropertyName = "unitcount";
|
|
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle8.Format = "N2";
|
|
dataGridViewCellStyle8.NullValue = "0";
|
|
this.unitcount.DefaultCellStyle = dataGridViewCellStyle8;
|
|
this.unitcount.FillWeight = 10F;
|
|
this.unitcount.HeaderText = "箱入数";
|
|
this.unitcount.Name = "unitcount";
|
|
//
|
|
// count
|
|
//
|
|
this.count.DataPropertyName = "count";
|
|
this.count.HeaderText = "初始数量";
|
|
this.count.Name = "count";
|
|
this.count.ReadOnly = true;
|
|
this.count.Visible = false;
|
|
//
|
|
// purchase_price
|
|
//
|
|
this.purchase_price.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.purchase_price.DataPropertyName = "purchase_price";
|
|
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle9.Format = "N2";
|
|
dataGridViewCellStyle9.NullValue = "0";
|
|
this.purchase_price.DefaultCellStyle = dataGridViewCellStyle9;
|
|
this.purchase_price.FillWeight = 10F;
|
|
this.purchase_price.HeaderText = "单价";
|
|
this.purchase_price.Name = "purchase_price";
|
|
this.purchase_price.ReadOnly = true;
|
|
this.purchase_price.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// total_count
|
|
//
|
|
this.total_count.DataPropertyName = "total_count";
|
|
this.total_count.HeaderText = "商品总数";
|
|
this.total_count.Name = "total_count";
|
|
this.total_count.Visible = false;
|
|
//
|
|
// total_price
|
|
//
|
|
this.total_price.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.total_price.DataPropertyName = "total_price";
|
|
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
|
|
dataGridViewCellStyle10.Format = "N2";
|
|
dataGridViewCellStyle10.NullValue = "0";
|
|
this.total_price.DefaultCellStyle = dataGridViewCellStyle10;
|
|
this.total_price.FillWeight = 10F;
|
|
this.total_price.HeaderText = "总价";
|
|
this.total_price.Name = "total_price";
|
|
this.total_price.ReadOnly = true;
|
|
this.total_price.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
//
|
|
// box_unit
|
|
//
|
|
this.box_unit.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.box_unit.DataPropertyName = "box_unit";
|
|
this.box_unit.FillWeight = 8F;
|
|
this.box_unit.HeaderText = "box_unit";
|
|
this.box_unit.Name = "box_unit";
|
|
this.box_unit.Visible = false;
|
|
//
|
|
// commodity_unit
|
|
//
|
|
this.commodity_unit.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.commodity_unit.DataPropertyName = "commodity_unit";
|
|
this.commodity_unit.FillWeight = 8F;
|
|
this.commodity_unit.HeaderText = "commodity_unit";
|
|
this.commodity_unit.Name = "commodity_unit";
|
|
this.commodity_unit.Visible = false;
|
|
//
|
|
// box_price
|
|
//
|
|
this.box_price.HeaderText = "box_price";
|
|
this.box_price.Name = "box_price";
|
|
this.box_price.Visible = false;
|
|
//
|
|
// PurchaseDetail
|
|
//
|
|
this.AccessibleRole = System.Windows.Forms.AccessibleRole.Cursor;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.Color.DodgerBlue;
|
|
this.BackgroundImage = global::InvoicingTool.Properties.Resources.背景;
|
|
this.ClientSize = new System.Drawing.Size(764, 561);
|
|
this.Controls.Add(this.label10);
|
|
this.Controls.Add(this.PurchasedetailGridView);
|
|
this.Controls.Add(this.txtboxentrycount);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.txtprice);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.txtcount);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.txtcountprice);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.txtname);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.txtShop);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "PurchaseDetail";
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "PurchaseDetail";
|
|
this.TopMost = true;
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PurchaseDetail_FormClosing);
|
|
this.Load += new System.EventHandler(this.PurchaseDetail_Load);
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel2.ResumeLayout(false);
|
|
this.panel2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.PurchasedetailGridView)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button ButtonColse;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label label11;
|
|
private System.Windows.Forms.DataGridView PurchasedetailGridView;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.TextBox txtShop;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button btnCommodityAdd;
|
|
private System.Windows.Forms.TextBox txtname;
|
|
private System.Windows.Forms.TextBox txtcountprice;
|
|
private System.Windows.Forms.TextBox txtprice;
|
|
private System.Windows.Forms.TextBox txtcount;
|
|
private System.Windows.Forms.Button btnSave;
|
|
private System.Windows.Forms.TextBox txtboxentrycount;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox txtBarcodeAdd;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Label lblMessage;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Purchase_I;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn purchasedetail_id;
|
|
private System.Windows.Forms.DataGridViewLinkColumn Delete;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn commodity_barcode;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn commodity_name;
|
|
private System.Windows.Forms.DataGridViewComboBoxColumn ComboxUnit;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn commodity_rule;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn unit;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn purchase_count;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn unitcount;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn count;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn purchase_price;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn total_count;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn total_price;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn box_unit;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn commodity_unit;
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn box_price;
|
|
}
|
|
} |