/// <summary> /// constructeur par défaut /// </summary> /// <param name="graphics"></param> /// <param name="column"></param> /// <param name="columnRect"></param> public DrawHeaderColEventArgs(Graphics graphics, GeniusTreeViewColonne column, Rectangle columnRect) { DefaultDrawing = true; FGraphics = graphics; FRectCol = columnRect; FCol = column; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.geniusTreeView1 = new Genius.Controls.TreeView.GeniusTreeView(); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.SuspendLayout(); // GeniusTreeView By Pierrick Gourlain // // geniusTreeView1 // this.geniusTreeView1.Alignment = System.Drawing.StringAlignment.Near; this.geniusTreeView1.AllowEdit = false; this.geniusTreeView1.AutoSort = false; this.geniusTreeView1.BackColor = System.Drawing.SystemColors.Window; this.geniusTreeView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.geniusTreeView1.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.geniusTreeView1.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(165)), ((System.Byte)(0))), 2F); this.geniusTreeView1.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.None; this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeView1.Header.MainColumnIndex = 0; this.geniusTreeView1.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne1 }); this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(0, 0); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.Size = new System.Drawing.Size(440, 328); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.UseColumns = true; this.geniusTreeView1.OnBeforeNodePainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.geniusTreeView1_OnBeforeNodePainting); this.geniusTreeView1.OnBeforeCellPainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.geniusTreeView1_OnBeforeCellPainting); // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Text = "Colonne 0"; // // TestChapter // this.Controls.Add(this.geniusTreeView1); this.Name = "TestChapter"; this.Size = new System.Drawing.Size(440, 328); this.Load += new System.EventHandler(this.TestChapter_Load); this.SizeChanged += new System.EventHandler(this.TestChapter_SizeChanged); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StandardDemoCtl)); this.panel1 = new System.Windows.Forms.Panel(); this.pnlContext = new System.Windows.Forms.Panel(); this.cbFullRowelect = new System.Windows.Forms.CheckBox(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.textboxImageStateIndex = new System.Windows.Forms.TextBox(); this.textboxImageIndex = new System.Windows.Forms.TextBox(); this.cbHasSignaled = new System.Windows.Forms.CheckBox(); this.cbHasChildren = new System.Windows.Forms.CheckBox(); this.cbHasCheck = new System.Windows.Forms.CheckBox(); this.panel3 = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.tbSearch = new System.Windows.Forms.TextBox(); this.bSave = new System.Windows.Forms.Button(); this.bLoad = new System.Windows.Forms.Button(); this.lblAddResult = new System.Windows.Forms.Label(); this.textBoxAdd = new System.Windows.Forms.TextBox(); this.bClear = new System.Windows.Forms.Button(); this.bAdd = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.geniusTreeView1 = new Genius.Controls.TreeView.GeniusTreeView(); this.geniusTreeViewColonne3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne4 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne5 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.cbMultiselect = new System.Windows.Forms.CheckBox(); this.panel1.SuspendLayout(); this.pnlContext.SuspendLayout(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.pnlContext); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(208, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(168, 364); this.panel1.TabIndex = 0; // // pnlContext // this.pnlContext.Controls.Add(this.cbMultiselect); this.pnlContext.Controls.Add(this.cbFullRowelect); this.pnlContext.Controls.Add(this.label2); this.pnlContext.Controls.Add(this.label1); this.pnlContext.Controls.Add(this.textboxImageStateIndex); this.pnlContext.Controls.Add(this.textboxImageIndex); this.pnlContext.Controls.Add(this.cbHasSignaled); this.pnlContext.Controls.Add(this.cbHasChildren); this.pnlContext.Controls.Add(this.cbHasCheck); this.pnlContext.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlContext.Enabled = false; this.pnlContext.Location = new System.Drawing.Point(0, 0); this.pnlContext.Name = "pnlContext"; this.pnlContext.Size = new System.Drawing.Size(168, 204); this.pnlContext.TabIndex = 2; // // cbFullRowelect // this.cbFullRowelect.Location = new System.Drawing.Point(8, 134); this.cbFullRowelect.Name = "cbFullRowelect"; this.cbFullRowelect.Size = new System.Drawing.Size(104, 24); this.cbFullRowelect.TabIndex = 7; this.cbFullRowelect.Text = "FullRowSelect"; this.cbFullRowelect.CheckedChanged += new System.EventHandler(this.cbFullRowelect_CheckedChanged); // // label2 // this.label2.Location = new System.Drawing.Point(5, 111); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(86, 13); this.label2.TabIndex = 6; this.label2.Text = "StateImageIndex"; // // label1 // this.label1.Location = new System.Drawing.Point(5, 82); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(66, 17); this.label1.TabIndex = 5; this.label1.Text = "ImageIndex"; // // textboxImageStateIndex // this.textboxImageStateIndex.Location = new System.Drawing.Point(102, 108); this.textboxImageStateIndex.Name = "textboxImageStateIndex"; this.textboxImageStateIndex.Size = new System.Drawing.Size(40, 20); this.textboxImageStateIndex.TabIndex = 4; this.textboxImageStateIndex.Text = "-1"; this.textboxImageStateIndex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textboxImageStateIndex_KeyDown); // // textboxImageIndex // this.textboxImageIndex.Location = new System.Drawing.Point(80, 79); this.textboxImageIndex.Name = "textboxImageIndex"; this.textboxImageIndex.Size = new System.Drawing.Size(40, 20); this.textboxImageIndex.TabIndex = 3; this.textboxImageIndex.Text = "-1"; this.textboxImageIndex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textboxImageIndex_KeyDown); // // cbHasSignaled // this.cbHasSignaled.Location = new System.Drawing.Point(8, 56); this.cbHasSignaled.Name = "cbHasSignaled"; this.cbHasSignaled.Size = new System.Drawing.Size(104, 24); this.cbHasSignaled.TabIndex = 2; this.cbHasSignaled.Text = "Surligné ?"; this.cbHasSignaled.CheckedChanged += new System.EventHandler(this.cbHasSignaled_CheckedChanged); // // cbHasChildren // this.cbHasChildren.Location = new System.Drawing.Point(8, 32); this.cbHasChildren.Name = "cbHasChildren"; this.cbHasChildren.Size = new System.Drawing.Size(104, 24); this.cbHasChildren.TabIndex = 1; this.cbHasChildren.Text = "Children ?"; this.cbHasChildren.CheckedChanged += new System.EventHandler(this.cbHasChildren_CheckedChanged); // // cbHasCheck // this.cbHasCheck.Location = new System.Drawing.Point(8, 8); this.cbHasCheck.Name = "cbHasCheck"; this.cbHasCheck.Size = new System.Drawing.Size(104, 24); this.cbHasCheck.TabIndex = 0; this.cbHasCheck.Text = "CheckBox ?"; this.cbHasCheck.CheckedChanged += new System.EventHandler(this.cbHasCheck_CheckedChanged); // // panel3 // this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.tbSearch); this.panel3.Controls.Add(this.bSave); this.panel3.Controls.Add(this.bLoad); this.panel3.Controls.Add(this.lblAddResult); this.panel3.Controls.Add(this.textBoxAdd); this.panel3.Controls.Add(this.bClear); this.panel3.Controls.Add(this.bAdd); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 204); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(168, 160); this.panel3.TabIndex = 1; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(7, 13); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(63, 13); this.label3.TabIndex = 12; this.label3.Text = "Rechercher"; // // tbSearch // this.tbSearch.Location = new System.Drawing.Point(8, 32); this.tbSearch.Name = "tbSearch"; this.tbSearch.Size = new System.Drawing.Size(134, 20); this.tbSearch.TabIndex = 11; this.tbSearch.Text = "Node 70"; this.tbSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSearch_KeyDown); // // bSave // this.bSave.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bSave.Location = new System.Drawing.Point(90, 132); this.bSave.Name = "bSave"; this.bSave.Size = new System.Drawing.Size(75, 23); this.bSave.TabIndex = 10; this.bSave.Text = "Save"; this.bSave.Click += new System.EventHandler(this.bSave_Click); // // bLoad // this.bLoad.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bLoad.Location = new System.Drawing.Point(10, 132); this.bLoad.Name = "bLoad"; this.bLoad.Size = new System.Drawing.Size(75, 23); this.bLoad.TabIndex = 9; this.bLoad.Text = "Load"; this.bLoad.Click += new System.EventHandler(this.bLoad_Click); // // lblAddResult // this.lblAddResult.FlatStyle = System.Windows.Forms.FlatStyle.System; this.lblAddResult.Location = new System.Drawing.Point(82, 68); this.lblAddResult.Name = "lblAddResult"; this.lblAddResult.Size = new System.Drawing.Size(80, 23); this.lblAddResult.TabIndex = 8; this.lblAddResult.Text = "label1"; // // textBoxAdd // this.textBoxAdd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBoxAdd.Location = new System.Drawing.Point(10, 68); this.textBoxAdd.Name = "textBoxAdd"; this.textBoxAdd.Size = new System.Drawing.Size(64, 20); this.textBoxAdd.TabIndex = 7; this.textBoxAdd.Text = "1000"; // // bClear // this.bClear.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bClear.Location = new System.Drawing.Point(90, 100); this.bClear.Name = "bClear"; this.bClear.Size = new System.Drawing.Size(75, 23); this.bClear.TabIndex = 6; this.bClear.Text = "Clear"; this.bClear.Click += new System.EventHandler(this.bClear_Click); // // bAdd // this.bAdd.FlatStyle = System.Windows.Forms.FlatStyle.System; this.bAdd.Location = new System.Drawing.Point(10, 100); this.bAdd.Name = "bAdd"; this.bAdd.Size = new System.Drawing.Size(75, 23); this.bAdd.TabIndex = 5; this.bAdd.Text = "Add"; this.bAdd.Click += new System.EventHandler(this.bAdd_Click); // // panel2 // this.panel2.Controls.Add(this.geniusTreeView1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(208, 364); this.panel2.TabIndex = 1; // GeniusTreeView By Pierrick Gourlain // // geniusTreeView1 // this.geniusTreeView1.Alignment = System.Drawing.StringAlignment.Near; this.geniusTreeView1.AutoSort = false; this.geniusTreeView1.BackColor = System.Drawing.SystemColors.Window; this.geniusTreeView1.Colors.FocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.SystemColors.HighlightText, 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.geniusTreeView1.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.geniusTreeView1.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SelectedTextColor = System.Drawing.SystemColors.HighlightText; this.geniusTreeView1.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(165)))), ((int)(((byte)(0))))), 2F, System.Drawing.Drawing2D.DashStyle.Solid); this.geniusTreeView1.Colors.TextColor = System.Drawing.Color.Black; this.geniusTreeView1.Colors.UnFocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.geniusTreeView1.DefaultDrawingOption = ((Genius.Controls.TreeView.DrawingOptions)((Genius.Controls.TreeView.DrawingOptions.ShowVertLines | Genius.Controls.TreeView.DrawingOptions.ShowHorzLines))); this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.ElapsedHint = 500; this.geniusTreeView1.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeView1.Header.ImageList = null; this.geniusTreeView1.Header.MainColumnIndex = -1; this.geniusTreeView1.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne3, this.geniusTreeViewColonne4, this.geniusTreeViewColonne5 }); this.geniusTreeView1.ImageList = this.imageList1; this.geniusTreeView1.ImageStateList = this.imageList2; this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(0, 0); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.Size = new System.Drawing.Size(208, 364); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.geniusTreeView1_OnGetNodeText); this.geniusTreeView1.OnAfterSelect += new Genius.Controls.TreeView.OnSelectedDelegate(this.geniusTreeView1_OnSelected); // // geniusTreeViewColonne3 // this.geniusTreeViewColonne3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne3.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne3.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne3.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Text = "Colonne 0"; // // geniusTreeViewColonne4 // this.geniusTreeViewColonne4.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne4.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne4.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne4.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne4.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Text = "Colonne 1"; // // geniusTreeViewColonne5 // this.geniusTreeViewColonne5.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne5.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne5.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne5.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne5.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne5.Text = "Colonne 2"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); // // imageList2 // this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; this.imageList2.Images.SetKeyName(0, ""); this.imageList2.Images.SetKeyName(1, ""); this.imageList2.Images.SetKeyName(2, ""); // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne1.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne1.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Text = "Colonne 0"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne2.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne2.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne2.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Text = "Colonne 1"; // // cbMultiselect // this.cbMultiselect.Checked = true; this.cbMultiselect.CheckState = System.Windows.Forms.CheckState.Checked; this.cbMultiselect.Location = new System.Drawing.Point(8, 164); this.cbMultiselect.Name = "cbMultiselect"; this.cbMultiselect.Size = new System.Drawing.Size(134, 24); this.cbMultiselect.TabIndex = 7; this.cbMultiselect.Text = "AllowMultiSelect"; this.cbMultiselect.CheckedChanged += new System.EventHandler(this.cbMultiselect_CheckedChanged); // // StandardDemoCtl // this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "StandardDemoCtl"; this.Size = new System.Drawing.Size(376, 364); this.Load += new System.EventHandler(this.StandardDemoCtl_Load); this.panel1.ResumeLayout(false); this.pnlContext.ResumeLayout(false); this.pnlContext.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(demoLonghornUC)); this.gtv = new Genius.Controls.TreeView.GeniusTreeView(); this.gtcName = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtcSize = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtcType = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtcDateM = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.rbNoGroup = new System.Windows.Forms.RadioButton(); this.rbByName = new System.Windows.Forms.RadioButton(); this.rbByType = new System.Windows.Forms.RadioButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // GeniusTreeView By Pierrick Gourlain // // gtv // this.gtv.Alignment = System.Drawing.StringAlignment.Near; this.gtv.AllowEdit = false; this.gtv.AutoSort = false; this.gtv.BackColor = System.Drawing.SystemColors.Window; this.gtv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gtv.Colors.FocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.gtv.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.gtv.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(165)), ((System.Byte)(0))), 2F, System.Drawing.Drawing2D.DashStyle.Solid); this.gtv.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtv.Colors.UnFocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.gtv.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.gtv.Dock = System.Windows.Forms.DockStyle.Fill; this.gtv.ElapsedHint = 500; this.gtv.FullRowSelect = true; this.gtv.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtv.Header.ImageList = null; this.gtv.Header.MainColumnIndex = 0; this.gtv.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.gtcName, this.gtcSize, this.gtcType, this.gtcDateM }); this.gtv.HeaderHeight = 30; this.gtv.ImageList = this.imageList1; this.gtv.KeysGridMode = false; this.gtv.Location = new System.Drawing.Point(0, 32); this.gtv.Name = "gtv"; this.gtv.ShowHeader = true; this.gtv.Size = new System.Drawing.Size(328, 224); this.gtv.TabIndex = 0; this.gtv.Text = "geniusTreeView1"; this.gtv.UseColumns = true; this.gtv.Click += new System.EventHandler(this.gtv_Click); this.gtv.MouseMove += new System.Windows.Forms.MouseEventHandler(this.gtv_MouseMove); this.gtv.OnInitNode += new Genius.Controls.TreeView.OnNodeDelegate(this.gtv_OnInitNode); this.gtv.OnGetNodeValue += new Genius.Controls.TreeView.OnGetNodeValueForComparisonDelegate(this.gtv_OnGetNodeValue); this.gtv.OnBeforePaintHeader += new Genius.Controls.TreeView.OnDrawHeaderColDelegate(this.gtv_OnDrawHeaderCol); this.gtv.OnPaintNodeBackGround += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.gtv_OnPaintNodeBackGround); this.gtv.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.gtv_OnGetNodeText); this.gtv.OnGetImageIndex += new Genius.Controls.TreeView.OnGetImageIndexDelegate(this.gtv_OnGetImageIndex); this.gtv.OnBeforeNodePainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.gtv_OnBeforeNodePainting); // // gtcName // this.gtcName.Alignment = System.Drawing.StringAlignment.Near; this.gtcName.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcName.Font = new System.Drawing.Font("Lucida Sans Unicode", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcName.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcName.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtcName.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcName.Text = "Name"; this.gtcName.VAlignment = System.Drawing.StringAlignment.Near; this.gtcName.Width = 150; // // gtcSize // this.gtcSize.Alignment = System.Drawing.StringAlignment.Far; this.gtcSize.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcSize.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtcSize.Font = new System.Drawing.Font("Lucida Sans Unicode", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcSize.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcSize.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtcSize.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcSize.Text = "Size"; this.gtcSize.VAlignment = System.Drawing.StringAlignment.Near; // // gtcType // this.gtcType.Alignment = System.Drawing.StringAlignment.Near; this.gtcType.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcType.Font = new System.Drawing.Font("Lucida Sans Unicode", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcType.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcType.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtcType.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcType.Text = "Type"; this.gtcType.VAlignment = System.Drawing.StringAlignment.Near; // // gtcDateM // this.gtcDateM.Alignment = System.Drawing.StringAlignment.Near; this.gtcDateM.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcDateM.Font = new System.Drawing.Font("Lucida Sans Unicode", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcDateM.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtcDateM.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtcDateM.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtcDateM.Text = "Date Modified"; this.gtcDateM.VAlignment = System.Drawing.StringAlignment.Near; this.gtcDateM.Width = 150; // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Fuchsia; // // panel1 // this.panel1.Controls.Add(this.rbByType); this.panel1.Controls.Add(this.rbByName); this.panel1.Controls.Add(this.rbNoGroup); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(328, 32); this.panel1.TabIndex = 1; // // rbNoGroup // this.rbNoGroup.Checked = true; this.rbNoGroup.Location = new System.Drawing.Point(8, 8); this.rbNoGroup.Name = "rbNoGroup"; this.rbNoGroup.Size = new System.Drawing.Size(104, 16); this.rbNoGroup.TabIndex = 0; this.rbNoGroup.TabStop = true; this.rbNoGroup.Text = "Pas de groupe"; this.rbNoGroup.CheckedChanged += new System.EventHandler(this.rbByName_CheckedChanged); // // rbByName // this.rbByName.Location = new System.Drawing.Point(112, 8); this.rbByName.Name = "rbByName"; this.rbByName.Size = new System.Drawing.Size(104, 16); this.rbByName.TabIndex = 1; this.rbByName.Text = "by Name"; this.rbByName.CheckedChanged += new System.EventHandler(this.rbByName_CheckedChanged); // // rbByType // this.rbByType.Location = new System.Drawing.Point(224, 8); this.rbByType.Name = "rbByType"; this.rbByType.Size = new System.Drawing.Size(104, 16); this.rbByType.TabIndex = 2; this.rbByType.Text = "by Type"; this.rbByType.CheckedChanged += new System.EventHandler(this.rbByName_CheckedChanged); // // demoLonghornUC // this.Controls.Add(this.gtv); this.Controls.Add(this.panel1); this.Name = "demoLonghornUC"; this.Size = new System.Drawing.Size(328, 256); this.Load += new System.EventHandler(this.demoLonghornUC_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.geniusTreeView1 = new Genius.Controls.TreeView.GeniusTreeView(); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.SuspendLayout(); // // geniusTreeView1 // this.geniusTreeView1.Alignment = System.Drawing.StringAlignment.Near; this.geniusTreeView1.AutoSort = false; this.geniusTreeView1.BackColor = System.Drawing.SystemColors.Window; this.geniusTreeView1.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOption.ShowGridLines; this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeView1.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne1, this.geniusTreeViewColonne2, this.geniusTreeViewColonne3 }); this.geniusTreeView1.ImageList = null; this.geniusTreeView1.ImageStateList = null; this.geniusTreeView1.Indentation = 10; this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(0, 0); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.SearchDirection = Genius.Controls.TreeView.SearchDirectionEnum.Forward; this.geniusTreeView1.ShowHeader = true; this.geniusTreeView1.Size = new System.Drawing.Size(480, 384); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.UseColumns = true; this.geniusTreeView1.OnBeforeCellPainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.geniusTreeView1_OnBeforeCellPainting); this.geniusTreeView1.OnAfterCellPainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.geniusTreeView1_OnAfterCellPainting); this.geniusTreeView1.OnBeforeNodePainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.geniusTreeView1_OnBeforeNodePainting); this.geniusTreeView1.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.geniusTreeView1_OnGetNodeText); this.geniusTreeView1.OnBeforeSelect += new Genius.Controls.TreeView.OnSelectDelegate(this.geniusTreeView1_OnBeginSelect); // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.ImageIndex = 0; this.geniusTreeViewColonne1.Text = "Colonne 0"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.ImageIndex = 0; this.geniusTreeViewColonne2.Text = "Colonne 1"; // // geniusTreeViewColonne3 // this.geniusTreeViewColonne3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.ImageIndex = 0; this.geniusTreeViewColonne3.Text = "Colonne 2"; // // CustomDrawDemoCtl // this.Controls.Add(this.geniusTreeView1); this.Name = "CustomDrawDemoCtl"; this.Size = new System.Drawing.Size(480, 384); this.Load += new System.EventHandler(this.CustomDrawDemoCtl_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.pnlHaut = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.rbImpair = new System.Windows.Forms.RadioButton(); this.rbPair = new System.Windows.Forms.RadioButton(); this.rbAll = new System.Windows.Forms.RadioButton(); this.panel1 = new System.Windows.Forms.Panel(); this.gtv = new Genius.Controls.TreeView.GeniusTreeView(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.pnlHaut.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // pnlHaut // this.pnlHaut.Controls.Add(this.button1); this.pnlHaut.Controls.Add(this.rbImpair); this.pnlHaut.Controls.Add(this.rbPair); this.pnlHaut.Controls.Add(this.rbAll); this.pnlHaut.Dock = System.Windows.Forms.DockStyle.Top; this.pnlHaut.Location = new System.Drawing.Point(0, 0); this.pnlHaut.Name = "pnlHaut"; this.pnlHaut.Size = new System.Drawing.Size(376, 64); this.pnlHaut.TabIndex = 0; // // button1 // this.button1.Location = new System.Drawing.Point(264, 40); this.button1.Name = "button1"; this.button1.TabIndex = 3; this.button1.Text = "button1"; this.button1.Click += new System.EventHandler(this.button1_Click); // // rbImpair // this.rbImpair.Checked = true; this.rbImpair.Location = new System.Drawing.Point(240, 16); this.rbImpair.Name = "rbImpair"; this.rbImpair.TabIndex = 2; this.rbImpair.TabStop = true; this.rbImpair.Text = "Noeud Impairs"; this.rbImpair.CheckedChanged += new System.EventHandler(this.rbImpair_CheckedChanged); // // rbPair // this.rbPair.Location = new System.Drawing.Point(128, 16); this.rbPair.Name = "rbPair"; this.rbPair.TabIndex = 1; this.rbPair.Text = "Noeuds Pairs"; this.rbPair.CheckedChanged += new System.EventHandler(this.rbPair_CheckedChanged); // // rbAll // this.rbAll.Location = new System.Drawing.Point(8, 16); this.rbAll.Name = "rbAll"; this.rbAll.TabIndex = 0; this.rbAll.Text = "Tous"; this.rbAll.CheckedChanged += new System.EventHandler(this.rbAll_CheckedChanged); // // panel1 // this.panel1.Controls.Add(this.gtv); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 64); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(376, 264); this.panel1.TabIndex = 1; // GeniusTreeView By Pierrick Gourlain // // gtv // this.gtv.Alignment = System.Drawing.StringAlignment.Near; this.gtv.AutoSort = false; this.gtv.BackColor = System.Drawing.SystemColors.Window; this.gtv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gtv.Colors.FocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.gtv.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.gtv.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(165)), ((System.Byte)(0))), 2F, System.Drawing.Drawing2D.DashStyle.Solid); this.gtv.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtv.Colors.UnFocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Solid); this.gtv.ContextMenu = this.contextMenu1; this.gtv.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOption.ShowGridLines; this.gtv.Dock = System.Windows.Forms.DockStyle.Fill; this.gtv.ElapsedHint = 500; this.gtv.Header.AllowDrag = true; this.gtv.Header.AutoSizeColIndex = 1; this.gtv.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtv.Header.ImageList = null; this.gtv.Header.MainColumnIndex = 0; this.gtv.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne1, this.geniusTreeViewColonne2, this.geniusTreeViewColonne3 }); this.gtv.KeysGridMode = false; this.gtv.Location = new System.Drawing.Point(0, 0); this.gtv.Name = "gtv"; this.gtv.ShowHeader = true; this.gtv.Size = new System.Drawing.Size(376, 264); this.gtv.TabIndex = 0; this.gtv.Text = "geniusTreeView1"; this.gtv.UseColumns = true; this.gtv.OnInitNode += new Genius.Controls.TreeView.OnNodeDelegate(this.gtv_OnInitNode); this.gtv.OnGetNodeValue += new Genius.Controls.TreeView.OnGetNodeValueForComparisonDelegate(this.gtv_OnGetNodeValue); this.gtv.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.gtv_OnGetNodeText); this.gtv.OnGetHint += new Genius.Controls.TreeView.OnGetHintDelegate(this.gtv_OnGetHint); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "Cacher"; this.menuItem1.Click += new System.EventHandler(this.menuItem1_Click); // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Text = "Colonne 0"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Text = "Colonne 1"; // // geniusTreeViewColonne3 // this.geniusTreeViewColonne3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Text = "Colonne 2"; // // TestVisibility // this.Controls.Add(this.panel1); this.Controls.Add(this.pnlHaut); this.Name = "TestVisibility"; this.Size = new System.Drawing.Size(376, 328); this.Load += new System.EventHandler(this.TestVisibility_Load); this.pnlHaut.ResumeLayout(false); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(TestHeader)); this.gtv = new Genius.Controls.TreeView.GeniusTreeView(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne4 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne5 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne6 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne7 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne8 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne9 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne10 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.SuspendLayout(); // GeniusTreeView By Pierrick Gourlain // // gtv // this.gtv.Alignment = System.Drawing.StringAlignment.Near; this.gtv.AutoSort = false; this.gtv.BackColor = System.Drawing.SystemColors.Window; this.gtv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gtv.Colors.FocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.gtv.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.gtv.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(165)), ((System.Byte)(0))), 2F, System.Drawing.Drawing2D.DashStyle.Solid); this.gtv.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtv.Colors.UnFocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.gtv.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.gtv.Dock = System.Windows.Forms.DockStyle.Fill; this.gtv.ElapsedHint = 500; this.gtv.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtv.Header.ImageList = this.imageList1; this.gtv.Header.MainColumnIndex = 0; this.gtv.Header.SortImageAlignment = Genius.Controls.TreeView.ImageSortAlignment.BottomRight; this.gtv.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne1, this.geniusTreeViewColonne2, this.geniusTreeViewColonne3, this.geniusTreeViewColonne4, this.geniusTreeViewColonne5, this.geniusTreeViewColonne6, this.geniusTreeViewColonne7, this.geniusTreeViewColonne8, this.geniusTreeViewColonne9, this.geniusTreeViewColonne10 }); this.gtv.HeaderHeight = 100; this.gtv.KeysGridMode = false; this.gtv.Location = new System.Drawing.Point(0, 0); this.gtv.Name = "gtv"; this.gtv.ShowHeader = true; this.gtv.Size = new System.Drawing.Size(392, 256); this.gtv.TabIndex = 0; this.gtv.Text = "geniusTreeView1"; this.gtv.UseColumns = true; this.gtv.OnGetNodeValue += new Genius.Controls.TreeView.OnGetNodeValueForComparisonDelegate(this.gtv_OnGetNodeValue); this.gtv.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.gtv_OnGetNodeText); // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.ImageIndex = 0; this.geniusTreeViewColonne1.Text = "Colonne 1"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.ImageAlignment = Genius.Controls.TreeView.ImageAlignment.Top; this.geniusTreeViewColonne2.ImageIndex = 1; this.geniusTreeViewColonne2.Text = "Colonne 2"; this.geniusTreeViewColonne2.TextOrientation = 90F; // // geniusTreeViewColonne3 // this.geniusTreeViewColonne3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.ImageAlignment = Genius.Controls.TreeView.ImageAlignment.Right; this.geniusTreeViewColonne3.ImageIndex = 2; this.geniusTreeViewColonne3.Text = "Colonne 3"; this.geniusTreeViewColonne3.TextOrientation = 180F; // // geniusTreeViewColonne4 // this.geniusTreeViewColonne4.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.ImageAlignment = Genius.Controls.TreeView.ImageAlignment.Bottom; this.geniusTreeViewColonne4.ImageIndex = 3; this.geniusTreeViewColonne4.Text = "Colonne 4"; this.geniusTreeViewColonne4.TextOrientation = 270F; // // geniusTreeViewColonne5 // this.geniusTreeViewColonne5.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne5.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne5.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne5.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne5.ImageIndex = 4; this.geniusTreeViewColonne5.Text = "Colonne 5"; this.geniusTreeViewColonne5.TextOrientation = -45F; // // geniusTreeViewColonne6 // this.geniusTreeViewColonne6.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne6.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne6.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne6.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne6.ImageIndex = 5; this.geniusTreeViewColonne6.Text = "Colonne 6"; // // geniusTreeViewColonne7 // this.geniusTreeViewColonne7.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne7.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne7.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne7.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne7.Text = "Colonne 6"; // // geniusTreeViewColonne8 // this.geniusTreeViewColonne8.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne8.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne8.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne8.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne8.Text = "Colonne 7"; // // geniusTreeViewColonne9 // this.geniusTreeViewColonne9.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne9.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne9.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne9.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne9.Text = "Colonne 8"; // // geniusTreeViewColonne10 // this.geniusTreeViewColonne10.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne10.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne10.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne10.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne10.Text = "Colonne 9"; // // TestHeader // this.Controls.Add(this.gtv); this.Name = "TestHeader"; this.Size = new System.Drawing.Size(392, 256); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.gtv = new Genius.Controls.TreeView.GeniusTreeView(); this.gtc1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc4 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc5 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc6 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc7 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc8 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc9 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc10 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc11 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.gtc12 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.lblInfo = new System.Windows.Forms.Label(); this.SuspendLayout(); // GeniusTreeView By Pierrick Gourlain // // gtv // this.gtv.Alignment = System.Drawing.StringAlignment.Near; this.gtv.AutoSort = false; this.gtv.BackColor = System.Drawing.SystemColors.Window; this.gtv.Colors.FocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.SystemColors.HighlightText, 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.gtv.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.gtv.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SelectedTextColor = System.Drawing.SystemColors.HighlightText; this.gtv.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.gtv.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(165)))), ((int)(((byte)(0))))), 2F, System.Drawing.Drawing2D.DashStyle.Solid); this.gtv.Colors.TextColor = System.Drawing.Color.Black; this.gtv.Colors.UnFocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.gtv.DefaultDrawingOption = ((Genius.Controls.TreeView.DrawingOptions)((Genius.Controls.TreeView.DrawingOptions.ShowVertLines | Genius.Controls.TreeView.DrawingOptions.ShowHorzLines))); this.gtv.Dock = System.Windows.Forms.DockStyle.Top; this.gtv.ElapsedHint = 500; this.gtv.Header.AllowSort = false; this.gtv.Header.FixedColumnCount = 5; this.gtv.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtv.Header.ImageList = null; this.gtv.Header.MainColumnIndex = 0; this.gtv.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.gtc1, this.gtc2, this.gtc3, this.gtc4, this.gtc5, this.gtc6, this.gtc7, this.gtc8, this.gtc9, this.gtc10, this.gtc11, this.gtc12 }); this.gtv.Indentation = 0; this.gtv.KeysGridMode = false; this.gtv.Location = new System.Drawing.Point(0, 0); this.gtv.Name = "gtv"; this.gtv.ShowHeader = true; this.gtv.Size = new System.Drawing.Size(472, 288); this.gtv.TabIndex = 2; this.gtv.Text = "geniusTreeView1"; this.gtv.UseColumns = true; this.gtv.UseKeyTab = true; this.gtv.OnBeforeCellPainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.gtv_OnBeforeCellPainting); this.gtv.OnCellMouseUp += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.gtv_OnCellMouseUp); this.gtv.OnCellMouseLeave += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.gtv_OnCellMouseLeave); this.gtv.OnFooterGetText += new Genius.Controls.TreeView.OnFooterGetTextDelegate(this.gtv_OnFooterGetText); this.gtv.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gtv_KeyDown); this.gtv.OnCellMouseDown += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.gtv_OnCellMouseDown); this.gtv.OnCellMouseMove += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.gtv_OnCellMouseMove); this.gtv.OnAfterPaintFooter += new Genius.Controls.TreeView.OnPaintFooterDelegate(this.gtv_OnAfterPaintFooter); this.gtv.OnCellMouseEnter += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.gtv_OnCellMouseEnter); this.gtv.OnAfterCellPainting += new Genius.Controls.TreeView.OnPaintNodeDelegate(this.gtv_OnAfterCellPainting); this.gtv.OnCreateEditor += new Genius.Controls.TreeView.OnCreateEditorDelegate(this.gtv_OnCreateEditor); this.gtv.OnInitEdit += new Genius.Controls.TreeView.OnInitEditDelegate(this.gtv_OnInitEdit); this.gtv.OnAfterSelect += new Genius.Controls.TreeView.OnSelectedDelegate(this.gtv_OnAfterSelect); // // gtc1 // this.gtc1.AllowClick = false; this.gtc1.AllowEdit = false; this.gtc1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc1.ForeColor = System.Drawing.Color.Black; this.gtc1.ForeTextColor = System.Drawing.Color.Empty; this.gtc1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc1.Text = "Colonne1"; this.gtc1.Width = 110; // // gtc2 // this.gtc2.AllowClick = false; this.gtc2.AllowEdit = false; this.gtc2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc2.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc2.ForeColor = System.Drawing.Color.Black; this.gtc2.ForeTextColor = System.Drawing.Color.Empty; this.gtc2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc2.Text = "Colonne2"; this.gtc2.Width = 150; // // gtc3 // this.gtc3.AllowClick = false; this.gtc3.AllowEdit = false; this.gtc3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc3.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc3.ForeColor = System.Drawing.Color.Black; this.gtc3.ForeTextColor = System.Drawing.Color.Empty; this.gtc3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc3.Text = "Colonne 3"; this.gtc3.Width = 30; // // gtc4 // this.gtc4.AllowClick = false; this.gtc4.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc4.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc4.ForeColor = System.Drawing.Color.Black; this.gtc4.ForeTextColor = System.Drawing.Color.Empty; this.gtc4.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc4.Text = "Colonne 4"; // // gtc5 // this.gtc5.AllowClick = false; this.gtc5.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc5.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc5.ForeColor = System.Drawing.Color.Black; this.gtc5.ForeTextColor = System.Drawing.Color.Empty; this.gtc5.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc5.Text = "Colonne 5"; // // gtc6 // this.gtc6.AllowClick = false; this.gtc6.AllowEdit = false; this.gtc6.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc6.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtc6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc6.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc6.ForeColor = System.Drawing.Color.Black; this.gtc6.ForeTextColor = System.Drawing.Color.Empty; this.gtc6.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc6.Text = "Colonne 6"; // // gtc7 // this.gtc7.AllowClick = false; this.gtc7.AllowEdit = false; this.gtc7.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc7.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtc7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc7.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc7.ForeColor = System.Drawing.Color.Empty; this.gtc7.ForeTextColor = System.Drawing.Color.Empty; this.gtc7.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc7.Text = "Colonne 7"; // // gtc8 // this.gtc8.AllowClick = false; this.gtc8.AllowEdit = false; this.gtc8.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc8.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtc8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc8.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc8.ForeColor = System.Drawing.Color.Empty; this.gtc8.ForeTextColor = System.Drawing.Color.Empty; this.gtc8.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc8.Text = "Colonne 8"; // // gtc9 // this.gtc9.AllowClick = false; this.gtc9.AllowEdit = false; this.gtc9.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc9.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtc9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc9.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc9.ForeColor = System.Drawing.Color.Empty; this.gtc9.ForeTextColor = System.Drawing.Color.Empty; this.gtc9.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc9.Text = "Colonne 9"; // // gtc10 // this.gtc10.AllowClick = false; this.gtc10.AllowEdit = false; this.gtc10.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc10.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtc10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc10.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc10.ForeColor = System.Drawing.Color.Empty; this.gtc10.ForeTextColor = System.Drawing.Color.Empty; this.gtc10.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc10.Text = "Colonne 10"; // // gtc11 // this.gtc11.AllowClick = false; this.gtc11.AllowEdit = false; this.gtc11.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc11.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtc11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc11.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc11.ForeColor = System.Drawing.Color.Empty; this.gtc11.ForeTextColor = System.Drawing.Color.Empty; this.gtc11.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc11.Text = "Colonne 11"; // // gtc12 // this.gtc12.AllowClick = false; this.gtc12.AllowEdit = false; this.gtc12.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc12.ContentAlignment = System.Drawing.StringAlignment.Far; this.gtc12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc12.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gtc12.ForeColor = System.Drawing.Color.Empty; this.gtc12.ForeTextColor = System.Drawing.Color.Empty; this.gtc12.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.gtc12.Text = "Colonne 12"; // // lblInfo // this.lblInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.lblInfo.Location = new System.Drawing.Point(0, 288); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new System.Drawing.Size(472, 72); this.lblInfo.TabIndex = 3; this.lblInfo.Text = "label1"; // // DemoGrille // this.Controls.Add(this.lblInfo); this.Controls.Add(this.gtv); this.Name = "DemoGrille"; this.Size = new System.Drawing.Size(472, 360); this.Load += new System.EventHandler(this.DemoGrille_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.geniusTreeView1 = new Genius.Controls.TreeView.GeniusTreeView(); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne4 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(504, 40); this.panel1.TabIndex = 0; // // button1 // this.button1.Location = new System.Drawing.Point(16, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(80, 23); this.button1.TabIndex = 0; this.button1.Text = "List Image(s)"; this.button1.Click += new System.EventHandler(this.button1_Click); // // panel2 // this.panel2.Controls.Add(this.geniusTreeView1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 40); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(504, 296); this.panel2.TabIndex = 1; // GeniusTreeView By Pierrick Gourlain // // geniusTreeView1 // this.geniusTreeView1.Alignment = System.Drawing.StringAlignment.Near; this.geniusTreeView1.AutoSort = false; this.geniusTreeView1.BackColor = System.Drawing.SystemColors.Window; this.geniusTreeView1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.geniusTreeView1.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.geniusTreeView1.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.GrayText, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))), 2F); this.geniusTreeView1.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.geniusTreeView1.DefaultNodeHeight = 32; this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeView1.Header.MainColumnIndex = 0; this.geniusTreeView1.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne1, this.geniusTreeViewColonne2, this.geniusTreeViewColonne3, this.geniusTreeViewColonne4 }); this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(0, 0); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.ShowHeader = true; this.geniusTreeView1.Size = new System.Drawing.Size(504, 296); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.UseColumns = true; this.geniusTreeView1.UseKeyTab = true; this.geniusTreeView1.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.geniusTreeView1_OnGetNodeText); this.geniusTreeView1.OnBeforeExpand += new Genius.Controls.TreeView.OnExpandDelegate(this.geniusTreeView1_OnBeginExpand); // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Text = "coucou"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Text = "Colonne 1"; // // geniusTreeViewColonne3 // this.geniusTreeViewColonne3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Text = "Colonne 2"; // // geniusTreeViewColonne4 // this.geniusTreeViewColonne4.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Text = "Colonne 3"; // // StandardDemo1Ctl // this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "StandardDemo1Ctl"; this.Size = new System.Drawing.Size(504, 336); this.Load += new System.EventHandler(this.StandardDemo1Ctl_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.panel1 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.edResult = new System.Windows.Forms.TextBox(); this.panel3 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel2 = new System.Windows.Forms.Panel(); this.geniusTreeView1 = new Genius.Controls.TreeView.GeniusTreeView(); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne4 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.panel1.SuspendLayout(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.panel4); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 192); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(520, 112); this.panel1.TabIndex = 0; // // panel4 // this.panel4.Controls.Add(this.edResult); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; this.panel4.Location = new System.Drawing.Point(0, 32); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(520, 80); this.panel4.TabIndex = 1; // // edResult // this.edResult.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.edResult.Dock = System.Windows.Forms.DockStyle.Fill; this.edResult.Location = new System.Drawing.Point(0, 0); this.edResult.Multiline = true; this.edResult.Name = "edResult"; this.edResult.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.edResult.Size = new System.Drawing.Size(520, 80); this.edResult.TabIndex = 0; this.edResult.Text = ""; this.edResult.WordWrap = false; // // panel3 // this.panel3.Controls.Add(this.button1); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(520, 32); this.panel3.TabIndex = 0; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(8, 6); this.button1.Name = "button1"; this.button1.TabIndex = 0; this.button1.Text = "Clear"; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter1.Location = new System.Drawing.Point(0, 189); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(520, 3); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel2 // this.panel2.Controls.Add(this.geniusTreeView1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(520, 189); this.panel2.TabIndex = 2; // GeniusTreeView By Pierrick Gourlain // // geniusTreeView1 // this.geniusTreeView1.Alignment = System.Drawing.StringAlignment.Near; this.geniusTreeView1.AutoSort = false; this.geniusTreeView1.BackColor = System.Drawing.SystemColors.Window; this.geniusTreeView1.Colors.FocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.geniusTreeView1.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.geniusTreeView1.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.SignaledPenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(165)), ((System.Byte)(0))), 2F, System.Drawing.Drawing2D.DashStyle.Solid); this.geniusTreeView1.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeView1.Colors.UnFocusedRectanglePenColor = new Genius.Controls.TreeView.Colors.GeniusPen(System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(255))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); this.geniusTreeView1.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.ElapsedHint = 500; this.geniusTreeView1.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeView1.Header.ImageList = null; this.geniusTreeView1.Header.MainColumnIndex = 0; this.geniusTreeView1.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne1, this.geniusTreeViewColonne2, this.geniusTreeViewColonne3, this.geniusTreeViewColonne4 }); this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(0, 0); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.ShowHeader = true; this.geniusTreeView1.Size = new System.Drawing.Size(520, 189); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.UseColumns = true; this.geniusTreeView1.OnBeforeSelect += new Genius.Controls.TreeView.OnSelectDelegate(this.geniusTreeView1_OnBeforeSelect); this.geniusTreeView1.OnCellMouseLeave += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.geniusTreeView1_OnCellMouseLeave); this.geniusTreeView1.OnCellMouseDown += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.geniusTreeView1_OnCellMouseDown); this.geniusTreeView1.OnBeforeExpand += new Genius.Controls.TreeView.OnExpandDelegate(this.geniusTreeView1_OnBeforeExpand); this.geniusTreeView1.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.geniusTreeView1_OnGetNodeText); this.geniusTreeView1.OnBeforeCollapse += new Genius.Controls.TreeView.OnCollapseDelegate(this.geniusTreeView1_OnBeforeCollapse); this.geniusTreeView1.OnAfterSelect += new Genius.Controls.TreeView.OnSelectedDelegate(this.geniusTreeView1_OnAfterSelect); this.geniusTreeView1.OnAfterCollapse += new Genius.Controls.TreeView.OnNodeDelegate(this.geniusTreeView1_OnAfterCollapse); this.geniusTreeView1.OnCellMouseUp += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.geniusTreeView1_OnCellMouseUp); this.geniusTreeView1.OnAfterExpand += new Genius.Controls.TreeView.OnNodeDelegate(this.geniusTreeView1_OnAfterExpand); this.geniusTreeView1.OnCellMouseEnter += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.geniusTreeView1_OnCellMouseEnter); this.geniusTreeView1.OnCellMouseMove += new Genius.Controls.TreeView.OnNodeCellMouseDelegate(this.geniusTreeView1_OnCellMouseMove); // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Text = "Colonne 0"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Text = "Colonne 1"; // // geniusTreeViewColonne3 // this.geniusTreeViewColonne3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Text = "Colonne 2"; // // geniusTreeViewColonne4 // this.geniusTreeViewColonne4.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Text = "Colonne 3"; // // TestEvents // this.Controls.Add(this.panel2); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel1); this.Name = "TestEvents"; this.Size = new System.Drawing.Size(520, 304); this.Load += new System.EventHandler(this.TestEvents_Load); this.panel1.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(StandardDemoCtl)); this.panel1 = new System.Windows.Forms.Panel(); this.pnlContext = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.textboxImageStateIndex = new System.Windows.Forms.TextBox(); this.textboxImageIndex = new System.Windows.Forms.TextBox(); this.cbHasSignaled = new System.Windows.Forms.CheckBox(); this.cbHasChildren = new System.Windows.Forms.CheckBox(); this.cbHasCheck = new System.Windows.Forms.CheckBox(); this.panel3 = new System.Windows.Forms.Panel(); this.lblAddResult = new System.Windows.Forms.Label(); this.textBoxAdd = new System.Windows.Forms.TextBox(); this.bClear = new System.Windows.Forms.Button(); this.bAdd = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.geniusTreeView1 = new Genius.Controls.TreeView.GeniusTreeView(); this.geniusTreeViewColonne2 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne3 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne1 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.geniusTreeViewColonne4 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.panel1.SuspendLayout(); this.pnlContext.SuspendLayout(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.pnlContext); this.panel1.Controls.Add(this.panel3); this.panel1.Dock = System.Windows.Forms.DockStyle.Right; this.panel1.Location = new System.Drawing.Point(208, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(168, 280); this.panel1.TabIndex = 0; // // pnlContext // this.pnlContext.Controls.Add(this.label2); this.pnlContext.Controls.Add(this.label1); this.pnlContext.Controls.Add(this.textboxImageStateIndex); this.pnlContext.Controls.Add(this.textboxImageIndex); this.pnlContext.Controls.Add(this.cbHasSignaled); this.pnlContext.Controls.Add(this.cbHasChildren); this.pnlContext.Controls.Add(this.cbHasCheck); this.pnlContext.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlContext.Enabled = false; this.pnlContext.Location = new System.Drawing.Point(0, 0); this.pnlContext.Name = "pnlContext"; this.pnlContext.Size = new System.Drawing.Size(168, 208); this.pnlContext.TabIndex = 2; // // label2 // this.label2.Location = new System.Drawing.Point(8, 128); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 17); this.label2.TabIndex = 6; this.label2.Text = "StateImageIndex"; // // label1 // this.label1.Location = new System.Drawing.Point(8, 82); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 17); this.label1.TabIndex = 5; this.label1.Text = "ImageIndex"; // // textboxImageStateIndex // this.textboxImageStateIndex.Location = new System.Drawing.Point(8, 144); this.textboxImageStateIndex.Name = "textboxImageStateIndex"; this.textboxImageStateIndex.Size = new System.Drawing.Size(40, 20); this.textboxImageStateIndex.TabIndex = 4; this.textboxImageStateIndex.Text = "-1"; this.textboxImageStateIndex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textboxImageStateIndex_KeyDown); // // textboxImageIndex // this.textboxImageIndex.Location = new System.Drawing.Point(8, 104); this.textboxImageIndex.Name = "textboxImageIndex"; this.textboxImageIndex.Size = new System.Drawing.Size(40, 20); this.textboxImageIndex.TabIndex = 3; this.textboxImageIndex.Text = "-1"; this.textboxImageIndex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textboxImageIndex_KeyDown); // // cbHasSignaled // this.cbHasSignaled.Location = new System.Drawing.Point(8, 56); this.cbHasSignaled.Name = "cbHasSignaled"; this.cbHasSignaled.TabIndex = 2; this.cbHasSignaled.Text = "Surligné ?"; this.cbHasSignaled.CheckedChanged += new System.EventHandler(this.cbHasSignaled_CheckedChanged); // // cbHasChildren // this.cbHasChildren.Location = new System.Drawing.Point(8, 32); this.cbHasChildren.Name = "cbHasChildren"; this.cbHasChildren.TabIndex = 1; this.cbHasChildren.Text = "Children ?"; this.cbHasChildren.CheckedChanged += new System.EventHandler(this.cbHasChildren_CheckedChanged); // // cbHasCheck // this.cbHasCheck.Location = new System.Drawing.Point(8, 8); this.cbHasCheck.Name = "cbHasCheck"; this.cbHasCheck.TabIndex = 0; this.cbHasCheck.Text = "CheckBox ?"; this.cbHasCheck.CheckedChanged += new System.EventHandler(this.cbHasCheck_CheckedChanged); // // panel3 // this.panel3.Controls.Add(this.lblAddResult); this.panel3.Controls.Add(this.textBoxAdd); this.panel3.Controls.Add(this.bClear); this.panel3.Controls.Add(this.bAdd); this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel3.Location = new System.Drawing.Point(0, 208); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(168, 72); this.panel3.TabIndex = 1; // // lblAddResult // this.lblAddResult.Location = new System.Drawing.Point(80, 8); this.lblAddResult.Name = "lblAddResult"; this.lblAddResult.Size = new System.Drawing.Size(80, 23); this.lblAddResult.TabIndex = 8; this.lblAddResult.Text = "label1"; // // textBoxAdd // this.textBoxAdd.Location = new System.Drawing.Point(8, 8); this.textBoxAdd.Name = "textBoxAdd"; this.textBoxAdd.Size = new System.Drawing.Size(64, 20); this.textBoxAdd.TabIndex = 7; this.textBoxAdd.Text = "1000"; // // bClear // this.bClear.Location = new System.Drawing.Point(88, 40); this.bClear.Name = "bClear"; this.bClear.TabIndex = 6; this.bClear.Text = "Clear"; this.bClear.Click += new System.EventHandler(this.bClear_Click); // // bAdd // this.bAdd.Location = new System.Drawing.Point(8, 40); this.bAdd.Name = "bAdd"; this.bAdd.TabIndex = 5; this.bAdd.Text = "Add"; this.bAdd.Click += new System.EventHandler(this.bAdd_Click); // // panel2 // this.panel2.Controls.Add(this.geniusTreeView1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(208, 280); this.panel2.TabIndex = 1; // GeniusTreeView By Pierrick Gourlain // // geniusTreeView1 // this.geniusTreeView1.Alignment = System.Drawing.StringAlignment.Near; this.geniusTreeView1.AllowDrag = true; this.geniusTreeView1.AllowDrop = true; this.geniusTreeView1.AutoSort = false; this.geniusTreeView1.BackColor = System.Drawing.SystemColors.Window; this.geniusTreeView1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.geniusTreeView1.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeView1.HeaderColonnes.AddRange(new Genius.Controls.TreeView.GeniusTreeViewColonne[] { this.geniusTreeViewColonne2, this.geniusTreeViewColonne3, this.geniusTreeViewColonne1, this.geniusTreeViewColonne4 }); this.geniusTreeView1.ImageList = this.imageList1; this.geniusTreeView1.ImageStateList = this.imageList2; this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(0, 0); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.Size = new System.Drawing.Size(208, 280); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.OnAfterSelect += new Genius.Controls.TreeView.OnSelectedDelegate(this.geniusTreeView1_OnSelected); this.geniusTreeView1.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.geniusTreeView1_OnGetNodeText); // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne2.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.ImageIndex = 0; this.geniusTreeViewColonne2.Text = "Colonne 0"; // // geniusTreeViewColonne3 // this.geniusTreeViewColonne3.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne3.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne3.ImageIndex = 0; this.geniusTreeViewColonne3.Text = "Colonne 1"; // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne1.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.ImageIndex = 0; this.geniusTreeViewColonne1.Text = "Colonne 2"; // // geniusTreeViewColonne4 // this.geniusTreeViewColonne4.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.geniusTreeViewColonne4.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne4.ImageIndex = 0; this.geniusTreeViewColonne4.Text = "Colonne 3"; // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // imageList2 // this.imageList2.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList2.ImageSize = new System.Drawing.Size(16, 16); this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream"))); this.imageList2.TransparentColor = System.Drawing.Color.Transparent; // // StandardDemoCtl // this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "StandardDemoCtl"; this.Size = new System.Drawing.Size(376, 280); this.Load += new System.EventHandler(this.StandardDemoCtl_Load); this.panel1.ResumeLayout(false); this.pnlContext.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }