private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.lstInvoices = new System.Windows.Forms.ListView(); this.InvoiceID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.AccName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.InvoiceDate = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.TotalPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader7 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.lstInvoiceMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.SaveDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SaveCashPayDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.SaveChequeDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.lstInvoiceItems = 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.ItemName = ((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.btnDeleteInvoice = new System.Windows.Forms.Button(); this.abrDateStart = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker(); this.abrDateEnd = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker(); this.txtPriceStart = new System.Windows.Forms.TextBox(); this.txtPriceEnd = new System.Windows.Forms.TextBox(); this.btnApplyFilter = new System.Windows.Forms.Button(); this.lstDistributors = new System.Windows.Forms.ListView(); this.checkboxes = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.AccountantID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.AccountantName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.AccountantPhone = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components); this.label1 = new System.Windows.Forms.Label(); this.lstCustomers = 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.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.label2 = new System.Windows.Forms.Label(); this.btnCheckAllDistributors = new System.Windows.Forms.Button(); this.btnCheckAllCustomers = new System.Windows.Forms.Button(); this.btnUncheckAllCustomers = new System.Windows.Forms.Button(); this.btnUncheckAllDistributors = new System.Windows.Forms.Button(); this.groupBoxPay = new System.Windows.Forms.GroupBox(); this.rdbtnUnpaidOnly = new System.Windows.Forms.RadioButton(); this.rdbtnPaidOnly = new System.Windows.Forms.RadioButton(); this.rdbtnPaymentAll = new System.Windows.Forms.RadioButton(); this.btnTogglePaid = new System.Windows.Forms.Button(); this.invoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceTableAdapter(); this.viewItemNameOnInvoiceItemTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewItemNameOnInvoiceItemTableAdapter(); this.invoiceItemTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceItemTableAdapter(); this.distributorTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.DistributorTableAdapter(); this.customerTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.CustomerTableAdapter(); this.abrDateNew = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker(); this.btnChangeDate = new System.Windows.Forms.Button(); this.groupBoxDate = new System.Windows.Forms.GroupBox(); this.chkEndDate = new System.Windows.Forms.CheckBox(); this.chkStartDate = new System.Windows.Forms.CheckBox(); this.chequeTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ChequeTableAdapter(); this.btnEditInvoice = new System.Windows.Forms.Button(); this.chkStartPrice = new System.Windows.Forms.CheckBox(); this.chkEndPrice = new System.Windows.Forms.CheckBox(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.txtInvoiceIDSearch = new System.Windows.Forms.TextBox(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); this.lstInvoiceMenuStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); this.groupBoxPay.SuspendLayout(); this.groupBoxDate.SuspendLayout(); this.SuspendLayout(); // // lstInvoices // this.lstInvoices.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstInvoices.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.InvoiceID, this.AccName, this.InvoiceDate, this.TotalPrice, this.columnHeader7, this.columnHeader5, this.columnHeader6}); this.lstInvoices.ContextMenuStrip = this.lstInvoiceMenuStrip; this.lstInvoices.FullRowSelect = true; this.lstInvoices.HideSelection = false; this.lstInvoices.Location = new System.Drawing.Point(440, 10); this.lstInvoices.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstInvoices.MultiSelect = false; this.lstInvoices.Name = "lstInvoices"; this.lstInvoices.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstInvoices.RightToLeftLayout = true; this.lstInvoices.Size = new System.Drawing.Size(457, 599); this.lstInvoices.TabIndex = 0; this.lstInvoices.UseCompatibleStateImageBehavior = false; this.lstInvoices.View = System.Windows.Forms.View.Details; this.lstInvoices.VirtualMode = true; this.lstInvoices.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lstInvoices_ColumnClick); this.lstInvoices.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.lstInvoices_RetrieveVirtualItem); this.lstInvoices.SelectedIndexChanged += new System.EventHandler(this.lstInvoices_SelectedIndexChanged_1); this.lstInvoices.DoubleClick += new System.EventHandler(this.lstInvoices_DoubleClick); // // InvoiceID // this.InvoiceID.Text = "شماره"; this.InvoiceID.Width = 42; // // AccName // this.AccName.Text = "طرف حساب"; this.AccName.Width = 70; // // InvoiceDate // this.InvoiceDate.Text = "تاریخ "; this.InvoiceDate.Width = 75; // // TotalPrice // this.TotalPrice.Text = "مبلغ کل"; this.TotalPrice.Width = 80; // // columnHeader7 // this.columnHeader7.Text = "تخفیف"; this.columnHeader7.Width = 67; // // columnHeader5 // this.columnHeader5.Text = "نوع"; this.columnHeader5.Width = 40; // // columnHeader6 // this.columnHeader6.Text = "پرداخت"; this.columnHeader6.Width = 54; // // lstInvoiceMenuStrip // this.lstInvoiceMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.SaveDocumentToolStripMenuItem, this.SaveCashPayDocumentToolStripMenuItem, this.SaveChequeDocumentToolStripMenuItem}); this.lstInvoiceMenuStrip.Name = "lstInvoiceMenuStrip"; this.lstInvoiceMenuStrip.Size = new System.Drawing.Size(165, 92); // // SaveDocumentToolStripMenuItem // this.SaveDocumentToolStripMenuItem.Name = "SaveDocumentToolStripMenuItem"; this.SaveDocumentToolStripMenuItem.Size = new System.Drawing.Size(164, 22); this.SaveDocumentToolStripMenuItem.Text = "ثبت سند فاکتور"; this.SaveDocumentToolStripMenuItem.Click += new System.EventHandler(this.SaveDocumentToolStripMenuItem_Click); // // SaveCashPayDocumentToolStripMenuItem // this.SaveCashPayDocumentToolStripMenuItem.Name = "SaveCashPayDocumentToolStripMenuItem"; this.SaveCashPayDocumentToolStripMenuItem.Size = new System.Drawing.Size(164, 22); this.SaveCashPayDocumentToolStripMenuItem.Text = "ثبت سند پرداخت نقد"; this.SaveCashPayDocumentToolStripMenuItem.Click += new System.EventHandler(this.SaveCashPayDocumentToolStripMenuItem_Click); // // SaveChequeDocumentToolStripMenuItem // this.SaveChequeDocumentToolStripMenuItem.Name = "SaveChequeDocumentToolStripMenuItem"; this.SaveChequeDocumentToolStripMenuItem.Size = new System.Drawing.Size(164, 22); this.SaveChequeDocumentToolStripMenuItem.Text = "ثبت سند چک فاکتور"; this.SaveChequeDocumentToolStripMenuItem.Click += new System.EventHandler(this.SaveChequeDocumentToolStripMenuItem_Click); // // lstInvoiceItems // this.lstInvoiceItems.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstInvoiceItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ID, this.ItemID, this.ItemName, this.Count, this.price}); this.lstInvoiceItems.FullRowSelect = true; this.lstInvoiceItems.HideSelection = false; this.lstInvoiceItems.Location = new System.Drawing.Point(14, 10); this.lstInvoiceItems.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstInvoiceItems.Name = "lstInvoiceItems"; this.lstInvoiceItems.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstInvoiceItems.RightToLeftLayout = true; this.lstInvoiceItems.Size = new System.Drawing.Size(418, 599); this.lstInvoiceItems.TabIndex = 0; this.lstInvoiceItems.UseCompatibleStateImageBehavior = false; this.lstInvoiceItems.View = System.Windows.Forms.View.Details; this.lstInvoiceItems.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.list_ColumnClick); // // ID // this.ID.Text = "ردیف"; this.ID.Width = 40; // // ItemID // this.ItemID.Text = "کد کالا"; this.ItemID.Width = 71; // // ItemName // this.ItemName.Text = "نام کالا"; this.ItemName.Width = 131; // // Count // this.Count.Text = "تعداد"; this.Count.Width = 50; // // price // this.price.Text = "فی واحد"; this.price.Width = 62; // // btnDeleteInvoice // this.btnDeleteInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnDeleteInvoice.Enabled = false; this.btnDeleteInvoice.Image = global::Store.Properties.Resources.cancel; this.btnDeleteInvoice.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnDeleteInvoice.Location = new System.Drawing.Point(786, 614); this.btnDeleteInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnDeleteInvoice.Name = "btnDeleteInvoice"; this.btnDeleteInvoice.Size = new System.Drawing.Size(111, 50); this.btnDeleteInvoice.TabIndex = 1; this.btnDeleteInvoice.Text = "حذف فاکتور"; this.btnDeleteInvoice.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.toolTip.SetToolTip(this.btnDeleteInvoice, "حذف کامل فاکتور و تمامی اقلام آن و بازگرداندن/کم کردن موجودی انبار"); this.btnDeleteInvoice.UseVisualStyleBackColor = true; this.btnDeleteInvoice.Click += new System.EventHandler(this.btnDeleteInvoice_Click); // // abrDateStart // this.abrDateStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.abrDateStart.Enabled = false; this.abrDateStart.EndOfYears = 1900; this.abrDateStart.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.abrDateStart.isBorder3D = true; this.abrDateStart.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateStart.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateStart.Location = new System.Drawing.Point(7, 61); this.abrDateStart.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.abrDateStart.MaximumSize = new System.Drawing.Size(175, 37); this.abrDateStart.MinimumSize = new System.Drawing.Size(175, 37); this.abrDateStart.Name = "abrDateStart"; this.abrDateStart.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.abrDateStart.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202))))); this.abrDateStart.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.abrDateStart.SelectedDate = new System.DateTime(2014, 10, 19, 1, 1, 1, 1); this.abrDateStart.SelectedDateString = "1393/07/27"; this.abrDateStart.SelectedMonthName = null; this.abrDateStart.Size = new System.Drawing.Size(175, 37); this.abrDateStart.StartOfYears = 1350; this.abrDateStart.TabIndex = 3; this.toolTip.SetToolTip(this.abrDateStart, "تاریخ شروع فیلترگذاری"); // // abrDateEnd // this.abrDateEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.abrDateEnd.Enabled = false; this.abrDateEnd.EndOfYears = 1900; this.abrDateEnd.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.abrDateEnd.isBorder3D = true; this.abrDateEnd.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateEnd.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateEnd.Location = new System.Drawing.Point(7, 139); this.abrDateEnd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.abrDateEnd.MaximumSize = new System.Drawing.Size(175, 37); this.abrDateEnd.MinimumSize = new System.Drawing.Size(175, 37); this.abrDateEnd.Name = "abrDateEnd"; this.abrDateEnd.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.abrDateEnd.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202))))); this.abrDateEnd.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.abrDateEnd.SelectedDate = new System.DateTime(2014, 10, 19, 1, 1, 1, 1); this.abrDateEnd.SelectedDateString = "1393/07/27"; this.abrDateEnd.SelectedMonthName = null; this.abrDateEnd.Size = new System.Drawing.Size(175, 37); this.abrDateEnd.StartOfYears = 1350; this.abrDateEnd.TabIndex = 3; this.toolTip.SetToolTip(this.abrDateEnd, "تاریخ پایان فیلترگذاری"); // // txtPriceStart // this.txtPriceStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtPriceStart.Enabled = false; this.txtPriceStart.Location = new System.Drawing.Point(905, 323); this.txtPriceStart.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtPriceStart.Name = "txtPriceStart"; this.txtPriceStart.Size = new System.Drawing.Size(187, 27); this.txtPriceStart.TabIndex = 7; this.txtPriceStart.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPriceStart_KeyPress); // // txtPriceEnd // this.txtPriceEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtPriceEnd.Enabled = false; this.txtPriceEnd.Location = new System.Drawing.Point(905, 392); this.txtPriceEnd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtPriceEnd.Name = "txtPriceEnd"; this.txtPriceEnd.Size = new System.Drawing.Size(187, 27); this.txtPriceEnd.TabIndex = 7; this.txtPriceEnd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPriceEnd_KeyPress); // // btnApplyFilter // this.btnApplyFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnApplyFilter.Location = new System.Drawing.Point(904, 608); this.btnApplyFilter.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnApplyFilter.Name = "btnApplyFilter"; this.btnApplyFilter.Size = new System.Drawing.Size(189, 56); this.btnApplyFilter.TabIndex = 10; this.btnApplyFilter.Text = "فیلترگذاری"; this.btnApplyFilter.UseVisualStyleBackColor = true; this.btnApplyFilter.Click += new System.EventHandler(this.btnApplyFilter_Click); // // lstDistributors // this.lstDistributors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstDistributors.CheckBoxes = true; this.lstDistributors.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.checkboxes, this.AccountantID, this.AccountantName, this.AccountantPhone}); this.lstDistributors.FullRowSelect = true; this.lstDistributors.HideSelection = false; this.lstDistributors.Location = new System.Drawing.Point(1099, 41); this.lstDistributors.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstDistributors.Name = "lstDistributors"; this.lstDistributors.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstDistributors.RightToLeftLayout = true; this.lstDistributors.Size = new System.Drawing.Size(254, 289); this.lstDistributors.TabIndex = 11; this.lstDistributors.UseCompatibleStateImageBehavior = false; this.lstDistributors.View = System.Windows.Forms.View.Details; this.lstDistributors.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.list_ColumnClick); // // checkboxes // this.checkboxes.Text = ""; this.checkboxes.Width = 20; // // AccountantID // this.AccountantID.Text = "شناسه"; this.AccountantID.Width = 43; // // AccountantName // this.AccountantName.Text = "نام"; this.AccountantName.Width = 89; // // AccountantPhone // this.AccountantPhone.Text = "تلفن"; this.AccountantPhone.Width = 62; // // errorProvider // this.errorProvider.ContainerControl = this; // // 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(1268, 18); this.label1.Name = "label1"; this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label1.Size = new System.Drawing.Size(81, 20); this.label1.TabIndex = 12; this.label1.Text = "توزیع کننده ها"; this.label1.Visible = false; // // lstCustomers // this.lstCustomers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstCustomers.CheckBoxes = true; this.lstCustomers.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4}); this.lstCustomers.FullRowSelect = true; this.lstCustomers.HideSelection = false; this.lstCustomers.Location = new System.Drawing.Point(1100, 370); this.lstCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstCustomers.Name = "lstCustomers"; this.lstCustomers.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstCustomers.RightToLeftLayout = true; this.lstCustomers.Size = new System.Drawing.Size(254, 292); this.lstCustomers.TabIndex = 11; this.lstCustomers.UseCompatibleStateImageBehavior = false; this.lstCustomers.View = System.Windows.Forms.View.Details; this.lstCustomers.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.list_ColumnClick); // // columnHeader1 // this.columnHeader1.Text = ""; this.columnHeader1.Width = 20; // // columnHeader2 // this.columnHeader2.Text = "شناسه"; this.columnHeader2.Width = 43; // // columnHeader3 // this.columnHeader3.Text = "نام"; this.columnHeader3.Width = 80; // // columnHeader4 // this.columnHeader4.Text = "بدهی"; this.columnHeader4.Width = 76; // // 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(1295, 346); this.label2.Name = "label2"; this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label2.Size = new System.Drawing.Size(61, 20); this.label2.TabIndex = 13; this.label2.Text = "مشتری ها"; this.label2.Visible = false; // // btnCheckAllDistributors // this.btnCheckAllDistributors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCheckAllDistributors.Location = new System.Drawing.Point(1099, 12); this.btnCheckAllDistributors.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCheckAllDistributors.Name = "btnCheckAllDistributors"; this.btnCheckAllDistributors.Size = new System.Drawing.Size(87, 29); this.btnCheckAllDistributors.TabIndex = 14; this.btnCheckAllDistributors.Text = "انتخاب همه"; this.btnCheckAllDistributors.UseVisualStyleBackColor = true; this.btnCheckAllDistributors.Click += new System.EventHandler(this.btnCheckAllDistributors_Click); // // btnCheckAllCustomers // this.btnCheckAllCustomers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCheckAllCustomers.Location = new System.Drawing.Point(1100, 341); this.btnCheckAllCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCheckAllCustomers.Name = "btnCheckAllCustomers"; this.btnCheckAllCustomers.Size = new System.Drawing.Size(87, 29); this.btnCheckAllCustomers.TabIndex = 14; this.btnCheckAllCustomers.Text = "انتخاب همه"; this.btnCheckAllCustomers.UseVisualStyleBackColor = true; this.btnCheckAllCustomers.Click += new System.EventHandler(this.btnCheckAllCustomers_Click); // // btnUncheckAllCustomers // this.btnUncheckAllCustomers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUncheckAllCustomers.Location = new System.Drawing.Point(1195, 341); this.btnUncheckAllCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnUncheckAllCustomers.Name = "btnUncheckAllCustomers"; this.btnUncheckAllCustomers.Size = new System.Drawing.Size(76, 29); this.btnUncheckAllCustomers.TabIndex = 14; this.btnUncheckAllCustomers.Text = "حذف همه"; this.btnUncheckAllCustomers.UseVisualStyleBackColor = true; this.btnUncheckAllCustomers.Click += new System.EventHandler(this.btnUncheckAllCustomers_Click); // // btnUncheckAllDistributors // this.btnUncheckAllDistributors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUncheckAllDistributors.Location = new System.Drawing.Point(1193, 12); this.btnUncheckAllDistributors.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnUncheckAllDistributors.Name = "btnUncheckAllDistributors"; this.btnUncheckAllDistributors.Size = new System.Drawing.Size(76, 29); this.btnUncheckAllDistributors.TabIndex = 14; this.btnUncheckAllDistributors.Text = "حذف همه"; this.btnUncheckAllDistributors.UseVisualStyleBackColor = true; this.btnUncheckAllDistributors.Click += new System.EventHandler(this.btnUncheckAllDistributors_Click); // // groupBoxPay // this.groupBoxPay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBoxPay.Controls.Add(this.rdbtnUnpaidOnly); this.groupBoxPay.Controls.Add(this.rdbtnPaidOnly); this.groupBoxPay.Controls.Add(this.rdbtnPaymentAll); this.groupBoxPay.Controls.Add(this.btnTogglePaid); this.groupBoxPay.Location = new System.Drawing.Point(904, 430); this.groupBoxPay.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBoxPay.Name = "groupBoxPay"; this.groupBoxPay.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBoxPay.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.groupBoxPay.Size = new System.Drawing.Size(188, 170); this.groupBoxPay.TabIndex = 15; this.groupBoxPay.TabStop = false; this.groupBoxPay.Text = "وضعیت پرداخت"; // // rdbtnUnpaidOnly // this.rdbtnUnpaidOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rdbtnUnpaidOnly.AutoSize = true; this.rdbtnUnpaidOnly.Location = new System.Drawing.Point(85, 95); this.rdbtnUnpaidOnly.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.rdbtnUnpaidOnly.Name = "rdbtnUnpaidOnly"; this.rdbtnUnpaidOnly.Size = new System.Drawing.Size(96, 24); this.rdbtnUnpaidOnly.TabIndex = 0; this.rdbtnUnpaidOnly.Text = "پرداخت نشده"; this.rdbtnUnpaidOnly.UseVisualStyleBackColor = true; this.rdbtnUnpaidOnly.CheckedChanged += new System.EventHandler(this.rdbtnUnpaidOnly_CheckedChanged); // // rdbtnPaidOnly // this.rdbtnPaidOnly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rdbtnPaidOnly.AutoSize = true; this.rdbtnPaidOnly.Location = new System.Drawing.Point(88, 61); this.rdbtnPaidOnly.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.rdbtnPaidOnly.Name = "rdbtnPaidOnly"; this.rdbtnPaidOnly.Size = new System.Drawing.Size(92, 24); this.rdbtnPaidOnly.TabIndex = 0; this.rdbtnPaidOnly.Text = "پرداخت شده"; this.rdbtnPaidOnly.UseVisualStyleBackColor = true; this.rdbtnPaidOnly.CheckedChanged += new System.EventHandler(this.rdbtnPaidOnly_CheckedChanged); // // rdbtnPaymentAll // this.rdbtnPaymentAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rdbtnPaymentAll.AutoSize = true; this.rdbtnPaymentAll.Checked = true; this.rdbtnPaymentAll.Location = new System.Drawing.Point(135, 28); this.rdbtnPaymentAll.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.rdbtnPaymentAll.Name = "rdbtnPaymentAll"; this.rdbtnPaymentAll.Size = new System.Drawing.Size(46, 24); this.rdbtnPaymentAll.TabIndex = 0; this.rdbtnPaymentAll.TabStop = true; this.rdbtnPaymentAll.Text = "همه"; this.rdbtnPaymentAll.UseVisualStyleBackColor = true; this.rdbtnPaymentAll.CheckedChanged += new System.EventHandler(this.rdbtnPaymentAll_CheckedChanged); // // btnTogglePaid // this.btnTogglePaid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnTogglePaid.Location = new System.Drawing.Point(52, 123); this.btnTogglePaid.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnTogglePaid.Name = "btnTogglePaid"; this.btnTogglePaid.Size = new System.Drawing.Size(128, 38); this.btnTogglePaid.TabIndex = 1; this.btnTogglePaid.Text = "تغییر وضعیت پرداخت"; this.btnTogglePaid.UseVisualStyleBackColor = true; this.btnTogglePaid.Click += new System.EventHandler(this.btnTogglePaid_Click); // // invoiceTableAdapter // this.invoiceTableAdapter.ClearBeforeFill = true; // // viewItemNameOnInvoiceItemTableAdapter // this.viewItemNameOnInvoiceItemTableAdapter.ClearBeforeFill = true; // // invoiceItemTableAdapter // this.invoiceItemTableAdapter.ClearBeforeFill = true; // // distributorTableAdapter // this.distributorTableAdapter.ClearBeforeFill = true; // // customerTableAdapter // this.customerTableAdapter.ClearBeforeFill = true; // // abrDateNew // this.abrDateNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.abrDateNew.EndOfYears = 1900; this.abrDateNew.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.abrDateNew.isBorder3D = true; this.abrDateNew.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateNew.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateNew.Location = new System.Drawing.Point(6, 231); this.abrDateNew.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.abrDateNew.MaximumSize = new System.Drawing.Size(175, 37); this.abrDateNew.MinimumSize = new System.Drawing.Size(175, 37); this.abrDateNew.Name = "abrDateNew"; this.abrDateNew.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.abrDateNew.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202))))); this.abrDateNew.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.abrDateNew.SelectedDate = new System.DateTime(2012, 4, 3, 1, 1, 1, 1); this.abrDateNew.SelectedDateString = "1391/01/15"; this.abrDateNew.SelectedMonthName = null; this.abrDateNew.Size = new System.Drawing.Size(175, 37); this.abrDateNew.StartOfYears = 1350; this.abrDateNew.TabIndex = 3; this.toolTip.SetToolTip(this.abrDateNew, "تاریخ جدید فاکتور"); // // btnChangeDate // this.btnChangeDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnChangeDate.Enabled = false; this.btnChangeDate.Location = new System.Drawing.Point(70, 184); this.btnChangeDate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnChangeDate.Name = "btnChangeDate"; this.btnChangeDate.Size = new System.Drawing.Size(108, 38); this.btnChangeDate.TabIndex = 1; this.btnChangeDate.Text = "تغییر تاریخ به:"; this.btnChangeDate.UseVisualStyleBackColor = true; this.btnChangeDate.Click += new System.EventHandler(this.btnChangeDate_Click); // // groupBoxDate // this.groupBoxDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBoxDate.Controls.Add(this.abrDateStart); this.groupBoxDate.Controls.Add(this.abrDateEnd); this.groupBoxDate.Controls.Add(this.abrDateNew); this.groupBoxDate.Controls.Add(this.btnChangeDate); this.groupBoxDate.Controls.Add(this.chkEndDate); this.groupBoxDate.Controls.Add(this.chkStartDate); this.groupBoxDate.Location = new System.Drawing.Point(904, 10); this.groupBoxDate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBoxDate.Name = "groupBoxDate"; this.groupBoxDate.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBoxDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.groupBoxDate.Size = new System.Drawing.Size(188, 278); this.groupBoxDate.TabIndex = 16; this.groupBoxDate.TabStop = false; this.groupBoxDate.Text = "تاریخ"; // // chkEndDate // this.chkEndDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkEndDate.AutoSize = true; this.chkEndDate.Location = new System.Drawing.Point(116, 107); this.chkEndDate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkEndDate.Name = "chkEndDate"; this.chkEndDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkEndDate.Size = new System.Drawing.Size(66, 24); this.chkEndDate.TabIndex = 2; this.chkEndDate.Text = "تا تاریخ"; this.chkEndDate.UseVisualStyleBackColor = true; this.chkEndDate.CheckedChanged += new System.EventHandler(this.chkEndDate_CheckedChanged); // // chkStartDate // this.chkStartDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkStartDate.AutoSize = true; this.chkStartDate.Location = new System.Drawing.Point(113, 28); this.chkStartDate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkStartDate.Name = "chkStartDate"; this.chkStartDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkStartDate.Size = new System.Drawing.Size(67, 24); this.chkStartDate.TabIndex = 2; this.chkStartDate.Text = "از تاریخ"; this.chkStartDate.UseVisualStyleBackColor = true; this.chkStartDate.CheckedChanged += new System.EventHandler(this.chkStartDate_CheckedChanged); // // chequeTableAdapter // this.chequeTableAdapter.ClearBeforeFill = true; // // btnEditInvoice // this.btnEditInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnEditInvoice.Enabled = false; this.btnEditInvoice.Location = new System.Drawing.Point(440, 620); this.btnEditInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnEditInvoice.Name = "btnEditInvoice"; this.btnEditInvoice.Size = new System.Drawing.Size(115, 38); this.btnEditInvoice.TabIndex = 1; this.btnEditInvoice.Text = "تصحیح فاکتور"; this.btnEditInvoice.UseVisualStyleBackColor = true; this.btnEditInvoice.Click += new System.EventHandler(this.btnEditInvoice_Click); // // chkStartPrice // this.chkStartPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkStartPrice.AutoSize = true; this.chkStartPrice.Location = new System.Drawing.Point(1027, 295); this.chkStartPrice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkStartPrice.Name = "chkStartPrice"; this.chkStartPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkStartPrice.Size = new System.Drawing.Size(65, 24); this.chkStartPrice.TabIndex = 2; this.chkStartPrice.Text = "از مبلغ"; this.chkStartPrice.UseVisualStyleBackColor = true; this.chkStartPrice.CheckedChanged += new System.EventHandler(this.chkStartPrice_CheckedChanged); // // chkEndPrice // this.chkEndPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkEndPrice.AutoSize = true; this.chkEndPrice.Location = new System.Drawing.Point(1028, 358); this.chkEndPrice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkEndPrice.Name = "chkEndPrice"; this.chkEndPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkEndPrice.Size = new System.Drawing.Size(64, 24); this.chkEndPrice.TabIndex = 2; this.chkEndPrice.Text = "تا مبلغ"; this.chkEndPrice.UseVisualStyleBackColor = true; this.chkEndPrice.CheckedChanged += new System.EventHandler(this.chkEndPrice_CheckedChanged); // // timer1 // this.timer1.Enabled = true; this.timer1.Interval = 500; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // txtInvoiceIDSearch // this.txtInvoiceIDSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtInvoiceIDSearch.Location = new System.Drawing.Point(562, 626); this.txtInvoiceIDSearch.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtInvoiceIDSearch.Name = "txtInvoiceIDSearch"; this.txtInvoiceIDSearch.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtInvoiceIDSearch.Size = new System.Drawing.Size(216, 27); this.txtInvoiceIDSearch.TabIndex = 7; this.txtInvoiceIDSearch.Text = "جستجو با شماره فاکتور"; this.toolTip.SetToolTip(this.txtInvoiceIDSearch, "برای جستجو شماره فاکتور را تایپ کرده کلید\r\nEnter\r\nرا بزنید"); this.txtInvoiceIDSearch.Enter += new System.EventHandler(this.txtInvoiceIDSearch_Enter); this.txtInvoiceIDSearch.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInvoiceIDSearch_KeyPress); this.txtInvoiceIDSearch.Leave += new System.EventHandler(this.txtInvoiceIDSearch_Leave); // // toolTip // this.toolTip.AutomaticDelay = 100; this.toolTip.AutoPopDelay = 10000; this.toolTip.InitialDelay = 100; this.toolTip.IsBalloon = true; this.toolTip.ReshowDelay = 20; // // InvoiceManageForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.BlueViolet; this.ClientSize = new System.Drawing.Size(1362, 683); this.Controls.Add(this.groupBoxDate); this.Controls.Add(this.groupBoxPay); this.Controls.Add(this.btnUncheckAllDistributors); this.Controls.Add(this.btnUncheckAllCustomers); this.Controls.Add(this.btnCheckAllCustomers); this.Controls.Add(this.chkEndPrice); this.Controls.Add(this.chkStartPrice); this.Controls.Add(this.btnCheckAllDistributors); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.lstCustomers); this.Controls.Add(this.lstDistributors); this.Controls.Add(this.btnApplyFilter); this.Controls.Add(this.txtPriceEnd); this.Controls.Add(this.txtInvoiceIDSearch); this.Controls.Add(this.txtPriceStart); this.Controls.Add(this.btnEditInvoice); this.Controls.Add(this.btnDeleteInvoice); this.Controls.Add(this.lstInvoiceItems); this.Controls.Add(this.lstInvoices); 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 = "InvoiceManageForm"; this.Text = "مدیریت فاکتورها"; this.Activated += new System.EventHandler(this.InvoiceManageForm_Activated); this.Load += new System.EventHandler(this.InvoiceManageForm_Load); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.InvoiceManageForm_KeyPress); this.lstInvoiceMenuStrip.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); this.groupBoxPay.ResumeLayout(false); this.groupBoxPay.PerformLayout(); this.groupBoxDate.ResumeLayout(false); this.groupBoxDate.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.lstInvoiceForCheque = new System.Windows.Forms.ListView(); this.InvoiceID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ChequePerson = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Date = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Price = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.invoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceTableAdapter(); this.distributorTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.DistributorTableAdapter(); this.cmbAccountants = new System.Windows.Forms.ComboBox(); this.distributorBindingSource = new System.Windows.Forms.BindingSource(this.components); this.storeDBDataSet = new Store.DB.StoreDBDataSet(); this.viewDistributorNameOnInvoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewDistributorNameOnInvoiceTableAdapter(); this.txtChequeNumber = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.txtChequePrice = new System.Windows.Forms.TextBox(); this.bankAccountTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.BankAccountTableAdapter(); this.btnSaveChequeData = new System.Windows.Forms.Button(); this.txtInvoiceID = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components); this.bankAccountBindingSource = new System.Windows.Forms.BindingSource(this.components); this.cmbBankNameAccount = new System.Windows.Forms.ComboBox(); this.txtBankAccount = new System.Windows.Forms.TextBox(); this.abrChequeDate = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker(); this.label2 = new System.Windows.Forms.Label(); this.chequeTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ChequeTableAdapter(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.lblPrice = new System.Windows.Forms.Label(); this.chkPaidInvoices = new System.Windows.Forms.CheckBox(); this.timer1 = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.distributorBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bankAccountBindingSource)).BeginInit(); this.SuspendLayout(); // // lstInvoiceForCheque // this.lstInvoiceForCheque.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.lstInvoiceForCheque.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.InvoiceID, this.ChequePerson, this.Date, this.Price, this.columnHeader2, this.columnHeader1}); this.lstInvoiceForCheque.FullRowSelect = true; this.lstInvoiceForCheque.HideSelection = false; this.lstInvoiceForCheque.Location = new System.Drawing.Point(191, 83); this.lstInvoiceForCheque.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstInvoiceForCheque.MultiSelect = false; this.lstInvoiceForCheque.Name = "lstInvoiceForCheque"; this.lstInvoiceForCheque.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstInvoiceForCheque.RightToLeftLayout = true; this.lstInvoiceForCheque.Size = new System.Drawing.Size(545, 537); this.lstInvoiceForCheque.TabIndex = 2; this.lstInvoiceForCheque.UseCompatibleStateImageBehavior = false; this.lstInvoiceForCheque.View = System.Windows.Forms.View.Details; this.lstInvoiceForCheque.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lstInvoiceForCheque_ColumnClick); this.lstInvoiceForCheque.SelectedIndexChanged += new System.EventHandler(this.lstInvoiceForCheque_SelectedIndexChanged); // // InvoiceID // this.InvoiceID.Text = "شماره فاکتور"; this.InvoiceID.Width = 82; // // ChequePerson // this.ChequePerson.Text = "نام طرف حساب"; this.ChequePerson.Width = 114; // // Date // this.Date.Text = "تاریخ"; this.Date.Width = 75; // // Price // this.Price.Text = "مبلغ"; this.Price.Width = 71; // // columnHeader2 // this.columnHeader2.Text = "تخفیف"; // // columnHeader1 // this.columnHeader1.Text = "پرداخت"; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("B Roya", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.label1.Location = new System.Drawing.Point(675, 42); this.label1.Name = "label1"; this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label1.Size = new System.Drawing.Size(63, 31); this.label1.TabIndex = 2; this.label1.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(154, 355); this.label3.Name = "label3"; this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label3.Size = new System.Drawing.Size(33, 20); this.label3.TabIndex = 2; this.label3.Text = "مبلغ"; // // invoiceTableAdapter // this.invoiceTableAdapter.ClearBeforeFill = true; // // distributorTableAdapter // this.distributorTableAdapter.ClearBeforeFill = true; // // cmbAccountants // this.cmbAccountants.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmbAccountants.DataSource = this.distributorBindingSource; this.cmbAccountants.DisplayMember = "Name"; this.cmbAccountants.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbAccountants.FormattingEnabled = true; this.cmbAccountants.Location = new System.Drawing.Point(493, 9); this.cmbAccountants.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.cmbAccountants.Name = "cmbAccountants"; this.cmbAccountants.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.cmbAccountants.Size = new System.Drawing.Size(173, 27); this.cmbAccountants.TabIndex = 0; this.cmbAccountants.ValueMember = "ID"; this.cmbAccountants.SelectedIndexChanged += new System.EventHandler(this.cmbAccountants_SelectedIndexChanged); // // distributorBindingSource // this.distributorBindingSource.DataSource = typeof(Store.DB.Distributor); // // storeDBDataSet // this.storeDBDataSet.DataSetName = "StoreDBDataSet"; this.storeDBDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // viewDistributorNameOnInvoiceTableAdapter // this.viewDistributorNameOnInvoiceTableAdapter.ClearBeforeFill = true; // // txtChequeNumber // this.txtChequeNumber.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtChequeNumber.Location = new System.Drawing.Point(10, 308); this.txtChequeNumber.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtChequeNumber.Name = "txtChequeNumber"; this.txtChequeNumber.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtChequeNumber.Size = new System.Drawing.Size(173, 27); this.txtChequeNumber.TabIndex = 5; this.txtChequeNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumberTextBox_KeyPress); // // 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(107, 143); this.label4.Name = "label4"; this.label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label4.Size = new System.Drawing.Size(72, 20); this.label4.TabIndex = 17; this.label4.Text = "حساب بانکی"; // // 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(122, 285); this.label5.Name = "label5"; this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label5.Size = new System.Drawing.Size(64, 20); this.label5.TabIndex = 17; this.label5.Text = "شماره چک"; // // txtChequePrice // this.txtChequePrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtChequePrice.Location = new System.Drawing.Point(10, 379); this.txtChequePrice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtChequePrice.Name = "txtChequePrice"; this.txtChequePrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtChequePrice.Size = new System.Drawing.Size(173, 27); this.txtChequePrice.TabIndex = 6; this.txtChequePrice.TextChanged += new System.EventHandler(this.txtChequePrice_TextChanged); this.txtChequePrice.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumberTextBox_KeyPress); // // bankAccountTableAdapter // this.bankAccountTableAdapter.ClearBeforeFill = true; // // btnSaveChequeData // this.btnSaveChequeData.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSaveChequeData.Location = new System.Drawing.Point(10, 576); this.btnSaveChequeData.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSaveChequeData.Name = "btnSaveChequeData"; this.btnSaveChequeData.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.btnSaveChequeData.Size = new System.Drawing.Size(174, 47); this.btnSaveChequeData.TabIndex = 9; this.btnSaveChequeData.Text = "ثبت چک"; this.btnSaveChequeData.UseVisualStyleBackColor = true; this.btnSaveChequeData.Click += new System.EventHandler(this.btnSaveChequeData_Click); // // txtInvoiceID // this.txtInvoiceID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtInvoiceID.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.txtInvoiceID.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.txtInvoiceID.BackColor = System.Drawing.Color.NavajoWhite; this.txtInvoiceID.Enabled = false; this.txtInvoiceID.Location = new System.Drawing.Point(12, 96); this.txtInvoiceID.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtInvoiceID.Name = "txtInvoiceID"; this.txtInvoiceID.ReadOnly = true; this.txtInvoiceID.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtInvoiceID.Size = new System.Drawing.Size(174, 27); this.txtInvoiceID.TabIndex = 0; this.txtInvoiceID.TextChanged += new System.EventHandler(this.txtInvoiceID_TextChanged); this.txtInvoiceID.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumberTextBox_KeyPress); // // 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(104, 73); this.label6.Name = "label6"; this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label6.Size = new System.Drawing.Size(75, 20); this.label6.TabIndex = 2; this.label6.Text = "شماره فاکتور"; // // errorProvider // this.errorProvider.ContainerControl = this; this.errorProvider.RightToLeft = true; // // bankAccountBindingSource // this.bankAccountBindingSource.DataMember = "BankAccount"; this.bankAccountBindingSource.DataSource = this.storeDBDataSet; // // cmbBankNameAccount // this.cmbBankNameAccount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmbBankNameAccount.DataSource = this.bankAccountBindingSource; this.cmbBankNameAccount.DisplayMember = "NumberName"; this.cmbBankNameAccount.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbBankNameAccount.FormattingEnabled = true; this.cmbBankNameAccount.Location = new System.Drawing.Point(10, 167); this.cmbBankNameAccount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.cmbBankNameAccount.Name = "cmbBankNameAccount"; this.cmbBankNameAccount.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.cmbBankNameAccount.Size = new System.Drawing.Size(173, 27); this.cmbBankNameAccount.TabIndex = 3; this.cmbBankNameAccount.ValueMember = "ID"; this.cmbBankNameAccount.SelectedIndexChanged += new System.EventHandler(this.cmbBankNameAccount_SelectedIndexChanged); // // txtBankAccount // this.txtBankAccount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtBankAccount.Enabled = false; this.txtBankAccount.Location = new System.Drawing.Point(10, 238); this.txtBankAccount.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtBankAccount.Name = "txtBankAccount"; this.txtBankAccount.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtBankAccount.Size = new System.Drawing.Size(173, 27); this.txtBankAccount.TabIndex = 4; // // abrChequeDate // this.abrChequeDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.abrChequeDate.EndOfYears = 1900; this.abrChequeDate.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.abrChequeDate.isBorder3D = true; this.abrChequeDate.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrChequeDate.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrChequeDate.Location = new System.Drawing.Point(9, 484); this.abrChequeDate.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.abrChequeDate.MaximumSize = new System.Drawing.Size(175, 37); this.abrChequeDate.MinimumSize = new System.Drawing.Size(175, 37); this.abrChequeDate.Name = "abrChequeDate"; this.abrChequeDate.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.abrChequeDate.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202))))); this.abrChequeDate.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.abrChequeDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.abrChequeDate.SelectedDate = new System.DateTime(2012, 3, 30, 1, 1, 1, 1); this.abrChequeDate.SelectedDateString = "1391/01/11"; this.abrChequeDate.SelectedMonthName = null; this.abrChequeDate.Size = new System.Drawing.Size(175, 37); this.abrChequeDate.StartOfYears = 1350; this.abrChequeDate.TabIndex = 7; // // 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(100, 460); this.label2.Name = "label2"; this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label2.Size = new System.Drawing.Size(81, 20); this.label2.TabIndex = 23; this.label2.Text = "تاریخ سررسید"; // // chequeTableAdapter // this.chequeTableAdapter.ClearBeforeFill = true; // // 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(674, 13); this.label7.Name = "label7"; this.label7.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label7.Size = new System.Drawing.Size(72, 20); this.label7.TabIndex = 24; 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(100, 215); this.label8.Name = "label8"; this.label8.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label8.Size = new System.Drawing.Size(77, 20); this.label8.TabIndex = 26; this.label8.Text = "موجودی فعلی"; // // lblPrice // this.lblPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblPrice.Location = new System.Drawing.Point(12, 412); this.lblPrice.Name = "lblPrice"; this.lblPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lblPrice.Size = new System.Drawing.Size(174, 19); this.lblPrice.TabIndex = 27; // // chkPaidInvoices // this.chkPaidInvoices.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkPaidInvoices.AutoSize = true; this.chkPaidInvoices.Location = new System.Drawing.Point(300, 12); this.chkPaidInvoices.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkPaidInvoices.Name = "chkPaidInvoices"; this.chkPaidInvoices.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkPaidInvoices.Size = new System.Drawing.Size(187, 24); this.chkPaidInvoices.TabIndex = 1; this.chkPaidInvoices.Text = "نمایش فاکتورهای پرداخت شده"; this.chkPaidInvoices.UseVisualStyleBackColor = true; this.chkPaidInvoices.CheckedChanged += new System.EventHandler(this.chkPaidInvoices_CheckedChanged); // // timer1 // this.timer1.Enabled = true; this.timer1.Interval = 500; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // ChequeAddForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.IndianRed; this.ClientSize = new System.Drawing.Size(757, 639); this.Controls.Add(this.chkPaidInvoices); this.Controls.Add(this.lblPrice); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.label2); this.Controls.Add(this.abrChequeDate); this.Controls.Add(this.txtBankAccount); this.Controls.Add(this.cmbBankNameAccount); this.Controls.Add(this.btnSaveChequeData); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.cmbAccountants); this.Controls.Add(this.label3); this.Controls.Add(this.label6); this.Controls.Add(this.label1); this.Controls.Add(this.lstInvoiceForCheque); this.Controls.Add(this.txtChequePrice); this.Controls.Add(this.txtChequeNumber); this.Controls.Add(this.txtInvoiceID); 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 = "ChequeAddForm"; this.Text = "ثبت چک"; this.Activated += new System.EventHandler(this.ChequeAddForm_Activated); this.Load += new System.EventHandler(this.ChequeAddForm_Load); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ChequeAddForm_KeyPress); ((System.ComponentModel.ISupportInitialize)(this.distributorBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.storeDBDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bankAccountBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.txtDistName = new System.Windows.Forms.TextBox(); this.txtDistAddress = new System.Windows.Forms.TextBox(); this.txtDistPhone1 = new System.Windows.Forms.TextBox(); this.txtDistPhone2 = new System.Windows.Forms.TextBox(); this.txtDistPhone3 = new System.Windows.Forms.TextBox(); this.txtDistID = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.lstDistributors = new System.Windows.Forms.ListView(); this.ID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.DistName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Address = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.phone1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.phone2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.phone3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.btnAddDist = new System.Windows.Forms.Button(); this.btnDeleteDist = new System.Windows.Forms.Button(); this.lstCustomers = 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.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.txtCustomerName = new System.Windows.Forms.TextBox(); this.txtCustomerDebt = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.btnAddCustomer = new System.Windows.Forms.Button(); this.btnDeleteCustomer = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.numNewDebt = new System.Windows.Forms.NumericUpDown(); this.btnSaveDebt = new System.Windows.Forms.Button(); this.numCurrentDebt = new System.Windows.Forms.NumericUpDown(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.txtCustomerLastInvoice = new System.Windows.Forms.TextBox(); this.txtCustomerLastPayment = new System.Windows.Forms.TextBox(); this.txtCustomerID = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components); this.distributorTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.DistributorTableAdapter(); this.customerTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.CustomerTableAdapter(); this.invoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.InvoiceTableAdapter(); this.viewDistributorNameOnInvoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewDistributorNameOnInvoiceTableAdapter(); this.viewCustomerOnInvoiceTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewCustomerOnInvoiceTableAdapter(); this.dailyTransactionTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.DailyTransactionTableAdapter(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numNewDebt)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numCurrentDebt)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // txtDistName // this.txtDistName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.txtDistName.Location = new System.Drawing.Point(395, 548); this.txtDistName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtDistName.Name = "txtDistName"; this.txtDistName.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtDistName.Size = new System.Drawing.Size(77, 27); this.txtDistName.TabIndex = 0; this.txtDistName.TextChanged += new System.EventHandler(this.txtDistName_TextChanged); // // txtDistAddress // this.txtDistAddress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.txtDistAddress.Enabled = false; this.txtDistAddress.Location = new System.Drawing.Point(262, 548); this.txtDistAddress.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtDistAddress.Name = "txtDistAddress"; this.txtDistAddress.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtDistAddress.Size = new System.Drawing.Size(125, 27); this.txtDistAddress.TabIndex = 0; // // txtDistPhone1 // this.txtDistPhone1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.txtDistPhone1.Location = new System.Drawing.Point(181, 548); this.txtDistPhone1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtDistPhone1.Name = "txtDistPhone1"; this.txtDistPhone1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtDistPhone1.Size = new System.Drawing.Size(74, 27); this.txtDistPhone1.TabIndex = 0; this.txtDistPhone1.TextChanged += new System.EventHandler(this.txtDistPhone1_TextChanged); this.txtDistPhone1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtDistPhone1_KeyPress); // // txtDistPhone2 // this.txtDistPhone2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.txtDistPhone2.Enabled = false; this.txtDistPhone2.Location = new System.Drawing.Point(97, 548); this.txtDistPhone2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtDistPhone2.Name = "txtDistPhone2"; this.txtDistPhone2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtDistPhone2.Size = new System.Drawing.Size(76, 27); this.txtDistPhone2.TabIndex = 0; this.txtDistPhone2.TextChanged += new System.EventHandler(this.txtDistPhone2_TextChanged); this.txtDistPhone2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtDistPhone2_KeyPress); // // txtDistPhone3 // this.txtDistPhone3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.txtDistPhone3.Enabled = false; this.txtDistPhone3.Location = new System.Drawing.Point(14, 548); this.txtDistPhone3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtDistPhone3.Name = "txtDistPhone3"; this.txtDistPhone3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtDistPhone3.Size = new System.Drawing.Size(75, 27); this.txtDistPhone3.TabIndex = 0; // // txtDistID // this.txtDistID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.txtDistID.Enabled = false; this.txtDistID.Location = new System.Drawing.Point(481, 548); this.txtDistID.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtDistID.Name = "txtDistID"; this.txtDistID.ReadOnly = true; this.txtDistID.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtDistID.Size = new System.Drawing.Size(69, 27); this.txtDistID.TabIndex = 0; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(510, 525); this.label1.Name = "label1"; this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label1.Size = new System.Drawing.Size(42, 20); this.label1.TabIndex = 1; this.label1.Text = "شناسه"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(450, 525); this.label2.Name = "label2"; this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label2.Size = new System.Drawing.Size(24, 20); this.label2.TabIndex = 1; this.label2.Text = "نام"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(353, 525); this.label3.Name = "label3"; this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label3.Size = new System.Drawing.Size(40, 20); this.label3.TabIndex = 1; this.label3.Text = "آدرس"; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(216, 525); this.label4.Name = "label4"; this.label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label4.Size = new System.Drawing.Size(39, 20); this.label4.TabIndex = 1; this.label4.Text = "تلفن1"; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(136, 525); this.label5.Name = "label5"; this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label5.Size = new System.Drawing.Size(39, 20); this.label5.TabIndex = 1; this.label5.Text = "تلفن2"; // // label6 // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(55, 525); this.label6.Name = "label6"; this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label6.Size = new System.Drawing.Size(39, 20); this.label6.TabIndex = 1; this.label6.Text = "تلفن3"; // // lstDistributors // this.lstDistributors.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.lstDistributors.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ID, this.DistName, this.Address, this.phone1, this.phone2, this.phone3}); this.lstDistributors.FullRowSelect = true; this.lstDistributors.Location = new System.Drawing.Point(14, 28); this.lstDistributors.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstDistributors.MultiSelect = false; this.lstDistributors.Name = "lstDistributors"; this.lstDistributors.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstDistributors.RightToLeftLayout = true; this.lstDistributors.Size = new System.Drawing.Size(536, 448); this.lstDistributors.TabIndex = 2; this.lstDistributors.UseCompatibleStateImageBehavior = false; this.lstDistributors.View = System.Windows.Forms.View.Details; this.lstDistributors.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lists_ColumnClick); this.lstDistributors.SelectedIndexChanged += new System.EventHandler(this.lstDistributors_SelectedIndexChanged); this.lstDistributors.DoubleClick += new System.EventHandler(this.list_DoubleClick); // // ID // this.ID.Text = "شناسه"; this.ID.Width = 65; // // DistName // this.DistName.Text = "نام"; this.DistName.Width = 70; // // Address // this.Address.Text = "آدرس"; this.Address.Width = 113; // // phone1 // this.phone1.Text = "تلفن"; this.phone1.Width = 72; // // phone2 // this.phone2.Text = "تلفن"; this.phone2.Width = 72; // // phone3 // this.phone3.Text = "تلفن"; this.phone3.Width = 64; // // btnAddDist // this.btnAddDist.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnAddDist.Enabled = false; this.btnAddDist.Location = new System.Drawing.Point(14, 487); this.btnAddDist.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnAddDist.Name = "btnAddDist"; this.btnAddDist.Size = new System.Drawing.Size(107, 34); this.btnAddDist.TabIndex = 3; this.btnAddDist.Text = "ذخیره در لیست"; this.btnAddDist.UseVisualStyleBackColor = true; this.btnAddDist.Click += new System.EventHandler(this.btnAddDist_Click); // // btnDeleteDist // this.btnDeleteDist.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnDeleteDist.Enabled = false; this.btnDeleteDist.Location = new System.Drawing.Point(412, 487); this.btnDeleteDist.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnDeleteDist.Name = "btnDeleteDist"; this.btnDeleteDist.Size = new System.Drawing.Size(139, 34); this.btnDeleteDist.TabIndex = 3; this.btnDeleteDist.Text = "حذف توزیع کننده"; this.btnDeleteDist.UseVisualStyleBackColor = true; this.btnDeleteDist.Click += new System.EventHandler(this.btnDeleteDist_Click); // // lstCustomers // this.lstCustomers.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstCustomers.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5}); this.lstCustomers.FullRowSelect = true; this.lstCustomers.Location = new System.Drawing.Point(7, 28); this.lstCustomers.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstCustomers.Name = "lstCustomers"; this.lstCustomers.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstCustomers.RightToLeftLayout = true; this.lstCustomers.Size = new System.Drawing.Size(475, 339); this.lstCustomers.TabIndex = 4; this.lstCustomers.UseCompatibleStateImageBehavior = false; this.lstCustomers.View = System.Windows.Forms.View.Details; this.lstCustomers.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lists_ColumnClick); this.lstCustomers.SelectedIndexChanged += new System.EventHandler(this.lstCustomers_SelectedIndexChanged); this.lstCustomers.DoubleClick += new System.EventHandler(this.list_DoubleClick); // // columnHeader1 // this.columnHeader1.Text = "شناسه"; // // columnHeader2 // this.columnHeader2.Text = "نام"; this.columnHeader2.Width = 73; // // columnHeader3 // this.columnHeader3.Text = "بدهی"; this.columnHeader3.Width = 65; // // columnHeader4 // this.columnHeader4.Text = "آخرین پرداخت"; this.columnHeader4.Width = 89; // // columnHeader5 // this.columnHeader5.Text = "آخرین خرید"; this.columnHeader5.Width = 99; // // txtCustomerName // this.txtCustomerName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtCustomerName.Location = new System.Drawing.Point(307, 53); this.txtCustomerName.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtCustomerName.Name = "txtCustomerName"; this.txtCustomerName.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtCustomerName.Size = new System.Drawing.Size(84, 27); this.txtCustomerName.TabIndex = 0; this.txtCustomerName.TextChanged += new System.EventHandler(this.txtDistName_TextChanged); // // txtCustomerDebt // this.txtCustomerDebt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtCustomerDebt.Enabled = false; this.txtCustomerDebt.Location = new System.Drawing.Point(219, 53); this.txtCustomerDebt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtCustomerDebt.Name = "txtCustomerDebt"; this.txtCustomerDebt.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtCustomerDebt.Size = new System.Drawing.Size(80, 27); this.txtCustomerDebt.TabIndex = 0; // // 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(372, 29); this.label7.Name = "label7"; this.label7.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label7.Size = new System.Drawing.Size(24, 20); this.label7.TabIndex = 1; 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(265, 29); this.label8.Name = "label8"; this.label8.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label8.Size = new System.Drawing.Size(34, 20); this.label8.TabIndex = 1; this.label8.Text = "بدهی"; // // btnAddCustomer // this.btnAddCustomer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAddCustomer.Location = new System.Drawing.Point(13, 85); this.btnAddCustomer.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnAddCustomer.Name = "btnAddCustomer"; this.btnAddCustomer.Size = new System.Drawing.Size(199, 34); this.btnAddCustomer.TabIndex = 3; this.btnAddCustomer.Text = "ذخیره در لیست"; this.btnAddCustomer.UseVisualStyleBackColor = true; this.btnAddCustomer.Click += new System.EventHandler(this.btnAddCustomer_Click); // // btnDeleteCustomer // this.btnDeleteCustomer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnDeleteCustomer.Enabled = false; this.btnDeleteCustomer.Location = new System.Drawing.Point(373, 85); this.btnDeleteCustomer.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnDeleteCustomer.Name = "btnDeleteCustomer"; this.btnDeleteCustomer.Size = new System.Drawing.Size(96, 34); this.btnDeleteCustomer.TabIndex = 3; this.btnDeleteCustomer.Text = "حذف مشتری"; this.btnDeleteCustomer.UseVisualStyleBackColor = true; this.btnDeleteCustomer.Click += new System.EventHandler(this.btnDeleteCustomer_Click); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.btnAddDist); this.groupBox1.Controls.Add(this.lstDistributors); this.groupBox1.Controls.Add(this.txtDistName); this.groupBox1.Controls.Add(this.btnDeleteDist); this.groupBox1.Controls.Add(this.txtDistID); this.groupBox1.Controls.Add(this.txtDistAddress); this.groupBox1.Controls.Add(this.txtDistPhone1); this.groupBox1.Controls.Add(this.txtDistPhone2); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.txtDistPhone3); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Location = new System.Drawing.Point(532, 18); 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(558, 604); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.groupBox1.Text = "توزیع کننده ها"; // // groupBox2 // this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox2.Controls.Add(this.groupBox4); this.groupBox2.Controls.Add(this.lstCustomers); this.groupBox2.Location = new System.Drawing.Point(28, 18); this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBox2.Name = "groupBox2"; this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBox2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.groupBox2.Size = new System.Drawing.Size(497, 604); this.groupBox2.TabIndex = 6; this.groupBox2.TabStop = false; this.groupBox2.Text = "مشتری ها"; // // groupBox4 // this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox4.Controls.Add(this.numNewDebt); this.groupBox4.Controls.Add(this.btnSaveDebt); this.groupBox4.Controls.Add(this.numCurrentDebt); this.groupBox4.Controls.Add(this.label13); this.groupBox4.Controls.Add(this.label12); this.groupBox4.Location = new System.Drawing.Point(7, 513); this.groupBox4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBox4.Name = "groupBox4"; this.groupBox4.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBox4.Size = new System.Drawing.Size(476, 82); this.groupBox4.TabIndex = 5; this.groupBox4.TabStop = false; this.groupBox4.Text = " تغییر مبلغ بدهی (افزایش/کاهش) "; // // numNewDebt // this.numNewDebt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.numNewDebt.Location = new System.Drawing.Point(202, 44); this.numNewDebt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.numNewDebt.Maximum = new decimal(new int[] { -1981284353, -1966660860, 0, 0}); this.numNewDebt.Name = "numNewDebt"; this.numNewDebt.Size = new System.Drawing.Size(127, 27); this.numNewDebt.TabIndex = 0; this.numNewDebt.ThousandsSeparator = true; // // btnSaveDebt // this.btnSaveDebt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSaveDebt.Location = new System.Drawing.Point(7, 39); this.btnSaveDebt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSaveDebt.Name = "btnSaveDebt"; this.btnSaveDebt.Size = new System.Drawing.Size(104, 34); this.btnSaveDebt.TabIndex = 3; this.btnSaveDebt.Text = "ذخیره"; this.btnSaveDebt.UseVisualStyleBackColor = true; this.btnSaveDebt.Click += new System.EventHandler(this.btnSaveDebt_Click); // // numCurrentDebt // this.numCurrentDebt.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.numCurrentDebt.Enabled = false; this.numCurrentDebt.Location = new System.Drawing.Point(336, 44); this.numCurrentDebt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.numCurrentDebt.Maximum = new decimal(new int[] { -1981284353, -1966660860, 0, 0}); this.numCurrentDebt.Name = "numCurrentDebt"; this.numCurrentDebt.Size = new System.Drawing.Size(127, 27); this.numCurrentDebt.TabIndex = 0; this.numCurrentDebt.ThousandsSeparator = true; // // label13 // this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(266, 23); this.label13.Name = "label13"; this.label13.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label13.Size = new System.Drawing.Size(64, 20); this.label13.TabIndex = 1; this.label13.Text = "بدهی جدید"; // // label12 // this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(395, 23); this.label12.Name = "label12"; this.label12.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label12.Size = new System.Drawing.Size(61, 20); this.label12.TabIndex = 1; this.label12.Text = "بدهی فعلی"; // // txtCustomerLastInvoice // this.txtCustomerLastInvoice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtCustomerLastInvoice.Enabled = false; this.txtCustomerLastInvoice.Location = new System.Drawing.Point(14, 53); this.txtCustomerLastInvoice.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtCustomerLastInvoice.Name = "txtCustomerLastInvoice"; this.txtCustomerLastInvoice.ReadOnly = true; this.txtCustomerLastInvoice.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtCustomerLastInvoice.Size = new System.Drawing.Size(96, 27); this.txtCustomerLastInvoice.TabIndex = 0; // // txtCustomerLastPayment // this.txtCustomerLastPayment.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtCustomerLastPayment.Enabled = false; this.txtCustomerLastPayment.Location = new System.Drawing.Point(118, 53); this.txtCustomerLastPayment.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtCustomerLastPayment.Name = "txtCustomerLastPayment"; this.txtCustomerLastPayment.ReadOnly = true; this.txtCustomerLastPayment.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtCustomerLastPayment.Size = new System.Drawing.Size(94, 27); this.txtCustomerLastPayment.TabIndex = 0; // // txtCustomerID // this.txtCustomerID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtCustomerID.Enabled = false; this.txtCustomerID.Location = new System.Drawing.Point(399, 53); this.txtCustomerID.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtCustomerID.Name = "txtCustomerID"; this.txtCustomerID.ReadOnly = true; this.txtCustomerID.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtCustomerID.Size = new System.Drawing.Size(69, 27); this.txtCustomerID.TabIndex = 0; // // 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(428, 29); this.label9.Name = "label9"; this.label9.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label9.Size = new System.Drawing.Size(42, 20); this.label9.TabIndex = 1; this.label9.Text = "شناسه"; // // errorProvider // this.errorProvider.ContainerControl = this; // // distributorTableAdapter // this.distributorTableAdapter.ClearBeforeFill = true; // // customerTableAdapter // this.customerTableAdapter.ClearBeforeFill = true; // // invoiceTableAdapter // this.invoiceTableAdapter.ClearBeforeFill = true; // // viewDistributorNameOnInvoiceTableAdapter // this.viewDistributorNameOnInvoiceTableAdapter.ClearBeforeFill = true; // // viewCustomerOnInvoiceTableAdapter // this.viewCustomerOnInvoiceTableAdapter.ClearBeforeFill = true; // // dailyTransactionTableAdapter // this.dailyTransactionTableAdapter.ClearBeforeFill = true; // // timer1 // this.timer1.Enabled = true; this.timer1.Interval = 500; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // groupBox3 // this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox3.Controls.Add(this.txtCustomerID); this.groupBox3.Controls.Add(this.btnDeleteCustomer); this.groupBox3.Controls.Add(this.btnAddCustomer); this.groupBox3.Controls.Add(this.label7); this.groupBox3.Controls.Add(this.label9); this.groupBox3.Controls.Add(this.txtCustomerName); this.groupBox3.Controls.Add(this.label11); this.groupBox3.Controls.Add(this.label10); this.groupBox3.Controls.Add(this.label8); this.groupBox3.Controls.Add(this.txtCustomerLastInvoice); this.groupBox3.Controls.Add(this.txtCustomerDebt); this.groupBox3.Controls.Add(this.txtCustomerLastPayment); this.groupBox3.Location = new System.Drawing.Point(35, 395); this.groupBox3.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBox3.Name = "groupBox3"; this.groupBox3.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4); this.groupBox3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.groupBox3.Size = new System.Drawing.Size(476, 127); this.groupBox3.TabIndex = 5; this.groupBox3.TabStop = false; this.groupBox3.Text = " ثبت جدید و تغییر نام "; // // 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(34, 29); this.label11.Name = "label11"; this.label11.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label11.Size = new System.Drawing.Size(75, 20); this.label11.TabIndex = 1; this.label11.Text = "آخرین فاکتور"; // // 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(135, 29); this.label10.Name = "label10"; this.label10.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label10.Size = new System.Drawing.Size(83, 20); this.label10.TabIndex = 1; this.label10.Text = "آخرین پرداخت"; // // AccountantsManageForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.DarkTurquoise; this.ClientSize = new System.Drawing.Size(1104, 627); this.Controls.Add(this.groupBox3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); 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 = "AccountantsManageForm"; this.Text = "مدیریت طرف حسابها"; this.Activated += new System.EventHandler(this.AccountantsManageForm_Activated); this.Load += new System.EventHandler(this.AccountantsManageForm_Load); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.AccountantsManageForm_KeyPress); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numNewDebt)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numCurrentDebt)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.lstCheques = new System.Windows.Forms.ListView(); this.ChequeID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ChequeNum = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.BankNameAccNum = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ChequeDate = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ChequePrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ChequePaid = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.AccountantName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.InvoicePrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.InvoiceID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.txtSearchChequeNumber = new System.Windows.Forms.TextBox(); this.abrDateStart = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker(); this.abrDateEnd = new AbrAfzarGostaran.Windows.Forms.AbrPersianDatePicker(); this.chkDateStart = new System.Windows.Forms.CheckBox(); this.chkDateEnd = new System.Windows.Forms.CheckBox(); this.chkPriceStart = new System.Windows.Forms.CheckBox(); this.chkPriceEnd = new System.Windows.Forms.CheckBox(); this.txtPriceStart = new System.Windows.Forms.TextBox(); this.txtPriceEnd = new System.Windows.Forms.TextBox(); this.lstAccountants = new System.Windows.Forms.ListView(); this.checkboxes = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.AccountantID = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.AccountantPhone = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.label1 = new System.Windows.Forms.Label(); this.btnFilter = new System.Windows.Forms.Button(); this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components); this.btnSearchChequeNum = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.btnClear = new System.Windows.Forms.Button(); this.btnChangePaid = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.lstBankAccounts = new System.Windows.Forms.ListView(); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.distributorTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.DistributorTableAdapter(); this.viewDistributorNameOnInvoiceOnChequeTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ViewDistributorNameOnInvoiceOnChequeTableAdapter(); this.chequeTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.ChequeTableAdapter(); this.bankAccountTableAdapter = new Store.DB.StoreDBDataSetTableAdapters.BankAccountTableAdapter(); this.rdBtnAllCheques = new System.Windows.Forms.RadioButton(); this.rdBtnNonPaidCheques = new System.Windows.Forms.RadioButton(); this.rdBtnPaidCheques = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.btnDeleteCheck = new System.Windows.Forms.Button(); this.btnUncheckAllDistributors = new System.Windows.Forms.Button(); this.btnCheckAllDistributors = new System.Windows.Forms.Button(); this.btnUncheckAllBankAccounts = new System.Windows.Forms.Button(); this.btnCheckAllBankAccounts = new System.Windows.Forms.Button(); this.tmrList = new System.Windows.Forms.Timer(this.components); this.lblTotal = new System.Windows.Forms.Label(); this.lstChequesMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.SaveDocumentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); this.groupBox1.SuspendLayout(); this.lstChequesMenuStrip.SuspendLayout(); this.SuspendLayout(); // // lstCheques // this.lstCheques.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstCheques.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.ChequeID, this.ChequeNum, this.BankNameAccNum, this.ChequeDate, this.ChequePrice, this.ChequePaid, this.AccountantName, this.InvoicePrice, this.InvoiceID}); this.lstCheques.ContextMenuStrip = this.lstChequesMenuStrip; this.lstCheques.FullRowSelect = true; this.lstCheques.Location = new System.Drawing.Point(14, 48); this.lstCheques.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstCheques.MultiSelect = false; this.lstCheques.Name = "lstCheques"; this.lstCheques.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstCheques.RightToLeftLayout = true; this.lstCheques.Size = new System.Drawing.Size(793, 556); this.lstCheques.TabIndex = 0; this.lstCheques.UseCompatibleStateImageBehavior = false; this.lstCheques.View = System.Windows.Forms.View.Details; this.lstCheques.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.list_ColumnClick); this.lstCheques.SelectedIndexChanged += new System.EventHandler(this.lstCheques_SelectedIndexChanged); this.lstCheques.DoubleClick += new System.EventHandler(this.lstCheques_DoubleClick); // // ChequeID // this.ChequeID.Text = "کد چک"; this.ChequeID.Width = 50; // // ChequeNum // this.ChequeNum.Text = "شماره چک"; this.ChequeNum.Width = 80; // // BankNameAccNum // this.BankNameAccNum.Text = "بانک/حساب"; this.BankNameAccNum.Width = 125; // // ChequeDate // this.ChequeDate.Text = " تاریخ"; this.ChequeDate.Width = 80; // // ChequePrice // this.ChequePrice.Text = "مبلغ چک"; this.ChequePrice.Width = 80; // // ChequePaid // this.ChequePaid.Text = "وضعیت "; this.ChequePaid.Width = 80; // // AccountantName // this.AccountantName.Text = "طرف حساب"; this.AccountantName.Width = 125; // // InvoicePrice // this.InvoicePrice.Text = "مبلغ فاکتور"; this.InvoicePrice.Width = 90; // // InvoiceID // this.InvoiceID.Text = "ش فاکتور"; // // txtSearchChequeNumber // this.txtSearchChequeNumber.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtSearchChequeNumber.Location = new System.Drawing.Point(642, 9); this.txtSearchChequeNumber.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtSearchChequeNumber.Name = "txtSearchChequeNumber"; this.txtSearchChequeNumber.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtSearchChequeNumber.Size = new System.Drawing.Size(96, 27); this.txtSearchChequeNumber.TabIndex = 1; this.txtSearchChequeNumber.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSearchChequeNumber_KeyPress); // // abrDateStart // this.abrDateStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.abrDateStart.Enabled = false; this.abrDateStart.EndOfYears = 1900; this.abrDateStart.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.abrDateStart.isBorder3D = true; this.abrDateStart.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateStart.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateStart.Location = new System.Drawing.Point(833, 26); this.abrDateStart.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.abrDateStart.MaximumSize = new System.Drawing.Size(175, 37); this.abrDateStart.MinimumSize = new System.Drawing.Size(175, 37); this.abrDateStart.Name = "abrDateStart"; this.abrDateStart.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.abrDateStart.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202))))); this.abrDateStart.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.abrDateStart.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.abrDateStart.SelectedDate = new System.DateTime(2012, 4, 3, 1, 1, 1, 1); this.abrDateStart.SelectedDateString = "1391/01/15"; this.abrDateStart.SelectedMonthName = null; this.abrDateStart.Size = new System.Drawing.Size(175, 37); this.abrDateStart.StartOfYears = 1350; this.abrDateStart.TabIndex = 2; // // abrDateEnd // this.abrDateEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.abrDateEnd.Enabled = false; this.abrDateEnd.EndOfYears = 1900; this.abrDateEnd.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(254)))), ((int)(((byte)(254))))); this.abrDateEnd.isBorder3D = true; this.abrDateEnd.ItemsFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateEnd.LinearListFont = new System.Drawing.Font("B Roya", 15F, System.Drawing.FontStyle.Bold); this.abrDateEnd.Location = new System.Drawing.Point(833, 72); this.abrDateEnd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.abrDateEnd.MaximumSize = new System.Drawing.Size(175, 37); this.abrDateEnd.MinimumSize = new System.Drawing.Size(175, 37); this.abrDateEnd.Name = "abrDateEnd"; this.abrDateEnd.OuterBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); this.abrDateEnd.PanelEndBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(202)))), ((int)(((byte)(202))))); this.abrDateEnd.PanelStartBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239))))); this.abrDateEnd.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.abrDateEnd.SelectedDate = new System.DateTime(2012, 4, 3, 1, 1, 1, 1); this.abrDateEnd.SelectedDateString = "1391/01/15"; this.abrDateEnd.SelectedMonthName = null; this.abrDateEnd.Size = new System.Drawing.Size(175, 37); this.abrDateEnd.StartOfYears = 1350; this.abrDateEnd.TabIndex = 2; // // chkDateStart // this.chkDateStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkDateStart.AutoSize = true; this.chkDateStart.Location = new System.Drawing.Point(1020, 26); this.chkDateStart.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkDateStart.Name = "chkDateStart"; this.chkDateStart.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkDateStart.Size = new System.Drawing.Size(67, 24); this.chkDateStart.TabIndex = 3; this.chkDateStart.Text = "از تاریخ"; this.chkDateStart.UseVisualStyleBackColor = true; this.chkDateStart.CheckedChanged += new System.EventHandler(this.chkDateStart_CheckedChanged); // // chkDateEnd // this.chkDateEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkDateEnd.AutoSize = true; this.chkDateEnd.Location = new System.Drawing.Point(1021, 82); this.chkDateEnd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkDateEnd.Name = "chkDateEnd"; this.chkDateEnd.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkDateEnd.Size = new System.Drawing.Size(66, 24); this.chkDateEnd.TabIndex = 4; this.chkDateEnd.Text = "تا تاریخ"; this.chkDateEnd.UseVisualStyleBackColor = true; this.chkDateEnd.CheckedChanged += new System.EventHandler(this.chkDateEnd_CheckedChanged); // // chkPriceStart // this.chkPriceStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkPriceStart.AutoSize = true; this.chkPriceStart.Location = new System.Drawing.Point(1022, 115); this.chkPriceStart.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkPriceStart.Name = "chkPriceStart"; this.chkPriceStart.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkPriceStart.Size = new System.Drawing.Size(65, 24); this.chkPriceStart.TabIndex = 4; this.chkPriceStart.Text = "از مبلغ"; this.chkPriceStart.UseVisualStyleBackColor = true; this.chkPriceStart.CheckedChanged += new System.EventHandler(this.chkPriceStart_CheckedChanged); // // chkPriceEnd // this.chkPriceEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.chkPriceEnd.AutoSize = true; this.chkPriceEnd.Location = new System.Drawing.Point(1023, 156); this.chkPriceEnd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.chkPriceEnd.Name = "chkPriceEnd"; this.chkPriceEnd.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.chkPriceEnd.Size = new System.Drawing.Size(64, 24); this.chkPriceEnd.TabIndex = 4; this.chkPriceEnd.Text = "تا مبلغ"; this.chkPriceEnd.UseVisualStyleBackColor = true; this.chkPriceEnd.CheckedChanged += new System.EventHandler(this.chkPriceEnd_CheckedChanged); // // txtPriceStart // this.txtPriceStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtPriceStart.Enabled = false; this.txtPriceStart.Location = new System.Drawing.Point(912, 115); this.txtPriceStart.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtPriceStart.Name = "txtPriceStart"; this.txtPriceStart.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtPriceStart.Size = new System.Drawing.Size(102, 27); this.txtPriceStart.TabIndex = 1; this.txtPriceStart.TextChanged += new System.EventHandler(this.txtPriceStart_TextChanged); this.txtPriceStart.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNumberOnly_KeyPress); // // txtPriceEnd // this.txtPriceEnd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtPriceEnd.Enabled = false; this.txtPriceEnd.Location = new System.Drawing.Point(912, 153); this.txtPriceEnd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.txtPriceEnd.Name = "txtPriceEnd"; this.txtPriceEnd.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtPriceEnd.Size = new System.Drawing.Size(102, 27); this.txtPriceEnd.TabIndex = 1; this.txtPriceEnd.TextChanged += new System.EventHandler(this.txtPriceEnd_TextChanged); this.txtPriceEnd.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtNumberOnly_KeyPress); // // lstAccountants // this.lstAccountants.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstAccountants.CheckBoxes = true; this.lstAccountants.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.checkboxes, this.AccountantID, this.columnHeader1, this.AccountantPhone}); this.lstAccountants.FullRowSelect = true; this.lstAccountants.HideSelection = false; this.lstAccountants.Location = new System.Drawing.Point(818, 444); this.lstAccountants.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstAccountants.MultiSelect = false; this.lstAccountants.Name = "lstAccountants"; this.lstAccountants.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstAccountants.RightToLeftLayout = true; this.lstAccountants.Size = new System.Drawing.Size(272, 160); this.lstAccountants.TabIndex = 12; this.lstAccountants.UseCompatibleStateImageBehavior = false; this.lstAccountants.View = System.Windows.Forms.View.Details; this.lstAccountants.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.list_ColumnClick); this.lstAccountants.SelectedIndexChanged += new System.EventHandler(this.lstAccountants_SelectedIndexChanged); // // checkboxes // this.checkboxes.Text = ""; this.checkboxes.Width = 20; // // AccountantID // this.AccountantID.Text = "کد"; this.AccountantID.Width = 35; // // columnHeader1 // this.columnHeader1.Text = "نام"; this.columnHeader1.Width = 95; // // AccountantPhone // this.AccountantPhone.Text = "تلفن"; this.AccountantPhone.Width = 80; // // 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(1006, 421); this.label1.Name = "label1"; this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label1.Size = new System.Drawing.Size(87, 20); this.label1.TabIndex = 13; this.label1.Text = "طرف حساب ها"; // // btnFilter // this.btnFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnFilter.Location = new System.Drawing.Point(980, 615); this.btnFilter.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnFilter.Name = "btnFilter"; this.btnFilter.Size = new System.Drawing.Size(111, 44); this.btnFilter.TabIndex = 14; this.btnFilter.Text = "فیلتر گذاری"; this.btnFilter.UseVisualStyleBackColor = true; this.btnFilter.Click += new System.EventHandler(this.btnFilter_Click); // // errorProvider // this.errorProvider.ContainerControl = this; this.errorProvider.RightToLeft = true; // // btnSearchChequeNum // this.btnSearchChequeNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSearchChequeNum.Location = new System.Drawing.Point(374, 6); this.btnSearchChequeNum.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnSearchChequeNum.Name = "btnSearchChequeNum"; this.btnSearchChequeNum.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.btnSearchChequeNum.Size = new System.Drawing.Size(260, 34); this.btnSearchChequeNum.TabIndex = 15; this.btnSearchChequeNum.Text = "جستجو بر اساس شماره چک بدون فیلتر"; this.btnSearchChequeNum.UseVisualStyleBackColor = true; this.btnSearchChequeNum.Click += new System.EventHandler(this.btnSearchChequeNum_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(745, 13); this.label2.Name = "label2"; this.label2.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label2.Size = new System.Drawing.Size(64, 20); this.label2.TabIndex = 16; this.label2.Text = "شماره چک"; // // btnClear // this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClear.Location = new System.Drawing.Point(14, 6); this.btnClear.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(100, 34); this.btnClear.TabIndex = 17; this.btnClear.Text = "پاک کردن لیست"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // btnChangePaid // this.btnChangePaid.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnChangePaid.Location = new System.Drawing.Point(672, 615); this.btnChangePaid.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnChangePaid.Name = "btnChangePaid"; this.btnChangePaid.Size = new System.Drawing.Size(135, 44); this.btnChangePaid.TabIndex = 18; this.btnChangePaid.Text = "تغییر وضعیت پرداخت"; this.btnChangePaid.UseVisualStyleBackColor = true; this.btnChangePaid.Click += new System.EventHandler(this.btnPayCheque_Click); // // 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(1015, 210); this.label3.Name = "label3"; this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label3.Size = new System.Drawing.Size(72, 20); this.label3.TabIndex = 19; this.label3.Text = "حساب بانکی"; // // lstBankAccounts // this.lstBankAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lstBankAccounts.CheckBoxes = true; this.lstBankAccounts.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5}); this.lstBankAccounts.FullRowSelect = true; this.lstBankAccounts.HideSelection = false; this.lstBankAccounts.Location = new System.Drawing.Point(818, 234); this.lstBankAccounts.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.lstBankAccounts.MultiSelect = false; this.lstBankAccounts.Name = "lstBankAccounts"; this.lstBankAccounts.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lstBankAccounts.RightToLeftLayout = true; this.lstBankAccounts.Size = new System.Drawing.Size(272, 169); this.lstBankAccounts.TabIndex = 20; this.lstBankAccounts.UseCompatibleStateImageBehavior = false; this.lstBankAccounts.View = System.Windows.Forms.View.Details; this.lstBankAccounts.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.list_ColumnClick); // // columnHeader2 // this.columnHeader2.Text = ""; this.columnHeader2.Width = 20; // // columnHeader3 // this.columnHeader3.Text = "شناسه"; this.columnHeader3.Width = 45; // // columnHeader4 // this.columnHeader4.Text = "شماره حساب"; this.columnHeader4.Width = 85; // // columnHeader5 // this.columnHeader5.Text = "نام بانک"; this.columnHeader5.Width = 80; // // distributorTableAdapter // this.distributorTableAdapter.ClearBeforeFill = true; // // viewDistributorNameOnInvoiceOnChequeTableAdapter // this.viewDistributorNameOnInvoiceOnChequeTableAdapter.ClearBeforeFill = true; // // chequeTableAdapter // this.chequeTableAdapter.ClearBeforeFill = true; // // bankAccountTableAdapter // this.bankAccountTableAdapter.ClearBeforeFill = true; // // rdBtnAllCheques // this.rdBtnAllCheques.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rdBtnAllCheques.AutoSize = true; this.rdBtnAllCheques.Checked = true; this.rdBtnAllCheques.Location = new System.Drawing.Point(274, 23); this.rdBtnAllCheques.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.rdBtnAllCheques.Name = "rdBtnAllCheques"; this.rdBtnAllCheques.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.rdBtnAllCheques.Size = new System.Drawing.Size(46, 24); this.rdBtnAllCheques.TabIndex = 21; this.rdBtnAllCheques.TabStop = true; this.rdBtnAllCheques.Text = "همه"; this.rdBtnAllCheques.UseVisualStyleBackColor = true; this.rdBtnAllCheques.CheckedChanged += new System.EventHandler(this.rdBtnAllCheques_CheckedChanged); // // rdBtnNonPaidCheques // this.rdBtnNonPaidCheques.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rdBtnNonPaidCheques.AutoSize = true; this.rdBtnNonPaidCheques.Location = new System.Drawing.Point(18, 23); this.rdBtnNonPaidCheques.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.rdBtnNonPaidCheques.Name = "rdBtnNonPaidCheques"; this.rdBtnNonPaidCheques.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.rdBtnNonPaidCheques.Size = new System.Drawing.Size(120, 24); this.rdBtnNonPaidCheques.TabIndex = 22; this.rdBtnNonPaidCheques.Text = "فقط پرداخت نشده"; this.rdBtnNonPaidCheques.UseVisualStyleBackColor = true; this.rdBtnNonPaidCheques.CheckedChanged += new System.EventHandler(this.rdBtnNonPaidCheques_CheckedChanged); // // rdBtnPaidCheques // this.rdBtnPaidCheques.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.rdBtnPaidCheques.AutoSize = true; this.rdBtnPaidCheques.Location = new System.Drawing.Point(148, 23); this.rdBtnPaidCheques.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.rdBtnPaidCheques.Name = "rdBtnPaidCheques"; this.rdBtnPaidCheques.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.rdBtnPaidCheques.Size = new System.Drawing.Size(116, 24); this.rdBtnPaidCheques.TabIndex = 23; this.rdBtnPaidCheques.Text = "فقط پرداخت شده"; this.rdBtnPaidCheques.UseVisualStyleBackColor = true; this.rdBtnPaidCheques.CheckedChanged += new System.EventHandler(this.rdBtnPaidCheques_CheckedChanged); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.rdBtnAllCheques); this.groupBox1.Controls.Add(this.rdBtnNonPaidCheques); this.groupBox1.Controls.Add(this.rdBtnPaidCheques); this.groupBox1.Location = new System.Drawing.Point(14, 607); 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(327, 53); this.groupBox1.TabIndex = 24; this.groupBox1.TabStop = false; this.groupBox1.Text = "نمایش چکها"; // // btnDeleteCheck // this.btnDeleteCheck.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnDeleteCheck.Image = global::Store.Properties.Resources.cancel; this.btnDeleteCheck.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnDeleteCheck.Location = new System.Drawing.Point(573, 615); this.btnDeleteCheck.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnDeleteCheck.Name = "btnDeleteCheck"; this.btnDeleteCheck.Size = new System.Drawing.Size(91, 44); this.btnDeleteCheck.TabIndex = 25; this.btnDeleteCheck.Text = "حذف چک"; this.btnDeleteCheck.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnDeleteCheck.UseVisualStyleBackColor = true; this.btnDeleteCheck.Click += new System.EventHandler(this.btnDeleteCheck_Click); // // btnUncheckAllDistributors // this.btnUncheckAllDistributors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUncheckAllDistributors.Location = new System.Drawing.Point(912, 415); this.btnUncheckAllDistributors.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnUncheckAllDistributors.Name = "btnUncheckAllDistributors"; this.btnUncheckAllDistributors.Size = new System.Drawing.Size(76, 29); this.btnUncheckAllDistributors.TabIndex = 27; this.btnUncheckAllDistributors.Text = "حذف همه"; this.btnUncheckAllDistributors.UseVisualStyleBackColor = true; this.btnUncheckAllDistributors.Click += new System.EventHandler(this.btnUncheckAllDistributors_Click); // // btnCheckAllDistributors // this.btnCheckAllDistributors.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCheckAllDistributors.Location = new System.Drawing.Point(818, 415); this.btnCheckAllDistributors.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCheckAllDistributors.Name = "btnCheckAllDistributors"; this.btnCheckAllDistributors.Size = new System.Drawing.Size(87, 29); this.btnCheckAllDistributors.TabIndex = 26; this.btnCheckAllDistributors.Text = "انتخاب همه"; this.btnCheckAllDistributors.UseVisualStyleBackColor = true; this.btnCheckAllDistributors.Click += new System.EventHandler(this.btnCheckAllDistributors_Click); // // btnUncheckAllBankAccounts // this.btnUncheckAllBankAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnUncheckAllBankAccounts.Location = new System.Drawing.Point(912, 205); this.btnUncheckAllBankAccounts.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnUncheckAllBankAccounts.Name = "btnUncheckAllBankAccounts"; this.btnUncheckAllBankAccounts.Size = new System.Drawing.Size(76, 29); this.btnUncheckAllBankAccounts.TabIndex = 29; this.btnUncheckAllBankAccounts.Text = "حذف همه"; this.btnUncheckAllBankAccounts.UseVisualStyleBackColor = true; this.btnUncheckAllBankAccounts.Click += new System.EventHandler(this.btnUncheckAllBankAccounts_Click); // // btnCheckAllBankAccounts // this.btnCheckAllBankAccounts.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCheckAllBankAccounts.Location = new System.Drawing.Point(818, 205); this.btnCheckAllBankAccounts.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.btnCheckAllBankAccounts.Name = "btnCheckAllBankAccounts"; this.btnCheckAllBankAccounts.Size = new System.Drawing.Size(87, 29); this.btnCheckAllBankAccounts.TabIndex = 28; this.btnCheckAllBankAccounts.Text = "انتخاب همه"; this.btnCheckAllBankAccounts.UseVisualStyleBackColor = true; this.btnCheckAllBankAccounts.Click += new System.EventHandler(this.btnCheckAllBankAccounts_Click); // // tmrList // this.tmrList.Enabled = true; this.tmrList.Interval = 500; this.tmrList.Tick += new System.EventHandler(this.tmrList_Tick); // // lblTotal // this.lblTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.lblTotal.Location = new System.Drawing.Point(348, 615); this.lblTotal.Name = "lblTotal"; this.lblTotal.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lblTotal.Size = new System.Drawing.Size(218, 44); this.lblTotal.TabIndex = 13; this.lblTotal.Text = "مجموع مبلغ چکها"; this.lblTotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lstChequesMenuStrip // this.lstChequesMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.SaveDocumentToolStripMenuItem}); this.lstChequesMenuStrip.Name = "lstChequesMenuStrip"; this.lstChequesMenuStrip.Size = new System.Drawing.Size(112, 26); // // SaveDocumentToolStripMenuItem // this.SaveDocumentToolStripMenuItem.Name = "SaveDocumentToolStripMenuItem"; this.SaveDocumentToolStripMenuItem.Size = new System.Drawing.Size(111, 22); this.SaveDocumentToolStripMenuItem.Text = "ثبت سند"; this.SaveDocumentToolStripMenuItem.Click += new System.EventHandler(this.SaveDocumentToolStripMenuItem_Click); // // ChequeManageForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.DarkOrange; this.ClientSize = new System.Drawing.Size(1094, 672); this.Controls.Add(this.btnUncheckAllBankAccounts); this.Controls.Add(this.btnCheckAllBankAccounts); this.Controls.Add(this.btnUncheckAllDistributors); this.Controls.Add(this.btnCheckAllDistributors); this.Controls.Add(this.btnDeleteCheck); this.Controls.Add(this.groupBox1); this.Controls.Add(this.lstBankAccounts); this.Controls.Add(this.label3); this.Controls.Add(this.btnChangePaid); this.Controls.Add(this.btnClear); this.Controls.Add(this.label2); this.Controls.Add(this.btnSearchChequeNum); this.Controls.Add(this.btnFilter); this.Controls.Add(this.lblTotal); this.Controls.Add(this.label1); this.Controls.Add(this.lstAccountants); this.Controls.Add(this.chkPriceEnd); this.Controls.Add(this.chkPriceStart); this.Controls.Add(this.chkDateEnd); this.Controls.Add(this.chkDateStart); this.Controls.Add(this.abrDateEnd); this.Controls.Add(this.abrDateStart); this.Controls.Add(this.txtPriceEnd); this.Controls.Add(this.txtPriceStart); this.Controls.Add(this.txtSearchChequeNumber); this.Controls.Add(this.lstCheques); 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 = "ChequeManageForm"; this.Text = "مدیریت چکها"; this.Activated += new System.EventHandler(this.ChequeManageForm_Activated); this.Load += new System.EventHandler(this.ChequeManageForm_Load); this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ChequeManageForm_KeyPress); ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.lstChequesMenuStrip.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }