private void InitializeComponent() { this.pnlTop = new System.Windows.Forms.Panel(); this.groupBox1 = new PersianUI.Controls.GroupBox(); this.groupBox2 = new PersianUI.Controls.GroupBox(); this.saveButton = new PersianUI.Controls.Buttons.SaveButton(); this.txtArzPrice = new PersianUI.Controls.FloatTextBox(); this.label7 = new PersianUI.Controls.Label(); this.label6 = new PersianUI.Controls.Label(); this.cmbArz = new PersianUI.Controls.ComboBoxes.ComboBox(); this.panel1 = new System.Windows.Forms.Panel(); this.displayButton = new PersianUI.Controls.Buttons.DisplayButton(); this.cancelButton = new PersianUI.Controls.Buttons.CancelButton(); this.label1 = new PersianUI.Controls.Label(); this.toDate = new PersianUI.Controls.DateControl(); this.label5 = new PersianUI.Controls.Label(); this.fromDate = new PersianUI.Controls.DateControl(); this.pnlFooter = new System.Windows.Forms.Panel(); this.lblResult = new PersianUI.Controls.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.printButton2 = new PersianUI.Controls.Buttons.PrintButton(); this.printButton1 = new PersianUI.Controls.Buttons.PrintButton(); this.pnlMain = new System.Windows.Forms.Panel(); this.groupBox3 = new PersianUI.Controls.GroupBox(); this.dataGridView1 = new PersianUI.Controls.DataGridView(); this.txtsearch = new PersianUI.Controls.TextBoxes.TextBox(); this.pnlTop.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel1.SuspendLayout(); this.pnlFooter.SuspendLayout(); this.panel2.SuspendLayout(); this.pnlMain.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // pnlTop // this.pnlTop.Controls.Add(this.groupBox1); this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top; this.pnlTop.Location = new System.Drawing.Point(0, 0); this.pnlTop.Name = "pnlTop"; this.pnlTop.Size = new System.Drawing.Size(800, 145); this.pnlTop.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.groupBox2); this.groupBox1.Controls.Add(this.panel1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.toDate); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.fromDate); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(800, 145); this.groupBox1.TabIndex = 0; 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.saveButton); this.groupBox2.Controls.Add(this.txtArzPrice); this.groupBox2.Controls.Add(this.label7); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.cmbArz); this.groupBox2.Location = new System.Drawing.Point(112, 72); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(680, 53); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "ويرايش قيمت ارز"; // // saveButton // this.saveButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.saveButton.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButton.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.saveButton.ForeColor = System.Drawing.Color.White; this.saveButton.Location = new System.Drawing.Point(50, 17); this.saveButton.Margin = new System.Windows.Forms.Padding(10); this.saveButton.Name = "saveButton"; this.saveButton.NextControl = null; this.saveButton.Size = new System.Drawing.Size(81, 34); this.saveButton.TabIndex = 2; this.saveButton.Text = "ثبت"; this.saveButton.UseVisualStyleBackColor = false; this.saveButton.Click += new System.EventHandler(this.SaveButton_Click); // // txtArzPrice // this.txtArzPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtArzPrice.BackColor = System.Drawing.Color.White; this.txtArzPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtArzPrice.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txtArzPrice.ForeColor = System.Drawing.Color.Black; this.txtArzPrice.Location = new System.Drawing.Point(151, 20); this.txtArzPrice.Margin = new System.Windows.Forms.Padding(10); this.txtArzPrice.Name = "txtArzPrice"; this.txtArzPrice.NextControl = null; this.txtArzPrice.Size = new System.Drawing.Size(172, 29); this.txtArzPrice.TabIndex = 1; this.txtArzPrice.Text = "0"; this.txtArzPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.label7.Location = new System.Drawing.Point(336, 22); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(51, 22); this.label7.TabIndex = 12; this.label7.Text = "نرخ ارز :"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label6 // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.label6.Location = new System.Drawing.Point(621, 24); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(47, 22); this.label6.TabIndex = 11; this.label6.Text = "نام ارز :"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cmbArz // this.cmbArz.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmbArz.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cmbArz.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cmbArz.FormattingEnabled = true; this.cmbArz.Location = new System.Drawing.Point(411, 21); this.cmbArz.Margin = new System.Windows.Forms.Padding(10); this.cmbArz.Name = "cmbArz"; this.cmbArz.NextControl = null; this.cmbArz.Size = new System.Drawing.Size(200, 30); this.cmbArz.TabIndex = 0; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.displayButton); this.panel1.Controls.Add(this.cancelButton); this.panel1.Location = new System.Drawing.Point(203, 29); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 39); this.panel1.TabIndex = 2; // // displayButton // this.displayButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(27)))), ((int)(((byte)(146))))); this.displayButton.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(49)))), ((int)(((byte)(27)))), ((int)(((byte)(146))))); this.displayButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.displayButton.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.displayButton.ForeColor = System.Drawing.Color.White; this.displayButton.Location = new System.Drawing.Point(103, 2); this.displayButton.Margin = new System.Windows.Forms.Padding(10); this.displayButton.Name = "displayButton"; this.displayButton.NextControl = null; this.displayButton.Size = new System.Drawing.Size(81, 34); this.displayButton.TabIndex = 0; this.displayButton.Text = "نمايش"; this.displayButton.UseVisualStyleBackColor = false; this.displayButton.Click += new System.EventHandler(this.DisplayButton_Click); // // cancelButton // this.cancelButton.BackColor = System.Drawing.Color.White; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.cancelButton.ForeColor = System.Drawing.Color.Gray; this.cancelButton.Location = new System.Drawing.Point(14, 2); this.cancelButton.Name = "cancelButton"; this.cancelButton.NextControl = null; this.cancelButton.Size = new System.Drawing.Size(81, 34); this.cancelButton.TabIndex = 1; this.cancelButton.Text = "انصراف"; this.cancelButton.UseVisualStyleBackColor = false; this.cancelButton.Click += new System.EventHandler(this.CancelButton_Click); // // 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("IRANSans(FaNum)", 9.5F); this.label1.Location = new System.Drawing.Point(550, 40); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(58, 22); this.label1.TabIndex = 8; this.label1.Text = "تا تاريخ :"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // toDate // this.toDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.toDate.CanGoBackward = true; this.toDate.CanGoForward = false; this.toDate.Location = new System.Drawing.Point(416, 40); this.toDate.Name = "toDate"; this.toDate.NextControl = null; this.toDate.NowShamsi10Cahracter = "1397/12/27"; this.toDate.NowShamsi8Character = "1397/12/27"; this.toDate.RightToLeft = System.Windows.Forms.RightToLeft.No; this.toDate.Size = new System.Drawing.Size(120, 20); this.toDate.TabIndex = 1; this.toDate.Text = "dateControl1"; this.toDate.Value10Cahracter = null; this.toDate.Value8Character = null; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.label5.Location = new System.Drawing.Point(737, 40); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(56, 22); this.label5.TabIndex = 6; this.label5.Text = "از تاريخ :"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // fromDate // this.fromDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.fromDate.CanGoBackward = true; this.fromDate.CanGoForward = false; this.fromDate.Location = new System.Drawing.Point(612, 40); this.fromDate.Name = "fromDate"; this.fromDate.NextControl = null; this.fromDate.NowShamsi10Cahracter = "1397/12/27"; this.fromDate.NowShamsi8Character = "1397/12/27"; this.fromDate.RightToLeft = System.Windows.Forms.RightToLeft.No; this.fromDate.Size = new System.Drawing.Size(120, 20); this.fromDate.TabIndex = 0; this.fromDate.Text = "dateControl1"; this.fromDate.Value10Cahracter = null; this.fromDate.Value8Character = null; // // pnlFooter // this.pnlFooter.Controls.Add(this.lblResult); this.pnlFooter.Controls.Add(this.panel2); this.pnlFooter.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlFooter.Location = new System.Drawing.Point(0, 456); this.pnlFooter.Name = "pnlFooter"; this.pnlFooter.Size = new System.Drawing.Size(800, 44); this.pnlFooter.TabIndex = 1; // // lblResult // this.lblResult.AutoSize = true; this.lblResult.Dock = System.Windows.Forms.DockStyle.Right; this.lblResult.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.lblResult.Location = new System.Drawing.Point(732, 0); this.lblResult.Name = "lblResult"; this.lblResult.Size = new System.Drawing.Size(68, 22); this.lblResult.TabIndex = 11; this.lblResult.Text = "توضيحات :"; this.lblResult.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel2 // this.panel2.Controls.Add(this.printButton2); this.panel2.Controls.Add(this.printButton1); this.panel2.Dock = System.Windows.Forms.DockStyle.Left; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(200, 44); this.panel2.TabIndex = 10; // // printButton2 // this.printButton2.BackColor = System.Drawing.Color.Chocolate; this.printButton2.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(234))))); this.printButton2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.printButton2.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.printButton2.ForeColor = System.Drawing.Color.White; this.printButton2.Location = new System.Drawing.Point(10, 4); this.printButton2.Margin = new System.Windows.Forms.Padding(10); this.printButton2.Name = "printButton2"; this.printButton2.NextControl = null; this.printButton2.Size = new System.Drawing.Size(97, 34); this.printButton2.TabIndex = 12; this.printButton2.Text = "ارسال به اكسل"; this.printButton2.UseVisualStyleBackColor = false; this.printButton2.Click += new System.EventHandler(this.PrintButton2_Click); // // printButton1 // this.printButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(234))))); this.printButton1.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(0)))), ((int)(((byte)(234))))); this.printButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.printButton1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.printButton1.ForeColor = System.Drawing.Color.White; this.printButton1.Location = new System.Drawing.Point(112, 4); this.printButton1.Margin = new System.Windows.Forms.Padding(10); this.printButton1.Name = "printButton1"; this.printButton1.NextControl = null; this.printButton1.Size = new System.Drawing.Size(81, 34); this.printButton1.TabIndex = 11; this.printButton1.Text = "چاپ"; this.printButton1.UseVisualStyleBackColor = false; this.printButton1.Click += new System.EventHandler(this.PrintButton1_Click); // // pnlMain // this.pnlMain.Controls.Add(this.groupBox3); this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlMain.Location = new System.Drawing.Point(0, 145); this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new System.Drawing.Size(800, 311); this.pnlMain.TabIndex = 2; // // groupBox3 // this.groupBox3.Controls.Add(this.dataGridView1); this.groupBox3.Controls.Add(this.txtsearch); this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox3.Location = new System.Drawing.Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(800, 311); this.groupBox3.TabIndex = 2; this.groupBox3.TabStop = false; this.groupBox3.Text = "ليست اقلام"; // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ActiveCaption; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.EnableHeadersVisualStyles = false; this.dataGridView1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.dataGridView1.Location = new System.Drawing.Point(3, 54); this.dataGridView1.MultiSelect = false; this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.ReadOnly = true; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(794, 254); this.dataGridView1.TabIndex = 5; // // txtsearch // this.txtsearch.BackColor = System.Drawing.Color.White; this.txtsearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtsearch.Dock = System.Windows.Forms.DockStyle.Top; this.txtsearch.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txtsearch.ForeColor = System.Drawing.Color.Black; this.txtsearch.Location = new System.Drawing.Point(3, 25); this.txtsearch.Margin = new System.Windows.Forms.Padding(10); this.txtsearch.Name = "txtsearch"; this.txtsearch.NextControl = null; this.txtsearch.Size = new System.Drawing.Size(794, 29); this.txtsearch.TabIndex = 4; this.txtsearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtsearch.TextChanged += new System.EventHandler(this.Txtsearch_TextChanged); // // GoodsReport // this.Controls.Add(this.pnlMain); this.Controls.Add(this.pnlFooter); this.Controls.Add(this.pnlTop); this.Name = "GoodsReport"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(800, 500); this.pnlTop.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.panel1.ResumeLayout(false); this.pnlFooter.ResumeLayout(false); this.pnlFooter.PerformLayout(); this.panel2.ResumeLayout(false); this.pnlMain.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.pnlTop = new System.Windows.Forms.Panel(); this.groupBox1 = new PersianUI.Controls.GroupBox(); this.panel1 = new System.Windows.Forms.Panel(); this.cancelButton = new PersianUI.Controls.Buttons.CancelButton(); this.saveButton = new PersianUI.Controls.Buttons.SaveButton(); this.txtPrice = new PersianUI.Controls.FloatTextBox(); this.label2 = new PersianUI.Controls.Label(); this.txtArz = new PersianUI.Controls.TextBoxes.TextBox(); this.label1 = new PersianUI.Controls.Label(); this.pnlFooter = new System.Windows.Forms.Panel(); this.groupBox2 = new PersianUI.Controls.GroupBox(); this.panel2 = new System.Windows.Forms.Panel(); this.deleteButton = new PersianUI.Controls.Buttons.DeleteButton(); this.cancelButtonEdit = new PersianUI.Controls.Buttons.CancelButton(); this.saveButtonEdit = new PersianUI.Controls.Buttons.SaveButton(); this.txtPriceEdit = new PersianUI.Controls.FloatTextBox(); this.label3 = new PersianUI.Controls.Label(); this.txtArzEdit = new PersianUI.Controls.TextBoxes.TextBox(); this.label4 = new PersianUI.Controls.Label(); this.pnlMain = new System.Windows.Forms.Panel(); this.groupBox3 = new PersianUI.Controls.GroupBox(); this.dataGridView1 = new PersianUI.Controls.DataGridView(); this.txtsearch = new PersianUI.Controls.TextBoxes.TextBox(); this.pnlTop.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.pnlFooter.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel2.SuspendLayout(); this.pnlMain.SuspendLayout(); this.groupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // pnlTop // this.pnlTop.Controls.Add(this.groupBox1); this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top; this.pnlTop.Location = new System.Drawing.Point(0, 0); this.pnlTop.Name = "pnlTop"; this.pnlTop.Size = new System.Drawing.Size(800, 76); this.pnlTop.TabIndex = 0; // // groupBox1 // this.groupBox1.Controls.Add(this.panel1); this.groupBox1.Controls.Add(this.txtPrice); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.txtArz); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(800, 76); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "تعريف ارز"; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.cancelButton); this.panel1.Controls.Add(this.saveButton); this.panel1.Location = new System.Drawing.Point(20, 30); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 37); this.panel1.TabIndex = 2; // // cancelButton // this.cancelButton.BackColor = System.Drawing.Color.White; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.cancelButton.ForeColor = System.Drawing.Color.Gray; this.cancelButton.Location = new System.Drawing.Point(14, 2); this.cancelButton.Name = "cancelButton"; this.cancelButton.NextControl = null; this.cancelButton.Size = new System.Drawing.Size(81, 34); this.cancelButton.TabIndex = 1; this.cancelButton.Text = "انصراف"; this.cancelButton.UseVisualStyleBackColor = false; this.cancelButton.Click += new System.EventHandler(this.CancelButton_Click); // // saveButton // this.saveButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.saveButton.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButton.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.saveButton.ForeColor = System.Drawing.Color.White; this.saveButton.Location = new System.Drawing.Point(106, 3); this.saveButton.Margin = new System.Windows.Forms.Padding(10); this.saveButton.Name = "saveButton"; this.saveButton.NextControl = null; this.saveButton.Size = new System.Drawing.Size(81, 34); this.saveButton.TabIndex = 0; this.saveButton.Text = "ثبت"; this.saveButton.UseVisualStyleBackColor = false; this.saveButton.Click += new System.EventHandler(this.SaveButton_Click); // // txtPrice // this.txtPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtPrice.BackColor = System.Drawing.Color.White; this.txtPrice.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtPrice.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txtPrice.ForeColor = System.Drawing.Color.Black; this.txtPrice.Location = new System.Drawing.Point(232, 38); this.txtPrice.Margin = new System.Windows.Forms.Padding(10); this.txtPrice.Name = "txtPrice"; this.txtPrice.NextControl = this.saveButton; this.txtPrice.Size = new System.Drawing.Size(200, 29); this.txtPrice.TabIndex = 1; this.txtPrice.Text = "0"; this.txtPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.label2.Location = new System.Drawing.Point(445, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 22); this.label2.TabIndex = 2; this.label2.Text = "نرخ ارز"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtArz // this.txtArz.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtArz.BackColor = System.Drawing.Color.White; this.txtArz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtArz.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txtArz.ForeColor = System.Drawing.Color.Black; this.txtArz.Location = new System.Drawing.Point(541, 38); this.txtArz.Margin = new System.Windows.Forms.Padding(10); this.txtArz.Name = "txtArz"; this.txtArz.NextControl = this.txtPrice; this.txtArz.Size = new System.Drawing.Size(200, 29); this.txtArz.TabIndex = 0; this.txtArz.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // 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("IRANSans(FaNum)", 9.5F); this.label1.Location = new System.Drawing.Point(754, 40); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 22); this.label1.TabIndex = 0; this.label1.Text = "نام ارز"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // pnlFooter // this.pnlFooter.Controls.Add(this.groupBox2); this.pnlFooter.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlFooter.Location = new System.Drawing.Point(0, 435); this.pnlFooter.Name = "pnlFooter"; this.pnlFooter.Size = new System.Drawing.Size(800, 65); this.pnlFooter.TabIndex = 1; // // groupBox2 // this.groupBox2.Controls.Add(this.panel2); this.groupBox2.Controls.Add(this.txtPriceEdit); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.txtArzEdit); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 0); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(800, 65); this.groupBox2.TabIndex = 0; this.groupBox2.TabStop = false; this.groupBox2.Text = "ويرايش ارز تعريف شده"; // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel2.Controls.Add(this.deleteButton); this.panel2.Controls.Add(this.cancelButtonEdit); this.panel2.Controls.Add(this.saveButtonEdit); this.panel2.Location = new System.Drawing.Point(-38, 19); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(280, 40); this.panel2.TabIndex = 2; // // deleteButton // this.deleteButton.BackColor = System.Drawing.Color.White; this.deleteButton.FlatAppearance.BorderColor = System.Drawing.Color.Red; this.deleteButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.deleteButton.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.deleteButton.ForeColor = System.Drawing.Color.Red; this.deleteButton.Location = new System.Drawing.Point(111, 2); this.deleteButton.Margin = new System.Windows.Forms.Padding(10); this.deleteButton.Name = "deleteButton"; this.deleteButton.NextControl = null; this.deleteButton.Size = new System.Drawing.Size(81, 34); this.deleteButton.TabIndex = 1; this.deleteButton.Text = "حذف"; this.deleteButton.UseVisualStyleBackColor = false; this.deleteButton.Click += new System.EventHandler(this.DeleteButton_Click); // // cancelButtonEdit // this.cancelButtonEdit.BackColor = System.Drawing.Color.White; this.cancelButtonEdit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButtonEdit.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.cancelButtonEdit.ForeColor = System.Drawing.Color.Gray; this.cancelButtonEdit.Location = new System.Drawing.Point(26, 2); this.cancelButtonEdit.Name = "cancelButtonEdit"; this.cancelButtonEdit.NextControl = null; this.cancelButtonEdit.Size = new System.Drawing.Size(81, 34); this.cancelButtonEdit.TabIndex = 2; this.cancelButtonEdit.Text = "انصراف"; this.cancelButtonEdit.UseVisualStyleBackColor = false; this.cancelButtonEdit.Click += new System.EventHandler(this.CancelButtonEdit_Click); // // saveButtonEdit // this.saveButtonEdit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.saveButtonEdit.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.saveButtonEdit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.saveButtonEdit.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.saveButtonEdit.ForeColor = System.Drawing.Color.White; this.saveButtonEdit.Location = new System.Drawing.Point(197, 3); this.saveButtonEdit.Margin = new System.Windows.Forms.Padding(10); this.saveButtonEdit.Name = "saveButtonEdit"; this.saveButtonEdit.NextControl = null; this.saveButtonEdit.Size = new System.Drawing.Size(81, 34); this.saveButtonEdit.TabIndex = 0; this.saveButtonEdit.Text = "ثبت"; this.saveButtonEdit.UseVisualStyleBackColor = false; this.saveButtonEdit.Click += new System.EventHandler(this.SaveButtonEdit_Click); // // txtPriceEdit // this.txtPriceEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtPriceEdit.BackColor = System.Drawing.Color.White; this.txtPriceEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtPriceEdit.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txtPriceEdit.ForeColor = System.Drawing.Color.Black; this.txtPriceEdit.Location = new System.Drawing.Point(246, 27); this.txtPriceEdit.Margin = new System.Windows.Forms.Padding(10); this.txtPriceEdit.Name = "txtPriceEdit"; this.txtPriceEdit.NextControl = this.saveButtonEdit; this.txtPriceEdit.Size = new System.Drawing.Size(200, 29); this.txtPriceEdit.TabIndex = 1; this.txtPriceEdit.Text = "0"; this.txtPriceEdit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.label3.Location = new System.Drawing.Point(447, 29); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(44, 22); this.label3.TabIndex = 7; this.label3.Text = "نرخ ارز"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtArzEdit // this.txtArzEdit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtArzEdit.BackColor = System.Drawing.Color.White; this.txtArzEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtArzEdit.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txtArzEdit.ForeColor = System.Drawing.Color.Black; this.txtArzEdit.Location = new System.Drawing.Point(539, 27); this.txtArzEdit.Margin = new System.Windows.Forms.Padding(10); this.txtArzEdit.Name = "txtArzEdit"; this.txtArzEdit.NextControl = this.txtPriceEdit; this.txtArzEdit.Size = new System.Drawing.Size(200, 29); this.txtArzEdit.TabIndex = 0; this.txtArzEdit.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label4 // this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.label4.Location = new System.Drawing.Point(752, 29); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(40, 22); this.label4.TabIndex = 5; this.label4.Text = "نام ارز"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // pnlMain // this.pnlMain.Controls.Add(this.groupBox3); this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlMain.Location = new System.Drawing.Point(0, 76); this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new System.Drawing.Size(800, 359); this.pnlMain.TabIndex = 2; // // groupBox3 // this.groupBox3.Controls.Add(this.dataGridView1); this.groupBox3.Controls.Add(this.txtsearch); this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox3.Location = new System.Drawing.Point(0, 0); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(800, 359); this.groupBox3.TabIndex = 0; this.groupBox3.TabStop = false; this.groupBox3.Text = "ارزهاي تعريف شده"; // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ActiveCaption; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.EnableHeadersVisualStyles = false; this.dataGridView1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.dataGridView1.Location = new System.Drawing.Point(3, 54); this.dataGridView1.MultiSelect = false; this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.ReadOnly = true; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(794, 302); this.dataGridView1.TabIndex = 5; this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DataGridView1_CellDoubleClick); this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DataGridView1_KeyDown); // // txtsearch // this.txtsearch.BackColor = System.Drawing.Color.White; this.txtsearch.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtsearch.Dock = System.Windows.Forms.DockStyle.Top; this.txtsearch.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txtsearch.ForeColor = System.Drawing.Color.Black; this.txtsearch.Location = new System.Drawing.Point(3, 25); this.txtsearch.Margin = new System.Windows.Forms.Padding(10); this.txtsearch.Name = "txtsearch"; this.txtsearch.NextControl = null; this.txtsearch.Size = new System.Drawing.Size(794, 29); this.txtsearch.TabIndex = 4; this.txtsearch.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtsearch.TextChanged += new System.EventHandler(this.Txtsearch_TextChanged); this.txtsearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txtsearch_KeyDown); // // ArzDefinition // this.Controls.Add(this.pnlMain); this.Controls.Add(this.pnlFooter); this.Controls.Add(this.pnlTop); this.Name = "ArzDefinition"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(800, 500); this.pnlTop.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel1.ResumeLayout(false); this.pnlFooter.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.panel2.ResumeLayout(false); this.pnlMain.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); }