private void geniusTreeView1_OnGetHint(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeGetHintEventArgs e) { if (e.DisplayColumn == 2) { e.HintText = "coucou"; } }
private void geniusTreeView1_OnGetNodeText(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeTextEventArgs e) { if (e.DisplayColumn > 0) { e.Text = "Cell " + e.Node.Index.ToString() + ":" + e.DisplayColumn.ToString(); } }
private void gtvAutoSizeColumn_OnGetNodeText(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeTextEventArgs e) { if (e.DisplayColumn == 2) { e.Text = "ce texte est un exemple d'un texte suffisamment long pour être 'wrapper'"; } else if (e.DisplayColumn == 3) { e.Text = e.Node.Index.ToString(); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.gtv = new Genius.Controls.TreeView.GeniusTreeView(); this.SuspendLayout(); // // label1 // this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(312, 23); this.label1.TabIndex = 1; this.label1.Text = "mon editor"; // 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.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); this.gtv.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtv.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.gtv.Dock = System.Windows.Forms.DockStyle.Fill; 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.MainColumnIndex = -1; this.gtv.KeysGridMode = false; this.gtv.Location = new System.Drawing.Point(0, 23); this.gtv.Name = "gtv"; this.gtv.Size = new System.Drawing.Size(312, 281); this.gtv.TabIndex = 2; this.gtv.Text = "geniusTreeView1"; // // UCEditor // this.BackColor = System.Drawing.Color.IndianRed; this.Controls.Add(this.gtv); this.Controls.Add(this.label1); this.Name = "UCEditor"; this.Size = new System.Drawing.Size(312, 304); this.Load += new System.EventHandler(this.UCEditor_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.gtv = new Genius.Controls.TreeView.GeniusTreeView(); this.contextMenu1 = new System.Windows.Forms.ContextMenu(); this.mitCut = new System.Windows.Forms.MenuItem(); this.mitCopy = new System.Windows.Forms.MenuItem(); this.mitPasteUnder = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mitLoad = new System.Windows.Forms.MenuItem(); 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.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.ContextMenu = this.contextMenu1; 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 = null; this.gtv.Header.MainColumnIndex = -1; this.gtv.KeysGridMode = false; this.gtv.Location = new System.Drawing.Point(0, 0); this.gtv.Name = "gtv"; this.gtv.Size = new System.Drawing.Size(352, 241); this.gtv.TabIndex = 0; this.gtv.Text = "geniusTreeView1"; this.gtv.Click += new System.EventHandler(this.gtv_Click); // // contextMenu1 // this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mitCut, this.mitCopy, this.mitPasteUnder, this.menuItem1, this.mitLoad }); this.contextMenu1.Popup += new System.EventHandler(this.contextMenu1_Popup); // // mitCut // this.mitCut.Index = 0; this.mitCut.Text = "C&ut"; this.mitCut.Click += new System.EventHandler(this.mitCut_Click); // // mitCopy // this.mitCopy.Index = 1; this.mitCopy.Text = "&Copy"; this.mitCopy.Click += new System.EventHandler(this.mitCopy_Click); // // mitPasteUnder // this.mitPasteUnder.Index = 2; this.mitPasteUnder.Text = "&Paste Under"; this.mitPasteUnder.Click += new System.EventHandler(this.mitPasteUnder_Click); // // menuItem1 // this.menuItem1.Index = 3; this.menuItem1.Text = "-"; // // mitLoad // this.mitLoad.Index = 4; this.mitLoad.Text = "&Load"; this.mitLoad.Click += new System.EventHandler(this.mitLoad_Click); // // lblInfo // this.lblInfo.Dock = System.Windows.Forms.DockStyle.Bottom; this.lblInfo.Location = new System.Drawing.Point(0, 241); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new System.Drawing.Size(352, 23); this.lblInfo.TabIndex = 1; this.lblInfo.Text = "utilisez le clic droit, Copy, Paste, ... utilise la sérialisation"; // // demoSerialization // this.Controls.Add(this.gtv); this.Controls.Add(this.lblInfo); this.Name = "demoSerialization"; this.Size = new System.Drawing.Size(352, 264); 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.horizontalTabs1 = new Genius.Controls.GeniusTab.HorizontalTabs(); this.horizontalTab2 = new Genius.Controls.GeniusTab.HorizontalTab(); this.horizontalTab1 = new Genius.Controls.GeniusTab.HorizontalTab(); this.horizontalTab3 = new Genius.Controls.GeniusTab.HorizontalTab(); this.horizontalTab4 = new Genius.Controls.GeniusTab.HorizontalTab(); this.horizontalTab5 = new Genius.Controls.GeniusTab.HorizontalTab(); this.textBox1 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.horizontalTab6 = new Genius.Controls.GeniusTab.HorizontalTab(); this.geniusTreeView1 = new Genius.Controls.TreeView.GeniusTreeView(); this.horizontalTabs1.SuspendLayout(); this.horizontalTab5.SuspendLayout(); this.SuspendLayout(); // // horizontalTabs1 // this.horizontalTabs1.Controls.Add(this.horizontalTab2); this.horizontalTabs1.Controls.Add(this.horizontalTab1); this.horizontalTabs1.Controls.Add(this.horizontalTab3); this.horizontalTabs1.Controls.Add(this.horizontalTab4); this.horizontalTabs1.Controls.Add(this.horizontalTab5); this.horizontalTabs1.Controls.Add(this.horizontalTab6); this.horizontalTabs1.Dock = System.Windows.Forms.DockStyle.Fill; this.horizontalTabs1.Location = new System.Drawing.Point(0, 0); this.horizontalTabs1.Margins = 5; this.horizontalTabs1.Name = "horizontalTabs1"; this.horizontalTabs1.Orientation = Genius.Controls.GeniusTab.TabOrientation.Left; this.horizontalTabs1.SelectedIndex = 4; this.horizontalTabs1.Size = new System.Drawing.Size(576, 373); this.horizontalTabs1.TabIndex = 0; this.horizontalTabs1.TabsHeight = 30; this.horizontalTabs1.TabsWidth = 80; this.horizontalTabs1.Text = "standard 1"; // // horizontalTab2 // this.horizontalTab2.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(243)), ((System.Byte)(241)), ((System.Byte)(229))); this.horizontalTab2.Dock = System.Windows.Forms.DockStyle.Fill; this.horizontalTab2.HorizontalTextAlignement = System.Drawing.StringAlignment.Near; this.horizontalTab2.Location = new System.Drawing.Point(86, 6); this.horizontalTab2.Margins = new Genius.Controls.GeniusTab.TabMargins(0, 0, 0, 0); this.horizontalTab2.Name = "horizontalTab2"; this.horizontalTab2.Size = new System.Drawing.Size(484, 361); this.horizontalTab2.TabIndex = 1; this.horizontalTab2.Text = "standard 1"; this.horizontalTab2.VerticalTextAlignment = System.Drawing.StringAlignment.Center; // // horizontalTab1 // this.horizontalTab1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(243)), ((System.Byte)(241)), ((System.Byte)(229))); this.horizontalTab1.Dock = System.Windows.Forms.DockStyle.Fill; this.horizontalTab1.HorizontalTextAlignement = System.Drawing.StringAlignment.Near; this.horizontalTab1.Location = new System.Drawing.Point(86, 6); this.horizontalTab1.Margins = new Genius.Controls.GeniusTab.TabMargins(0, 0, 0, 0); this.horizontalTab1.Name = "horizontalTab1"; this.horizontalTab1.Size = new System.Drawing.Size(484, 361); this.horizontalTab1.TabIndex = 0; this.horizontalTab1.Text = "standard"; this.horizontalTab1.VerticalTextAlignment = System.Drawing.StringAlignment.Center; // // horizontalTab3 // this.horizontalTab3.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(243)), ((System.Byte)(241)), ((System.Byte)(229))); this.horizontalTab3.Dock = System.Windows.Forms.DockStyle.Fill; this.horizontalTab3.HorizontalTextAlignement = System.Drawing.StringAlignment.Near; this.horizontalTab3.Location = new System.Drawing.Point(86, 6); this.horizontalTab3.Margins = new Genius.Controls.GeniusTab.TabMargins(0, 0, 0, 0); this.horizontalTab3.Name = "horizontalTab3"; this.horizontalTab3.Size = new System.Drawing.Size(484, 361); this.horizontalTab3.TabIndex = 2; this.horizontalTab3.Text = "standard 2"; this.horizontalTab3.VerticalTextAlignment = System.Drawing.StringAlignment.Center; // // horizontalTab4 // this.horizontalTab4.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(243)), ((System.Byte)(241)), ((System.Byte)(229))); this.horizontalTab4.Dock = System.Windows.Forms.DockStyle.Fill; this.horizontalTab4.HorizontalTextAlignement = System.Drawing.StringAlignment.Near; this.horizontalTab4.Location = new System.Drawing.Point(86, 6); this.horizontalTab4.Margins = new Genius.Controls.GeniusTab.TabMargins(0, 0, 0, 0); this.horizontalTab4.Name = "horizontalTab4"; this.horizontalTab4.Size = new System.Drawing.Size(484, 361); this.horizontalTab4.TabIndex = 3; this.horizontalTab4.Text = "horizontalTab4"; this.horizontalTab4.VerticalTextAlignment = System.Drawing.StringAlignment.Center; // // horizontalTab5 // this.horizontalTab5.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(243)), ((System.Byte)(241)), ((System.Byte)(229))); this.horizontalTab5.Controls.Add(this.geniusTreeView1); this.horizontalTab5.Controls.Add(this.textBox1); this.horizontalTab5.Controls.Add(this.button1); this.horizontalTab5.Dock = System.Windows.Forms.DockStyle.Fill; this.horizontalTab5.HorizontalTextAlignement = System.Drawing.StringAlignment.Near; this.horizontalTab5.Location = new System.Drawing.Point(86, 6); this.horizontalTab5.Margins = new Genius.Controls.GeniusTab.TabMargins(0, 0, 0, 0); this.horizontalTab5.Name = "horizontalTab5"; this.horizontalTab5.Size = new System.Drawing.Size(484, 361); this.horizontalTab5.TabIndex = 4; this.horizontalTab5.Text = "horizontalTab5"; this.horizontalTab5.VerticalTextAlignment = System.Drawing.StringAlignment.Center; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(80, 112); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.textBox1.Size = new System.Drawing.Size(344, 216); this.textBox1.TabIndex = 1; this.textBox1.Text = "textBox1"; // // button1 // this.button1.Location = new System.Drawing.Point(80, 40); this.button1.Name = "button1"; this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.Click += new System.EventHandler(this.button1_Click); // // horizontalTab6 // this.horizontalTab6.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(243)), ((System.Byte)(241)), ((System.Byte)(229))); this.horizontalTab6.Dock = System.Windows.Forms.DockStyle.Fill; this.horizontalTab6.HorizontalTextAlignement = System.Drawing.StringAlignment.Near; this.horizontalTab6.Location = new System.Drawing.Point(86, 6); this.horizontalTab6.Margins = new Genius.Controls.GeniusTab.TabMargins(0, 0, 0, 0); this.horizontalTab6.Name = "horizontalTab6"; this.horizontalTab6.Size = new System.Drawing.Size(484, 361); this.horizontalTab6.TabIndex = 5; this.horizontalTab6.Text = "horizontalTab6"; this.horizontalTab6.VerticalTextAlignment = System.Drawing.StringAlignment.Center; // 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.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 = -1; this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(216, 24); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.Size = new System.Drawing.Size(208, 80); this.geniusTreeView1.TabIndex = 2; this.geniusTreeView1.Text = "geniusTreeView1"; // // TabbedDemo // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(576, 373); this.Controls.Add(this.horizontalTabs1); this.Name = "TabbedDemo"; this.Text = "TabbedDemo"; this.horizontalTabs1.ResumeLayout(false); this.horizontalTab5.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.gtvSource = new Genius.Controls.TreeView.GeniusTreeView(); this.label1 = new System.Windows.Forms.Label(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel2 = new System.Windows.Forms.Panel(); this.gtvDest = new Genius.Controls.TreeView.GeniusTreeView(); this.label2 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.gtvSource); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(224, 376); this.panel1.TabIndex = 0; // GeniusTreeView By Pierrick Gourlain // // gtvSource // this.gtvSource.Alignment = System.Drawing.StringAlignment.Near; this.gtvSource.AllowDrag = true; this.gtvSource.AutoSort = false; this.gtvSource.BackColor = System.Drawing.SystemColors.Window; this.gtvSource.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.gtvSource.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.gtvSource.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.gtvSource.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.gtvSource.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.gtvSource.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.gtvSource.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtvSource.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.gtvSource.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.gtvSource.Dock = System.Windows.Forms.DockStyle.Fill; this.gtvSource.ElapsedHint = 500; this.gtvSource.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtvSource.Header.ImageList = null; this.gtvSource.Header.MainColumnIndex = -1; this.gtvSource.KeysGridMode = false; this.gtvSource.Location = new System.Drawing.Point(0, 23); this.gtvSource.Name = "gtvSource"; this.gtvSource.Size = new System.Drawing.Size(224, 353); this.gtvSource.TabIndex = 1; this.gtvSource.Text = "geniusTreeView1"; // // label1 // this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(224, 23); this.label1.TabIndex = 0; this.label1.Text = "Source"; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(224, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 376); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // panel2 // this.panel2.Controls.Add(this.gtvDest); this.panel2.Controls.Add(this.label2); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(227, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(221, 376); this.panel2.TabIndex = 2; // GeniusTreeView By Pierrick Gourlain // // gtvDest // this.gtvDest.Alignment = System.Drawing.StringAlignment.Near; this.gtvDest.AllowDrag = true; this.gtvDest.AllowDrop = true; this.gtvDest.AutoSort = false; this.gtvDest.BackColor = System.Drawing.SystemColors.Window; this.gtvDest.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.gtvDest.Colors.HeaderColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.White, System.Drawing.Color.LightGray, 90F); this.gtvDest.Colors.SelectedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.Highlight, System.Drawing.Color.Empty, 0F); this.gtvDest.Colors.SelectedTextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.HighlightText, System.Drawing.Color.Empty, 0F); this.gtvDest.Colors.SelectedUnfocusedColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.SystemColors.InactiveCaption, System.Drawing.Color.Empty, 0F); this.gtvDest.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.gtvDest.Colors.TextColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, System.Drawing.Color.Empty, 0F); this.gtvDest.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.gtvDest.DefaultDrawingOption = Genius.Controls.TreeView.DrawingOptions.ShowGridLines; this.gtvDest.Dock = System.Windows.Forms.DockStyle.Fill; this.gtvDest.ElapsedHint = 500; this.gtvDest.Header.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.gtvDest.Header.ImageList = null; this.gtvDest.Header.MainColumnIndex = -1; this.gtvDest.KeysGridMode = false; this.gtvDest.Location = new System.Drawing.Point(0, 23); this.gtvDest.Name = "gtvDest"; this.gtvDest.Size = new System.Drawing.Size(221, 353); this.gtvDest.TabIndex = 2; this.gtvDest.Text = "geniusTreeView2"; this.gtvDest.OnCanDragTo += new Genius.Controls.TreeView.OnCanDragToDelegate(this.gtvDest_OnCanDragTo); this.gtvDest.DragOver += new System.Windows.Forms.DragEventHandler(gtvDest_DragOver); // // label2 // this.label2.Dock = System.Windows.Forms.DockStyle.Top; this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(221, 23); this.label2.TabIndex = 1; this.label2.Text = "Destination"; // // DragAndDropDemoCtl // this.Controls.Add(this.panel2); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel1); this.Name = "DragAndDropDemoCtl"; this.Size = new System.Drawing.Size(448, 376); this.Load += new System.EventHandler(this.DragAndDropDemoCtl_Load); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
private void gtvDest_OnCanDragTo(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.CanDragToEventArgs e) { Debug.WriteLine("CanDragTo"); }
/// <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.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(); // // 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.DrawingOptions.ShowGridLines; this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.FullRowSelect = true; this.geniusTreeView1.Header.AllowDrag = true; this.geniusTreeView1.Header.FixedColumnCount = 2; 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.geniusTreeViewColonne4, this.geniusTreeViewColonne5, this.geniusTreeViewColonne6, this.geniusTreeViewColonne7, this.geniusTreeViewColonne8, this.geniusTreeViewColonne9, this.geniusTreeViewColonne10 }); this.geniusTreeView1.ImageList = null; this.geniusTreeView1.ImageStateList = null; this.geniusTreeView1.KeysGridMode = false; this.geniusTreeView1.Location = new System.Drawing.Point(0, 0); this.geniusTreeView1.Name = "geniusTreeView1"; this.geniusTreeView1.SearchDirection = Genius.Controls.TreeView.SearchDirectionOption.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.OnGetHint += new Genius.Controls.TreeView.OnGetHintDelegate(this.geniusTreeView1_OnGetHint); 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.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))), 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.Text = "Fixe 1"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))), 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.Text = "Fixe 2"; // // 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.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.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"; // // 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.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.Text = "Colonne 4"; // // 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.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.Text = "Colonne 5"; // // 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.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, 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.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.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.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"; // // 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); }
private void geniusTreeView1_OnBeginSelect(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.CanSelectEventArgs e) { e.CanSelect = (e.Node.Index != 2); }
/// <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(FixedColumnDemoCtl)); 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.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 // // geniusTreeView1 // this.geniusTreeView1.Alignment = System.Drawing.StringAlignment.Near; this.geniusTreeView1.AutoSort = false; this.geniusTreeView1.BackColor = System.Drawing.SystemColors.Window; this.geniusTreeView1.Colors.FocusedRectanglePenColor = ((Genius.Controls.TreeView.Colors.GeniusPen)(resources.GetObject("geniusTreeView1.Colors.FocusedRectanglePenColor"))); this.geniusTreeView1.Colors.SelectedTextColor = System.Drawing.SystemColors.HighlightText; this.geniusTreeView1.Colors.SignaledPenColor = ((Genius.Controls.TreeView.Colors.GeniusPen)(resources.GetObject("geniusTreeView1.Colors.SignaledPenColor"))); this.geniusTreeView1.Colors.TextColor = System.Drawing.Color.Black; this.geniusTreeView1.Colors.UnFocusedRectanglePenColor = ((Genius.Controls.TreeView.Colors.GeniusPen)(resources.GetObject("geniusTreeView1.Colors.UnFocusedRectanglePenColor"))); 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.AllowDrag = true; this.geniusTreeView1.Header.FixedColumnCount = 2; 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 = 0; this.geniusTreeView1.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.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(480, 384); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.UseColumns = true; this.geniusTreeView1.OnGetHint += new Genius.Controls.TreeView.OnGetHintDelegate(this.geniusTreeView1_OnGetHint); this.geniusTreeView1.OnBeforeSelect += new Genius.Controls.TreeView.OnSelectDelegate(this.geniusTreeView1_OnBeginSelect); this.geniusTreeView1.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.geniusTreeView1_OnGetNodeText); // // geniusTreeViewColonne1 // 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.Black; this.geniusTreeViewColonne1.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne1.Text = "Fixe 1"; // // geniusTreeViewColonne2 // 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.Black; this.geniusTreeViewColonne2.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne2.Text = "Fixe 2"; // // geniusTreeViewColonne3 // 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.Black; this.geniusTreeViewColonne3.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne3.Text = "Colonne 2"; // // geniusTreeViewColonne4 // 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.Black; this.geniusTreeViewColonne4.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne4.Text = "Colonne 3"; // // geniusTreeViewColonne5 // 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.Black; this.geniusTreeViewColonne5.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne5.Text = "Colonne 4"; // // geniusTreeViewColonne6 // this.geniusTreeViewColonne6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne6.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne6.ForeColor = System.Drawing.Color.Black; this.geniusTreeViewColonne6.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne6.Text = "Colonne 5"; // // geniusTreeViewColonne7 // this.geniusTreeViewColonne7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne7.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne7.ForeColor = System.Drawing.Color.Black; this.geniusTreeViewColonne7.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne7.Text = "Colonne 6"; // // geniusTreeViewColonne8 // this.geniusTreeViewColonne8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne8.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne8.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne8.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne8.Text = "Colonne 7"; // // geniusTreeViewColonne9 // this.geniusTreeViewColonne9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne9.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne9.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne9.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne9.Text = "Colonne 8"; // // geniusTreeViewColonne10 // this.geniusTreeViewColonne10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne10.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne10.ForeColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne10.ForeTextColor = System.Drawing.Color.Empty; this.geniusTreeViewColonne10.Text = "Colonne 9"; // // FixedColumnDemoCtl // this.Controls.Add(this.geniusTreeView1); this.Name = "FixedColumnDemoCtl"; 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.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.geniusTreeViewColonne5 = new Genius.Controls.TreeView.GeniusTreeViewColonne(); this.SuspendLayout(); // This comment was added to this object by a custom serializer. // // 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.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.geniusTreeViewColonne1, this.geniusTreeViewColonne2, this.geniusTreeViewColonne3, this.geniusTreeViewColonne4, this.geniusTreeViewColonne5 }); 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(440, 336); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.UseColumns = true; // // 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.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.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.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.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"; // // 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.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.Text = "Colonne 4"; // // UserControl1 // this.Controls.Add(this.geniusTreeView1); this.Name = "UserControl1"; this.Size = new System.Drawing.Size(440, 336); 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.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.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 // // geniusTreeView1 // //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(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((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(((int)(((byte)(255)))), ((int)(((byte)(165)))), ((int)(((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(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))), 1F, System.Drawing.Drawing2D.DashStyle.Dot); //this.geniusTreeView1.DefaultDrawingOption = ((Genius.Controls.TreeView.DrawingOption)((Genius.Controls.TreeView.DrawingOption.ShowVertLines | Genius.Controls.TreeView.DrawingOption.ShowHorzLines))); this.geniusTreeView1.Dock = System.Windows.Forms.DockStyle.Fill; this.geniusTreeView1.ElapsedHint = 500; this.geniusTreeView1.Header.AllowDrag = true; this.geniusTreeView1.Header.FixedColumnCount = 2; 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 = 0; this.geniusTreeView1.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.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(480, 384); this.geniusTreeView1.TabIndex = 0; this.geniusTreeView1.Text = "geniusTreeView1"; this.geniusTreeView1.UseColumns = true; this.geniusTreeView1.OnGetNodeText += new Genius.Controls.TreeView.OnGetNodeTextDelegate(this.geniusTreeView1_OnGetNodeText); this.geniusTreeView1.OnGetHint += new Genius.Controls.TreeView.OnGetHintDelegate(this.geniusTreeView1_OnGetHint); this.geniusTreeView1.OnBeforeSelect += new Genius.Controls.TreeView.OnSelectDelegate(this.geniusTreeView1_OnBeginSelect); // // geniusTreeViewColonne1 // this.geniusTreeViewColonne1.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))), 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 = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Red, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne1.Text = "Fixe 1"; // // geniusTreeViewColonne2 // this.geniusTreeViewColonne2.BackColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))), 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 = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Green, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.HeadColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Empty, System.Drawing.Color.Empty, 0F); this.geniusTreeViewColonne2.Text = "Fixe 2"; // // 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 = 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, ((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 = 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"; // // 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 = 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.Text = "Colonne 4"; // // 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, ((byte)(0))); this.geniusTreeViewColonne6.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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.Text = "Colonne 5"; // // 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, ((byte)(0))); this.geniusTreeViewColonne7.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.geniusTreeViewColonne7.ForeColor = new Genius.Controls.GeniusLinearGradientBrush(System.Drawing.Color.Black, 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, ((byte)(0))); this.geniusTreeViewColonne8.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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, ((byte)(0))); this.geniusTreeViewColonne9.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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, ((byte)(0))); this.geniusTreeViewColonne10.FontColonne = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((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"; // // FixedColumnDemoCtl // this.Controls.Add(this.geniusTreeView1); this.Name = "FixedColumnDemoCtl"; this.Size = new System.Drawing.Size(480, 384); this.Load += new System.EventHandler(this.CustomDrawDemoCtl_Load); this.ResumeLayout(false); }