private Control GetStatusBarControl() { UI.WindowsForms.Controls.Label shortcutKey = new UI.WindowsForms.Controls.Label { AutoSize = false, Text = "راهنماي نرم افزار : F1", Width = statusBar.Width, RightToLeft = RightToLeft.Yes, Dock = DockStyle.Right, TextAlign = ContentAlignment.MiddleLeft, ForeColor = Color.Black }; shortcutKey.Font = new Font(shortcutKey.Font, FontStyle.Regular); return(shortcutKey); }
public AccountingStatus(Header parent_, string status) : base(parent_) { this.Width = 140; this.BackColor = System.Drawing.Color.FromArgb(120, 144, 156); this.ForeColor = System.Drawing.Color.FromArgb(255, 255, 255); lblCurrentPath = new Controls.Label(); lblCurrentPath.Text = "وضعيت : " + status.Trim(); lblCurrentPath.Dock = System.Windows.Forms.DockStyle.Fill; lblCurrentPath.TextAlign = System.Drawing.ContentAlignment.TopCenter; lblCurrentPath.Padding = new System.Windows.Forms.Padding(0, 8, 1, 0); lblCurrentPath.Font = FontManager.GetFont("IRANSans", 10, System.Drawing.FontStyle.Regular); this.Controls.Add(lblCurrentPath); // HeaderSeperator seperator = new HeaderSeperator(this); //seperator.Dock = System.Windows.Forms.DockStyle.Right; //this.Controls.Add(seperator); }
private void InitializeComponent() { this.groupBox1 = new Atiran.UI.WindowsForms.Controls.GroupBox(); this.cb_User = new Atiran.UI.WindowsForms.Controls.ComboBoxes.ComboBox(); this.label1 = new Atiran.UI.WindowsForms.Controls.Label(); this.panel17 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.btn_Cancel = new Atiran.UI.WindowsForms.Controls.Buttons.CancelButton(); this.btn_Save = new Atiran.UI.WindowsForms.Controls.Buttons.SaveButton(); this.flowLayoutPanel1 = new Atiran.UI.WindowsForms.Controls.FlowLayoutPanel(); this.groupBox1.SuspendLayout(); this.panel17.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cb_User); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(1280, 131); this.groupBox1.TabIndex = 1; this.groupBox1.TabStop = false; this.groupBox1.Text = "تعیین سطوح دسترسی به ماژول های هاب"; // // cb_User // this.cb_User.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cb_User.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.cb_User.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems; this.cb_User.Font = new System.Drawing.Font("IRANSans", 9.5F); this.cb_User.FormattingEnabled = true; this.cb_User.Location = new System.Drawing.Point(950, 47); this.cb_User.Margin = new System.Windows.Forms.Padding(10); this.cb_User.Name = "cb_User"; this.cb_User.NextControl = null; this.cb_User.Size = new System.Drawing.Size(200, 30); this.cb_User.TabIndex = 1; this.cb_User.SelectedValueChanged += new System.EventHandler(this.cb_User_SelectedValueChanged); // // 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(1151, 51); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 22); this.label1.TabIndex = 0; this.label1.Text = "نام کاربر:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel17 // this.panel17.Controls.Add(this.btn_Cancel); this.panel17.Controls.Add(this.btn_Save); this.panel17.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel17.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel17.Location = new System.Drawing.Point(0, 595); this.panel17.Name = "panel17"; this.panel17.Size = new System.Drawing.Size(1280, 55); this.panel17.TabIndex = 3; // // btn_Cancel // this.btn_Cancel.BackColor = System.Drawing.Color.White; this.btn_Cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Cancel.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.btn_Cancel.ForeColor = System.Drawing.Color.Gray; this.btn_Cancel.Location = new System.Drawing.Point(7, 11); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.NextControl = null; this.btn_Cancel.Size = new System.Drawing.Size(81, 34); this.btn_Cancel.TabIndex = 2; this.btn_Cancel.Text = "انصراف"; this.btn_Cancel.UseVisualStyleBackColor = false; this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click); // // btn_Save // this.btn_Save.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.btn_Save.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.btn_Save.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Save.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.btn_Save.ForeColor = System.Drawing.Color.White; this.btn_Save.Location = new System.Drawing.Point(91, 11); this.btn_Save.Margin = new System.Windows.Forms.Padding(10); this.btn_Save.Name = "btn_Save"; this.btn_Save.NextControl = null; this.btn_Save.Size = new System.Drawing.Size(81, 34); this.btn_Save.TabIndex = 0; this.btn_Save.Text = "ثبت"; this.btn_Save.UseVisualStyleBackColor = false; this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); // // flowLayoutPanel1 // this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.TopDown; this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 131); this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Size = new System.Drawing.Size(1280, 464); this.flowLayoutPanel1.TabIndex = 4; // // ModuleAccessControl // this.Controls.Add(this.flowLayoutPanel1); this.Controls.Add(this.panel17); this.Controls.Add(this.groupBox1); this.Name = "ModuleAccessControl"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(1280, 650); this.Load += new System.EventHandler(this.ModuleAccessControl_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel17.ResumeLayout(false); this.ResumeLayout(false); }
private bool AddPs(int index) { if (ps == null) { ps = new List <UI.WindowsForms.UIElements.Panel>(); } Atiran.UI.WindowsForms.UIElements.Panel p = new UI.WindowsForms.UIElements.Panel(); ps.Add(p); p.Left = 0; p.Top = pnlLoginControls.Controls.Count * (32 + betweenPsMargin); p.Width = pnlLoginControls.Width; p.Height = 32; p.BackColor = Color.Transparent; pnlLoginControls.Controls.Add(p); Atiran.UI.WindowsForms.UIElements.Panel ptext = new UI.WindowsForms.UIElements.Panel() { Width = 250, Padding = new Padding(0), Height = p.Height }; Atiran.UI.WindowsForms.UIElements.Panel plabel = new UI.WindowsForms.UIElements.Panel() { Width = p.Width - 250, Left = 250, Top = 0, Padding = new Padding(0), Height = p.Height, BackColor = Color.Transparent }; switch (index) { case 0: tbxUsername = new LargeTextBox() { Margin = new Padding(0), Dock = DockStyle.Fill, Font = new System.Drawing.Font("IRANSans(FaNum)", 12.5F) //FontManager.GetFont("IRANSans", 16, FontStyle.Regular); }; ptext.Controls.Add(tbxUsername); p.Controls.Add(ptext); Label title = new Label() { Text = Atiran.UI.WindowsForms.ResourceManager.GetResourceManager().GetString("LoginForm_lblUsername_Text"), Dock = DockStyle.Fill, Font = FontManager.GetFont("IRANSans", 11, FontStyle.Regular), ForeColor = Color.FromArgb(255, 255, 255), BackColor = Color.Transparent, Padding = new Padding(0) }; plabel.Controls.Add(title); p.Controls.Add(plabel); return(true); case 1: tbxPassword = new LargeTextBox(); tbxUsername.NextControl = tbxPassword; tbxPassword.Margin = new Padding(0); tbxPassword.Dock = DockStyle.Fill; tbxPassword.Font = new System.Drawing.Font("IRANSans(FaNum)", 14.5F);//FontManager.GetFont("IRANSans", 16, FontStyle.Regular); tbxPassword.PasswordChar = '•'; ptext.Controls.Add(tbxPassword); p.Controls.Add(ptext); Label pwd = new Label() { Text = Atiran.UI.WindowsForms.ResourceManager.GetResourceManager().GetString("LoginForm_lblPassword_Text"), Dock = DockStyle.Fill, Font = FontManager.GetFont("IRANSans", 11, FontStyle.Regular), ForeColor = Color.FromArgb(255, 255, 255), BackColor = Color.Transparent, Padding = new Padding(0) }; plabel.Controls.Add(pwd); p.Controls.Add(plabel); return(true); case 3: btnSignIn = new UI.WindowsForms.Controls.Buttons.Button() { Text = Atiran.UI.WindowsForms.ResourceManager.GetResourceManager().GetString("LoginForm_btnSignIn_Text"), Dock = DockStyle.Fill, BackColor = Color.FromArgb(140, 186, 2), ForeColor = Color.FromArgb(255, 255, 255), Padding = new Padding(0), Font = FontManager.GetFont("IRANSans", 11, FontStyle.Regular) }; btnSignIn.Click += BtnSignIn_Click; ptext.Controls.Add(btnSignIn); p.Controls.Add(ptext); return(true); case 4: lblMessage = new UI.WindowsForms.Controls.Label() { TextAlign = ContentAlignment.MiddleRight, Dock = DockStyle.Fill, Font = FontManager.GetFont("IRANSans", 14, FontStyle.Regular) }; ptext.Controls.Add(lblMessage); p.Controls.Add(ptext); return(true); default: return(true); } }
private void InitializeComponent() { this.groupBox1 = new Atiran.UI.WindowsForms.Controls.GroupBox(); this.panel1 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.btn_Cancel = new Atiran.UI.WindowsForms.Controls.Buttons.CancelButton(); this.btn_Save = new Atiran.UI.WindowsForms.Controls.Buttons.SaveButton(); this.txt_ConfirmNewPassword = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.txt_NewPassword = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.txt_CurrentPassword = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.txt_Username = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.label4 = new Atiran.UI.WindowsForms.Controls.Label(); this.label3 = new Atiran.UI.WindowsForms.Controls.Label(); this.label2 = new Atiran.UI.WindowsForms.Controls.Label(); this.label1 = new Atiran.UI.WindowsForms.Controls.Label(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.panel1); this.groupBox1.Controls.Add(this.txt_ConfirmNewPassword); this.groupBox1.Controls.Add(this.txt_NewPassword); this.groupBox1.Controls.Add(this.txt_CurrentPassword); this.groupBox1.Controls.Add(this.txt_Username); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label2); 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(1280, 650); 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.btn_Cancel); this.panel1.Controls.Add(this.btn_Save); this.panel1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel1.Location = new System.Drawing.Point(941, 178); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(173, 41); this.panel1.TabIndex = 4; // // btn_Cancel // this.btn_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btn_Cancel.BackColor = System.Drawing.Color.White; this.btn_Cancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Cancel.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.btn_Cancel.ForeColor = System.Drawing.Color.Gray; this.btn_Cancel.Location = new System.Drawing.Point(5, 3); this.btn_Cancel.Name = "btn_Cancel"; this.btn_Cancel.NextControl = null; this.btn_Cancel.Size = new System.Drawing.Size(81, 34); this.btn_Cancel.TabIndex = 5; this.btn_Cancel.Text = "انصراف"; this.btn_Cancel.UseVisualStyleBackColor = false; this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click); // // btn_Save // this.btn_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btn_Save.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.btn_Save.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.btn_Save.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Save.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.btn_Save.ForeColor = System.Drawing.Color.White; this.btn_Save.Location = new System.Drawing.Point(88, 3); this.btn_Save.Margin = new System.Windows.Forms.Padding(10); this.btn_Save.Name = "btn_Save"; this.btn_Save.NextControl = null; this.btn_Save.Size = new System.Drawing.Size(81, 34); this.btn_Save.TabIndex = 4; this.btn_Save.Text = "ثبت"; this.btn_Save.UseVisualStyleBackColor = false; this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); // // txt_ConfirmNewPassword // this.txt_ConfirmNewPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_ConfirmNewPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_ConfirmNewPassword.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_ConfirmNewPassword.Location = new System.Drawing.Point(946, 145); this.txt_ConfirmNewPassword.Margin = new System.Windows.Forms.Padding(10); this.txt_ConfirmNewPassword.Name = "txt_ConfirmNewPassword"; this.txt_ConfirmNewPassword.NextControl = this.btn_Save; this.txt_ConfirmNewPassword.PasswordChar = '*'; this.txt_ConfirmNewPassword.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_ConfirmNewPassword.Size = new System.Drawing.Size(200, 29); this.txt_ConfirmNewPassword.TabIndex = 3; this.txt_ConfirmNewPassword.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txt_NewPassword // this.txt_NewPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_NewPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_NewPassword.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_NewPassword.Location = new System.Drawing.Point(946, 110); this.txt_NewPassword.Margin = new System.Windows.Forms.Padding(10); this.txt_NewPassword.Name = "txt_NewPassword"; this.txt_NewPassword.NextControl = this.txt_ConfirmNewPassword; this.txt_NewPassword.PasswordChar = '*'; this.txt_NewPassword.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_NewPassword.Size = new System.Drawing.Size(200, 29); this.txt_NewPassword.TabIndex = 2; this.txt_NewPassword.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txt_NewPassword.TextChanged += new System.EventHandler(this.txt_NewPassword_TextChanged); // // txt_CurrentPassword // this.txt_CurrentPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_CurrentPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_CurrentPassword.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_CurrentPassword.Location = new System.Drawing.Point(946, 75); this.txt_CurrentPassword.Margin = new System.Windows.Forms.Padding(10); this.txt_CurrentPassword.Name = "txt_CurrentPassword"; this.txt_CurrentPassword.NextControl = this.txt_NewPassword; this.txt_CurrentPassword.PasswordChar = '*'; this.txt_CurrentPassword.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_CurrentPassword.Size = new System.Drawing.Size(200, 29); this.txt_CurrentPassword.TabIndex = 1; this.txt_CurrentPassword.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txt_CurrentPassword.TextChanged += new System.EventHandler(this.txt_CurrentPassword_TextChanged); // // txt_Username // this.txt_Username.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_Username.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_Username.Enabled = false; this.txt_Username.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_Username.Location = new System.Drawing.Point(946, 40); this.txt_Username.Margin = new System.Windows.Forms.Padding(10); this.txt_Username.Name = "txt_Username"; this.txt_Username.NextControl = this.txt_CurrentPassword; this.txt_Username.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_Username.Size = new System.Drawing.Size(200, 29); this.txt_Username.TabIndex = 0; this.txt_Username.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txt_Username.TextChanged += new System.EventHandler(this.txt_Username_TextChanged); // // 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(1150, 149); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(120, 22); this.label4.TabIndex = 0; this.label4.Text = "تکرار کلمه عبور جدید:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // 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(1150, 114); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(92, 22); this.label3.TabIndex = 0; this.label3.Text = "کلمه عبور جدید:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // 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(1150, 79); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(93, 22); this.label2.TabIndex = 0; this.label2.Text = "کلمه عبور فعلی:"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // 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(1150, 44); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(66, 22); this.label1.TabIndex = 0; this.label1.Text = "نام کاربری:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // ChangePassword // this.Controls.Add(this.groupBox1); this.Name = "ChangePassword"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(1280, 650); this.Load += new System.EventHandler(this.ChangePassword_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.txt_UserName = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.txt_Password = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.txt_ConfPassword = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.btn_Save = new Atiran.UI.WindowsForms.Controls.Buttons.SaveButton(); this.btn_Cancell = new Atiran.UI.WindowsForms.Controls.Buttons.CancelButton(); this.panel2 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.label8 = new Atiran.UI.WindowsForms.Controls.Label(); this.dataGridView1 = new Atiran.UI.WindowsForms.Controls.DataGridView(); this.panel3 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.groupBox2 = new Atiran.UI.WindowsForms.Controls.GroupBox(); this.txt_EditPassword = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.txt_EditUserName = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.label6 = new Atiran.UI.WindowsForms.Controls.Label(); this.label15 = new Atiran.UI.WindowsForms.Controls.Label(); this.panel5 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.btn_Edit = new Atiran.UI.WindowsForms.Controls.Buttons.EditButton(); this.panel1 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.groupBox1 = new Atiran.UI.WindowsForms.Controls.GroupBox(); this.label20 = new Atiran.UI.WindowsForms.Controls.Label(); this.label9 = new Atiran.UI.WindowsForms.Controls.Label(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.panel3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.panel5.SuspendLayout(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // txt_UserName // this.txt_UserName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_UserName.BackColor = System.Drawing.Color.White; this.txt_UserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_UserName.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_UserName.ForeColor = System.Drawing.Color.Black; this.txt_UserName.Location = new System.Drawing.Point(985, 28); this.txt_UserName.Margin = new System.Windows.Forms.Padding(10); this.txt_UserName.Name = "txt_UserName"; this.txt_UserName.NextControl = this.txt_Password; this.txt_UserName.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_UserName.Size = new System.Drawing.Size(200, 29); this.txt_UserName.TabIndex = 7; this.txt_UserName.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txt_Password // this.txt_Password.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_Password.BackColor = System.Drawing.Color.White; this.txt_Password.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_Password.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_Password.ForeColor = System.Drawing.Color.Black; this.txt_Password.Location = new System.Drawing.Point(689, 28); this.txt_Password.Margin = new System.Windows.Forms.Padding(10); this.txt_Password.Name = "txt_Password"; this.txt_Password.NextControl = this.txt_ConfPassword; this.txt_Password.PasswordChar = '*'; this.txt_Password.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_Password.Size = new System.Drawing.Size(200, 29); this.txt_Password.TabIndex = 8; this.txt_Password.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txt_ConfPassword // this.txt_ConfPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_ConfPassword.BackColor = System.Drawing.Color.White; this.txt_ConfPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_ConfPassword.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_ConfPassword.ForeColor = System.Drawing.Color.Black; this.txt_ConfPassword.Location = new System.Drawing.Point(375, 28); this.txt_ConfPassword.Margin = new System.Windows.Forms.Padding(10); this.txt_ConfPassword.Name = "txt_ConfPassword"; this.txt_ConfPassword.NextControl = this.btn_Save; this.txt_ConfPassword.PasswordChar = '*'; this.txt_ConfPassword.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_ConfPassword.Size = new System.Drawing.Size(200, 29); this.txt_ConfPassword.TabIndex = 9; this.txt_ConfPassword.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // btn_Save // this.btn_Save.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btn_Save.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.btn_Save.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.btn_Save.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Save.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.btn_Save.ForeColor = System.Drawing.Color.White; this.btn_Save.Location = new System.Drawing.Point(88, 3); this.btn_Save.Margin = new System.Windows.Forms.Padding(10); this.btn_Save.Name = "btn_Save"; this.btn_Save.NextControl = this.btn_Cancell; this.btn_Save.Size = new System.Drawing.Size(81, 34); this.btn_Save.TabIndex = 0; this.btn_Save.Text = "ثبت"; this.btn_Save.UseVisualStyleBackColor = false; this.btn_Save.Click += new System.EventHandler(this.btn_Save_Click); // // btn_Cancell // this.btn_Cancell.BackColor = System.Drawing.Color.White; this.btn_Cancell.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Cancell.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.btn_Cancell.ForeColor = System.Drawing.Color.Gray; this.btn_Cancell.Location = new System.Drawing.Point(3, 3); this.btn_Cancell.Name = "btn_Cancell"; this.btn_Cancell.NextControl = null; this.btn_Cancell.Size = new System.Drawing.Size(81, 34); this.btn_Cancell.TabIndex = 1; this.btn_Cancell.Text = "انصراف"; this.btn_Cancell.UseVisualStyleBackColor = false; this.btn_Cancell.Click += new System.EventHandler(this.btn_Cancell_Click); // // panel2 // this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel2.Controls.Add(this.btn_Cancell); this.panel2.Controls.Add(this.btn_Save); this.panel2.Font = new System.Drawing.Font("IRANSans", 9.5F); this.panel2.Location = new System.Drawing.Point(142, 17); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(173, 40); this.panel2.TabIndex = 21; // // label8 // this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("IRANSans", 9.5F); this.label8.Location = new System.Drawing.Point(1198, 30); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(66, 22); this.label8.TabIndex = 7; this.label8.Text = "نام کاربری:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; dataGridViewCellStyle1.Font = new System.Drawing.Font("IRANSans", 9.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; 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", 9.5F); this.dataGridView1.Location = new System.Drawing.Point(0, 75); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.ReadOnly = true; this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridView1.Size = new System.Drawing.Size(1280, 542); this.dataGridView1.TabIndex = 2; this.dataGridView1.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellClick); // // panel3 // this.panel3.Controls.Add(this.groupBox2); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel3.Location = new System.Drawing.Point(0, 617); this.panel3.Name = "panel3"; this.panel3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.panel3.Size = new System.Drawing.Size(1280, 78); this.panel3.TabIndex = 4; this.panel3.Visible = false; // // groupBox2 // this.groupBox2.Controls.Add(this.txt_EditPassword); this.groupBox2.Controls.Add(this.txt_EditUserName); this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.label15); this.groupBox2.Controls.Add(this.panel5); 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(1280, 78); this.groupBox2.TabIndex = 43; this.groupBox2.TabStop = false; this.groupBox2.Text = "ویرایش کاربر"; // // txt_EditPassword // this.txt_EditPassword.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_EditPassword.BackColor = System.Drawing.Color.White; this.txt_EditPassword.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_EditPassword.Enabled = false; this.txt_EditPassword.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_EditPassword.ForeColor = System.Drawing.Color.Black; this.txt_EditPassword.Location = new System.Drawing.Point(723, 35); this.txt_EditPassword.Margin = new System.Windows.Forms.Padding(10); this.txt_EditPassword.Name = "txt_EditPassword"; this.txt_EditPassword.NextControl = null; this.txt_EditPassword.PasswordChar = '*'; this.txt_EditPassword.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_EditPassword.Size = new System.Drawing.Size(200, 29); this.txt_EditPassword.TabIndex = 8; this.txt_EditPassword.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txt_EditUserName // this.txt_EditUserName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txt_EditUserName.BackColor = System.Drawing.Color.White; this.txt_EditUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txt_EditUserName.Enabled = false; this.txt_EditUserName.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.txt_EditUserName.ForeColor = System.Drawing.Color.Black; this.txt_EditUserName.Location = new System.Drawing.Point(1000, 35); this.txt_EditUserName.Margin = new System.Windows.Forms.Padding(10); this.txt_EditUserName.Name = "txt_EditUserName"; this.txt_EditUserName.NextControl = this.txt_EditPassword; this.txt_EditUserName.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txt_EditUserName.Size = new System.Drawing.Size(200, 29); this.txt_EditUserName.TabIndex = 7; this.txt_EditUserName.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // 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", 9.5F); this.label6.Location = new System.Drawing.Point(925, 38); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(60, 22); this.label6.TabIndex = 26; this.label6.Text = "کلمه عبور:"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label15 // this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label15.AutoSize = true; this.label15.Font = new System.Drawing.Font("IRANSans", 9.5F); this.label15.Location = new System.Drawing.Point(1202, 38); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(66, 22); this.label15.TabIndex = 7; this.label15.Text = "نام کاربری:"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel5 // this.panel5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel5.Controls.Add(this.btn_Edit); this.panel5.Font = new System.Drawing.Font("IRANSans", 9.5F); this.panel5.Location = new System.Drawing.Point(50, 27); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(180, 42); this.panel5.TabIndex = 42; // // btn_Edit // this.btn_Edit.BackColor = System.Drawing.Color.Green; this.btn_Edit.FlatAppearance.BorderColor = System.Drawing.Color.Green; this.btn_Edit.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btn_Edit.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.btn_Edit.ForeColor = System.Drawing.Color.White; this.btn_Edit.Location = new System.Drawing.Point(89, 5); this.btn_Edit.Margin = new System.Windows.Forms.Padding(10); this.btn_Edit.Name = "btn_Edit"; this.btn_Edit.NextControl = null; this.btn_Edit.Size = new System.Drawing.Size(81, 34); this.btn_Edit.TabIndex = 0; this.btn_Edit.Text = "ويرايش"; this.btn_Edit.UseVisualStyleBackColor = false; this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click); // // panel1 // this.panel1.Controls.Add(this.groupBox1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.panel1.Size = new System.Drawing.Size(1280, 75); this.panel1.TabIndex = 3; // // groupBox1 // this.groupBox1.Controls.Add(this.txt_ConfPassword); this.groupBox1.Controls.Add(this.label20); this.groupBox1.Controls.Add(this.txt_Password); this.groupBox1.Controls.Add(this.txt_UserName); this.groupBox1.Controls.Add(this.label9); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.panel2); 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(1280, 75); this.groupBox1.TabIndex = 29; this.groupBox1.TabStop = false; this.groupBox1.Text = "تعریف کاربر جدید"; // // label20 // this.label20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("IRANSans", 9.5F); this.label20.Location = new System.Drawing.Point(588, 30); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(88, 22); this.label20.TabIndex = 29; this.label20.Text = "تكرار كلمه عبور:"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label9 // this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("IRANSans", 9.5F); this.label9.Location = new System.Drawing.Point(902, 30); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(60, 22); this.label9.TabIndex = 26; this.label9.Text = "کلمه عبور:"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // CreateUser // this.Controls.Add(this.dataGridView1); this.Controls.Add(this.panel3); this.Controls.Add(this.panel1); this.Name = "CreateUser"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(1280, 695); this.Load += new System.EventHandler(this.CreateUser_Load); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.panel3.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.panel5.ResumeLayout(false); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { this.buttonBackup = new Atiran.UI.WindowsForms.Controls.Buttons.Button(); this.label1 = new Atiran.UI.WindowsForms.Controls.Label(); this.labelTargetFile = new Atiran.UI.WindowsForms.Controls.Label(); this.buttonChangeFolder = new Atiran.UI.WindowsForms.Controls.Buttons.Button(); this.progressBar1 = new Atiran.UI.WindowsForms.Controls.ProgressBar(); this.labelStatus = new Atiran.UI.WindowsForms.Controls.Label(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.labelDate = new Atiran.UI.WindowsForms.Controls.Label(); this.cancelButton1 = new Atiran.UI.WindowsForms.Controls.Buttons.CancelButton(); this.panel1 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // buttonBackup // this.buttonBackup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonBackup.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.buttonBackup.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonBackup.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.buttonBackup.ForeColor = System.Drawing.Color.White; this.buttonBackup.Location = new System.Drawing.Point(5, 3); this.buttonBackup.Name = "buttonBackup"; this.buttonBackup.NextControl = null; this.buttonBackup.Size = new System.Drawing.Size(83, 36); this.buttonBackup.TabIndex = 0; this.buttonBackup.Text = "ذخيره "; this.buttonBackup.UseVisualStyleBackColor = false; this.buttonBackup.Click += new System.EventHandler(this.buttonBackup_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(552, 65); this.label1.Name = "label1"; this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label1.Size = new System.Drawing.Size(118, 22); this.label1.TabIndex = 2; this.label1.Text = "مسير پشتيبان گيري:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // labelTargetFile // this.labelTargetFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelTargetFile.BackColor = System.Drawing.Color.White; this.labelTargetFile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.labelTargetFile.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labelTargetFile.Location = new System.Drawing.Point(75, 61); this.labelTargetFile.Name = "labelTargetFile"; this.labelTargetFile.Size = new System.Drawing.Size(475, 30); this.labelTargetFile.TabIndex = 3; this.labelTargetFile.Text = "D:"; this.labelTargetFile.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // buttonChangeFolder // this.buttonChangeFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonChangeFolder.BackColor = System.Drawing.Color.White; this.buttonChangeFolder.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonChangeFolder.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonChangeFolder.Font = new System.Drawing.Font("IRANSans", 10.25F, System.Drawing.FontStyle.Bold); this.buttonChangeFolder.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); this.buttonChangeFolder.Location = new System.Drawing.Point(31, 61); this.buttonChangeFolder.Name = "buttonChangeFolder"; this.buttonChangeFolder.NextControl = null; this.buttonChangeFolder.Size = new System.Drawing.Size(44, 30); this.buttonChangeFolder.TabIndex = 5; this.buttonChangeFolder.Text = "..."; this.buttonChangeFolder.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.buttonChangeFolder.UseVisualStyleBackColor = false; this.buttonChangeFolder.Click += new System.EventHandler(this.buttonChangeFolder_Click); // // progressBar1 // this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.progressBar1.Location = new System.Drawing.Point(31, 96); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(632, 23); this.progressBar1.TabIndex = 6; this.progressBar1.Visible = false; // // labelStatus // this.labelStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelStatus.Font = new System.Drawing.Font("IRANSans", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelStatus.Location = new System.Drawing.Point(28, 125); this.labelStatus.Name = "labelStatus"; this.labelStatus.Size = new System.Drawing.Size(635, 23); this.labelStatus.TabIndex = 7; this.labelStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // folderBrowserDialog1 // this.folderBrowserDialog1.RootFolder = System.Environment.SpecialFolder.MyComputer; this.folderBrowserDialog1.Tag = ""; // // labelDate // this.labelDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelDate.Font = new System.Drawing.Font("B Nazanin", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labelDate.Location = new System.Drawing.Point(534, 15); this.labelDate.Name = "labelDate"; this.labelDate.Size = new System.Drawing.Size(132, 27); this.labelDate.TabIndex = 8; this.labelDate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.labelDate.Visible = false; // // cancelButton1 // this.cancelButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton1.BackColor = System.Drawing.Color.White; this.cancelButton1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cancelButton1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.cancelButton1.ForeColor = System.Drawing.Color.Gray; this.cancelButton1.Location = new System.Drawing.Point(94, 4); this.cancelButton1.Name = "cancelButton1"; this.cancelButton1.NextControl = null; this.cancelButton1.Size = new System.Drawing.Size(81, 34); this.cancelButton1.TabIndex = 9; this.cancelButton1.Text = "انصراف"; this.cancelButton1.UseVisualStyleBackColor = false; this.cancelButton1.Click += new System.EventHandler(this.cancelButton1_Click); // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel1.Controls.Add(this.buttonBackup); this.panel1.Controls.Add(this.cancelButton1); this.panel1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel1.Location = new System.Drawing.Point(33, 163); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(223, 42); this.panel1.TabIndex = 10; // // FastBackup // this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Controls.Add(this.panel1); this.Controls.Add(this.labelDate); this.Controls.Add(this.labelStatus); this.Controls.Add(this.progressBar1); this.Controls.Add(this.buttonChangeFolder); this.Controls.Add(this.labelTargetFile); this.Controls.Add(this.label1); this.Name = "FastBackup"; this.Size = new System.Drawing.Size(700, 304); this.Load += new System.EventHandler(this.AtiranBackup_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.buttonBackup = new Atiran.UI.WindowsForms.Controls.Buttons.Button(); this.label1 = new Atiran.UI.WindowsForms.Controls.Label(); this.labelTargetFile = new Atiran.UI.WindowsForms.Controls.Label(); this.buttonChangeFolder = new Atiran.UI.WindowsForms.Controls.Buttons.Button(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.labelStatus = new Atiran.UI.WindowsForms.Controls.Label(); this.labelDate = new Atiran.UI.WindowsForms.Controls.Label(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.panel1 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.label5 = new Atiran.UI.WindowsForms.Controls.Label(); this.label4 = new Atiran.UI.WindowsForms.Controls.Label(); this.label3 = new Atiran.UI.WindowsForms.Controls.Label(); this.label2 = new Atiran.UI.WindowsForms.Controls.Label(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // buttonBackup // this.buttonBackup.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonBackup.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(140)))), ((int)(((byte)(231))))); this.buttonBackup.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonBackup.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.buttonBackup.ForeColor = System.Drawing.Color.White; this.buttonBackup.Location = new System.Drawing.Point(509, 263); this.buttonBackup.Name = "buttonBackup"; this.buttonBackup.NextControl = null; this.buttonBackup.Size = new System.Drawing.Size(83, 36); this.buttonBackup.TabIndex = 0; this.buttonBackup.Text = "ذخيره "; this.buttonBackup.UseVisualStyleBackColor = false; this.buttonBackup.Click += new System.EventHandler(this.ButtonBackup_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(1033, 180); this.label1.Name = "label1"; this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label1.Size = new System.Drawing.Size(118, 22); this.label1.TabIndex = 2; this.label1.Text = "مسير پشتيبان گيري:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // labelTargetFile // this.labelTargetFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelTargetFile.BackColor = System.Drawing.Color.White; this.labelTargetFile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.labelTargetFile.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labelTargetFile.Location = new System.Drawing.Point(556, 176); this.labelTargetFile.Name = "labelTargetFile"; this.labelTargetFile.Size = new System.Drawing.Size(475, 30); this.labelTargetFile.TabIndex = 3; this.labelTargetFile.Text = "D:"; this.labelTargetFile.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // buttonChangeFolder // this.buttonChangeFolder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonChangeFolder.BackColor = System.Drawing.Color.White; this.buttonChangeFolder.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonChangeFolder.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonChangeFolder.Font = new System.Drawing.Font("IRANSans", 10.25F, System.Drawing.FontStyle.Bold); this.buttonChangeFolder.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); this.buttonChangeFolder.Location = new System.Drawing.Point(512, 176); this.buttonChangeFolder.Name = "buttonChangeFolder"; this.buttonChangeFolder.NextControl = null; this.buttonChangeFolder.Size = new System.Drawing.Size(44, 30); this.buttonChangeFolder.TabIndex = 5; this.buttonChangeFolder.Text = "..."; this.buttonChangeFolder.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.buttonChangeFolder.UseVisualStyleBackColor = false; this.buttonChangeFolder.Click += new System.EventHandler(this.buttonChangeFolder_Click); // // progressBar1 // this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.progressBar1.ForeColor = System.Drawing.Color.ForestGreen; this.progressBar1.Location = new System.Drawing.Point(509, 211); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(635, 23); this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.progressBar1.TabIndex = 6; this.progressBar1.Visible = false; // // labelStatus // this.labelStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelStatus.Font = new System.Drawing.Font("IRANSans", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelStatus.Location = new System.Drawing.Point(509, 240); this.labelStatus.Name = "labelStatus"; this.labelStatus.Size = new System.Drawing.Size(635, 23); this.labelStatus.TabIndex = 7; this.labelStatus.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // labelDate // this.labelDate.Font = new System.Drawing.Font("B Nazanin", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178))); this.labelDate.Location = new System.Drawing.Point(6, 4); this.labelDate.Name = "labelDate"; this.labelDate.Size = new System.Drawing.Size(132, 27); this.labelDate.TabIndex = 8; this.labelDate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.labelDate.Visible = false; // // folderBrowserDialog1 // this.folderBrowserDialog1.RootFolder = System.Environment.SpecialFolder.MyComputer; this.folderBrowserDialog1.Tag = ""; // // panel1 // this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.label5); this.panel1.Controls.Add(this.labelDate); this.panel1.Controls.Add(this.label4); this.panel1.Controls.Add(this.label3); this.panel1.Controls.Add(this.label2); this.panel1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel1.Location = new System.Drawing.Point(509, 32); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(643, 138); this.panel1.TabIndex = 9; // // 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(201, 96); this.label5.Name = "label5"; this.label5.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label5.Size = new System.Drawing.Size(435, 22); this.label5.TabIndex = 13; this.label5.Text = "3 - در حين پشتيبان گيري بروي حافظه خارجي، اتصال حافظه با سرور قطع نـكنيد."; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // 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(367, 66); this.label4.Name = "label4"; this.label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label4.Size = new System.Drawing.Size(269, 22); this.label4.TabIndex = 12; this.label4.Text = "2 - در حين پشتيبان گيري سرور را خاموش نـكنيد."; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // 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(300, 35); this.label3.Name = "label3"; this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label3.Size = new System.Drawing.Size(335, 22); this.label3.TabIndex = 11; this.label3.Text = "1 - قبل از آغاز پشتيبان گيري، تمامي كلاينت هارا خاموش كنيد."; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // 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.ForeColor = System.Drawing.Color.Red; this.label2.Location = new System.Drawing.Point(596, 3); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(39, 22); this.label2.TabIndex = 10; this.label2.Text = "!توجه"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // AtiranBackup // this.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Controls.Add(this.panel1); this.Controls.Add(this.labelStatus); this.Controls.Add(this.progressBar1); this.Controls.Add(this.buttonChangeFolder); this.Controls.Add(this.labelTargetFile); this.Controls.Add(this.label1); this.Controls.Add(this.buttonBackup); this.Name = "AtiranBackup"; this.Size = new System.Drawing.Size(1278, 686); this.Load += new System.EventHandler(this.AtiranBackup_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); this.pnlTop = new Atiran.UI.WindowsForms.UIElements.Panel(); this.panel1 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.lblGuid = new Atiran.UI.WindowsForms.Controls.Label(); this.pnlFooter = new Atiran.UI.WindowsForms.UIElements.Panel(); this.panel2 = new Atiran.UI.WindowsForms.UIElements.Panel(); this.lblDatabaseVersion = new Atiran.UI.WindowsForms.Controls.Label(); this.lblProductVersion = new Atiran.UI.WindowsForms.Controls.Label(); this.label1 = new Atiran.UI.WindowsForms.Controls.Label(); this.pnlMain = new Atiran.UI.WindowsForms.UIElements.Panel(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.txtSearch = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox(); this.pnlTop.SuspendLayout(); this.panel1.SuspendLayout(); this.pnlFooter.SuspendLayout(); this.panel2.SuspendLayout(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // pnlTop // this.pnlTop.Controls.Add(this.panel1); this.pnlTop.Dock = System.Windows.Forms.DockStyle.Top; this.pnlTop.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.pnlTop.Location = new System.Drawing.Point(0, 0); this.pnlTop.Name = "pnlTop"; this.pnlTop.Size = new System.Drawing.Size(600, 43); this.pnlTop.TabIndex = 0; // // panel1 // this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(101)))), ((int)(((byte)(192))))); this.panel1.Controls.Add(this.lblGuid); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(600, 43); this.panel1.TabIndex = 17; // // lblGuid // this.lblGuid.AutoSize = true; this.lblGuid.Dock = System.Windows.Forms.DockStyle.Right; this.lblGuid.Font = new System.Drawing.Font("IRANSans(FaNum)", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblGuid.ForeColor = System.Drawing.Color.White; this.lblGuid.Location = new System.Drawing.Point(494, 0); this.lblGuid.Name = "lblGuid"; this.lblGuid.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lblGuid.Size = new System.Drawing.Size(106, 25); this.lblGuid.TabIndex = 11; this.lblGuid.Text = "راهنماي سيستم"; this.lblGuid.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // pnlFooter // this.pnlFooter.Controls.Add(this.panel2); this.pnlFooter.Dock = System.Windows.Forms.DockStyle.Bottom; this.pnlFooter.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.pnlFooter.Location = new System.Drawing.Point(0, 566); this.pnlFooter.Name = "pnlFooter"; this.pnlFooter.Size = new System.Drawing.Size(600, 34); this.pnlFooter.TabIndex = 1; // // panel2 // this.panel2.BackColor = System.Drawing.Color.DarkGray; this.panel2.Controls.Add(this.lblDatabaseVersion); this.panel2.Controls.Add(this.lblProductVersion); this.panel2.Controls.Add(this.label1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(600, 34); this.panel2.TabIndex = 18; // // lblDatabaseVersion // this.lblDatabaseVersion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblDatabaseVersion.Font = new System.Drawing.Font("IRANSans(FaNum)", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblDatabaseVersion.ForeColor = System.Drawing.Color.Black; this.lblDatabaseVersion.Location = new System.Drawing.Point(3, 3); this.lblDatabaseVersion.Name = "lblDatabaseVersion"; this.lblDatabaseVersion.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lblDatabaseVersion.Size = new System.Drawing.Size(279, 25); this.lblDatabaseVersion.TabIndex = 14; this.lblDatabaseVersion.Text = "راهنماي سيستم"; this.lblDatabaseVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblProductVersion // this.lblProductVersion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblProductVersion.Font = new System.Drawing.Font("IRANSans(FaNum)", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblProductVersion.ForeColor = System.Drawing.Color.Black; this.lblProductVersion.Location = new System.Drawing.Point(299, 3); this.lblProductVersion.Name = "lblProductVersion"; this.lblProductVersion.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lblProductVersion.Size = new System.Drawing.Size(184, 25); this.lblProductVersion.TabIndex = 12; this.lblProductVersion.Text = "راهنماي سيستم"; this.lblProductVersion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // 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)", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(489, 1); this.label1.Name = "label1"; this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.label1.Size = new System.Drawing.Size(94, 25); this.label1.TabIndex = 11; this.label1.Text = "ورژن نرم افزار:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // pnlMain // this.pnlMain.Controls.Add(this.dataGridView1); this.pnlMain.Controls.Add(this.txtSearch); this.pnlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlMain.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); this.pnlMain.Location = new System.Drawing.Point(0, 43); this.pnlMain.Name = "pnlMain"; this.pnlMain.Size = new System.Drawing.Size(600, 523); this.pnlMain.TabIndex = 2; // // dataGridView1 // this.dataGridView1.AllowDrop = true; this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells; this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Control; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; this.dataGridView1.ColumnHeadersVisible = false; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle2.Font = new System.Drawing.Font("IRANSans(FaNum)", 9.5F); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.GridColor = System.Drawing.SystemColors.Control; this.dataGridView1.Location = new System.Drawing.Point(0, 29); 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(600, 494); this.dataGridView1.TabIndex = 0; // // 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("AtiranFont", 9.5F); this.txtSearch.ForeColor = System.Drawing.Color.Black; this.txtSearch.Location = new System.Drawing.Point(0, 0); this.txtSearch.Margin = new System.Windows.Forms.Padding(10); this.txtSearch.Name = "txtSearch"; this.txtSearch.NextControl = null; this.txtSearch.RightToLeft = System.Windows.Forms.RightToLeft.No; this.txtSearch.Size = new System.Drawing.Size(600, 29); this.txtSearch.TabIndex = 1; 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); // // Help // this.Controls.Add(this.pnlMain); this.Controls.Add(this.pnlFooter); this.Controls.Add(this.pnlTop); this.MaximumSize = new System.Drawing.Size(600, 600); this.MinimumSize = new System.Drawing.Size(600, 600); this.Name = "Help"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.Size = new System.Drawing.Size(600, 600); this.Load += new System.EventHandler(this.UserControl_Load); this.pnlTop.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.pnlFooter.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.pnlMain.ResumeLayout(false); this.pnlMain.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); }