/// <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(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.treeViewAdv2 = new Syncfusion.Windows.Forms.Tools.TreeViewAdv(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.listBox1 = new System.Windows.Forms.ListBox(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv(); ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit(); this.splitContainerAdv1.Panel1.SuspendLayout(); this.splitContainerAdv1.Panel2.SuspendLayout(); this.splitContainerAdv1.SuspendLayout(); this.SuspendLayout(); // // treeViewAdv2 // this.treeViewAdv2.AddSeparatorAtEnd = true; this.treeViewAdv2.AllowDrop = true; this.treeViewAdv2.BackColor = System.Drawing.Color.White; this.treeViewAdv2.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.treeViewAdv2.BorderStyle = System.Windows.Forms.BorderStyle.None; this.treeViewAdv2.CanSelectDisabledNode = false; this.treeViewAdv2.Dock = System.Windows.Forms.DockStyle.Fill; this.treeViewAdv2.DpiAware = false; this.treeViewAdv2.DragOnText = false; this.treeViewAdv2.Font = new System.Drawing.Font("Verdana", 8F); this.treeViewAdv2.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; // // // this.treeViewAdv2.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv2.HelpTextControl.Location = new System.Drawing.Point(732, 0); this.treeViewAdv2.HelpTextControl.Name = "helpText"; this.treeViewAdv2.HelpTextControl.Size = new System.Drawing.Size(49, 15); this.treeViewAdv2.HelpTextControl.TabIndex = 0; this.treeViewAdv2.HelpTextControl.Text = "help text"; this.treeViewAdv2.HideSelection = false; this.treeViewAdv2.IgnoreThemeBackground = true; this.treeViewAdv2.Indent = 20; this.treeViewAdv2.ItemHeight = 18; this.treeViewAdv2.LabelEdit = true; this.treeViewAdv2.LeftImageList = this.imageList1; this.treeViewAdv2.LineColor = System.Drawing.Color.Transparent; this.treeViewAdv2.LoadOnDemand = true; this.treeViewAdv2.Location = new System.Drawing.Point(0, 0); this.treeViewAdv2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.treeViewAdv2.MetroScrollBars = true; this.treeViewAdv2.Name = "treeViewAdv2"; treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv1.EnsureDefaultOptionedChild = true; treeNodeAdv1.Height = 16; treeNodeAdv1.MultiLine = true; treeNodeAdv1.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv1.ShowLine = true; treeNodeAdv1.Text = "C:"; this.treeViewAdv2.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv1 }); this.treeViewAdv2.OwnerDrawNodes = true; this.treeViewAdv2.PathSeparator = "/"; this.treeViewAdv2.SelectionMode = Syncfusion.Windows.Forms.Tools.TreeSelectionMode.MultiSelectSameLevel; this.treeViewAdv2.ShowFocusRect = false; this.treeViewAdv2.Size = new System.Drawing.Size(191, 481); this.treeViewAdv2.StateImageList = this.imageList1; this.treeViewAdv2.Style = Syncfusion.Windows.Forms.Tools.TreeStyle.Metro; this.treeViewAdv2.TabIndex = 2; this.treeViewAdv2.ThemesEnabled = false; // // // this.treeViewAdv2.ToolTipControl.BackColor = System.Drawing.SystemColors.Info; this.treeViewAdv2.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv2.ToolTipControl.Location = new System.Drawing.Point(642, 0); this.treeViewAdv2.ToolTipControl.Name = "toolTip"; this.treeViewAdv2.ToolTipControl.Size = new System.Drawing.Size(41, 15); this.treeViewAdv2.ToolTipControl.TabIndex = 1; this.treeViewAdv2.ToolTipControl.Text = "toolTip"; this.treeViewAdv2.AfterSelect += new System.EventHandler(this.treeViewAdv2_AfterSelect); this.treeViewAdv2.BeforeExpand += new Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableNodeEventHandler(this.treeViewAdv2_BeforeExpand); // // 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, ""); // // listBox1 // this.listBox1.BackColor = System.Drawing.Color.White; this.listBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.listBox1.HorizontalScrollbar = true; this.listBox1.Location = new System.Drawing.Point(0, 0); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(250, 481); this.listBox1.TabIndex = 0; // // splitContainerAdv1 // this.splitContainerAdv1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.splitContainerAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.splitContainerAdv1.IsSplitterFixed = true; this.splitContainerAdv1.Location = new System.Drawing.Point(41, 25); this.splitContainerAdv1.Name = "splitContainerAdv1"; // // splitContainerAdv1.Panel1 // this.splitContainerAdv1.Panel1.Controls.Add(this.treeViewAdv2); // // splitContainerAdv1.Panel2 // this.splitContainerAdv1.Panel2.Controls.Add(this.listBox1); this.splitContainerAdv1.Size = new System.Drawing.Size(449, 483); this.splitContainerAdv1.SplitterDistance = 193; this.splitContainerAdv1.SplitterWidth = 4; this.splitContainerAdv1.TabIndex = 3; this.splitContainerAdv1.Text = "splitContainerAdv1"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.CaptionAlign = System.Windows.Forms.HorizontalAlignment.Center; this.ClientSize = new System.Drawing.Size(532, 550); this.Controls.Add(this.splitContainerAdv1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IconAlign = System.Windows.Forms.HorizontalAlignment.Left; this.MetroColor = System.Drawing.Color.White; this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Load On Demand"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).EndInit(); this.splitContainerAdv1.Panel1.ResumeLayout(false); this.splitContainerAdv1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit(); this.splitContainerAdv1.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(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv19 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv20 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv21 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv22 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv23 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv24 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv25 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv26 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv27 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv28 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv29 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv30 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv31 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv32 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv33 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv34 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv35 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv36 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.treeViewAdv1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdv(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.imageList2 = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.buttonAdv1 = new Syncfusion.Windows.Forms.ButtonAdv(); ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // treeViewAdv1 // this.treeViewAdv1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.treeViewAdv1.BackColor = System.Drawing.Color.White; this.treeViewAdv1.BeforeTouchSize = new System.Drawing.Size(386, 393); this.treeViewAdv1.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.treeViewAdv1.BorderColor = System.Drawing.Color.Gray; this.treeViewAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.CanSelectDisabledNode = false; this.treeViewAdv1.Font = new System.Drawing.Font("Segoe UI", 9.50F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.treeViewAdv1.ForeColor = System.Drawing.Color.Black; // // // this.treeViewAdv1.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.HelpTextControl.Location = new System.Drawing.Point(732, 0); this.treeViewAdv1.HelpTextControl.Name = "helpText"; this.treeViewAdv1.HelpTextControl.Size = new System.Drawing.Size(49, 15); this.treeViewAdv1.HelpTextControl.TabIndex = 0; this.treeViewAdv1.HelpTextControl.Text = "help text"; this.treeViewAdv1.IgnoreThemeBackground = true; this.treeViewAdv1.LeftImageList = this.imageList1; this.treeViewAdv1.Location = new System.Drawing.Point(10, 54); this.treeViewAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.treeViewAdv1.Name = "treeViewAdv1"; treeNodeAdv19.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv19.EnsureDefaultOptionedChild = true; treeNodeAdv19.Expanded = true; treeNodeAdv19.LeftImageIndices = new int[] { 1 }; treeNodeAdv19.MultiLine = true; treeNodeAdv20.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv20.EnsureDefaultOptionedChild = true; treeNodeAdv20.Expanded = true; treeNodeAdv20.LeftImageIndices = new int[] { 1 }; treeNodeAdv20.MultiLine = true; treeNodeAdv20.Optioned = true; treeNodeAdv20.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv20.ShowLine = true; treeNodeAdv20.Text = "India"; treeNodeAdv21.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv21.EnsureDefaultOptionedChild = true; treeNodeAdv21.LeftImageIndices = new int[] { 2 }; treeNodeAdv21.MultiLine = true; treeNodeAdv21.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv21.ShowLine = true; treeNodeAdv21.Text = "China"; treeNodeAdv19.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv20, treeNodeAdv21 }); treeNodeAdv19.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv19.ShowLine = true; treeNodeAdv19.Text = "Asia"; treeNodeAdv22.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv22.EnsureDefaultOptionedChild = true; treeNodeAdv22.Expanded = true; treeNodeAdv22.LeftImageIndices = new int[] { 7 }; treeNodeAdv22.MultiLine = true; treeNodeAdv23.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv23.EnsureDefaultOptionedChild = true; treeNodeAdv23.Expanded = true; treeNodeAdv23.LeftImageIndices = new int[] { 3 }; treeNodeAdv23.MultiLine = true; treeNodeAdv23.Optioned = true; treeNodeAdv23.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv23.ShowLine = true; treeNodeAdv23.Text = "Britain"; treeNodeAdv24.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv24.EnsureDefaultOptionedChild = true; treeNodeAdv24.LeftImageIndices = new int[] { 4 }; treeNodeAdv24.MultiLine = true; treeNodeAdv24.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv24.ShowLine = true; treeNodeAdv24.Text = "France"; treeNodeAdv22.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv23, treeNodeAdv24 }); treeNodeAdv22.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv22.ShowLine = true; treeNodeAdv22.Text = "Europe"; treeNodeAdv25.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv25.EnsureDefaultOptionedChild = true; treeNodeAdv25.Expanded = true; treeNodeAdv25.LeftImageIndices = new int[] { 6 }; treeNodeAdv25.MultiLine = true; treeNodeAdv26.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv26.EnsureDefaultOptionedChild = true; treeNodeAdv26.Expanded = true; treeNodeAdv26.LeftImageIndices = new int[] { 5 }; treeNodeAdv26.MultiLine = true; treeNodeAdv26.Optioned = true; treeNodeAdv26.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv26.ShowLine = true; treeNodeAdv26.Text = "United States"; treeNodeAdv27.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv27.EnsureDefaultOptionedChild = true; treeNodeAdv27.LeftImageIndices = new int[] { 6 }; treeNodeAdv27.MultiLine = true; treeNodeAdv27.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv27.ShowLine = true; treeNodeAdv27.Text = "Canada"; treeNodeAdv25.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv26, treeNodeAdv27 }); treeNodeAdv25.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv25.ShowLine = true; treeNodeAdv25.Text = "North America"; treeNodeAdv28.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv28.EnsureDefaultOptionedChild = true; treeNodeAdv28.Expanded = true; treeNodeAdv28.LeftImageIndices = new int[] { 9 }; treeNodeAdv28.MultiLine = true; treeNodeAdv29.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv29.EnsureDefaultOptionedChild = true; treeNodeAdv29.LeftImageIndices = new int[] { 10 }; treeNodeAdv29.MultiLine = true; treeNodeAdv29.Optioned = true; treeNodeAdv29.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv29.RightImageIndices = new int[] { 0 }; treeNodeAdv29.ShowLine = true; treeNodeAdv29.Text = "Australia"; treeNodeAdv30.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv30.EnsureDefaultOptionedChild = true; treeNodeAdv30.LeftImageIndices = new int[] { 11 }; treeNodeAdv30.MultiLine = true; treeNodeAdv30.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv30.RightImageIndices = new int[] { 1 }; treeNodeAdv30.ShowLine = true; treeNodeAdv30.Text = "New Zealand"; treeNodeAdv28.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv29, treeNodeAdv30 }); treeNodeAdv28.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv28.RightImageIndices = new int[] { 0 }; treeNodeAdv28.ShowLine = true; treeNodeAdv28.Text = "Australia"; treeNodeAdv31.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv31.EnsureDefaultOptionedChild = true; treeNodeAdv31.Expanded = true; treeNodeAdv31.LeftImageIndices = new int[] { 12 }; treeNodeAdv31.MultiLine = true; treeNodeAdv32.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv32.EnsureDefaultOptionedChild = true; treeNodeAdv32.LeftImageIndices = new int[] { 13 }; treeNodeAdv32.MultiLine = true; treeNodeAdv32.Optioned = true; treeNodeAdv32.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv32.RightImageIndices = new int[] { 2 }; treeNodeAdv32.ShowLine = true; treeNodeAdv32.Text = "Brazil"; treeNodeAdv33.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv33.EnsureDefaultOptionedChild = true; treeNodeAdv33.LeftImageIndices = new int[] { 14 }; treeNodeAdv33.MultiLine = true; treeNodeAdv33.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv33.RightImageIndices = new int[] { 3 }; treeNodeAdv33.ShowLine = true; treeNodeAdv33.Text = "Argentina"; treeNodeAdv31.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv32, treeNodeAdv33 }); treeNodeAdv31.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv31.RightImageIndices = new int[] { 6 }; treeNodeAdv31.ShowLine = true; treeNodeAdv31.Text = "South America"; treeNodeAdv34.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv34.EnsureDefaultOptionedChild = true; treeNodeAdv34.Expanded = true; treeNodeAdv34.LeftImageIndices = new int[] { 15 }; treeNodeAdv34.MultiLine = true; treeNodeAdv35.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv35.EnsureDefaultOptionedChild = true; treeNodeAdv35.LeftImageIndices = new int[] { 16 }; treeNodeAdv35.MultiLine = true; treeNodeAdv35.Optioned = true; treeNodeAdv35.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv35.RightImageIndices = new int[] { 4 }; treeNodeAdv35.ShowLine = true; treeNodeAdv35.Text = "South Africa"; treeNodeAdv36.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv36.EnsureDefaultOptionedChild = true; treeNodeAdv36.LeftImageIndices = new int[] { 17 }; treeNodeAdv36.MultiLine = true; treeNodeAdv36.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv36.RightImageIndices = new int[] { 5 }; treeNodeAdv36.ShowLine = true; treeNodeAdv36.Text = "Zimbabwe"; treeNodeAdv34.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv35, treeNodeAdv36 }); treeNodeAdv34.PlusMinusSize = new System.Drawing.Size(9, 9); treeNodeAdv34.RightImageIndices = new int[] { 7 }; treeNodeAdv34.ShowLine = true; treeNodeAdv34.Text = "Africa"; this.treeViewAdv1.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv19, treeNodeAdv22, treeNodeAdv25, treeNodeAdv28, treeNodeAdv31, treeNodeAdv34 }); this.treeViewAdv1.OwnerDrawNodes = true; this.treeViewAdv1.OwnerDrawNodesBackground = true; this.treeViewAdv1.RightImageList = this.imageList2; this.treeViewAdv1.ShowFocusRect = true; this.treeViewAdv1.ShowLines = false; this.treeViewAdv1.Size = new System.Drawing.Size(386, 393); this.treeViewAdv1.Style = Syncfusion.Windows.Forms.Tools.TreeStyle.Metro; this.treeViewAdv1.TabIndex = 0; this.treeViewAdv1.Text = "treeViewAdv1"; // // // this.treeViewAdv1.ToolTipControl.BackColor = System.Drawing.SystemColors.Info; this.treeViewAdv1.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv1.ToolTipControl.Location = new System.Drawing.Point(642, 0); this.treeViewAdv1.ToolTipControl.Name = "toolTip"; this.treeViewAdv1.ToolTipControl.Size = new System.Drawing.Size(41, 15); this.treeViewAdv1.ToolTipControl.TabIndex = 1; this.treeViewAdv1.ToolTipControl.Text = "toolTip"; // // 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, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); // // 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, ""); this.imageList2.Images.SetKeyName(3, ""); this.imageList2.Images.SetKeyName(4, ""); this.imageList2.Images.SetKeyName(5, ""); this.imageList2.Images.SetKeyName(6, ""); this.imageList2.Images.SetKeyName(7, ""); this.imageList2.Images.SetKeyName(8, ""); //this.imageList2.Images.SetKeyName(9, "touch padding2.png"); // // panel1 // this.panel1.Controls.Add(this.buttonAdv1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(10, 10); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(386, 35); this.panel1.TabIndex = 1; // // buttonAdv1 // this.buttonAdv1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.buttonAdv1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.buttonAdv1.BeforeTouchSize = new System.Drawing.Size(110, 38); this.buttonAdv1.Dock = System.Windows.Forms.DockStyle.Right; this.buttonAdv1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.buttonAdv1.ForeColor = System.Drawing.Color.White; this.buttonAdv1.Image = global::_TreeViewAdvImageOverLayingDemo.Properties.Resources.touch_padding2; this.buttonAdv1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.buttonAdv1.IsBackStageButton = false; this.buttonAdv1.Location = new System.Drawing.Point(276, 0); this.buttonAdv1.Name = "buttonAdv1"; this.buttonAdv1.Size = new System.Drawing.Size(120, 34); this.buttonAdv1.TabIndex = 0; this.buttonAdv1.Text = "Enable Touch"; this.buttonAdv1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.buttonAdv1.UseVisualStyle = true; this.buttonAdv1.UseVisualStyleBackColor = false; this.buttonAdv1.Click += new System.EventHandler(this.buttonAdv1_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.ClientSize = new System.Drawing.Size(406, 457); this.Controls.Add(this.treeViewAdv1); this.Controls.Add(this.panel1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Customizations"; ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv1)).EndInit(); 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(); Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo treeNodeAdvStyleInfo1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo(); Syncfusion.Windows.Forms.Tools.TreeNodeAdv treeNodeAdv1 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.treeViewAdv2 = new Syncfusion.Windows.Forms.Tools.TreeViewAdv(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.sfButton1 = new Syncfusion.WinForms.Controls.SfButton(); this.label1 = new System.Windows.Forms.Label(); this.sfButton2 = new Syncfusion.WinForms.Controls.SfButton(); ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).BeginInit(); this.SuspendLayout(); // // treeViewAdv2 // this.treeViewAdv2.AddSeparatorAtEnd = true; this.treeViewAdv2.AllowDrop = true; this.treeViewAdv2.BackColor = System.Drawing.Color.White; treeNodeAdvStyleInfo1.CheckBoxTickThickness = 1; treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true; treeNodeAdvStyleInfo1.Font = new System.Drawing.Font("Verdana", 8F); treeNodeAdvStyleInfo1.IntermediateCheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.OptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210))))); treeNodeAdvStyleInfo1.ThemesEnabled = false; this.treeViewAdv2.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] { new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1) }); this.treeViewAdv2.BeforeTouchSize = new System.Drawing.Size(380, 530); this.treeViewAdv2.Border3DStyle = System.Windows.Forms.Border3DStyle.Flat; this.treeViewAdv2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv2.Dock = System.Windows.Forms.DockStyle.Left; this.treeViewAdv2.DragOnText = false; this.treeViewAdv2.Font = new System.Drawing.Font("Verdana", 8F); this.treeViewAdv2.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro; // // // this.treeViewAdv2.HelpTextControl.BaseThemeName = null; this.treeViewAdv2.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv2.HelpTextControl.Location = new System.Drawing.Point(732, 0); this.treeViewAdv2.HelpTextControl.Name = "helpText"; this.treeViewAdv2.HelpTextControl.Size = new System.Drawing.Size(49, 15); this.treeViewAdv2.HelpTextControl.TabIndex = 0; this.treeViewAdv2.HelpTextControl.Text = "help text"; this.treeViewAdv2.HideSelection = false; this.treeViewAdv2.IgnoreThemeBackground = true; this.treeViewAdv2.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText; this.treeViewAdv2.Indent = 20; this.treeViewAdv2.ItemHeight = 18; this.treeViewAdv2.LabelEdit = true; this.treeViewAdv2.LeftImageList = this.imageList1; this.treeViewAdv2.LineColor = System.Drawing.Color.Transparent; this.treeViewAdv2.LoadOnDemand = true; this.treeViewAdv2.Location = new System.Drawing.Point(10, 10); this.treeViewAdv2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.treeViewAdv2.MetroScrollBars = true; this.treeViewAdv2.Name = "treeViewAdv2"; treeNodeAdv1.ChildStyle.CheckBoxTickThickness = 0; treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true; treeNodeAdv1.EnsureDefaultOptionedChild = true; treeNodeAdv1.MultiLine = true; treeNodeAdv1.ShowLine = true; treeNodeAdv1.Text = "C:"; this.treeViewAdv2.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] { treeNodeAdv1 }); this.treeViewAdv2.OwnerDrawNodes = true; this.treeViewAdv2.PathSeparator = "/"; this.treeViewAdv2.RightImageList = this.imageList1; this.treeViewAdv2.SelectedNodeBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))))); this.treeViewAdv2.SelectedNodeForeColor = System.Drawing.SystemColors.HighlightText; this.treeViewAdv2.SelectionMode = Syncfusion.Windows.Forms.Tools.TreeSelectionMode.MultiSelectSameLevel; this.treeViewAdv2.ShowFocusRect = false; this.treeViewAdv2.Size = new System.Drawing.Size(380, 530); this.treeViewAdv2.Style = Syncfusion.Windows.Forms.Tools.TreeStyle.Metro; this.treeViewAdv2.TabIndex = 2; this.treeViewAdv2.ThemeName = "Metro"; this.treeViewAdv2.ThemesEnabled = false; this.treeViewAdv2.ThemeStyle.TreeNodeAdvStyle.CheckBoxTickThickness = 0; this.treeViewAdv2.ThemeStyle.TreeNodeAdvStyle.EnsureDefaultOptionedChild = true; // // // this.treeViewAdv2.ToolTipControl.BackColor = System.Drawing.SystemColors.Info; this.treeViewAdv2.ToolTipControl.BaseThemeName = null; this.treeViewAdv2.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.treeViewAdv2.ToolTipControl.Location = new System.Drawing.Point(642, 0); this.treeViewAdv2.ToolTipControl.Name = "toolTip"; this.treeViewAdv2.ToolTipControl.Size = new System.Drawing.Size(41, 15); this.treeViewAdv2.ToolTipControl.TabIndex = 1; this.treeViewAdv2.ToolTipControl.Text = "toolTip"; this.treeViewAdv2.BeforeExpand += new Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableNodeEventHandler(this.treeViewAdv2_BeforeExpand); // // 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, ""); // // sfButton1 // this.sfButton1.AccessibleName = "Button"; this.sfButton1.Font = new System.Drawing.Font("Arial Narrow", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.sfButton1.Location = new System.Drawing.Point(473, 123); this.sfButton1.Name = "sfButton1"; this.sfButton1.Size = new System.Drawing.Size(96, 28); this.sfButton1.TabIndex = 4; this.sfButton1.Text = "Left"; this.sfButton1.Click += new System.EventHandler(this.sfButton1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(452, 82); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(156, 13); this.label1.TabIndex = 5; this.label1.Text = "Choose the Image Alignment"; // // sfButton2 // this.sfButton2.AccessibleName = "Button"; this.sfButton2.Font = new System.Drawing.Font("Arial Narrow", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.sfButton2.Location = new System.Drawing.Point(473, 178); this.sfButton2.Name = "sfButton2"; this.sfButton2.Size = new System.Drawing.Size(96, 28); this.sfButton2.TabIndex = 6; this.sfButton2.Text = "Right"; this.sfButton2.Click += new System.EventHandler(this.sfButton2_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.ClientSize = new System.Drawing.Size(651, 550); this.Controls.Add(this.sfButton2); this.Controls.Add(this.label1); this.Controls.Add(this.treeViewAdv2); this.Controls.Add(this.sfButton1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MetroColor = System.Drawing.Color.White; this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "TreeViewAdv"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }