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);

        }
Beispiel #2
0
        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();

        }