Example #1
0
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
     this.groupBox2     = new Atiran.UI.WindowsForms.Controls.GroupBox();
     this.pnldgv        = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.dataGridView1 = new Atiran.UI.WindowsForms.Controls.DataGridView();
     this.pnlsearch     = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.txtsearch     = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox();
     this.groupBox2.SuspendLayout();
     this.pnldgv.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.pnlsearch.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.pnldgv);
     this.groupBox2.Controls.Add(this.pnlsearch);
     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(300, 400);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "فرم‌هاي فعال";
     //
     // pnldgv
     //
     this.pnldgv.Controls.Add(this.dataGridView1);
     this.pnldgv.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnldgv.Font     = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.pnldgv.Location = new System.Drawing.Point(3, 54);
     this.pnldgv.Name     = "pnldgv";
     this.pnldgv.Size     = new System.Drawing.Size(294, 343);
     this.pnldgv.TabIndex = 3;
     //
     // dataGridView1
     //
     this.dataGridView1.AllowUserToAddRows            = false;
     this.dataGridView1.AllowUserToDeleteRows         = false;
     this.dataGridView1.AutoSizeColumnsMode           = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView1.BackgroundColor               = System.Drawing.SystemColors.ActiveCaption;
     dataGridViewCellStyle10.Alignment                = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle10.BackColor                = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle10.Font                     = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     dataGridViewCellStyle10.ForeColor                = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle10.SelectionBackColor       = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle10.SelectionForeColor       = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle10.WrapMode                 = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
     this.dataGridView1.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     dataGridViewCellStyle11.Alignment                = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle11.BackColor                = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle11.Font                     = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     dataGridViewCellStyle11.ForeColor                = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle11.SelectionBackColor       = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle11.SelectionForeColor       = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle11.WrapMode                 = System.Windows.Forms.DataGridViewTriState.False;
     this.dataGridView1.DefaultCellStyle              = dataGridViewCellStyle11;
     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(0, 0);
     this.dataGridView1.Name                       = "dataGridView1";
     this.dataGridView1.ReadOnly                   = true;
     dataGridViewCellStyle12.Alignment             = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
     dataGridViewCellStyle12.BackColor             = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle12.Font                  = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     dataGridViewCellStyle12.ForeColor             = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle12.SelectionBackColor    = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle12.SelectionForeColor    = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle12.WrapMode              = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
     this.dataGridView1.RowHeadersVisible          = false;
     this.dataGridView1.SelectionMode              = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView1.Size                       = new System.Drawing.Size(294, 343);
     this.dataGridView1.TabIndex                   = 0;
     //
     // pnlsearch
     //
     this.pnlsearch.Controls.Add(this.txtsearch);
     this.pnlsearch.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlsearch.Font     = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.pnlsearch.Location = new System.Drawing.Point(3, 25);
     this.pnlsearch.Name     = "pnlsearch";
     this.pnlsearch.Size     = new System.Drawing.Size(294, 29);
     this.pnlsearch.TabIndex = 2;
     //
     // txtsearch
     //
     this.txtsearch.BackColor    = System.Drawing.Color.White;
     this.txtsearch.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtsearch.Dock         = System.Windows.Forms.DockStyle.Fill;
     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(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(294, 29);
     this.txtsearch.TabIndex     = 0;
     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);
     //
     // AtiranActivatedForms
     //
     this.Controls.Add(this.groupBox2);
     this.Name        = "AtiranActivatedForms";
     this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.Size        = new System.Drawing.Size(300, 400);
     this.Load       += new System.EventHandler(this.UserControl_Load);
     this.groupBox2.ResumeLayout(false);
     this.pnldgv.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.pnlsearch.ResumeLayout(false);
     this.pnlsearch.PerformLayout();
     this.ResumeLayout(false);
 }
Example #2
0
 private void InitializeComponent()
 {
     this.panel1      = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.label1      = new Atiran.UI.WindowsForms.Controls.Label();
     this.pictureBox1 = new Atiran.UI.WindowsForms.Controls.pictureBox();
     this.pnlBack     = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.panel2      = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.pnlResult   = new Atiran.UI.WindowsForms.Controls.FlowLayoutPanel();
     this.panel4      = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.panel3      = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.pnlTextbox  = new Atiran.UI.WindowsForms.UIElements.Panel();
     this.txtSerach   = new Atiran.UI.WindowsForms.Controls.TextBoxes.TextBox();
     this.pictureBox2 = new Atiran.UI.WindowsForms.Controls.pictureBox();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.pnlBack.SuspendLayout();
     this.panel2.SuspendLayout();
     this.pnlTextbox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Teal;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.pictureBox1);
     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.Size     = new System.Drawing.Size(674, 35);
     this.panel1.TabIndex = 0;
     //
     // label1
     //
     this.label1.Dock      = System.Windows.Forms.DockStyle.Left;
     this.label1.Font      = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(33, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(109, 35);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Atiran Spotlight";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.pictureBox1.Image    = global::Atiran.UI.WindowsForms.Resources.Atiran_Spotlight_Icon;
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(33, 35);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop  = false;
     //
     // pnlBack
     //
     this.pnlBack.Controls.Add(this.panel2);
     this.pnlBack.Controls.Add(this.pictureBox2);
     this.pnlBack.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlBack.Font     = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.pnlBack.Location = new System.Drawing.Point(0, 35);
     this.pnlBack.Name     = "pnlBack";
     this.pnlBack.Size     = new System.Drawing.Size(674, 333);
     this.pnlBack.TabIndex = 1;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.pnlResult);
     this.panel2.Controls.Add(this.panel4);
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Controls.Add(this.pnlTextbox);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Font     = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.panel2.Location = new System.Drawing.Point(0, 166);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(674, 167);
     this.panel2.TabIndex = 1;
     //
     // pnlResult
     //
     this.pnlResult.AutoScroll = true;
     this.pnlResult.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(238)))), ((int)(((byte)(238)))));
     this.pnlResult.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.pnlResult.Location   = new System.Drawing.Point(100, 32);
     this.pnlResult.Name       = "pnlResult";
     this.pnlResult.Padding    = new System.Windows.Forms.Padding(0, 0, 10, 0);
     this.pnlResult.Size       = new System.Drawing.Size(463, 135);
     this.pnlResult.TabIndex   = 3;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(238)))), ((int)(((byte)(238)))));
     this.panel4.Dock      = System.Windows.Forms.DockStyle.Right;
     this.panel4.Font      = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.panel4.Location  = new System.Drawing.Point(563, 32);
     this.panel4.Name      = "panel4";
     this.panel4.Size      = new System.Drawing.Size(111, 135);
     this.panel4.TabIndex  = 2;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(238)))), ((int)(((byte)(238)))));
     this.panel3.Dock      = System.Windows.Forms.DockStyle.Left;
     this.panel3.Font      = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.panel3.Location  = new System.Drawing.Point(0, 32);
     this.panel3.Name      = "panel3";
     this.panel3.Size      = new System.Drawing.Size(100, 135);
     this.panel3.TabIndex  = 1;
     //
     // pnlTextbox
     //
     this.pnlTextbox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(238)))), ((int)(((byte)(238)))));
     this.pnlTextbox.Controls.Add(this.txtSerach);
     this.pnlTextbox.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlTextbox.Font     = new System.Drawing.Font("IRANSans(FaNum)", 9.5F);
     this.pnlTextbox.Location = new System.Drawing.Point(0, 0);
     this.pnlTextbox.Name     = "pnlTextbox";
     this.pnlTextbox.Size     = new System.Drawing.Size(674, 32);
     this.pnlTextbox.TabIndex = 0;
     //
     // txtSerach
     //
     this.txtSerach.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSerach.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtSerach.Font         = new System.Drawing.Font("IRANSans(FaNum)", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSerach.Location     = new System.Drawing.Point(100, -1);
     this.txtSerach.Margin       = new System.Windows.Forms.Padding(10);
     this.txtSerach.Name         = "txtSerach";
     this.txtSerach.NextControl  = null;
     this.txtSerach.Size         = new System.Drawing.Size(463, 33);
     this.txtSerach.TabIndex     = 0;
     this.txtSerach.TextAlign    = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtSerach.TextChanged += new System.EventHandler(this.TxtSerach_TextChanged);
     this.txtSerach.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.TxtSerach_KeyDown);
     //
     // pictureBox2
     //
     this.pictureBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(238)))), ((int)(((byte)(238)))));
     this.pictureBox2.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox2.Image     = global::Atiran.UI.WindowsForms.Resources.Atiran_Spotlight_Background;
     this.pictureBox2.Location  = new System.Drawing.Point(0, 0);
     this.pictureBox2.Name      = "pictureBox2";
     this.pictureBox2.Size      = new System.Drawing.Size(674, 333);
     this.pictureBox2.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pictureBox2.TabIndex  = 0;
     this.pictureBox2.TabStop   = false;
     //
     // AtiranSpotlight
     //
     this.Controls.Add(this.pnlBack);
     this.Controls.Add(this.panel1);
     this.Name = "AtiranSpotlight";
     this.Size = new System.Drawing.Size(674, 368);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.pnlBack.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.pnlTextbox.ResumeLayout(false);
     this.pnlTextbox.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.ResumeLayout(false);
 }