Exemplo n.º 1
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.label6 = new System.Windows.Forms.Label();
            this.txtCount = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.label8 = new System.Windows.Forms.Label();
            this.itemTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ItemTableAdapter();
            this.label5 = new System.Windows.Forms.Label();
            this.btnInvoiceSubmit = new System.Windows.Forms.Button();
            this.lstInvoice = new System.Windows.Forms.ListView();
            this.ID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.ItemID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.ItemFullName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.Count = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.Price = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.TotalPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.SalePrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.cmbDistributor = new System.Windows.Forms.ComboBox();
            this.storeDBDataSet = new Store.DB.StoreDBDataSet();
            this.label9 = new System.Windows.Forms.Label();
            this.txtTotal = new System.Windows.Forms.TextBox();
            this.btnAddDistributor = new System.Windows.Forms.Button();
            this.btnAddInvoiceItem = new System.Windows.Forms.Button();
            this.btnDeleteInvoice = new System.Windows.Forms.Button();
            this.invoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceTableAdapter();
            this.invoiceItemTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceItemTableAdapter();
            this.abrDateInvoiceDate = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker();
            this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
            this.txtItemNameID = new System.Windows.Forms.TextBox();
            this.label11 = new System.Windows.Forms.Label();
            this.chkPaidInvoice = new System.Windows.Forms.CheckBox();
            this.btnSub1000 = new System.Windows.Forms.Button();
            this.viewInvoiceItemOnInvoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewInvoiceItemOnInvoiceTableAdapter();
            this.btnCalculateTax = new System.Windows.Forms.Button();
            this.lstItems = new System.Windows.Forms.ListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.btnAddNewItem = new System.Windows.Forms.Button();
            this.btnImportExcel = new System.Windows.Forms.Button();
            this.ofd = new System.Windows.Forms.OpenFileDialog();
            this.chkFixNegative = new System.Windows.Forms.CheckBox();
            this.storeDBEntitiesBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.timer = new System.Windows.Forms.Timer(this.components);
            this.label1 = new System.Windows.Forms.Label();
            this.btnAdd15Per = new System.Windows.Forms.Button();
            this.btnAdd20Per = new System.Windows.Forms.Button();
            this.btnAdd25Per = new System.Windows.Forms.Button();
            this.label2 = new System.Windows.Forms.Label();
            this.rdbtnPaidCheque = new System.Windows.Forms.RadioButton();
            this.rdbtnPaidCash = new System.Windows.Forms.RadioButton();
            this.numDiscount = new System.Windows.Forms.NumericUpDown();
            this.txtNewSalePrice = new System.Windows.Forms.NumericUpDown();
            this.txtPrice = new System.Windows.Forms.NumericUpDown();
            this.txtPureTotal = new System.Windows.Forms.TextBox();
            this.label3 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.numExpenses = new System.Windows.Forms.NumericUpDown();
            this.txtDescription = new System.Windows.Forms.TextBox();
            this.label10 = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.storeDBEntitiesBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.numDiscount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNewSalePrice)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtPrice)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.numExpenses)).BeginInit();
            this.SuspendLayout();
            // 
            // label6
            // 
            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(559, 23);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(38, 20);
            this.label6.TabIndex = 20;
            this.label6.Text = "به نام";
            // 
            // txtCount
            // 
            this.txtCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtCount.Enabled = false;
            this.txtCount.Location = new System.Drawing.Point(603, 58);
            this.txtCount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.txtCount.Name = "txtCount";
            this.txtCount.Size = new System.Drawing.Size(118, 27);
            this.txtCount.TabIndex = 2;
            this.txtCount.TextChanged += new System.EventHandler(this.txtCount_TextChanged);
            this.txtCount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCount_KeyPress);
            // 
            // label7
            // 
            this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(687, 35);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(35, 20);
            this.label7.TabIndex = 28;
            this.label7.Text = "تعداد";
            // 
            // label8
            // 
            this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(667, 92);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(49, 20);
            this.label8.TabIndex = 29;
            this.label8.Text = "فی واحد";
            // 
            // itemTableAdapter
            // 
            this.itemTableAdapter.ClearBeforeFill = true;
            // 
            // label5
            // 
            this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(196, 23);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(51, 20);
            this.label5.TabIndex = 19;
            this.label5.Text = "در تاریخ";
            // 
            // btnInvoiceSubmit
            // 
            this.btnInvoiceSubmit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnInvoiceSubmit.Font = new System.Drawing.Font("XB Roya", 14F);
            this.btnInvoiceSubmit.Location = new System.Drawing.Point(14, 595);
            this.btnInvoiceSubmit.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnInvoiceSubmit.Name = "btnInvoiceSubmit";
            this.btnInvoiceSubmit.Size = new System.Drawing.Size(220, 69);
            this.btnInvoiceSubmit.TabIndex = 16;
            this.btnInvoiceSubmit.Text = "ثبت فاکتور";
            this.btnInvoiceSubmit.UseVisualStyleBackColor = true;
            this.btnInvoiceSubmit.Click += new System.EventHandler(this.btnInvoiceSubmit_Click);
            // 
            // lstInvoice
            // 
            this.lstInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lstInvoice.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.ID,
            this.ItemID,
            this.ItemFullName,
            this.Count,
            this.Price,
            this.TotalPrice,
            this.SalePrice});
            this.lstInvoice.Font = new System.Drawing.Font("XB Roya", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lstInvoice.FullRowSelect = true;
            this.lstInvoice.HideSelection = false;
            this.lstInvoice.Location = new System.Drawing.Point(14, 58);
            this.lstInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.lstInvoice.Name = "lstInvoice";
            this.lstInvoice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lstInvoice.RightToLeftLayout = true;
            this.lstInvoice.Size = new System.Drawing.Size(581, 494);
            this.lstInvoice.TabIndex = 20;
            this.lstInvoice.UseCompatibleStateImageBehavior = false;
            this.lstInvoice.View = System.Windows.Forms.View.Details;
            this.lstInvoice.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lstInvoice_ColumnClick);
            this.lstInvoice.SelectedIndexChanged += new System.EventHandler(this.lstInvoice_SelectedIndexChanged);
            // 
            // ID
            // 
            this.ID.Text = "ردیف";
            this.ID.Width = 44;
            // 
            // ItemID
            // 
            this.ItemID.Text = "شماره";
            this.ItemID.Width = 70;
            // 
            // ItemFullName
            // 
            this.ItemFullName.Text = "نام کالا";
            this.ItemFullName.Width = 120;
            // 
            // Count
            // 
            this.Count.Text = "تعداد";
            this.Count.Width = 35;
            // 
            // Price
            // 
            this.Price.Text = "فی واحد";
            this.Price.Width = 55;
            // 
            // TotalPrice
            // 
            this.TotalPrice.Text = "فی کل";
            this.TotalPrice.Width = 90;
            // 
            // SalePrice
            // 
            this.SalePrice.Text = "قیمت فروش";
            this.SalePrice.Width = 80;
            // 
            // cmbDistributor
            // 
            this.cmbDistributor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbDistributor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbDistributor.FormattingEnabled = true;
            this.cmbDistributor.ItemHeight = 19;
            this.cmbDistributor.Location = new System.Drawing.Point(411, 19);
            this.cmbDistributor.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.cmbDistributor.Name = "cmbDistributor";
            this.cmbDistributor.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.cmbDistributor.Size = new System.Drawing.Size(140, 27);
            this.cmbDistributor.TabIndex = 17;
            // 
            // storeDBDataSet
            // 
            this.storeDBDataSet.DataSetName = "StoreDBDataSet";
            this.storeDBDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // label9
            // 
            this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(140, 560);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(75, 20);
            this.label9.TabIndex = 23;
            this.label9.Text = "قابل پرداخت";
            // 
            // txtTotal
            // 
            this.txtTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTotal.Enabled = false;
            this.txtTotal.Font = new System.Drawing.Font("XB Roya", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtTotal.Location = new System.Drawing.Point(14, 554);
            this.txtTotal.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.txtTotal.Name = "txtTotal";
            this.txtTotal.ReadOnly = true;
            this.txtTotal.Size = new System.Drawing.Size(116, 33);
            this.txtTotal.TabIndex = 22;
            this.txtTotal.Text = "1111111111";
            // 
            // btnAddDistributor
            // 
            this.btnAddDistributor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddDistributor.Image = global::Store.Properties.Resources.edit_add;
            this.btnAddDistributor.Location = new System.Drawing.Point(374, 12);
            this.btnAddDistributor.Margin = new System.Windows.Forms.Padding(0);
            this.btnAddDistributor.Name = "btnAddDistributor";
            this.btnAddDistributor.Size = new System.Drawing.Size(33, 41);
            this.btnAddDistributor.TabIndex = 18;
            this.btnAddDistributor.UseVisualStyleBackColor = true;
            this.btnAddDistributor.Click += new System.EventHandler(this.btnAddDistributor_Click);
            // 
            // btnAddInvoiceItem
            // 
            this.btnAddInvoiceItem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddInvoiceItem.Enabled = false;
            this.btnAddInvoiceItem.Image = global::Store.Properties.Resources.leftarrow;
            this.btnAddInvoiceItem.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.btnAddInvoiceItem.Location = new System.Drawing.Point(603, 409);
            this.btnAddInvoiceItem.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnAddInvoiceItem.Name = "btnAddInvoiceItem";
            this.btnAddInvoiceItem.Size = new System.Drawing.Size(119, 67);
            this.btnAddInvoiceItem.TabIndex = 9;
            this.btnAddInvoiceItem.Text = "افزودن به فاکتور";
            this.btnAddInvoiceItem.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            this.btnAddInvoiceItem.UseVisualStyleBackColor = true;
            this.btnAddInvoiceItem.Click += new System.EventHandler(this.btnAddInvoiceItem_Click);
            // 
            // btnDeleteInvoice
            // 
            this.btnDeleteInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnDeleteInvoice.Image = global::Store.Properties.Resources.cancel;
            this.btnDeleteInvoice.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnDeleteInvoice.Location = new System.Drawing.Point(603, 485);
            this.btnDeleteInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnDeleteInvoice.Name = "btnDeleteInvoice";
            this.btnDeleteInvoice.Size = new System.Drawing.Size(119, 44);
            this.btnDeleteInvoice.TabIndex = 21;
            this.btnDeleteInvoice.Text = "حذف از فاکتور";
            this.btnDeleteInvoice.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnDeleteInvoice.UseVisualStyleBackColor = true;
            this.btnDeleteInvoice.Click += new System.EventHandler(this.btnDeleteInvoice_Click);
            // 
            // invoiceTableAdapter
            // 
            this.invoiceTableAdapter.ClearBeforeFill = true;
            // 
            // invoiceItemTableAdapter
            // 
            this.invoiceItemTableAdapter.ClearBeforeFill = true;
            // 
            // abrDateInvoiceDate
            // 
            this.abrDateInvoiceDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.abrDateInvoiceDate.EndOfYears = 1900;
            this.abrDateInvoiceDate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254)))));
            this.abrDateInvoiceDate.isBorder3D = true;
            this.abrDateInvoiceDate.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrDateInvoiceDate.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrDateInvoiceDate.Location = new System.Drawing.Point(14, 13);
            this.abrDateInvoiceDate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.abrDateInvoiceDate.MaximumSize = new System.Drawing.Size(175, 37);
            this.abrDateInvoiceDate.MinimumSize = new System.Drawing.Size(175, 37);
            this.abrDateInvoiceDate.Name = "abrDateInvoiceDate";
            this.abrDateInvoiceDate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.abrDateInvoiceDate.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202)))));
            this.abrDateInvoiceDate.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
            this.abrDateInvoiceDate.SelectedDate = new System.DateTime(2012, 3, 30, 1, 1, 1, 1);
            this.abrDateInvoiceDate.SelectedDateString = "1391/01/11";
            this.abrDateInvoiceDate.SelectedMonthName = null;
            this.abrDateInvoiceDate.Size = new System.Drawing.Size(175, 37);
            this.abrDateInvoiceDate.StartOfYears = 1350;
            this.abrDateInvoiceDate.TabIndex = 19;
            this.abrDateInvoiceDate.Paint += new System.Windows.Forms.PaintEventHandler(this.abrDateInvoiceDate_Paint);
            // 
            // errorProvider
            // 
            this.errorProvider.ContainerControl = this;
            // 
            // txtItemNameID
            // 
            this.txtItemNameID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtItemNameID.Location = new System.Drawing.Point(853, 26);
            this.txtItemNameID.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.txtItemNameID.Name = "txtItemNameID";
            this.txtItemNameID.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.txtItemNameID.Size = new System.Drawing.Size(262, 27);
            this.txtItemNameID.TabIndex = 0;
            this.txtItemNameID.TextChanged += new System.EventHandler(this.txtItemNameID_TextChanged);
            this.txtItemNameID.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtItemNameID_KeyPress);
            // 
            // label11
            // 
            this.label11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(1122, 31);
            this.label11.Name = "label11";
            this.label11.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label11.Size = new System.Drawing.Size(58, 20);
            this.label11.TabIndex = 25;
            this.label11.Text = "نام یا کد:";
            // 
            // chkPaidInvoice
            // 
            this.chkPaidInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.chkPaidInvoice.AutoSize = true;
            this.chkPaidInvoice.Location = new System.Drawing.Point(499, 555);
            this.chkPaidInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.chkPaidInvoice.Name = "chkPaidInvoice";
            this.chkPaidInvoice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.chkPaidInvoice.Size = new System.Drawing.Size(93, 24);
            this.chkPaidInvoice.TabIndex = 11;
            this.chkPaidInvoice.Text = "پرداخت شده";
            this.chkPaidInvoice.UseVisualStyleBackColor = true;
            this.chkPaidInvoice.CheckedChanged += new System.EventHandler(this.chkPaidInvoice_CheckedChanged);
            // 
            // btnSub1000
            // 
            this.btnSub1000.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnSub1000.AutoSize = true;
            this.btnSub1000.Location = new System.Drawing.Point(240, 595);
            this.btnSub1000.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnSub1000.Name = "btnSub1000";
            this.btnSub1000.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.btnSub1000.Size = new System.Drawing.Size(103, 30);
            this.btnSub1000.TabIndex = 15;
            this.btnSub1000.Text = "کسر 1000 ریال";
            this.btnSub1000.UseVisualStyleBackColor = true;
            this.btnSub1000.Click += new System.EventHandler(this.btnSub1000_Click);
            // 
            // viewInvoiceItemOnInvoiceTableAdapter
            // 
            this.viewInvoiceItemOnInvoiceTableAdapter.ClearBeforeFill = true;
            // 
            // btnCalculateTax
            // 
            this.btnCalculateTax.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCalculateTax.AutoSize = true;
            this.btnCalculateTax.Location = new System.Drawing.Point(603, 153);
            this.btnCalculateTax.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnCalculateTax.Name = "btnCalculateTax";
            this.btnCalculateTax.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.btnCalculateTax.Size = new System.Drawing.Size(119, 34);
            this.btnCalculateTax.TabIndex = 4;
            this.btnCalculateTax.Text = "ارزش افزوده 9%";
            this.btnCalculateTax.UseVisualStyleBackColor = true;
            this.btnCalculateTax.Click += new System.EventHandler(this.btnCalculateTax_Click);
            // 
            // lstItems
            // 
            this.lstItems.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lstItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader5});
            this.lstItems.Font = new System.Drawing.Font("XB Roya", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lstItems.FullRowSelect = true;
            this.lstItems.GridLines = true;
            this.lstItems.HideSelection = false;
            this.lstItems.Location = new System.Drawing.Point(729, 58);
            this.lstItems.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.lstItems.MultiSelect = false;
            this.lstItems.Name = "lstItems";
            this.lstItems.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lstItems.RightToLeftLayout = true;
            this.lstItems.ShowGroups = false;
            this.lstItems.Size = new System.Drawing.Size(446, 494);
            this.lstItems.TabIndex = 1;
            this.lstItems.UseCompatibleStateImageBehavior = false;
            this.lstItems.View = System.Windows.Forms.View.Details;
            this.lstItems.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lstItems_ColumnClick);
            this.lstItems.SelectedIndexChanged += new System.EventHandler(this.lstItems_SelectedIndexChanged);
            this.lstItems.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.lstItems_KeyPress);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "کد";
            this.columnHeader1.Width = 120;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "نام کالا";
            this.columnHeader2.Width = 250;
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "موجودی";
            this.columnHeader5.Width = 61;
            // 
            // btnAddNewItem
            // 
            this.btnAddNewItem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddNewItem.Image = global::Store.Properties.Resources.edit_add;
            this.btnAddNewItem.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnAddNewItem.Location = new System.Drawing.Point(729, 23);
            this.btnAddNewItem.Margin = new System.Windows.Forms.Padding(0);
            this.btnAddNewItem.Name = "btnAddNewItem";
            this.btnAddNewItem.Size = new System.Drawing.Size(100, 30);
            this.btnAddNewItem.TabIndex = 22;
            this.btnAddNewItem.Text = "کالای جدید";
            this.btnAddNewItem.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnAddNewItem.UseVisualStyleBackColor = true;
            this.btnAddNewItem.Click += new System.EventHandler(this.btnAddNewItem_Click);
            // 
            // btnImportExcel
            // 
            this.btnImportExcel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnImportExcel.AutoSize = true;
            this.btnImportExcel.Location = new System.Drawing.Point(603, 599);
            this.btnImportExcel.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnImportExcel.Name = "btnImportExcel";
            this.btnImportExcel.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.btnImportExcel.Size = new System.Drawing.Size(118, 34);
            this.btnImportExcel.TabIndex = 20;
            this.btnImportExcel.Text = "ورود از فایل اکسل";
            this.btnImportExcel.UseVisualStyleBackColor = true;
            this.btnImportExcel.Click += new System.EventHandler(this.btnImportExcel_Click);
            // 
            // ofd
            // 
            this.ofd.Filter = "Excel 2003 Files|*.xls|Excel 2007-2010 Files|*.xlsx";
            // 
            // chkFixNegative
            // 
            this.chkFixNegative.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.chkFixNegative.AutoSize = true;
            this.chkFixNegative.Checked = true;
            this.chkFixNegative.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkFixNegative.Location = new System.Drawing.Point(628, 547);
            this.chkFixNegative.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.chkFixNegative.Name = "chkFixNegative";
            this.chkFixNegative.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.chkFixNegative.Size = new System.Drawing.Size(94, 44);
            this.chkFixNegative.TabIndex = 13;
            this.chkFixNegative.Text = "تصحیح تعداد\r\n منفی";
            this.chkFixNegative.UseVisualStyleBackColor = true;
            // 
            // storeDBEntitiesBindingSource
            // 
            this.storeDBEntitiesBindingSource.DataSource = typeof(Store.DB.StoreDBEntities);
            // 
            // timer
            // 
            this.timer.Enabled = true;
            this.timer.Interval = 500;
            this.timer.Tick += new System.EventHandler(this.timer_Tick);
            // 
            // label1
            // 
            this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(653, 348);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(73, 20);
            this.label1.TabIndex = 23;
            this.label1.Text = "قیمت فروش";
            // 
            // btnAdd15Per
            // 
            this.btnAdd15Per.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAdd15Per.AutoSize = true;
            this.btnAdd15Per.Location = new System.Drawing.Point(603, 243);
            this.btnAdd15Per.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnAdd15Per.Name = "btnAdd15Per";
            this.btnAdd15Per.Size = new System.Drawing.Size(119, 34);
            this.btnAdd15Per.TabIndex = 5;
            this.btnAdd15Per.Text = "+15%";
            this.btnAdd15Per.UseVisualStyleBackColor = true;
            this.btnAdd15Per.Click += new System.EventHandler(this.btnAddProfit_Click);
            // 
            // btnAdd20Per
            // 
            this.btnAdd20Per.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAdd20Per.AutoSize = true;
            this.btnAdd20Per.Location = new System.Drawing.Point(603, 276);
            this.btnAdd20Per.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnAdd20Per.Name = "btnAdd20Per";
            this.btnAdd20Per.Size = new System.Drawing.Size(119, 34);
            this.btnAdd20Per.TabIndex = 6;
            this.btnAdd20Per.Text = "+20%";
            this.btnAdd20Per.UseVisualStyleBackColor = true;
            this.btnAdd20Per.Click += new System.EventHandler(this.btnAddProfit_Click);
            // 
            // btnAdd25Per
            // 
            this.btnAdd25Per.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAdd25Per.AutoSize = true;
            this.btnAdd25Per.Location = new System.Drawing.Point(603, 310);
            this.btnAdd25Per.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnAdd25Per.Name = "btnAdd25Per";
            this.btnAdd25Per.Size = new System.Drawing.Size(119, 34);
            this.btnAdd25Per.TabIndex = 7;
            this.btnAdd25Per.Text = "+25%";
            this.btnAdd25Per.UseVisualStyleBackColor = true;
            this.btnAdd25Per.Click += new System.EventHandler(this.btnAddProfit_Click);
            // 
            // label2
            // 
            this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(458, 597);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(43, 20);
            this.label2.TabIndex = 23;
            this.label2.Text = "تخفیف";
            // 
            // rdbtnPaidCheque
            // 
            this.rdbtnPaidCheque.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.rdbtnPaidCheque.AutoSize = true;
            this.rdbtnPaidCheque.Checked = true;
            this.rdbtnPaidCheque.Enabled = false;
            this.rdbtnPaidCheque.Location = new System.Drawing.Point(544, 581);
            this.rdbtnPaidCheque.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.rdbtnPaidCheque.Name = "rdbtnPaidCheque";
            this.rdbtnPaidCheque.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.rdbtnPaidCheque.Size = new System.Drawing.Size(48, 24);
            this.rdbtnPaidCheque.TabIndex = 12;
            this.rdbtnPaidCheque.TabStop = true;
            this.rdbtnPaidCheque.Text = "چک";
            this.rdbtnPaidCheque.UseVisualStyleBackColor = true;
            // 
            // rdbtnPaidCash
            // 
            this.rdbtnPaidCash.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.rdbtnPaidCash.AutoSize = true;
            this.rdbtnPaidCash.Enabled = false;
            this.rdbtnPaidCash.Location = new System.Drawing.Point(500, 581);
            this.rdbtnPaidCash.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.rdbtnPaidCash.Name = "rdbtnPaidCash";
            this.rdbtnPaidCash.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.rdbtnPaidCash.Size = new System.Drawing.Size(43, 24);
            this.rdbtnPaidCash.TabIndex = 13;
            this.rdbtnPaidCash.Text = "نقد";
            this.rdbtnPaidCash.UseVisualStyleBackColor = true;
            // 
            // numDiscount
            // 
            this.numDiscount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.numDiscount.Location = new System.Drawing.Point(349, 595);
            this.numDiscount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.numDiscount.Maximum = new decimal(new int[] {
            -559939585,
            902409669,
            54,
            0});
            this.numDiscount.Name = "numDiscount";
            this.numDiscount.Size = new System.Drawing.Size(106, 27);
            this.numDiscount.TabIndex = 14;
            this.numDiscount.ThousandsSeparator = true;
            this.numDiscount.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.numDiscount.ValueChanged += new System.EventHandler(this.txtDiscountValue_ValueChanged);
            this.numDiscount.Enter += new System.EventHandler(this.numeric_Enter);
            this.numDiscount.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numeric_KeyPress);
            // 
            // txtNewSalePrice
            // 
            this.txtNewSalePrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtNewSalePrice.Location = new System.Drawing.Point(603, 371);
            this.txtNewSalePrice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.txtNewSalePrice.Maximum = new decimal(new int[] {
            -559939585,
            902409669,
            54,
            0});
            this.txtNewSalePrice.Name = "txtNewSalePrice";
            this.txtNewSalePrice.Size = new System.Drawing.Size(119, 27);
            this.txtNewSalePrice.TabIndex = 8;
            this.txtNewSalePrice.ThousandsSeparator = true;
            this.txtNewSalePrice.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.txtNewSalePrice.ValueChanged += new System.EventHandler(this.txtNewSalePrice_TextChanged);
            this.txtNewSalePrice.Enter += new System.EventHandler(this.numeric_Enter);
            this.txtNewSalePrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numeric_KeyPress);
            // 
            // txtPrice
            // 
            this.txtPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtPrice.Location = new System.Drawing.Point(603, 115);
            this.txtPrice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.txtPrice.Maximum = new decimal(new int[] {
            -559939585,
            902409669,
            54,
            0});
            this.txtPrice.Name = "txtPrice";
            this.txtPrice.Size = new System.Drawing.Size(119, 27);
            this.txtPrice.TabIndex = 3;
            this.txtPrice.ThousandsSeparator = true;
            this.txtPrice.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.txtPrice.ValueChanged += new System.EventHandler(this.txtPrice_TextChanged);
            this.txtPrice.Enter += new System.EventHandler(this.numeric_Enter);
            this.txtPrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numeric_KeyPress);
            // 
            // txtPureTotal
            // 
            this.txtPureTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtPureTotal.Enabled = false;
            this.txtPureTotal.Font = new System.Drawing.Font("XB Roya", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtPureTotal.Location = new System.Drawing.Point(240, 554);
            this.txtPureTotal.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.txtPureTotal.Name = "txtPureTotal";
            this.txtPureTotal.ReadOnly = true;
            this.txtPureTotal.Size = new System.Drawing.Size(116, 33);
            this.txtPureTotal.TabIndex = 30;
            this.txtPureTotal.Text = "1111111111";
            // 
            // label3
            // 
            this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(366, 560);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(61, 20);
            this.label3.TabIndex = 31;
            this.label3.Text = "مجموع کل";
            // 
            // label4
            // 
            this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(458, 628);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(43, 20);
            this.label4.TabIndex = 23;
            this.label4.Text = "باربری";
            // 
            // numExpenses
            // 
            this.numExpenses.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.numExpenses.Location = new System.Drawing.Point(349, 626);
            this.numExpenses.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.numExpenses.Maximum = new decimal(new int[] {
            -559939585,
            902409669,
            54,
            0});
            this.numExpenses.Name = "numExpenses";
            this.numExpenses.Size = new System.Drawing.Size(106, 27);
            this.numExpenses.TabIndex = 14;
            this.numExpenses.ThousandsSeparator = true;
            this.numExpenses.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left;
            this.numExpenses.ValueChanged += new System.EventHandler(this.txtDiscountValue_ValueChanged);
            this.numExpenses.Enter += new System.EventHandler(this.numeric_Enter);
            this.numExpenses.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.numeric_KeyPress);
            // 
            // txtDescription
            // 
            this.txtDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtDescription.Location = new System.Drawing.Point(728, 581);
            this.txtDescription.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.txtDescription.Multiline = true;
            this.txtDescription.Name = "txtDescription";
            this.txtDescription.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.txtDescription.Size = new System.Drawing.Size(448, 83);
            this.txtDescription.TabIndex = 32;
            // 
            // label10
            // 
            this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label10.AutoSize = true;
            this.label10.Location = new System.Drawing.Point(1114, 557);
            this.label10.Name = "label10";
            this.label10.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label10.Size = new System.Drawing.Size(65, 20);
            this.label10.TabIndex = 23;
            this.label10.Text = "توضیحات :";
            // 
            // InvoiceBuyForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 19F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.SkyBlue;
            this.ClientSize = new System.Drawing.Size(1184, 666);
            this.Controls.Add(this.txtDescription);
            this.Controls.Add(this.txtPureTotal);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.txtPrice);
            this.Controls.Add(this.txtNewSalePrice);
            this.Controls.Add(this.numExpenses);
            this.Controls.Add(this.numDiscount);
            this.Controls.Add(this.rdbtnPaidCash);
            this.Controls.Add(this.rdbtnPaidCheque);
            this.Controls.Add(this.btnSub1000);
            this.Controls.Add(this.btnAdd15Per);
            this.Controls.Add(this.lstItems);
            this.Controls.Add(this.chkFixNegative);
            this.Controls.Add(this.chkPaidInvoice);
            this.Controls.Add(this.btnAdd25Per);
            this.Controls.Add(this.btnAdd20Per);
            this.Controls.Add(this.btnImportExcel);
            this.Controls.Add(this.btnCalculateTax);
            this.Controls.Add(this.label11);
            this.Controls.Add(this.txtItemNameID);
            this.Controls.Add(this.abrDateInvoiceDate);
            this.Controls.Add(this.btnDeleteInvoice);
            this.Controls.Add(this.btnAddInvoiceItem);
            this.Controls.Add(this.btnAddNewItem);
            this.Controls.Add(this.btnAddDistributor);
            this.Controls.Add(this.txtTotal);
            this.Controls.Add(this.cmbDistributor);
            this.Controls.Add(this.lstInvoice);
            this.Controls.Add(this.btnInvoiceSubmit);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.label8);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label10);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label9);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.txtCount);
            this.Font = new System.Drawing.Font("XB Roya", 9.25F);
            this.KeyPreview = true;
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.Name = "InvoiceBuyForm";
            this.Text = "ثبت فاکتور خرید";
            this.Activated += new System.EventHandler(this.InvoiceBuyForm_Activated);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.InvoiceBuyForm_FormClosing);
            this.Load += new System.EventHandler(this.BuyInvoiceForm_Load);
            this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.InvoiceBuyForm_KeyPress);
            ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.storeDBEntitiesBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.numDiscount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtNewSalePrice)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtPrice)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.numExpenses)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Exemplo n.º 2
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.abrEndDate = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker();
            this.abrStartDate = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker();
            this.label1 = new Label();
            this.label2 = new Label();
            this.lstAvailableAtEndDate = new PrintableListView.PrintableListView();
            this.ID = ((ColumnHeader)(new ColumnHeader()));
            this.ItemName = ((ColumnHeader)(new ColumnHeader()));
            this.Number = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader2 = ((ColumnHeader)(new ColumnHeader()));
            this.lstAvailableAtStartDate = new PrintableListView.PrintableListView();
            this.columnHeader4 = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader5 = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader6 = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader1 = ((ColumnHeader)(new ColumnHeader()));
            this.label5 = new Label();
            this.btnCalculateSum = new Button();
            this.label3 = new Label();
            this.lblTotalStartDate = new Label();
            this.lblTotalEndDate = new Label();
            this.label19 = new Label();
            this.label20 = new Label();
            this.label21 = new Label();
            this.label24 = new Label();
            this.label25 = new Label();
            this.lblTotalOtherPayment = new Label();
            this.lblTotalSalary = new Label();
            this.lblTotalBills = new Label();
            this.lblTotalSales = new Label();
            this.lblTotalCheques = new Label();
            this.lblPaymentTotalSum = new Label();
            this.label6 = new Label();
            this.lblTotalPersonal = new Label();
            this.label8 = new Label();
            this.storeDBDataSet = new Store.DB.StoreDBDataSet();
            this.viewInvoiceItemOnInvoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewInvoiceItemOnInvoiceTableAdapter();
            this.dailyTransactionTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.DailyTransactionTableAdapter();
            this.chequeTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ChequeTableAdapter();
            this.invoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceTableAdapter();
            this.lblTotalBuy = new Label();
            this.label7 = new Label();
            this.btnExportStartToFile = new Button();
            this.btnExportEndToFile = new Button();
            this.label4 = new Label();
            this.label9 = new Label();
            this.btnPrintStartList = new Button();
            this.btnPrintEndList = new Button();
            this.prgCalculate = new ProgressBar();
            this.lblTotalSaleDiscount = new Label();
            this.lblTotalBuyDiscount = new Label();
            this.label12 = new Label();
            this.label13 = new Label();
            this.lblProfit = new Label();
            this.label11 = new Label();
            this.lblProfitPercentage = new Label();
            this.label15 = new Label();
            this.groupBox1 = new GroupBox();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).BeginInit();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            // 
            // abrEndDate
            // 
            this.abrEndDate.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.abrEndDate.EndOfYears = 1900;
            this.abrEndDate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254)))));
            this.abrEndDate.isBorder3D = true;
            this.abrEndDate.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrEndDate.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrEndDate.Location = new System.Drawing.Point(484, 6);
            this.abrEndDate.MaximumSize = new System.Drawing.Size(150, 25);
            this.abrEndDate.MinimumSize = new System.Drawing.Size(150, 25);
            this.abrEndDate.Name = "abrEndDate";
            this.abrEndDate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.abrEndDate.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202)))));
            this.abrEndDate.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
            this.abrEndDate.SelectedDate = new System.DateTime(2013, 12, 9, 1, 1, 1, 1);
            this.abrEndDate.SelectedDateString = "1392/09/18";
            this.abrEndDate.SelectedMonthName = null;
            this.abrEndDate.Size = new System.Drawing.Size(150, 25);
            this.abrEndDate.StartOfYears = 1350;
            this.abrEndDate.TabIndex = 0;
            // 
            // abrStartDate
            // 
            this.abrStartDate.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.abrStartDate.EndOfYears = 1900;
            this.abrStartDate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254)))));
            this.abrStartDate.isBorder3D = true;
            this.abrStartDate.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrStartDate.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrStartDate.Location = new System.Drawing.Point(920, 6);
            this.abrStartDate.MaximumSize = new System.Drawing.Size(150, 25);
            this.abrStartDate.MinimumSize = new System.Drawing.Size(150, 25);
            this.abrStartDate.Name = "abrStartDate";
            this.abrStartDate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.abrStartDate.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202)))));
            this.abrStartDate.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
            this.abrStartDate.SelectedDate = new System.DateTime(2013, 12, 9, 1, 1, 1, 1);
            this.abrStartDate.SelectedDateString = "1392/09/18";
            this.abrStartDate.SelectedMonthName = null;
            this.abrStartDate.Size = new System.Drawing.Size(150, 25);
            this.abrStartDate.StartOfYears = 1350;
            this.abrStartDate.TabIndex = 0;
            // 
            // label1
            // 
            this.label1.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(1075, 11);
            this.label1.Margin = new Padding(2, 0, 2, 0);
            this.label1.Name = "label1";
            this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label1.Size = new System.Drawing.Size(68, 13);
            this.label1.TabIndex = 1;
            this.label1.Text = "تاریخ شروع :";
            // 
            // label2
            // 
            this.label2.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(639, 11);
            this.label2.Margin = new Padding(2, 0, 2, 0);
            this.label2.Name = "label2";
            this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label2.Size = new System.Drawing.Size(64, 13);
            this.label2.TabIndex = 2;
            this.label2.Text = "تاریخ پایان :";
            // 
            // lstAvailableAtEndDate
            // 
            this.lstAvailableAtEndDate.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Bottom) 
            | AnchorStyles.Right)));
            this.lstAvailableAtEndDate.Columns.AddRange(new ColumnHeader[] {
            this.ID,
            this.ItemName,
            this.Number,
            this.columnHeader2});
            this.lstAvailableAtEndDate.FitToPage = false;
            this.lstAvailableAtEndDate.FullRowSelect = true;
            this.lstAvailableAtEndDate.GridLines = true;
            this.lstAvailableAtEndDate.HideSelection = false;
            this.lstAvailableAtEndDate.Location = new System.Drawing.Point(275, 70);
            this.lstAvailableAtEndDate.Margin = new Padding(2);
            this.lstAvailableAtEndDate.Name = "lstAvailableAtEndDate";
            this.lstAvailableAtEndDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lstAvailableAtEndDate.RightToLeftLayout = true;
            this.lstAvailableAtEndDate.Size = new System.Drawing.Size(425, 353);
            this.lstAvailableAtEndDate.TabIndex = 3;
            this.lstAvailableAtEndDate.Title = "";
            this.lstAvailableAtEndDate.UseCompatibleStateImageBehavior = false;
            this.lstAvailableAtEndDate.View = View.Details;
            this.lstAvailableAtEndDate.ColumnClick += new ColumnClickEventHandler(this.lst_ColumnClick);
            // 
            // ID
            // 
            this.ID.Text = "کد";
            // 
            // ItemName
            // 
            this.ItemName.Text = "نام";
            // 
            // Number
            // 
            this.Number.Text = "تعداد";
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "آخرین خرید";
            this.columnHeader2.Width = 65;
            // 
            // lstAvailableAtStartDate
            // 
            this.lstAvailableAtStartDate.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Bottom) 
            | AnchorStyles.Right)));
            this.lstAvailableAtStartDate.Columns.AddRange(new ColumnHeader[] {
            this.columnHeader4,
            this.columnHeader5,
            this.columnHeader6,
            this.columnHeader1});
            this.lstAvailableAtStartDate.FitToPage = false;
            this.lstAvailableAtStartDate.FullRowSelect = true;
            this.lstAvailableAtStartDate.GridLines = true;
            this.lstAvailableAtStartDate.HideSelection = false;
            this.lstAvailableAtStartDate.Location = new System.Drawing.Point(713, 70);
            this.lstAvailableAtStartDate.Margin = new Padding(2);
            this.lstAvailableAtStartDate.Name = "lstAvailableAtStartDate";
            this.lstAvailableAtStartDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lstAvailableAtStartDate.RightToLeftLayout = true;
            this.lstAvailableAtStartDate.Size = new System.Drawing.Size(427, 353);
            this.lstAvailableAtStartDate.TabIndex = 7;
            this.lstAvailableAtStartDate.Title = "";
            this.lstAvailableAtStartDate.UseCompatibleStateImageBehavior = false;
            this.lstAvailableAtStartDate.View = View.Details;
            this.lstAvailableAtStartDate.ColumnClick += new ColumnClickEventHandler(this.lst_ColumnClick);
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "کد";
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "نام";
            // 
            // columnHeader6
            // 
            this.columnHeader6.Text = "تعداد";
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "آخرین خرید";
            this.columnHeader1.Width = 63;
            // 
            // label5
            // 
            this.label5.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label5.AutoSize = true;
            this.label5.Location = new System.Drawing.Point(590, 48);
            this.label5.Margin = new Padding(2, 0, 2, 0);
            this.label5.Name = "label5";
            this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label5.Size = new System.Drawing.Size(113, 13);
            this.label5.TabIndex = 8;
            this.label5.Text = "موجودی در تاریخ پایان";
            // 
            // btnCalculateSum
            // 
            this.btnCalculateSum.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.btnCalculateSum.AutoSize = true;
            this.btnCalculateSum.Location = new System.Drawing.Point(275, 6);
            this.btnCalculateSum.Margin = new Padding(2);
            this.btnCalculateSum.Name = "btnCalculateSum";
            this.btnCalculateSum.Size = new System.Drawing.Size(84, 23);
            this.btnCalculateSum.TabIndex = 9;
            this.btnCalculateSum.Text = "انجام محاسبات";
            this.btnCalculateSum.UseVisualStyleBackColor = true;
            this.btnCalculateSum.Click += new System.EventHandler(this.btnCalculateSum_Click);
            // 
            // label3
            // 
            this.label3.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(1026, 48);
            this.label3.Margin = new Padding(2, 0, 2, 0);
            this.label3.Name = "label3";
            this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label3.Size = new System.Drawing.Size(117, 13);
            this.label3.TabIndex = 10;
            this.label3.Text = "موجودی در تاریخ شروع";
            // 
            // lblTotalStartDate
            // 
            this.lblTotalStartDate.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalStartDate.Location = new System.Drawing.Point(11, 70);
            this.lblTotalStartDate.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalStartDate.Name = "lblTotalStartDate";
            this.lblTotalStartDate.Size = new System.Drawing.Size(92, 18);
            this.lblTotalStartDate.TabIndex = 11;
            this.lblTotalStartDate.Text = "00";
            // 
            // lblTotalEndDate
            // 
            this.lblTotalEndDate.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalEndDate.Location = new System.Drawing.Point(11, 93);
            this.lblTotalEndDate.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalEndDate.Name = "lblTotalEndDate";
            this.lblTotalEndDate.Size = new System.Drawing.Size(92, 18);
            this.lblTotalEndDate.TabIndex = 12;
            this.lblTotalEndDate.Text = "00";
            // 
            // label19
            // 
            this.label19.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label19.Location = new System.Drawing.Point(107, 317);
            this.label19.Margin = new Padding(2, 0, 2, 0);
            this.label19.Name = "label19";
            this.label19.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label19.Size = new System.Drawing.Size(165, 18);
            this.label19.TabIndex = 22;
            this.label19.Text = "هزینه متفرقه";
            // 
            // label20
            // 
            this.label20.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label20.Location = new System.Drawing.Point(107, 271);
            this.label20.Margin = new Padding(2, 0, 2, 0);
            this.label20.Name = "label20";
            this.label20.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label20.Size = new System.Drawing.Size(165, 18);
            this.label20.TabIndex = 25;
            this.label20.Text = "حقوق";
            // 
            // label21
            // 
            this.label21.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label21.Location = new System.Drawing.Point(107, 249);
            this.label21.Margin = new Padding(2, 0, 2, 0);
            this.label21.Name = "label21";
            this.label21.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label21.Size = new System.Drawing.Size(165, 18);
            this.label21.TabIndex = 24;
            this.label21.Text = "قبوض پرداختی";
            // 
            // label24
            // 
            this.label24.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label24.Location = new System.Drawing.Point(107, 160);
            this.label24.Margin = new Padding(2, 0, 2, 0);
            this.label24.Name = "label24";
            this.label24.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label24.Size = new System.Drawing.Size(165, 18);
            this.label24.TabIndex = 27;
            this.label24.Text = "مجموع فروش";
            // 
            // label25
            // 
            this.label25.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label25.Location = new System.Drawing.Point(107, 124);
            this.label25.Margin = new Padding(2, 0, 2, 0);
            this.label25.Name = "label25";
            this.label25.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label25.Size = new System.Drawing.Size(165, 18);
            this.label25.TabIndex = 26;
            this.label25.Text = "مجموع چکهای پرداخت شده";
            // 
            // lblTotalOtherPayment
            // 
            this.lblTotalOtherPayment.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalOtherPayment.Location = new System.Drawing.Point(11, 317);
            this.lblTotalOtherPayment.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalOtherPayment.Name = "lblTotalOtherPayment";
            this.lblTotalOtherPayment.Size = new System.Drawing.Size(92, 18);
            this.lblTotalOtherPayment.TabIndex = 17;
            this.lblTotalOtherPayment.Text = "00";
            // 
            // lblTotalSalary
            // 
            this.lblTotalSalary.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalSalary.Location = new System.Drawing.Point(11, 271);
            this.lblTotalSalary.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalSalary.Name = "lblTotalSalary";
            this.lblTotalSalary.Size = new System.Drawing.Size(92, 18);
            this.lblTotalSalary.TabIndex = 18;
            this.lblTotalSalary.Text = "00";
            // 
            // lblTotalBills
            // 
            this.lblTotalBills.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalBills.Location = new System.Drawing.Point(11, 249);
            this.lblTotalBills.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalBills.Name = "lblTotalBills";
            this.lblTotalBills.Size = new System.Drawing.Size(92, 18);
            this.lblTotalBills.TabIndex = 15;
            this.lblTotalBills.Text = "00";
            // 
            // lblTotalSales
            // 
            this.lblTotalSales.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalSales.Location = new System.Drawing.Point(11, 160);
            this.lblTotalSales.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalSales.Name = "lblTotalSales";
            this.lblTotalSales.Size = new System.Drawing.Size(92, 18);
            this.lblTotalSales.TabIndex = 20;
            this.lblTotalSales.Text = "00";
            // 
            // lblTotalCheques
            // 
            this.lblTotalCheques.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalCheques.Location = new System.Drawing.Point(11, 124);
            this.lblTotalCheques.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalCheques.Name = "lblTotalCheques";
            this.lblTotalCheques.Size = new System.Drawing.Size(92, 18);
            this.lblTotalCheques.TabIndex = 19;
            this.lblTotalCheques.Text = "00";
            // 
            // lblPaymentTotalSum
            // 
            this.lblPaymentTotalSum.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblPaymentTotalSum.Location = new System.Drawing.Point(11, 339);
            this.lblPaymentTotalSum.Margin = new Padding(2, 0, 2, 0);
            this.lblPaymentTotalSum.Name = "lblPaymentTotalSum";
            this.lblPaymentTotalSum.Size = new System.Drawing.Size(92, 18);
            this.lblPaymentTotalSum.TabIndex = 17;
            this.lblPaymentTotalSum.Text = "00";
            // 
            // label6
            // 
            this.label6.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label6.Location = new System.Drawing.Point(107, 339);
            this.label6.Margin = new Padding(2, 0, 2, 0);
            this.label6.Name = "label6";
            this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label6.Size = new System.Drawing.Size(165, 18);
            this.label6.TabIndex = 22;
            this.label6.Text = "مجموع هزینه ها";
            // 
            // lblTotalPersonal
            // 
            this.lblTotalPersonal.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalPersonal.Location = new System.Drawing.Point(11, 294);
            this.lblTotalPersonal.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalPersonal.Name = "lblTotalPersonal";
            this.lblTotalPersonal.Size = new System.Drawing.Size(92, 18);
            this.lblTotalPersonal.TabIndex = 18;
            this.lblTotalPersonal.Text = "00";
            // 
            // label8
            // 
            this.label8.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label8.Location = new System.Drawing.Point(107, 294);
            this.label8.Margin = new Padding(2, 0, 2, 0);
            this.label8.Name = "label8";
            this.label8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label8.Size = new System.Drawing.Size(165, 18);
            this.label8.TabIndex = 25;
            this.label8.Text = "برداشت نقد";
            // 
            // storeDBDataSet
            // 
            this.storeDBDataSet.DataSetName = "StoreDBDataSet";
            this.storeDBDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // viewInvoiceItemOnInvoiceTableAdapter
            // 
            this.viewInvoiceItemOnInvoiceTableAdapter.ClearBeforeFill = true;
            // 
            // dailyTransactionTableAdapter
            // 
            this.dailyTransactionTableAdapter.ClearBeforeFill = true;
            // 
            // chequeTableAdapter
            // 
            this.chequeTableAdapter.ClearBeforeFill = true;
            // 
            // invoiceTableAdapter
            // 
            this.invoiceTableAdapter.ClearBeforeFill = true;
            // 
            // lblTotalBuy
            // 
            this.lblTotalBuy.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalBuy.Location = new System.Drawing.Point(11, 183);
            this.lblTotalBuy.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalBuy.Name = "lblTotalBuy";
            this.lblTotalBuy.Size = new System.Drawing.Size(92, 18);
            this.lblTotalBuy.TabIndex = 20;
            this.lblTotalBuy.Text = "00";
            // 
            // label7
            // 
            this.label7.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label7.Location = new System.Drawing.Point(107, 183);
            this.label7.Margin = new Padding(2, 0, 2, 0);
            this.label7.Name = "label7";
            this.label7.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label7.Size = new System.Drawing.Size(165, 18);
            this.label7.TabIndex = 27;
            this.label7.Text = "مجموع خرید";
            // 
            // btnExportStartToFile
            // 
            this.btnExportStartToFile.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.btnExportStartToFile.AutoSize = true;
            this.btnExportStartToFile.Location = new System.Drawing.Point(713, 43);
            this.btnExportStartToFile.Margin = new Padding(2);
            this.btnExportStartToFile.Name = "btnExportStartToFile";
            this.btnExportStartToFile.Size = new System.Drawing.Size(84, 23);
            this.btnExportStartToFile.TabIndex = 9;
            this.btnExportStartToFile.Text = "ثبت در فایل";
            this.btnExportStartToFile.UseVisualStyleBackColor = true;
            this.btnExportStartToFile.Click += new System.EventHandler(this.btnExportStartToFile_Click);
            // 
            // btnExportEndToFile
            // 
            this.btnExportEndToFile.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.btnExportEndToFile.AutoSize = true;
            this.btnExportEndToFile.Location = new System.Drawing.Point(275, 43);
            this.btnExportEndToFile.Margin = new Padding(2);
            this.btnExportEndToFile.Name = "btnExportEndToFile";
            this.btnExportEndToFile.Size = new System.Drawing.Size(84, 23);
            this.btnExportEndToFile.TabIndex = 9;
            this.btnExportEndToFile.Text = "ثبت در فایل";
            this.btnExportEndToFile.UseVisualStyleBackColor = true;
            this.btnExportEndToFile.Click += new System.EventHandler(this.btnExportEndToFile_Click);
            // 
            // label4
            // 
            this.label4.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label4.Location = new System.Drawing.Point(107, 93);
            this.label4.Margin = new Padding(2, 0, 2, 0);
            this.label4.Name = "label4";
            this.label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label4.Size = new System.Drawing.Size(165, 18);
            this.label4.TabIndex = 26;
            this.label4.Text = "مجموع موجودی در تاریخ پایان";
            // 
            // label9
            // 
            this.label9.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label9.Location = new System.Drawing.Point(107, 70);
            this.label9.Margin = new Padding(2, 0, 2, 0);
            this.label9.Name = "label9";
            this.label9.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label9.Size = new System.Drawing.Size(165, 18);
            this.label9.TabIndex = 26;
            this.label9.Text = "مجموع موجودی در تاریخ شروع";
            // 
            // btnPrintStartList
            // 
            this.btnPrintStartList.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.btnPrintStartList.AutoSize = true;
            this.btnPrintStartList.Location = new System.Drawing.Point(801, 43);
            this.btnPrintStartList.Margin = new Padding(2);
            this.btnPrintStartList.Name = "btnPrintStartList";
            this.btnPrintStartList.Size = new System.Drawing.Size(84, 23);
            this.btnPrintStartList.TabIndex = 9;
            this.btnPrintStartList.Text = "پرینت";
            this.btnPrintStartList.UseVisualStyleBackColor = true;
            this.btnPrintStartList.Click += new System.EventHandler(this.btnPrintStartList_Click);
            // 
            // btnPrintEndList
            // 
            this.btnPrintEndList.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.btnPrintEndList.AutoSize = true;
            this.btnPrintEndList.Location = new System.Drawing.Point(363, 43);
            this.btnPrintEndList.Margin = new Padding(2);
            this.btnPrintEndList.Name = "btnPrintEndList";
            this.btnPrintEndList.Size = new System.Drawing.Size(84, 23);
            this.btnPrintEndList.TabIndex = 9;
            this.btnPrintEndList.Text = "پرینت";
            this.btnPrintEndList.UseVisualStyleBackColor = true;
            this.btnPrintEndList.Click += new System.EventHandler(this.btnPrintStartList_Click);
            // 
            // prgCalculate
            // 
            this.prgCalculate.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.prgCalculate.Location = new System.Drawing.Point(275, 32);
            this.prgCalculate.Name = "prgCalculate";
            this.prgCalculate.Size = new System.Drawing.Size(425, 10);
            this.prgCalculate.TabIndex = 28;
            // 
            // lblTotalSaleDiscount
            // 
            this.lblTotalSaleDiscount.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalSaleDiscount.Location = new System.Drawing.Point(11, 205);
            this.lblTotalSaleDiscount.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalSaleDiscount.Name = "lblTotalSaleDiscount";
            this.lblTotalSaleDiscount.Size = new System.Drawing.Size(92, 18);
            this.lblTotalSaleDiscount.TabIndex = 20;
            this.lblTotalSaleDiscount.Text = "00";
            // 
            // lblTotalBuyDiscount
            // 
            this.lblTotalBuyDiscount.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblTotalBuyDiscount.Location = new System.Drawing.Point(11, 228);
            this.lblTotalBuyDiscount.Margin = new Padding(2, 0, 2, 0);
            this.lblTotalBuyDiscount.Name = "lblTotalBuyDiscount";
            this.lblTotalBuyDiscount.Size = new System.Drawing.Size(92, 18);
            this.lblTotalBuyDiscount.TabIndex = 20;
            this.lblTotalBuyDiscount.Text = "00";
            // 
            // label12
            // 
            this.label12.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label12.Location = new System.Drawing.Point(107, 205);
            this.label12.Margin = new Padding(2, 0, 2, 0);
            this.label12.Name = "label12";
            this.label12.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label12.Size = new System.Drawing.Size(165, 18);
            this.label12.TabIndex = 27;
            this.label12.Text = "مجموع تخفیف فروش";
            // 
            // label13
            // 
            this.label13.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label13.Location = new System.Drawing.Point(107, 228);
            this.label13.Margin = new Padding(2, 0, 2, 0);
            this.label13.Name = "label13";
            this.label13.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label13.Size = new System.Drawing.Size(165, 18);
            this.label13.TabIndex = 27;
            this.label13.Text = "مجموع تخفیف خرید";
            // 
            // lblProfit
            // 
            this.lblProfit.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblProfit.Location = new System.Drawing.Point(9, 17);
            this.lblProfit.Margin = new Padding(2, 0, 2, 0);
            this.lblProfit.Name = "lblProfit";
            this.lblProfit.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.lblProfit.Size = new System.Drawing.Size(90, 18);
            this.lblProfit.TabIndex = 17;
            this.lblProfit.Text = "00";
            // 
            // label11
            // 
            this.label11.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label11.Location = new System.Drawing.Point(103, 17);
            this.label11.Margin = new Padding(2, 0, 2, 0);
            this.label11.Name = "label11";
            this.label11.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label11.Size = new System.Drawing.Size(157, 18);
            this.label11.TabIndex = 22;
            this.label11.Text = "سود خالص";
            // 
            // lblProfitPercentage
            // 
            this.lblProfitPercentage.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.lblProfitPercentage.Location = new System.Drawing.Point(9, 37);
            this.lblProfitPercentage.Margin = new Padding(2, 0, 2, 0);
            this.lblProfitPercentage.Name = "lblProfitPercentage";
            this.lblProfitPercentage.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.lblProfitPercentage.Size = new System.Drawing.Size(90, 18);
            this.lblProfitPercentage.TabIndex = 17;
            this.lblProfitPercentage.Text = "00";
            // 
            // label15
            // 
            this.label15.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.label15.Location = new System.Drawing.Point(103, 37);
            this.label15.Margin = new Padding(2, 0, 2, 0);
            this.label15.Name = "label15";
            this.label15.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label15.Size = new System.Drawing.Size(157, 18);
            this.label15.TabIndex = 22;
            this.label15.Text = "نسبت سود فروش";
            // 
            // groupBox1
            // 
            this.groupBox1.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.groupBox1.Controls.Add(this.label11);
            this.groupBox1.Controls.Add(this.lblProfit);
            this.groupBox1.Controls.Add(this.label15);
            this.groupBox1.Controls.Add(this.lblProfitPercentage);
            this.groupBox1.Location = new System.Drawing.Point(4, 360);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.groupBox1.Size = new System.Drawing.Size(266, 65);
            this.groupBox1.TabIndex = 29;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "سود";
            // 
            // timer1
            // 
            this.timer1.Enabled = true;
            this.timer1.Interval = 500;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // SummaryForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize = true;
            this.BackColor = System.Drawing.Color.LightGreen;
            this.ClientSize = new System.Drawing.Size(1151, 434);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.prgCalculate);
            this.Controls.Add(this.label6);
            this.Controls.Add(this.label19);
            this.Controls.Add(this.label8);
            this.Controls.Add(this.label20);
            this.Controls.Add(this.label21);
            this.Controls.Add(this.label13);
            this.Controls.Add(this.label12);
            this.Controls.Add(this.label7);
            this.Controls.Add(this.label24);
            this.Controls.Add(this.label9);
            this.Controls.Add(this.label4);
            this.Controls.Add(this.label25);
            this.Controls.Add(this.lblPaymentTotalSum);
            this.Controls.Add(this.lblTotalOtherPayment);
            this.Controls.Add(this.lblTotalPersonal);
            this.Controls.Add(this.lblTotalSalary);
            this.Controls.Add(this.lblTotalBuyDiscount);
            this.Controls.Add(this.lblTotalBills);
            this.Controls.Add(this.lblTotalSaleDiscount);
            this.Controls.Add(this.lblTotalBuy);
            this.Controls.Add(this.lblTotalSales);
            this.Controls.Add(this.lblTotalCheques);
            this.Controls.Add(this.lblTotalEndDate);
            this.Controls.Add(this.lblTotalStartDate);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.btnExportEndToFile);
            this.Controls.Add(this.btnPrintEndList);
            this.Controls.Add(this.btnPrintStartList);
            this.Controls.Add(this.btnExportStartToFile);
            this.Controls.Add(this.btnCalculateSum);
            this.Controls.Add(this.label5);
            this.Controls.Add(this.lstAvailableAtStartDate);
            this.Controls.Add(this.lstAvailableAtEndDate);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.abrStartDate);
            this.Controls.Add(this.abrEndDate);
            this.KeyPreview = true;
            this.Margin = new Padding(2);
            this.Name = "SummaryForm";
            this.Text = "Summary";
            this.WindowState = FormWindowState.Maximized;
            this.Activated += new System.EventHandler(this.SummaryForm_Activated);
            this.FormClosed += new FormClosedEventHandler(this.SummaryForm_FormClosed);
            this.Load += new System.EventHandler(this.SummaryForm_Load);
            this.KeyPress += new KeyPressEventHandler(this.SummaryForm_KeyPress);
            ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }