private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InvoiceSaleForm));
            this.lstTotal = new System.Windows.Forms.ListView();
            this.ItemID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.ItemName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.SellPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.Count = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.Total = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.btnCreateInvoice = new System.Windows.Forms.Button();
            this.btnDeleteInvoiceItem = new System.Windows.Forms.Button();
            this.cmbCustomers = new System.Windows.Forms.ComboBox();
            this.customerBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.storeDBDataSet = new Store.DB.StoreDBDataSet();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.numExpenses = new System.Windows.Forms.NumericUpDown();
            this.numDiscount = new System.Windows.Forms.NumericUpDown();
            this.chkUnPaidInvoice = new System.Windows.Forms.CheckBox();
            this.label4 = new System.Windows.Forms.Label();
            this.cmbBankAccount = new System.Windows.Forms.ComboBox();
            this.bankAccountBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.lblDiscount = new System.Windows.Forms.Label();
            this.rdbtnChequePayment = new System.Windows.Forms.RadioButton();
            this.rdbtnPosPayment = new System.Windows.Forms.RadioButton();
            this.rdbtnCashPayment = new System.Windows.Forms.RadioButton();
            this.bankAccountTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.BankAccountTableAdapter();
            this.customerTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.CustomerTableAdapter();
            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.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.label11 = new System.Windows.Forms.Label();
            this.txtItemNameID = new System.Windows.Forms.TextBox();
            this.btnAddToInvoice = new System.Windows.Forms.Button();
            this.chkReportOutput = new System.Windows.Forms.CheckBox();
            this.stiReport1 = new Stimulsoft.Report.StiReport();
            this.stiReportDataSource10 = new Stimulsoft.Report.Design.StiReportDataSource("StoreDBDataSet", this.storeDBDataSet);
            this.viewCustomerOnInvoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewCustomerOnInvoiceTableAdapter();
            this.dailyTransactionTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.DailyTransactionTableAdapter();
            this.abrInvoiceDate = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker();
            this.label2 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.btnAddCustomer = new System.Windows.Forms.Button();
            this.btnSeparateInvoices = new System.Windows.Forms.Button();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.listTimer = new System.Windows.Forms.Timer(this.components);
            this.itemTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ItemTableAdapter();
            this.invoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceTableAdapter();
            this.invoiceItemTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceItemTableAdapter();
            this.chkChangeTextForID = new System.Windows.Forms.CheckBox();
            this.lblTimestamp = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.lblTotalPrice = new System.Windows.Forms.Label();
            this.lblTotalPayable = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.customerBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).BeginInit();
            this.groupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numExpenses)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.numDiscount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bankAccountBindingSource)).BeginInit();
            this.SuspendLayout();
            // 
            // lstTotal
            // 
            this.lstTotal.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.lstTotal.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.ItemID,
            this.ItemName,
            this.SellPrice,
            this.Count,
            this.Total});
            this.lstTotal.Font = new System.Drawing.Font("XB Roya", 11F);
            this.lstTotal.FullRowSelect = true;
            this.lstTotal.GridLines = true;
            this.lstTotal.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
            this.lstTotal.Location = new System.Drawing.Point(348, 67);
            this.lstTotal.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.lstTotal.Name = "lstTotal";
            this.lstTotal.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lstTotal.RightToLeftLayout = true;
            this.lstTotal.ShowGroups = false;
            this.lstTotal.Size = new System.Drawing.Size(506, 545);
            this.lstTotal.TabIndex = 10;
            this.lstTotal.UseCompatibleStateImageBehavior = false;
            this.lstTotal.View = System.Windows.Forms.View.Details;
            this.lstTotal.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lstTotal_ColumnClick);
            this.lstTotal.KeyDown += new System.Windows.Forms.KeyEventHandler(this.lstTotal_KeyDown);
            // 
            // ItemID
            // 
            this.ItemID.Text = "کد کالا";
            this.ItemID.Width = 90;
            // 
            // ItemName
            // 
            this.ItemName.Text = "نام";
            this.ItemName.Width = 120;
            // 
            // SellPrice
            // 
            this.SellPrice.Text = "فی واحد";
            this.SellPrice.Width = 59;
            // 
            // Count
            // 
            this.Count.Text = "تعداد";
            this.Count.Width = 44;
            // 
            // Total
            // 
            this.Total.Text = "فی کل";
            this.Total.Width = 90;
            // 
            // btnCreateInvoice
            // 
            this.btnCreateInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCreateInvoice.Location = new System.Drawing.Point(217, 574);
            this.btnCreateInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnCreateInvoice.Name = "btnCreateInvoice";
            this.btnCreateInvoice.Size = new System.Drawing.Size(124, 39);
            this.btnCreateInvoice.TabIndex = 9;
            this.btnCreateInvoice.Text = "&صدور فاکتور";
            this.btnCreateInvoice.UseVisualStyleBackColor = true;
            this.btnCreateInvoice.Click += new System.EventHandler(this.btnCreateInvoice_Click);
            // 
            // btnDeleteInvoiceItem
            // 
            this.btnDeleteInvoiceItem.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnDeleteInvoiceItem.Image = global::Store.Properties.Resources.cancel;
            this.btnDeleteInvoiceItem.Location = new System.Drawing.Point(817, 18);
            this.btnDeleteInvoiceItem.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnDeleteInvoiceItem.Name = "btnDeleteInvoiceItem";
            this.btnDeleteInvoiceItem.Size = new System.Drawing.Size(37, 47);
            this.btnDeleteInvoiceItem.TabIndex = 11;
            this.btnDeleteInvoiceItem.UseVisualStyleBackColor = true;
            this.btnDeleteInvoiceItem.Click += new System.EventHandler(this.btnDeleteInvoiceItem_Click);
            // 
            // cmbCustomers
            // 
            this.cmbCustomers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbCustomers.DataSource = this.customerBindingSource;
            this.cmbCustomers.DisplayMember = "Name";
            this.cmbCustomers.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbCustomers.FormattingEnabled = true;
            this.cmbCustomers.Location = new System.Drawing.Point(77, 63);
            this.cmbCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.cmbCustomers.Name = "cmbCustomers";
            this.cmbCustomers.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.cmbCustomers.Size = new System.Drawing.Size(193, 27);
            this.cmbCustomers.TabIndex = 2;
            this.cmbCustomers.ValueMember = "ID";
            this.cmbCustomers.SelectedIndexChanged += new System.EventHandler(this.cmbCustomers_SelectedIndexChanged);
            // 
            // customerBindingSource
            // 
            this.customerBindingSource.DataMember = "Customer";
            this.customerBindingSource.DataSource = this.storeDBDataSet;
            // 
            // storeDBDataSet
            // 
            this.storeDBDataSet.DataSetName = "StoreDBDataSet";
            this.storeDBDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // groupBox1
            // 
            this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.lblTotalPayable);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.lblTotalPrice);
            this.groupBox1.Controls.Add(this.numExpenses);
            this.groupBox1.Controls.Add(this.numDiscount);
            this.groupBox1.Controls.Add(this.chkUnPaidInvoice);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.cmbBankAccount);
            this.groupBox1.Controls.Add(this.lblDiscount);
            this.groupBox1.Controls.Add(this.rdbtnChequePayment);
            this.groupBox1.Controls.Add(this.rdbtnPosPayment);
            this.groupBox1.Controls.Add(this.rdbtnCashPayment);
            this.groupBox1.Location = new System.Drawing.Point(9, 107);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.groupBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.groupBox1.Size = new System.Drawing.Size(331, 380);
            this.groupBox1.TabIndex = 5;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "پرداخت";
            // 
            // numExpenses
            // 
            this.numExpenses.Font = new System.Drawing.Font("XB Roya", 10.25F);
            this.numExpenses.Increment = new decimal(new int[] {
            500,
            0,
            0,
            0});
            this.numExpenses.Location = new System.Drawing.Point(59, 245);
            this.numExpenses.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.numExpenses.Maximum = new decimal(new int[] {
            -469762049,
            -590869294,
            5421010,
            0});
            this.numExpenses.Name = "numExpenses";
            this.numExpenses.Size = new System.Drawing.Size(149, 29);
            this.numExpenses.TabIndex = 0;
            this.numExpenses.ThousandsSeparator = true;
            this.numExpenses.ValueChanged += new System.EventHandler(this.numExpenses_ValueChanged);
            // 
            // numDiscount
            // 
            this.numDiscount.Font = new System.Drawing.Font("XB Roya", 10.25F);
            this.numDiscount.Increment = new decimal(new int[] {
            500,
            0,
            0,
            0});
            this.numDiscount.Location = new System.Drawing.Point(59, 208);
            this.numDiscount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.numDiscount.Maximum = new decimal(new int[] {
            -469762049,
            -590869294,
            5421010,
            0});
            this.numDiscount.Name = "numDiscount";
            this.numDiscount.Size = new System.Drawing.Size(149, 29);
            this.numDiscount.TabIndex = 0;
            this.numDiscount.ThousandsSeparator = true;
            this.numDiscount.ValueChanged += new System.EventHandler(this.numDiscount_ValueChanged);
            // 
            // chkUnPaidInvoice
            // 
            this.chkUnPaidInvoice.AutoSize = true;
            this.chkUnPaidInvoice.Enabled = false;
            this.chkUnPaidInvoice.Location = new System.Drawing.Point(225, 28);
            this.chkUnPaidInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.chkUnPaidInvoice.Name = "chkUnPaidInvoice";
            this.chkUnPaidInvoice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.chkUnPaidInvoice.Size = new System.Drawing.Size(97, 24);
            this.chkUnPaidInvoice.TabIndex = 3;
            this.chkUnPaidInvoice.Text = "پرداخت نشده";
            this.chkUnPaidInvoice.UseVisualStyleBackColor = true;
            this.chkUnPaidInvoice.CheckedChanged += new System.EventHandler(this.chkUnPaidInvoice_CheckedChanged);
            // 
            // 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(243, 249);
            this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label4.Name = "label4";
            this.label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label4.Size = new System.Drawing.Size(78, 20);
            this.label4.TabIndex = 21;
            this.label4.Text = "اضافه دریافت";
            // 
            // cmbBankAccount
            // 
            this.cmbBankAccount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbBankAccount.DataSource = this.bankAccountBindingSource;
            this.cmbBankAccount.DisplayMember = "NumberName";
            this.cmbBankAccount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbBankAccount.Enabled = false;
            this.cmbBankAccount.FormattingEnabled = true;
            this.cmbBankAccount.Location = new System.Drawing.Point(51, 94);
            this.cmbBankAccount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.cmbBankAccount.Name = "cmbBankAccount";
            this.cmbBankAccount.Size = new System.Drawing.Size(186, 27);
            this.cmbBankAccount.TabIndex = 2;
            this.cmbBankAccount.ValueMember = "ID";
            // 
            // bankAccountBindingSource
            // 
            this.bankAccountBindingSource.DataMember = "BankAccount";
            this.bankAccountBindingSource.DataSource = this.storeDBDataSet;
            // 
            // lblDiscount
            // 
            this.lblDiscount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lblDiscount.AutoSize = true;
            this.lblDiscount.Location = new System.Drawing.Point(277, 212);
            this.lblDiscount.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.lblDiscount.Name = "lblDiscount";
            this.lblDiscount.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblDiscount.Size = new System.Drawing.Size(43, 20);
            this.lblDiscount.TabIndex = 21;
            this.lblDiscount.Text = "تخفیف";
            // 
            // rdbtnChequePayment
            // 
            this.rdbtnChequePayment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.rdbtnChequePayment.AutoSize = true;
            this.rdbtnChequePayment.Enabled = false;
            this.rdbtnChequePayment.Location = new System.Drawing.Point(276, 129);
            this.rdbtnChequePayment.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.rdbtnChequePayment.Name = "rdbtnChequePayment";
            this.rdbtnChequePayment.Size = new System.Drawing.Size(48, 24);
            this.rdbtnChequePayment.TabIndex = 3;
            this.rdbtnChequePayment.Text = "چک";
            this.rdbtnChequePayment.UseVisualStyleBackColor = true;
            // 
            // rdbtnPosPayment
            // 
            this.rdbtnPosPayment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.rdbtnPosPayment.AutoSize = true;
            this.rdbtnPosPayment.Enabled = false;
            this.rdbtnPosPayment.Location = new System.Drawing.Point(252, 95);
            this.rdbtnPosPayment.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.rdbtnPosPayment.Name = "rdbtnPosPayment";
            this.rdbtnPosPayment.Size = new System.Drawing.Size(72, 24);
            this.rdbtnPosPayment.TabIndex = 1;
            this.rdbtnPosPayment.Text = "&کارتخوان";
            this.rdbtnPosPayment.UseVisualStyleBackColor = true;
            this.rdbtnPosPayment.CheckedChanged += new System.EventHandler(this.rdbtnPosPayment_CheckedChanged);
            this.rdbtnPosPayment.EnabledChanged += new System.EventHandler(this.rdbtnPosPayment_EnabledChanged);
            // 
            // rdbtnCashPayment
            // 
            this.rdbtnCashPayment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.rdbtnCashPayment.AutoSize = true;
            this.rdbtnCashPayment.Checked = true;
            this.rdbtnCashPayment.Location = new System.Drawing.Point(281, 61);
            this.rdbtnCashPayment.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.rdbtnCashPayment.Name = "rdbtnCashPayment";
            this.rdbtnCashPayment.Size = new System.Drawing.Size(43, 24);
            this.rdbtnCashPayment.TabIndex = 0;
            this.rdbtnCashPayment.TabStop = true;
            this.rdbtnCashPayment.Text = "ن&قد";
            this.rdbtnCashPayment.UseVisualStyleBackColor = true;
            // 
            // bankAccountTableAdapter
            // 
            this.bankAccountTableAdapter.ClearBeforeFill = true;
            // 
            // customerTableAdapter
            // 
            this.customerTableAdapter.ClearBeforeFill = true;
            // 
            // lstItems
            // 
            this.lstItems.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.lstItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader5,
            this.columnHeader3});
            this.lstItems.Font = new System.Drawing.Font("XB Roya", 11F);
            this.lstItems.FullRowSelect = true;
            this.lstItems.GridLines = true;
            this.lstItems.Location = new System.Drawing.Point(862, 67);
            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(488, 545);
            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.lstItem_ColumnClick);
            this.lstItems.DoubleClick += new System.EventHandler(this.lstItems_DoubleClick);
            this.lstItems.KeyDown += new System.Windows.Forms.KeyEventHandler(this.lstItems_KeyDown);
            this.lstItems.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.lstItems_KeyPress);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "کد کالا";
            this.columnHeader1.Width = 130;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "نام کالا";
            this.columnHeader2.Width = 180;
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "موجودی";
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "قیمت فروش";
            this.columnHeader3.Width = 90;
            // 
            // 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(1297, 39);
            this.label11.Name = "label11";
            this.label11.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label11.Size = new System.Drawing.Size(58, 20);
            this.label11.TabIndex = 31;
            this.label11.Text = "نام یا کد:";
            // 
            // 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(1018, 35);
            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(271, 27);
            this.txtItemNameID.TabIndex = 0;
            this.txtItemNameID.TextChanged += new System.EventHandler(this.txtItemNameID_TextChanged);
            this.txtItemNameID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtItemNameID_KeyDown);
            this.txtItemNameID.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtItemNameID_KeyPress);
            // 
            // btnAddToInvoice
            // 
            this.btnAddToInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddToInvoice.Image = global::Store.Properties.Resources.leftarrow;
            this.btnAddToInvoice.Location = new System.Drawing.Point(862, 18);
            this.btnAddToInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnAddToInvoice.Name = "btnAddToInvoice";
            this.btnAddToInvoice.Size = new System.Drawing.Size(37, 47);
            this.btnAddToInvoice.TabIndex = 3;
            this.btnAddToInvoice.UseVisualStyleBackColor = true;
            this.btnAddToInvoice.Click += new System.EventHandler(this.btnAddToInvoice_Click);
            // 
            // chkReportOutput
            // 
            this.chkReportOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.chkReportOutput.AutoSize = true;
            this.chkReportOutput.Location = new System.Drawing.Point(109, 584);
            this.chkReportOutput.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.chkReportOutput.Name = "chkReportOutput";
            this.chkReportOutput.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.chkReportOutput.Size = new System.Drawing.Size(101, 24);
            this.chkReportOutput.TabIndex = 32;
            this.chkReportOutput.Text = "گزارش (چاپ)";
            this.chkReportOutput.UseVisualStyleBackColor = true;
            // 
            // stiReport1
            // 
            this.stiReport1.EngineVersion = Stimulsoft.Report.Engine.StiEngineVersion.EngineV2;
            this.stiReport1.ReferencedAssemblies = new string[] {
        "System.Dll",
        "System.Drawing.Dll",
        "Dll",
        "System.Data.Dll",
        "System.Xml.Dll",
        "Stimulsoft.Controls.Dll",
        "Stimulsoft.Base.Dll",
        "Stimulsoft.Report.Dll"};
            this.stiReport1.ReportAlias = "Report";
            this.stiReport1.ReportDataSources.Add(this.stiReportDataSource10);
            this.stiReport1.ReportGuid = "2eb0fd0f635b4feeaa3c92aa921c77ff";
            this.stiReport1.ReportName = "Report";
            this.stiReport1.ReportSource = resources.GetString("stiReport1.ReportSource");
            this.stiReport1.ReportUnit = Stimulsoft.Report.StiReportUnitType.Millimeters;
            this.stiReport1.ScriptLanguage = Stimulsoft.Report.StiReportLanguageType.CSharp;
            this.stiReport1.UseProgressInThread = false;
            // 
            // stiReportDataSource10
            // 
            this.stiReportDataSource10.Item = this.storeDBDataSet;
            this.stiReportDataSource10.Name = "StoreDBDataSet";
            // 
            // viewCustomerOnInvoiceTableAdapter
            // 
            this.viewCustomerOnInvoiceTableAdapter.ClearBeforeFill = true;
            // 
            // dailyTransactionTableAdapter
            // 
            this.dailyTransactionTableAdapter.ClearBeforeFill = true;
            // 
            // abrInvoiceDate
            // 
            this.abrInvoiceDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.abrInvoiceDate.EndOfYears = 1900;
            this.abrInvoiceDate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254)))));
            this.abrInvoiceDate.isBorder3D = true;
            this.abrInvoiceDate.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrInvoiceDate.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold);
            this.abrInvoiceDate.Location = new System.Drawing.Point(78, 538);
            this.abrInvoiceDate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.abrInvoiceDate.MaximumSize = new System.Drawing.Size(175, 37);
            this.abrInvoiceDate.MinimumSize = new System.Drawing.Size(175, 37);
            this.abrInvoiceDate.Name = "abrInvoiceDate";
            this.abrInvoiceDate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.abrInvoiceDate.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202)))));
            this.abrInvoiceDate.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
            this.abrInvoiceDate.SelectedDate = new System.DateTime(2014, 9, 23, 1, 1, 1, 1);
            this.abrInvoiceDate.SelectedDateString = "1393/07/01";
            this.abrInvoiceDate.SelectedMonthName = null;
            this.abrInvoiceDate.Size = new System.Drawing.Size(175, 37);
            this.abrInvoiceDate.StartOfYears = 1350;
            this.abrInvoiceDate.TabIndex = 33;
            // 
            // 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(289, 67);
            this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label2.Name = "label2";
            this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label2.Size = new System.Drawing.Size(46, 20);
            this.label2.TabIndex = 21;
            this.label2.Text = "مشتری";
            // 
            // 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(259, 545);
            this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label3.Name = "label3";
            this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label3.Size = new System.Drawing.Size(71, 20);
            this.label3.TabIndex = 21;
            this.label3.Text = "تاریخ فاکتور";
            // 
            // btnAddCustomer
            // 
            this.btnAddCustomer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddCustomer.Image = global::Store.Properties.Resources.edit_add;
            this.btnAddCustomer.Location = new System.Drawing.Point(29, 57);
            this.btnAddCustomer.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnAddCustomer.Name = "btnAddCustomer";
            this.btnAddCustomer.Size = new System.Drawing.Size(36, 42);
            this.btnAddCustomer.TabIndex = 11;
            this.btnAddCustomer.UseVisualStyleBackColor = true;
            this.btnAddCustomer.Click += new System.EventHandler(this.btnAddCustomer_Click);
            // 
            // btnSeparateInvoices
            // 
            this.btnSeparateInvoices.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnSeparateInvoices.Image = global::Store.Properties.Resources.edit_add;
            this.btnSeparateInvoices.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnSeparateInvoices.Location = new System.Drawing.Point(348, 22);
            this.btnSeparateInvoices.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.btnSeparateInvoices.Name = "btnSeparateInvoices";
            this.btnSeparateInvoices.Size = new System.Drawing.Size(152, 42);
            this.btnSeparateInvoices.TabIndex = 11;
            this.btnSeparateInvoices.Text = "انتقال به فاکتور جدید";
            this.btnSeparateInvoices.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnSeparateInvoices.UseVisualStyleBackColor = true;
            this.btnSeparateInvoices.Click += new System.EventHandler(this.btnSeparateInvoices_Click);
            // 
            // timer1
            // 
            this.timer1.Enabled = true;
            this.timer1.Interval = 300;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // listTimer
            // 
            this.listTimer.Enabled = true;
            this.listTimer.Interval = 500;
            this.listTimer.Tick += new System.EventHandler(this.listTimer_Tick);
            // 
            // itemTableAdapter
            // 
            this.itemTableAdapter.ClearBeforeFill = true;
            // 
            // invoiceTableAdapter
            // 
            this.invoiceTableAdapter.ClearBeforeFill = true;
            // 
            // invoiceItemTableAdapter
            // 
            this.invoiceItemTableAdapter.ClearBeforeFill = true;
            // 
            // chkChangeTextForID
            // 
            this.chkChangeTextForID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.chkChangeTextForID.AutoSize = true;
            this.chkChangeTextForID.Checked = true;
            this.chkChangeTextForID.CheckState = System.Windows.Forms.CheckState.Checked;
            this.chkChangeTextForID.Location = new System.Drawing.Point(902, 36);
            this.chkChangeTextForID.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.chkChangeTextForID.Name = "chkChangeTextForID";
            this.chkChangeTextForID.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.chkChangeTextForID.Size = new System.Drawing.Size(110, 24);
            this.chkChangeTextForID.TabIndex = 3;
            this.chkChangeTextForID.Text = "کد جایگزین شود";
            this.chkChangeTextForID.UseVisualStyleBackColor = true;
            // 
            // lblTimestamp
            // 
            this.lblTimestamp.AutoSize = true;
            this.lblTimestamp.Location = new System.Drawing.Point(3, 3);
            this.lblTimestamp.Name = "lblTimestamp";
            this.lblTimestamp.Size = new System.Drawing.Size(44, 20);
            this.lblTimestamp.TabIndex = 34;
            this.lblTimestamp.Text = "label4";
            // 
            // 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(270, 173);
            this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label1.Name = "label1";
            this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label1.Size = new System.Drawing.Size(51, 20);
            this.label1.TabIndex = 23;
            this.label1.Text = "مجموع :";
            // 
            // lblTotalPrice
            // 
            this.lblTotalPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lblTotalPrice.AutoSize = true;
            this.lblTotalPrice.Location = new System.Drawing.Point(65, 178);
            this.lblTotalPrice.Name = "lblTotalPrice";
            this.lblTotalPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblTotalPrice.Size = new System.Drawing.Size(89, 20);
            this.lblTotalPrice.TabIndex = 22;
            this.lblTotalPrice.Text = "----------";
            this.lblTotalPrice.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // lblTotalPayable
            // 
            this.lblTotalPayable.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lblTotalPayable.AutoSize = true;
            this.lblTotalPayable.Font = new System.Drawing.Font("XB Roya", 14F);
            this.lblTotalPayable.Location = new System.Drawing.Point(59, 293);
            this.lblTotalPayable.Name = "lblTotalPayable";
            this.lblTotalPayable.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblTotalPayable.Size = new System.Drawing.Size(123, 30);
            this.lblTotalPayable.TabIndex = 22;
            this.lblTotalPayable.Text = "----------";
            this.lblTotalPayable.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // label6
            // 
            this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.label6.AutoSize = true;
            this.label6.Font = new System.Drawing.Font("XB Roya", 14F);
            this.label6.Location = new System.Drawing.Point(210, 293);
            this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label6.Name = "label6";
            this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.label6.Size = new System.Drawing.Size(112, 30);
            this.label6.TabIndex = 23;
            this.label6.Text = "قابل دریافت:";
            // 
            // InvoiceSaleForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 19F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Lime;
            this.ClientSize = new System.Drawing.Size(1362, 643);
            this.Controls.Add(this.lblTimestamp);
            this.Controls.Add(this.abrInvoiceDate);
            this.Controls.Add(this.cmbCustomers);
            this.Controls.Add(this.chkChangeTextForID);
            this.Controls.Add(this.chkReportOutput);
            this.Controls.Add(this.label3);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.btnAddToInvoice);
            this.Controls.Add(this.btnSeparateInvoices);
            this.Controls.Add(this.btnAddCustomer);
            this.Controls.Add(this.btnDeleteInvoiceItem);
            this.Controls.Add(this.btnCreateInvoice);
            this.Controls.Add(this.lstTotal);
            this.Controls.Add(this.lstItems);
            this.Controls.Add(this.label11);
            this.Controls.Add(this.txtItemNameID);
            this.Font = new System.Drawing.Font("XB Roya", 9.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.KeyPreview = true;
            this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
            this.Name = "InvoiceSaleForm";
            this.Text = "فاکتور فروش";
            this.Activated += new System.EventHandler(this.InvoiceSaleForm_Activated);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.InvoiceSaleForm_FormClosing);
            this.Load += new System.EventHandler(this.InvoiceSaleForm_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.InvoiceSaleForm_KeyDown);
            this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.InvoiceSaleForm_KeyPress);
            ((System.ComponentModel.ISupportInitialize)(this.customerBindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).EndInit();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.numExpenses)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.numDiscount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bankAccountBindingSource)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemSearchForm));
            this.lstItems = new ListView();
            this.columnHeader1 = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader2 = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader5 = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader3 = ((ColumnHeader)(new ColumnHeader()));
            this.columnHeader4 = ((ColumnHeader)(new ColumnHeader()));
            this.txtSearchName = new TextBox();
            this.txtSearchPrice = new TextBox();
            this.rdbtnSearchName = new RadioButton();
            this.rdbtnSearchPrice = new RadioButton();
            this.groupBox1 = new GroupBox();
            this.btnExportToFile = new Button();
            this.storeDBEntitiesBindingSource = new BindingSource(this.components);
            this.rdbtnOrderByID = new RadioButton();
            this.rdbtnOrderByName = new RadioButton();
            this.groupBox2 = new GroupBox();
            this.txtMaxCode = new TextBox();
            this.chkMaxCode = new CheckBox();
            this.stiReport1 = new Stimulsoft.Report.StiReport();
            this.stiReportDataSource2 = new Stimulsoft.Report.Design.StiReportDataSource("storeDBEntitiesBindingSource", this.storeDBEntitiesBindingSource);
            this.stiReportDataSource1 = new Stimulsoft.Report.Design.StiReportDataSource("storeDBEntitiesBindingSource", this.storeDBEntitiesBindingSource);
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.groupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.storeDBEntitiesBindingSource)).BeginInit();
            this.groupBox2.SuspendLayout();
            this.SuspendLayout();
            // 
            // lstItems
            // 
            this.lstItems.Columns.AddRange(new ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader5,
            this.columnHeader3,
            this.columnHeader4});
            this.lstItems.Dock = DockStyle.Left;
            this.lstItems.FullRowSelect = true;
            this.lstItems.GridLines = true;
            this.lstItems.Location = new System.Drawing.Point(0, 0);
            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(603, 425);
            this.lstItems.TabIndex = 1;
            this.lstItems.UseCompatibleStateImageBehavior = false;
            this.lstItems.View = View.Details;
            this.lstItems.ColumnClick += new ColumnClickEventHandler(this.lstItems_ColumnClick);
            // 
            // columnHeader1
            // 
            this.columnHeader1.Text = "کد کالا";
            this.columnHeader1.Width = 150;
            // 
            // columnHeader2
            // 
            this.columnHeader2.Text = "نام کالا";
            this.columnHeader2.Width = 320;
            // 
            // columnHeader5
            // 
            this.columnHeader5.Text = "موجودی";
            // 
            // columnHeader3
            // 
            this.columnHeader3.Text = "قیمت فروش";
            this.columnHeader3.Width = 75;
            // 
            // columnHeader4
            // 
            this.columnHeader4.Text = "قیمت خرید";
            this.columnHeader4.Width = 75;
            // 
            // txtSearchName
            // 
            this.txtSearchName.Location = new System.Drawing.Point(6, 18);
            this.txtSearchName.Name = "txtSearchName";
            this.txtSearchName.Size = new System.Drawing.Size(135, 20);
            this.txtSearchName.TabIndex = 0;
            this.txtSearchName.TextChanged += new System.EventHandler(this.txtSearchName_TextChanged);
            this.txtSearchName.KeyPress += new KeyPressEventHandler(this.txtSearchName_KeyPress);
            // 
            // txtSearchPrice
            // 
            this.txtSearchPrice.Enabled = false;
            this.txtSearchPrice.Location = new System.Drawing.Point(6, 41);
            this.txtSearchPrice.Name = "txtSearchPrice";
            this.txtSearchPrice.Size = new System.Drawing.Size(135, 20);
            this.txtSearchPrice.TabIndex = 4;
            this.txtSearchPrice.TextChanged += new System.EventHandler(this.txtSearchPrice_TextChanged);
            this.txtSearchPrice.KeyPress += new KeyPressEventHandler(this.NumberText_KeyPress);
            // 
            // rdbtnSearchName
            // 
            this.rdbtnSearchName.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.rdbtnSearchName.AutoSize = true;
            this.rdbtnSearchName.Checked = true;
            this.rdbtnSearchName.Location = new System.Drawing.Point(141, 19);
            this.rdbtnSearchName.Name = "rdbtnSearchName";
            this.rdbtnSearchName.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.rdbtnSearchName.Size = new System.Drawing.Size(84, 17);
            this.rdbtnSearchName.TabIndex = 5;
            this.rdbtnSearchName.TabStop = true;
            this.rdbtnSearchName.Text = "نام یا کد کالا";
            this.rdbtnSearchName.UseVisualStyleBackColor = true;
            this.rdbtnSearchName.CheckedChanged += new System.EventHandler(this.rdbtnSearchName_CheckedChanged);
            // 
            // rdbtnSearchPrice
            // 
            this.rdbtnSearchPrice.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.rdbtnSearchPrice.AutoSize = true;
            this.rdbtnSearchPrice.Enabled = false;
            this.rdbtnSearchPrice.Location = new System.Drawing.Point(148, 42);
            this.rdbtnSearchPrice.Name = "rdbtnSearchPrice";
            this.rdbtnSearchPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.rdbtnSearchPrice.Size = new System.Drawing.Size(77, 17);
            this.rdbtnSearchPrice.TabIndex = 3;
            this.rdbtnSearchPrice.Text = "قیمت فروش";
            this.rdbtnSearchPrice.UseVisualStyleBackColor = true;
            this.rdbtnSearchPrice.CheckedChanged += new System.EventHandler(this.rdbtnSearchPrice_CheckedChanged);
            // 
            // groupBox1
            // 
            this.groupBox1.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.groupBox1.Controls.Add(this.rdbtnSearchPrice);
            this.groupBox1.Controls.Add(this.txtSearchName);
            this.groupBox1.Controls.Add(this.txtSearchPrice);
            this.groupBox1.Controls.Add(this.rdbtnSearchName);
            this.groupBox1.Location = new System.Drawing.Point(609, 12);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.groupBox1.Size = new System.Drawing.Size(231, 72);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "جستجوی : ";
            // 
            // btnExportToFile
            // 
            this.btnExportToFile.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
            this.btnExportToFile.Location = new System.Drawing.Point(609, 345);
            this.btnExportToFile.Name = "btnExportToFile";
            this.btnExportToFile.Size = new System.Drawing.Size(231, 23);
            this.btnExportToFile.TabIndex = 3;
            this.btnExportToFile.Text = "ثبت گزارش";
            this.btnExportToFile.UseVisualStyleBackColor = true;
            this.btnExportToFile.Click += new System.EventHandler(this.btnExportToFile_Click);
            // 
            // storeDBEntitiesBindingSource
            // 
            this.storeDBEntitiesBindingSource.DataSource = typeof(Store.DB.ViewItemOnWarehouseOnLastBuy);
            // 
            // rdbtnOrderByID
            // 
            this.rdbtnOrderByID.AutoSize = true;
            this.rdbtnOrderByID.Location = new System.Drawing.Point(104, 19);
            this.rdbtnOrderByID.Name = "rdbtnOrderByID";
            this.rdbtnOrderByID.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.rdbtnOrderByID.Size = new System.Drawing.Size(57, 17);
            this.rdbtnOrderByID.TabIndex = 4;
            this.rdbtnOrderByID.Text = "کد کالا";
            this.rdbtnOrderByID.UseVisualStyleBackColor = true;
            // 
            // rdbtnOrderByName
            // 
            this.rdbtnOrderByName.AutoSize = true;
            this.rdbtnOrderByName.Checked = true;
            this.rdbtnOrderByName.Location = new System.Drawing.Point(167, 19);
            this.rdbtnOrderByName.Name = "rdbtnOrderByName";
            this.rdbtnOrderByName.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.rdbtnOrderByName.Size = new System.Drawing.Size(58, 17);
            this.rdbtnOrderByName.TabIndex = 5;
            this.rdbtnOrderByName.TabStop = true;
            this.rdbtnOrderByName.Text = "نام کالا";
            this.rdbtnOrderByName.UseVisualStyleBackColor = true;
            // 
            // groupBox2
            // 
            this.groupBox2.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
            this.groupBox2.Controls.Add(this.rdbtnOrderByID);
            this.groupBox2.Controls.Add(this.rdbtnOrderByName);
            this.groupBox2.Location = new System.Drawing.Point(609, 374);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.groupBox2.Size = new System.Drawing.Size(231, 45);
            this.groupBox2.TabIndex = 6;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "ترتیب گزارش بر اساس";
            // 
            // txtMaxCode
            // 
            this.txtMaxCode.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.txtMaxCode.Enabled = false;
            this.txtMaxCode.Location = new System.Drawing.Point(615, 90);
            this.txtMaxCode.Name = "txtMaxCode";
            this.txtMaxCode.Size = new System.Drawing.Size(124, 20);
            this.txtMaxCode.TabIndex = 0;
            this.txtMaxCode.TextChanged += new System.EventHandler(this.txtMaxCode_TextChanged);
            this.txtMaxCode.KeyPress += new KeyPressEventHandler(this.txtMaxCode_KeyPress);
            // 
            // chkMaxCode
            // 
            this.chkMaxCode.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
            this.chkMaxCode.AutoSize = true;
            this.chkMaxCode.Location = new System.Drawing.Point(745, 93);
            this.chkMaxCode.Name = "chkMaxCode";
            this.chkMaxCode.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.chkMaxCode.Size = new System.Drawing.Size(92, 17);
            this.chkMaxCode.TabIndex = 7;
            this.chkMaxCode.Text = "حداکثر کد کالا";
            this.chkMaxCode.UseVisualStyleBackColor = true;
            this.chkMaxCode.CheckedChanged += new System.EventHandler(this.chkMaxCode_CheckedChanged);
            // 
            // stiReport1
            // 
            this.stiReport1.EngineVersion = Stimulsoft.Report.Engine.StiEngineVersion.EngineV2;
            this.stiReport1.ReferencedAssemblies = new string[] {
        "System.Dll",
        "System.Drawing.Dll",
        "Dll",
        "System.Data.Dll",
        "System.Xml.Dll",
        "Stimulsoft.Controls.Dll",
        "Stimulsoft.Base.Dll",
        "Stimulsoft.Report.Dll"};
            this.stiReport1.ReportAlias = "Report";
            this.stiReport1.ReportDataSources.Add(this.stiReportDataSource2);
            this.stiReport1.ReportGuid = "7a63694c69074f9990182ed90d16da33";
            this.stiReport1.ReportName = "Report";
            this.stiReport1.ReportSource = resources.GetString("stiReport1.ReportSource");
            this.stiReport1.ReportUnit = Stimulsoft.Report.StiReportUnitType.Millimeters;
            this.stiReport1.ScriptLanguage = Stimulsoft.Report.StiReportLanguageType.CSharp;
            this.stiReport1.UseProgressInThread = false;
            // 
            // stiReportDataSource2
            // 
            this.stiReportDataSource2.Item = this.storeDBEntitiesBindingSource;
            this.stiReportDataSource2.Name = "storeDBEntitiesBindingSource";
            // 
            // stiReportDataSource1
            // 
            this.stiReportDataSource1.Item = this.storeDBEntitiesBindingSource;
            this.stiReportDataSource1.Name = "storeDBEntitiesBindingSource";
            // 
            // timer1
            // 
            this.timer1.Enabled = true;
            this.timer1.Interval = 500;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // ItemSearchForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Plum;
            this.ClientSize = new System.Drawing.Size(852, 425);
            this.Controls.Add(this.chkMaxCode);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.txtMaxCode);
            this.Controls.Add(this.btnExportToFile);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.lstItems);
            //this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
            this.KeyPreview = true;
            this.Name = "ItemSearchForm";
            this.Text = "جستجوی کالا";
            this.Activated += new System.EventHandler(this.ItemSearchForm_Activated);
            this.FormClosing += new FormClosingEventHandler(this.ItemSearchForm_FormClosing);
            this.Load += new System.EventHandler(this.ItemSearchForm_Load);
            this.KeyPress += new KeyPressEventHandler(this.ItemSearchForm_KeyPress);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.storeDBEntitiesBindingSource)).EndInit();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }