コード例 #1
0
        /// <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();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv2            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv3            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv4            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv5            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv6            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv7            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv8            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv9            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv10           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv11           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv12           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv13           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv14           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv15           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv16           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv17           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv18           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            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.TreeViewAdvVisualStyle treeViewAdvVisualStyle1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdvVisualStyle();
            System.ComponentModel.ComponentResourceManager        resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.gradientPanel1 = new GradientPanel();
            this.treeViewAdv2   = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
            this.leftImageList  = new System.Windows.Forms.ImageList(this.components);
            this.rightImageList = new System.Windows.Forms.ImageList(this.components);
            this.buttonAdv1     = new Syncfusion.Windows.Forms.ButtonAdv();
            this.stateImageList = new System.Windows.Forms.ImageList(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.SuspendLayout();

            //
            // treeViewAdv2
            //
            this.treeViewAdv2.AllowDrop      = true;
            this.treeViewAdv2.BackColor      = System.Drawing.Color.White;
            treeNodeAdvStyleInfo1.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
            treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
            treeNodeAdvStyleInfo1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            treeNodeAdvStyleInfo1.IntermediateCheckColor    = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
            treeNodeAdvStyleInfo1.NoChildrenImgIndex        = -1;
            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.TextColor = System.Drawing.Color.Black;
            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(766, 499);
            this.treeViewAdv2.Border3DStyle   = System.Windows.Forms.Border3DStyle.Flat;
            this.treeViewAdv2.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
            this.treeViewAdv2.Dock            = System.Windows.Forms.DockStyle.Fill;
            //
            //
            //
            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.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
            this.treeViewAdv2.ItemHeight         = 25;
            this.treeViewAdv2.LeftImageList      = this.leftImageList;
            this.treeViewAdv2.Location           = new System.Drawing.Point(10, 52);
            this.treeViewAdv2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.treeViewAdv2.MinimumSize        = new System.Drawing.Size(300, 0);
            this.treeViewAdv2.Name               = "treeViewAdv2";
            this.treeViewAdv2.NoChildrenImgIndex = -1;
            treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv1.EnsureDefaultOptionedChild            = true;
            treeNodeAdv1.Expanded  = true;
            treeNodeAdv1.MultiLine = true;
            treeNodeAdv2.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv2.EnsureDefaultOptionedChild            = true;
            treeNodeAdv2.MultiLine        = true;
            treeNodeAdv2.Optioned         = true;
            treeNodeAdv2.ShowLine         = true;
            treeNodeAdv2.ShowOptionButton = true;
            treeNodeAdv2.Text             = "Single";
            treeNodeAdv3.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv3.EnsureDefaultOptionedChild            = true;
            treeNodeAdv3.MultiLine        = true;
            treeNodeAdv3.ShowLine         = true;
            treeNodeAdv3.ShowOptionButton = true;
            treeNodeAdv3.Text             = "Married";
            treeNodeAdv4.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv4.EnsureDefaultOptionedChild            = true;
            treeNodeAdv4.MultiLine        = true;
            treeNodeAdv4.ShowLine         = true;
            treeNodeAdv4.ShowOptionButton = true;
            treeNodeAdv4.Text             = "Married with children";
            treeNodeAdv1.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
                treeNodeAdv2,
                treeNodeAdv3,
                treeNodeAdv4
            });
            treeNodeAdv1.RightImageIndices = new int[] {
                2
            };
            treeNodeAdv1.ShowLine = true;
            treeNodeAdv1.Text     = "Marital Status";
            treeNodeAdv5.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv5.EnsureDefaultOptionedChild            = true;
            treeNodeAdv5.Expanded            = true;
            treeNodeAdv5.InteractiveCheckBox = true;
            treeNodeAdv5.MultiLine           = true;
            treeNodeAdv6.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv6.EnsureDefaultOptionedChild            = true;
            treeNodeAdv6.MultiLine    = true;
            treeNodeAdv6.Optioned     = true;
            treeNodeAdv6.ShowCheckBox = true;
            treeNodeAdv6.ShowLine     = true;
            treeNodeAdv6.Text         = "Hepatitis B";
            treeNodeAdv7.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv7.EnsureDefaultOptionedChild            = true;
            treeNodeAdv7.MultiLine    = true;
            treeNodeAdv7.ShowCheckBox = true;
            treeNodeAdv7.ShowLine     = true;
            treeNodeAdv7.Text         = "Tetanus";
            treeNodeAdv8.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv8.EnsureDefaultOptionedChild            = true;
            treeNodeAdv8.MultiLine    = true;
            treeNodeAdv8.ShowCheckBox = true;
            treeNodeAdv8.ShowLine     = true;
            treeNodeAdv8.Text         = "Polio ";
            treeNodeAdv9.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv9.EnsureDefaultOptionedChild            = true;
            treeNodeAdv9.MultiLine    = true;
            treeNodeAdv9.ShowCheckBox = true;
            treeNodeAdv9.ShowLine     = true;
            treeNodeAdv9.Text         = "Measles";
            treeNodeAdv5.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
                treeNodeAdv6,
                treeNodeAdv7,
                treeNodeAdv8,
                treeNodeAdv9
            });
            treeNodeAdv5.RightImageIndices = new int[] {
                6
            };
            treeNodeAdv5.ShowCheckBox = true;
            treeNodeAdv5.ShowLine     = true;
            treeNodeAdv5.Text         = "Baby Vaccines";
            treeNodeAdv10.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv10.EnsureDefaultOptionedChild            = true;
            treeNodeAdv10.Expanded  = true;
            treeNodeAdv10.MultiLine = true;
            treeNodeAdv11.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv11.EnsureDefaultOptionedChild            = true;
            treeNodeAdv11.LeftImageIndices = new int[] {
                0
            };
            treeNodeAdv11.MultiLine = true;
            treeNodeAdv11.Optioned  = true;
            treeNodeAdv11.ShowLine  = true;
            treeNodeAdv11.Text      = "Canada";
            treeNodeAdv12.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv12.EnsureDefaultOptionedChild            = true;
            treeNodeAdv12.LeftImageIndices = new int[] {
                1
            };
            treeNodeAdv12.MultiLine = true;
            treeNodeAdv12.ShowLine  = true;
            treeNodeAdv12.Text      = "France";
            treeNodeAdv13.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv13.EnsureDefaultOptionedChild            = true;
            treeNodeAdv13.LeftImageIndices = new int[] {
                2
            };
            treeNodeAdv13.MultiLine = true;
            treeNodeAdv13.ShowLine  = true;
            treeNodeAdv13.Text      = "Germany";
            treeNodeAdv14.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv14.EnsureDefaultOptionedChild            = true;
            treeNodeAdv14.LeftImageIndices = new int[] {
                3
            };
            treeNodeAdv14.MultiLine = true;
            treeNodeAdv14.ShowLine  = true;
            treeNodeAdv14.Text      = "UK";
            treeNodeAdv15.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv15.EnsureDefaultOptionedChild            = true;
            treeNodeAdv15.LeftImageIndices = new int[] {
                4
            };
            treeNodeAdv15.MultiLine = true;
            treeNodeAdv15.ShowLine  = true;
            treeNodeAdv15.Text      = "USA";
            treeNodeAdv10.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
                treeNodeAdv11,
                treeNodeAdv12,
                treeNodeAdv13,
                treeNodeAdv14,
                treeNodeAdv15
            });
            treeNodeAdv10.RightImageIndices = new int[] {
                7
            };
            treeNodeAdv10.ShowLine = true;
            treeNodeAdv10.Text     = "Country Information";
            treeNodeAdv16.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv16.EnsureDefaultOptionedChild            = true;
            treeNodeAdv16.Expanded  = true;
            treeNodeAdv16.MultiLine = true;
            treeNodeAdv17.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv17.EnsureDefaultOptionedChild            = true;
            treeNodeAdv17.MultiLine         = true;
            treeNodeAdv17.Optioned          = true;
            treeNodeAdv17.RightImageIndices = new int[] {
                4,
                4,
                4,
                4
            };
            treeNodeAdv17.ShowLine = true;
            treeNodeAdv17.Text     = "Finding Nemo";
            treeNodeAdv18.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv18.EnsureDefaultOptionedChild            = true;
            treeNodeAdv18.MultiLine         = true;
            treeNodeAdv18.RightImageIndices = new int[] {
                4,
                4,
                4,
                4
            };
            treeNodeAdv18.ShowLine = true;
            treeNodeAdv18.Text     = "Lord Of the Rings";
            treeNodeAdv19.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv19.EnsureDefaultOptionedChild            = true;
            treeNodeAdv19.MultiLine         = true;
            treeNodeAdv19.RightImageIndices = new int[] {
                4,
                4
            };
            treeNodeAdv19.ShowLine = true;
            treeNodeAdv19.Text     = "Matrix Reloaded";
            treeNodeAdv20.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv20.EnsureDefaultOptionedChild            = true;
            treeNodeAdv20.MultiLine         = true;
            treeNodeAdv20.RightImageIndices = new int[] {
                4,
                4,
                4
            };
            treeNodeAdv20.ShowLine = true;
            treeNodeAdv20.Text     = "T3";
            treeNodeAdv21.ChildStyle.EnsureDefaultOptionedChild = true;
            treeNodeAdv21.EnsureDefaultOptionedChild            = true;
            treeNodeAdv21.MultiLine         = true;
            treeNodeAdv21.RightImageIndices = new int[] {
                4,
                4,
                4,
                4
            };
            treeNodeAdv21.ShowLine = true;
            treeNodeAdv21.Text     = "Sea Biscuit";
            treeNodeAdv16.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
                treeNodeAdv17,
                treeNodeAdv18,
                treeNodeAdv19,
                treeNodeAdv20,
                treeNodeAdv21
            });
            treeNodeAdv16.RightImageIndices = new int[] {
                5
            };
            treeNodeAdv16.ShowLine = true;
            treeNodeAdv16.Text     = "Top 2003 Movies";
            this.treeViewAdv2.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
                treeNodeAdv1,
                treeNodeAdv5,
                treeNodeAdv10,
                treeNodeAdv16
            });
            this.treeViewAdv2.PathSeparator          = "/";
            this.treeViewAdv2.RightImageList         = this.rightImageList;
            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.ShowFocusRect          = false;
            this.treeViewAdv2.ShowLines       = false;
            this.treeViewAdv2.Size            = new System.Drawing.Size(766, 499);
            this.treeViewAdv2.Style           = Syncfusion.Windows.Forms.Tools.TreeStyle.Metro;
            this.treeViewAdv2.TabIndex        = 3;
            this.treeViewAdv2.Text            = "treeViewAdv2";
            this.treeViewAdv2.ThemeName       = "Metro";
            treeViewAdvVisualStyle1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
            treeViewAdvVisualStyle1.TreeNodeAdvStyle.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
            treeViewAdvVisualStyle1.TreeNodeAdvStyle.EnsureDefaultOptionedChild = true;
            treeViewAdvVisualStyle1.TreeNodeAdvStyle.IntermediateCheckColor     = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
            treeViewAdvVisualStyle1.TreeNodeAdvStyle.OptionButtonColor          = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
            treeViewAdvVisualStyle1.TreeNodeAdvStyle.SelectedOptionButtonColor  = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
            this.treeViewAdv2.ThemeStyle = treeViewAdvVisualStyle1;
            //
            //
            //
            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";

            //
            // leftImageList
            //
            this.leftImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("leftImageList.ImageStream")));
            this.leftImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.leftImageList.Images.SetKeyName(0, "");
            this.leftImageList.Images.SetKeyName(1, "");
            this.leftImageList.Images.SetKeyName(2, "");
            this.leftImageList.Images.SetKeyName(3, "");
            this.leftImageList.Images.SetKeyName(4, "");
            //
            // rightImageList
            //
            this.rightImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("rightImageList.ImageStream")));
            this.rightImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.rightImageList.Images.SetKeyName(0, "");
            this.rightImageList.Images.SetKeyName(1, "");
            this.rightImageList.Images.SetKeyName(2, "smiley.ico");
            this.rightImageList.Images.SetKeyName(3, "");
            this.rightImageList.Images.SetKeyName(4, "");
            this.rightImageList.Images.SetKeyName(5, "");
            this.rightImageList.Images.SetKeyName(6, "");
            this.rightImageList.Images.SetKeyName(7, "");

            //
            // gradientPanel1
            //
            this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
            this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.gradientPanel1.Controls.Add(this.buttonAdv1);
            this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.gradientPanel1.Location = new System.Drawing.Point(10, 0);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(766, 35);
            this.gradientPanel1.TabIndex = 3;
            //
            // buttonAdv1
            //
            this.buttonAdv1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            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(120, 31);
            this.buttonAdv1.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv1.Image             = global::_TreeViewAdvImageOverLayingDemo.Properties.Resources.touch_padding2;
            this.buttonAdv1.IsBackStageButton = false;
            this.buttonAdv1.Location          = new System.Drawing.Point(648, 0);
            this.buttonAdv1.Name                    = "buttonAdv1";
            this.buttonAdv1.Size                    = new System.Drawing.Size(120, 31);
            this.buttonAdv1.TabIndex                = 0;
            this.buttonAdv1.Text                    = "Enable Touch";
            this.buttonAdv1.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.buttonAdv1.ThemeName               = "Metro";
            this.buttonAdv1.UseVisualStyle          = true;
            this.buttonAdv1.UseVisualStyleBackColor = true;
            this.buttonAdv1.Click                  += new System.EventHandler(this.buttonAdv1_Click);
            //
            // stateImageList
            //
            this.stateImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("stateImageList.ImageStream")));
            this.stateImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.stateImageList.Images.SetKeyName(0, "");
            this.stateImageList.Images.SetKeyName(1, "");
            this.stateImageList.Images.SetKeyName(2, "");
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(786, 561);
            this.Controls.Add(this.treeViewAdv2);
            this.Controls.Add(this.gradientPanel1);
            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.MinimumSize   = new System.Drawing.Size(50, 300);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10, 5, 10, 10);
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Customization";
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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.MetroColorTable       metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv1     = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.colorDialog1    = new System.Windows.Forms.ColorDialog();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.treeViewAdv3    = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
     this.imageList2      = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel2  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.comboBox2       = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label2          = new System.Windows.Forms.Label();
     this.label5          = new System.Windows.Forms.Label();
     this.comboBox1       = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.button1         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.contextMenu1    = new System.Windows.Forms.ContextMenu();
     this.editItem        = new System.Windows.Forms.MenuItem();
     this.copyItem        = new System.Windows.Forms.MenuItem();
     this.cutItem         = new System.Windows.Forms.MenuItem();
     this.leftImageList   = new System.Windows.Forms.ImageList(this.components);
     this.rightImageList  = new System.Windows.Forms.ImageList(this.components);
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.colorDialog2    = new System.Windows.Forms.ColorDialog();
     this.stateImageList  = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
     this.gradientPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.HorizontalSmallChange = 7;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.MetroThumbSize        = new System.Drawing.Size(0, 0);
     metroColorTable1.ArrowChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
     metroColorTable1.ArrowInActive             = System.Drawing.Color.White;
     metroColorTable1.ArrowNormal               = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
     metroColorTable1.ArrowNormalBackGround     = System.Drawing.Color.Empty;
     metroColorTable1.ArrowPushed               = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
     metroColorTable1.ArrowPushedBackGround     = System.Drawing.Color.Empty;
     metroColorTable1.ScrollerBackground        = System.Drawing.Color.White;
     metroColorTable1.ThumbChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
     metroColorTable1.ThumbInActive             = System.Drawing.Color.White;
     metroColorTable1.ThumbNormal               = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
     metroColorTable1.ThumbPushed               = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
     metroColorTable1.ThumbPushedBorder         = System.Drawing.Color.Empty;
     this.scrollersFrame1.ScrollMetroColorTable = metroColorTable1;
     this.scrollersFrame1.ShowMetroArrowButton  = true;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VerticallSmallChange  = 13;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // treeViewAdv3
     //
     this.treeViewAdv3.AddSeparatorAtEnd = true;
     this.treeViewAdv3.AllowDrop         = true;
     this.treeViewAdv3.BackColor         = System.Drawing.Color.White;
     this.treeViewAdv3.BeforeTouchSize   = new System.Drawing.Size(279, 461);
     this.treeViewAdv3.Border3DStyle     = System.Windows.Forms.Border3DStyle.Flat;
     this.treeViewAdv3.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeViewAdv3.Font = new System.Drawing.Font("Verdana", 8F);
     //
     //
     //
     this.treeViewAdv3.HelpTextControl.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.HelpTextControl.Location      = new System.Drawing.Point(732, 0);
     this.treeViewAdv3.HelpTextControl.Name          = "helpText";
     this.treeViewAdv3.HelpTextControl.Size          = new System.Drawing.Size(49, 15);
     this.treeViewAdv3.HelpTextControl.TabIndex      = 0;
     this.treeViewAdv3.HelpTextControl.Text          = "help text";
     this.treeViewAdv3.IgnoreThemeBackground         = true;
     this.treeViewAdv3.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
     this.treeViewAdv3.Indent       = 20;
     this.treeViewAdv3.LineColor    = System.Drawing.Color.Transparent;
     this.treeViewAdv3.LoadOnDemand = true;
     this.treeViewAdv3.Location     = new System.Drawing.Point(299, 0);
     this.treeViewAdv3.MetroColor   = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.treeViewAdv3.Name         = "treeViewAdv3";
     treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv1.EnsureDefaultOptionedChild            = true;
     treeNodeAdv1.MultiLine     = true;
     treeNodeAdv1.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv1.ShowLine      = true;
     treeNodeAdv1.Text          = "c:";
     this.treeViewAdv3.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv1
     });
     this.treeViewAdv3.PathSeparator          = "/";
     this.treeViewAdv3.SelectedNodeBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))));
     this.treeViewAdv3.SelectedNodeForeColor  = System.Drawing.SystemColors.HighlightText;
     this.treeViewAdv3.ShowCheckBoxes         = true;
     this.treeViewAdv3.ShowFocusRect          = false;
     this.treeViewAdv3.ShowOptionButtons      = true;
     this.treeViewAdv3.Size           = new System.Drawing.Size(279, 461);
     this.treeViewAdv3.StateImageList = this.imageList2;
     this.treeViewAdv3.Style          = Syncfusion.Windows.Forms.Tools.TreeStyle.Metro;
     this.treeViewAdv3.TabIndex       = 5;
     this.treeViewAdv3.ThemesEnabled  = false;
     //
     //
     //
     this.treeViewAdv3.ToolTipControl.BackColor   = System.Drawing.SystemColors.Info;
     this.treeViewAdv3.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.ToolTipControl.Location    = new System.Drawing.Point(642, 0);
     this.treeViewAdv3.ToolTipControl.Name        = "toolTip";
     this.treeViewAdv3.ToolTipControl.Size        = new System.Drawing.Size(41, 15);
     this.treeViewAdv3.ToolTipControl.TabIndex    = 1;
     this.treeViewAdv3.ToolTipControl.Text        = "toolTip";
     this.treeViewAdv3.BeforeExpand    += new Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableNodeEventHandler(this.treeViewAdv3_BeforeExpand);
     this.treeViewAdv3.BeforeNodePaint += new Syncfusion.Windows.Forms.Tools.TreeNodeAdvPaintEventHandler(this.treeViewAdv3_BeforeNodePaint);
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList2.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList2.TransparentColor = System.Drawing.Color.White;
     //
     // gradientPanel2
     //
     this.gradientPanel2.Border3DStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.gradientPanel2.BorderSides   = System.Windows.Forms.Border3DSide.Left;
     this.gradientPanel2.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.gradientPanel2.Controls.Add(this.comboBox2);
     this.gradientPanel2.Controls.Add(this.label2);
     this.gradientPanel2.Controls.Add(this.label5);
     this.gradientPanel2.Controls.Add(this.comboBox1);
     this.gradientPanel2.Controls.Add(this.button1);
     this.gradientPanel2.Dock     = System.Windows.Forms.DockStyle.Left;
     this.gradientPanel2.Location = new System.Drawing.Point(0, 0);
     this.gradientPanel2.Name     = "gradientPanel2";
     this.gradientPanel2.Size     = new System.Drawing.Size(299, 461);
     this.gradientPanel2.TabIndex = 6;
     //
     // comboBox2
     //
     this.comboBox2.BackColor       = System.Drawing.Color.White;
     this.comboBox2.BeforeTouchSize = new System.Drawing.Size(216, 21);
     this.comboBox2.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.Items.AddRange(new object[] {
         "Text",
         "CheckBox",
         "Tag"
     });
     this.comboBox2.Location = new System.Drawing.Point(62, 136);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(216, 21);
     this.comboBox2.Style    = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox2.TabIndex = 12;
     this.comboBox2.Text     = "Text";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(62, 112);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 16);
     this.label2.TabIndex  = 11;
     this.label2.Text      = "Sort Type";
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Location  = new System.Drawing.Point(62, 56);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(100, 16);
     this.label5.TabIndex  = 10;
     this.label5.Text      = "Sort Order";
     //
     // comboBox1
     //
     this.comboBox1.BackColor       = System.Drawing.Color.White;
     this.comboBox1.BeforeTouchSize = new System.Drawing.Size(216, 21);
     this.comboBox1.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.Items.AddRange(new object[] {
         "None",
         "Ascending",
         "Descending"
     });
     this.comboBox1.Location = new System.Drawing.Point(62, 80);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(216, 21);
     this.comboBox1.Style    = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox1.TabIndex = 9;
     this.comboBox1.Text     = "None";
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(136, 23);
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(105, 218);
     this.button1.Name                    = "button1";
     this.button1.Size                    = new System.Drawing.Size(136, 23);
     this.button1.TabIndex                = 8;
     this.button1.Text                    = "Sort selected node";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.editItem,
         this.copyItem,
         this.cutItem
     });
     //
     // editItem
     //
     this.editItem.Index  = 0;
     this.editItem.Text   = "&Edit";
     this.editItem.Click += new System.EventHandler(this.editItem_Click);
     //
     // copyItem
     //
     this.copyItem.Index  = 1;
     this.copyItem.Text   = "&Copy";
     this.copyItem.Click += new System.EventHandler(this.copyItem_Click);
     //
     // cutItem
     //
     this.cutItem.Index  = 2;
     this.cutItem.Text   = "Cu&t";
     this.cutItem.Click += new System.EventHandler(this.cutItem_Click);
     //
     // leftImageList
     //
     this.leftImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("leftImageList.ImageStream")));
     this.leftImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.leftImageList.Images.SetKeyName(0, "");
     this.leftImageList.Images.SetKeyName(1, "");
     this.leftImageList.Images.SetKeyName(2, "");
     this.leftImageList.Images.SetKeyName(3, "");
     this.leftImageList.Images.SetKeyName(4, "");
     //
     // rightImageList
     //
     this.rightImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("rightImageList.ImageStream")));
     this.rightImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.rightImageList.Images.SetKeyName(0, "");
     this.rightImageList.Images.SetKeyName(1, "");
     this.rightImageList.Images.SetKeyName(2, "smiley.ico");
     this.rightImageList.Images.SetKeyName(3, "");
     this.rightImageList.Images.SetKeyName(4, "");
     this.rightImageList.Images.SetKeyName(5, "");
     this.rightImageList.Images.SetKeyName(6, "");
     this.rightImageList.Images.SetKeyName(7, "");
     //
     // 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, "");
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.treeViewAdv3);
     this.gradientPanel1.Controls.Add(this.gradientPanel2);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(10, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(580, 463);
     this.gradientPanel1.TabIndex = 3;
     //
     // stateImageList
     //
     this.stateImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("stateImageList.ImageStream")));
     this.stateImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.stateImageList.Images.SetKeyName(0, "");
     this.stateImageList.Images.SetKeyName(1, "");
     this.stateImageList.Images.SetKeyName(2, "");
     //
     // Form1
     //
     this.AutoScaleBaseSize  = new System.Drawing.Size(5, 15);
     this.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(229)))));
     this.CaptionBarColor    = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.CaptionButtonColor = System.Drawing.Color.White;
     this.CaptionFont        = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.CaptionForeColor   = System.Drawing.Color.White;
     this.ClientSize         = new System.Drawing.Size(600, 483);
     this.Controls.Add(this.gradientPanel1);
     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.MinimumSize   = new System.Drawing.Size(50, 300);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "TreeViewAdv Sorting";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
     this.gradientPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #4
0
ファイル: Form1.cs プロジェクト: syncfusion/winforms-demos
 /// <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);
 }
コード例 #5
0
 /// <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();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv2  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv3  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv4  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv5  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv6  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv7  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv8  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv9  = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv10 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv11 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv12 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv13 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv14 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv15 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv16 = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.parentBarItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.scrollersFrame2      = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.treeView3            = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
     this.buttonAdv1           = new Syncfusion.Windows.Forms.ButtonAdv();
     this.buttonAdv2           = new Syncfusion.Windows.Forms.ButtonAdv();
     this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
     this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Main Menu");
     this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.trackBarEx1    = new Syncfusion.Windows.Forms.Tools.TrackBarEx(0, 10);
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.label1         = new System.Windows.Forms.Label();
     this.buttonAdv3     = new Syncfusion.Windows.Forms.ButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.treeView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName            = "parentBarItem2";
     this.parentBarItem2.ID                 = "Themes";
     this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Style              = Syncfusion.Windows.Forms.VisualStyle.Office2007;
     this.parentBarItem2.Text               = "Themes";
     //
     // scrollersFrame2
     //
     this.scrollersFrame2.AttachedTo            = this.treeView3;
     this.scrollersFrame2.CustomRender          = null;
     this.scrollersFrame2.HorizontalSmallChange = 7;
     this.scrollersFrame2.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame2.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame2.VerticallSmallChange  = 13;
     this.scrollersFrame2.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // treeView3
     //
     this.treeView3.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeView3.CanSelectDisabledNode = false;
     this.treeView3.Dock = System.Windows.Forms.DockStyle.Left;
     this.treeView3.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     //
     //
     //
     this.treeView3.HelpTextControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeView3.HelpTextControl.Location    = new System.Drawing.Point(0, 0);
     this.treeView3.HelpTextControl.Name        = "helpText";
     this.treeView3.HelpTextControl.Size        = new System.Drawing.Size(49, 15);
     this.treeView3.HelpTextControl.TabIndex    = 0;
     this.treeView3.HelpTextControl.Text        = "help text";
     this.treeView3.Indent      = 25;
     this.treeView3.ItemHeight  = 22;
     this.treeView3.Location    = new System.Drawing.Point(10, 39);
     this.treeView3.MetroColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.treeView3.MinimumSize = new System.Drawing.Size(2, 110);
     this.treeView3.Name        = "treeView3";
     treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv1.EnsureDefaultOptionedChild            = true;
     treeNodeAdv1.MultiLine = true;
     treeNodeAdv2.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv2.EnsureDefaultOptionedChild            = true;
     treeNodeAdv2.MultiLine     = true;
     treeNodeAdv2.Optioned      = true;
     treeNodeAdv2.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv2.ShowLine      = true;
     treeNodeAdv2.Text          = "Deleted Items";
     treeNodeAdv3.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv3.EnsureDefaultOptionedChild            = true;
     treeNodeAdv3.MultiLine     = true;
     treeNodeAdv3.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv3.ShowLine      = true;
     treeNodeAdv3.Text          = "Junk Email";
     treeNodeAdv4.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv4.EnsureDefaultOptionedChild            = true;
     treeNodeAdv4.MultiLine     = true;
     treeNodeAdv4.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv4.ShowLine      = true;
     treeNodeAdv4.Text          = "Inbox";
     treeNodeAdv5.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv5.EnsureDefaultOptionedChild            = true;
     treeNodeAdv5.MultiLine     = true;
     treeNodeAdv5.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv5.ShowLine      = true;
     treeNodeAdv5.Text          = "Sent Items";
     treeNodeAdv6.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv6.EnsureDefaultOptionedChild            = true;
     treeNodeAdv6.MultiLine     = true;
     treeNodeAdv6.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv6.ShowLine      = true;
     treeNodeAdv6.Text          = "Search Folders";
     treeNodeAdv1.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv2,
         treeNodeAdv3,
         treeNodeAdv4,
         treeNodeAdv5,
         treeNodeAdv6
     });
     treeNodeAdv1.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv1.ShowLine      = true;
     treeNodeAdv1.Text          = "Personal Folders ";
     treeNodeAdv7.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv7.EnsureDefaultOptionedChild            = true;
     treeNodeAdv7.MultiLine = true;
     treeNodeAdv8.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv8.EnsureDefaultOptionedChild            = true;
     treeNodeAdv8.MultiLine     = true;
     treeNodeAdv8.Optioned      = true;
     treeNodeAdv8.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv8.ShowLine      = true;
     treeNodeAdv8.Text          = "Search Folders";
     treeNodeAdv9.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv9.EnsureDefaultOptionedChild            = true;
     treeNodeAdv9.MultiLine     = true;
     treeNodeAdv9.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv9.ShowLine      = true;
     treeNodeAdv9.Text          = "Sent Items";
     treeNodeAdv10.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv10.EnsureDefaultOptionedChild            = true;
     treeNodeAdv10.MultiLine     = true;
     treeNodeAdv10.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv10.ShowLine      = true;
     treeNodeAdv10.Text          = "Deleted Items";
     treeNodeAdv7.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv8,
         treeNodeAdv9,
         treeNodeAdv10
     });
     treeNodeAdv7.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv7.ShowLine      = true;
     treeNodeAdv7.Text          = "Archive Folders";
     treeNodeAdv11.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv11.EnsureDefaultOptionedChild            = true;
     treeNodeAdv11.MultiLine = true;
     treeNodeAdv12.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv12.EnsureDefaultOptionedChild            = true;
     treeNodeAdv12.MultiLine     = true;
     treeNodeAdv12.Optioned      = true;
     treeNodeAdv12.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv12.ShowLine      = true;
     treeNodeAdv12.Text          = "Drafts";
     treeNodeAdv13.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv13.EnsureDefaultOptionedChild            = true;
     treeNodeAdv13.MultiLine     = true;
     treeNodeAdv13.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv13.ShowLine      = true;
     treeNodeAdv13.Text          = "Inbox";
     treeNodeAdv14.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv14.EnsureDefaultOptionedChild            = true;
     treeNodeAdv14.MultiLine     = true;
     treeNodeAdv14.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv14.ShowLine      = true;
     treeNodeAdv14.Text          = "Outbox";
     treeNodeAdv15.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv15.EnsureDefaultOptionedChild            = true;
     treeNodeAdv15.MultiLine     = true;
     treeNodeAdv15.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv15.ShowLine      = true;
     treeNodeAdv15.Text          = "Sent Items";
     treeNodeAdv16.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv16.EnsureDefaultOptionedChild            = true;
     treeNodeAdv16.MultiLine     = true;
     treeNodeAdv16.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv16.ShowLine      = true;
     treeNodeAdv16.Text          = "Public";
     treeNodeAdv11.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv12,
         treeNodeAdv13,
         treeNodeAdv14,
         treeNodeAdv15,
         treeNodeAdv16
     });
     treeNodeAdv11.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv11.ShowLine      = true;
     treeNodeAdv11.Text          = "Syncfusion E-mail";
     this.treeView3.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv1,
         treeNodeAdv7,
         treeNodeAdv11
     });
     this.treeView3.ShowFocusRect = true;
     this.treeView3.ShowLines     = false;
     this.treeView3.Size          = new System.Drawing.Size(148, 271);
     this.treeView3.Style         = Syncfusion.Windows.Forms.Tools.TreeStyle.Default;
     this.treeView3.TabIndex      = 16;
     //
     //
     //
     this.treeView3.ToolTipControl.BackColor   = System.Drawing.SystemColors.Info;
     this.treeView3.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeView3.ToolTipControl.Location    = new System.Drawing.Point(0, 0);
     this.treeView3.ToolTipControl.Name        = "toolTip";
     this.treeView3.ToolTipControl.Size        = new System.Drawing.Size(41, 15);
     this.treeView3.ToolTipControl.TabIndex    = 1;
     this.treeView3.ToolTipControl.Text        = "toolTip";
     //
     // buttonAdv1
     //
     this.buttonAdv1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv1.ButtonType         = Syncfusion.Windows.Forms.Tools.ButtonTypes.Redo;
     this.buttonAdv1.KeepFocusRectangle = false;
     this.buttonAdv1.Location           = new System.Drawing.Point(502, 596);
     this.buttonAdv1.Name           = "buttonAdv1";
     this.buttonAdv1.Size           = new System.Drawing.Size(18, 17);
     this.buttonAdv1.TabIndex       = 9;
     this.buttonAdv1.Text           = "buttonAdv1";
     this.buttonAdv1.UseVisualStyle = true;
     //
     // buttonAdv2
     //
     this.buttonAdv2.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv2.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv2.ButtonType         = Syncfusion.Windows.Forms.Tools.ButtonTypes.Undo;
     this.buttonAdv2.KeepFocusRectangle = false;
     this.buttonAdv2.Location           = new System.Drawing.Point(549, 596);
     this.buttonAdv2.Name           = "buttonAdv2";
     this.buttonAdv2.Size           = new System.Drawing.Size(18, 17);
     this.buttonAdv2.TabIndex       = 12;
     this.buttonAdv2.Text           = "buttonAdv2";
     this.buttonAdv2.UseVisualStyle = true;
     //
     // mainFrameBarManager1
     //
     this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
     this.mainFrameBarManager1.Bars.Add(this.bar1);
     this.mainFrameBarManager1.Categories.Add("Category1");
     this.mainFrameBarManager1.Categories.Add("Style");
     this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
     this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainFrameBarManager1.Form = this;
     this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem7,
         this.barItem8,
         this.barItem9,
         this.parentBarItem4,
         this.parentBarItem1,
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4
     });
     this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.mainFrameBarManager1.ResetCustomization = false;
     this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // bar1
     //
     this.bar1.BarName  = "Main Menu";
     this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)));
     this.bar1.Caption  = "Main Menu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem4
     });
     this.bar1.Manager = this.mainFrameBarManager1;
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName       = "parentBarItem1";
     this.parentBarItem1.CategoryIndex = 1;
     this.parentBarItem1.ID            = "Visual Styles";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem3,
         this.barItem2,
         this.barItem4
     });
     this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Text = "Visual Styles";
     //
     // barItem1
     //
     this.barItem1.BarName            = "barItem1";
     this.barItem1.CategoryIndex      = 1;
     this.barItem1.ID                 = "Classic";
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "Classic";
     this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
     //
     // barItem3
     //
     this.barItem3.BarName            = "barItem3";
     this.barItem3.CategoryIndex      = 1;
     this.barItem3.ID                 = "Office2007";
     this.barItem3.ShowToolTipInPopUp = false;
     this.barItem3.SizeToFit          = true;
     this.barItem3.Text               = "Office2007";
     this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
     //
     // barItem2
     //
     this.barItem2.BarName            = "barItem2";
     this.barItem2.CategoryIndex      = 1;
     this.barItem2.ID                 = "Office2010";
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "Office2010";
     this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
     //
     // barItem4
     //
     this.barItem4.BarName            = "barItem4";
     this.barItem4.CategoryIndex      = 1;
     this.barItem4.ID                 = "Metro";
     this.barItem4.ShowToolTipInPopUp = false;
     this.barItem4.SizeToFit          = true;
     this.barItem4.Text               = "Metro";
     this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
     //
     // parentBarItem4
     //
     this.parentBarItem4.BarName               = "parentBarItem4";
     this.parentBarItem4.CategoryIndex         = 0;
     this.parentBarItem4.CustomNormalTextColor = System.Drawing.Color.Black;
     this.parentBarItem4.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem4.ID = "Office2007 Styles";
     this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem7,
         this.barItem8,
         this.barItem9
     });
     this.parentBarItem4.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem4.ShowToolTipInPopUp = false;
     this.parentBarItem4.SizeToFit          = true;
     this.parentBarItem4.Text   = "Color Schemes";
     this.parentBarItem4.Click += new System.EventHandler(this.parentBarItem4_Click);
     //
     // barItem7
     //
     this.barItem7.BarName               = "barItem7";
     this.barItem7.CategoryIndex         = 0;
     this.barItem7.Checked               = true;
     this.barItem7.CustomNormalTextColor = System.Drawing.Color.Black;
     this.barItem7.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem7.ID = "Blue";
     this.barItem7.ShowToolTipInPopUp = false;
     this.barItem7.SizeToFit          = true;
     this.barItem7.Text   = "Blue";
     this.barItem7.Click += new System.EventHandler(this.barItem_Click);
     //
     // barItem8
     //
     this.barItem8.BarName               = "barItem8";
     this.barItem8.CategoryIndex         = 0;
     this.barItem8.CustomNormalTextColor = System.Drawing.Color.Black;
     this.barItem8.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem8.ID = "Silver";
     this.barItem8.ShowToolTipInPopUp = false;
     this.barItem8.SizeToFit          = true;
     this.barItem8.Text   = "Silver";
     this.barItem8.Click += new System.EventHandler(this.barItem_Click);
     //
     // barItem9
     //
     this.barItem9.BarName               = "barItem9";
     this.barItem9.CategoryIndex         = 0;
     this.barItem9.CustomNormalTextColor = System.Drawing.Color.Black;
     this.barItem9.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem9.ID = "Black";
     this.barItem9.ShowToolTipInPopUp = false;
     this.barItem9.SizeToFit          = true;
     this.barItem9.Text   = "Black";
     this.barItem9.Click += new System.EventHandler(this.barItem_Click);
     //
     // trackBarEx1
     //
     this.trackBarEx1.Location      = new System.Drawing.Point(0, 0);
     this.trackBarEx1.Name          = "trackBarEx1";
     this.trackBarEx1.Size          = new System.Drawing.Size(250, 20);
     this.trackBarEx1.Style         = Syncfusion.Windows.Forms.Tools.TrackBarEx.Theme.Default;
     this.trackBarEx1.TabIndex      = 0;
     this.trackBarEx1.TimerInterval = 100;
     this.trackBarEx1.Value         = 5;
     //
     // gradientPanel1
     //
     this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.gradientPanel1.BorderColor = System.Drawing.Color.Gray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.label1);
     this.gradientPanel1.Controls.Add(this.buttonAdv3);
     this.gradientPanel1.Location = new System.Drawing.Point(171, 40);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(319, 162);
     this.gradientPanel1.TabIndex = 21;
     //
     // label1
     //
     this.label1.BackColor  = System.Drawing.Color.White;
     this.label1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.label1.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.label1.Font       = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ImageAlign = System.Drawing.ContentAlignment.TopRight;
     this.label1.Location   = new System.Drawing.Point(0, 0);
     this.label1.Name       = "label1";
     this.label1.Size       = new System.Drawing.Size(317, 160);
     this.label1.TabIndex   = 0;
     this.label1.Text       = resources.GetString("label1.Text");
     this.label1.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // buttonAdv3
     //
     this.buttonAdv3.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv3.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv3.Image              = ((System.Drawing.Image)(resources.GetObject("buttonAdv3.Image")));
     this.buttonAdv3.KeepFocusRectangle = false;
     this.buttonAdv3.Location           = new System.Drawing.Point(225, 69);
     this.buttonAdv3.Name           = "buttonAdv3";
     this.buttonAdv3.Size           = new System.Drawing.Size(23, 23);
     this.buttonAdv3.TabIndex       = 22;
     this.buttonAdv3.UseVisualStyle = true;
     this.buttonAdv3.Click         += new System.EventHandler(this.buttonAdv3_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.CaptionAlign        = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize          = new System.Drawing.Size(501, 320);
     this.Controls.Add(this.treeView3);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.buttonAdv2);
     this.Controls.Add(this.buttonAdv1);
     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.IconTextRelation = System.Windows.Forms.LeftRightAlignment.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             = "Scrollers Frame";
     ((System.ComponentModel.ISupportInitialize)(this.treeView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #6
0
 /// <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();
     Syncfusion.Windows.Forms.Tools.TreeViewAdvVisualStyle treeViewAdvVisualStyle1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdvVisualStyle();
     System.ComponentModel.ComponentResourceManager        resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.colorDialog1   = new System.Windows.Forms.ColorDialog();
     this.treeViewAdv3   = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
     this.imageList2     = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.comboBox2      = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label2         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.comboBox1      = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.contextMenu1   = new System.Windows.Forms.ContextMenu();
     this.editItem       = new System.Windows.Forms.MenuItem();
     this.copyItem       = new System.Windows.Forms.MenuItem();
     this.cutItem        = new System.Windows.Forms.MenuItem();
     this.leftImageList  = new System.Windows.Forms.ImageList(this.components);
     this.rightImageList = new System.Windows.Forms.ImageList(this.components);
     this.imageList1     = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel1         = new System.Windows.Forms.Panel();
     this.colorDialog2   = new System.Windows.Forms.ColorDialog();
     this.stateImageList = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
     this.gradientPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // treeViewAdv3
     //
     this.treeViewAdv3.AddSeparatorAtEnd = true;
     this.treeViewAdv3.AllowDrop         = true;
     this.treeViewAdv3.BackColor         = System.Drawing.Color.White;
     this.treeViewAdv3.BackgroundColor   = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
     treeNodeAdvStyleInfo1.CheckColor    = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
     treeNodeAdvStyleInfo1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNodeAdvStyleInfo1.InteractiveCheckBox       = true;
     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.ShowCheckBox     = true;
     treeNodeAdvStyleInfo1.ShowOptionButton = false;
     treeNodeAdvStyleInfo1.TextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     treeNodeAdvStyleInfo1.ThemesEnabled    = false;
     this.treeViewAdv3.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
         new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)
     });
     this.treeViewAdv3.BeforeTouchSize = new System.Drawing.Size(470, 463);
     this.treeViewAdv3.Border3DStyle   = System.Windows.Forms.Border3DStyle.Flat;
     this.treeViewAdv3.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
     this.treeViewAdv3.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.treeViewAdv3.Font            = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeViewAdv3.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     //
     //
     //
     this.treeViewAdv3.HelpTextControl.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.HelpTextControl.Location      = new System.Drawing.Point(732, 0);
     this.treeViewAdv3.HelpTextControl.Name          = "helpText";
     this.treeViewAdv3.HelpTextControl.Size          = new System.Drawing.Size(49, 15);
     this.treeViewAdv3.HelpTextControl.TabIndex      = 0;
     this.treeViewAdv3.HelpTextControl.Text          = "help text";
     this.treeViewAdv3.IgnoreThemeBackground         = true;
     this.treeViewAdv3.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
     this.treeViewAdv3.Indent = 20;
     this.treeViewAdv3.InteractiveCheckBoxes = true;
     this.treeViewAdv3.ItemHeight            = 25;
     this.treeViewAdv3.LineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(94)))), ((int)(((byte)(94)))));
     this.treeViewAdv3.LoadOnDemand          = true;
     this.treeViewAdv3.Location   = new System.Drawing.Point(0, 0);
     this.treeViewAdv3.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.treeViewAdv3.Name       = "treeViewAdv3";
     treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv1.EnsureDefaultOptionedChild            = true;
     treeNodeAdv1.MultiLine = true;
     treeNodeAdv1.ShowLine  = true;
     treeNodeAdv1.Text      = "Local Disk (C:)";
     this.treeViewAdv3.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv1
     });
     this.treeViewAdv3.PathSeparator          = "/";
     this.treeViewAdv3.SelectedNodeBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))));
     this.treeViewAdv3.SelectedNodeForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     this.treeViewAdv3.ShowCheckBoxes         = true;
     this.treeViewAdv3.ShowFocusRect          = false;
     this.treeViewAdv3.Size            = new System.Drawing.Size(470, 463);
     this.treeViewAdv3.StateImageList  = this.imageList2;
     this.treeViewAdv3.Style           = Syncfusion.Windows.Forms.Tools.TreeStyle.Office2016Colorful;
     this.treeViewAdv3.TabIndex        = 5;
     this.treeViewAdv3.ThemeName       = "Office2016Colorful";
     this.treeViewAdv3.ThemesEnabled   = false;
     treeViewAdvVisualStyle1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.EnsureDefaultOptionedChild = true;
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.IntermediateCheckColor     = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.OptionButtonColor          = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.SelectedOptionButtonColor  = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     this.treeViewAdv3.ThemeStyle = treeViewAdvVisualStyle1;
     //
     //
     //
     this.treeViewAdv3.ToolTipControl.BackColor   = System.Drawing.SystemColors.Info;
     this.treeViewAdv3.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.ToolTipControl.Location    = new System.Drawing.Point(642, 0);
     this.treeViewAdv3.ToolTipControl.Name        = "toolTip";
     this.treeViewAdv3.ToolTipControl.Size        = new System.Drawing.Size(41, 15);
     this.treeViewAdv3.ToolTipControl.TabIndex    = 1;
     this.treeViewAdv3.ToolTipControl.Text        = "toolTip";
     this.treeViewAdv3.TransparentControls        = true;
     this.treeViewAdv3.BeforeExpand += new Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableNodeEventHandler(this.treeViewAdv3_BeforeExpand);
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList2.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList2.TransparentColor = System.Drawing.Color.White;
     //
     // gradientPanel2
     //
     this.gradientPanel2.Border3DStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.gradientPanel2.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     this.gradientPanel2.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel2.Controls.Add(this.comboBox2);
     this.gradientPanel2.Controls.Add(this.label2);
     this.gradientPanel2.Controls.Add(this.label5);
     this.gradientPanel2.Controls.Add(this.comboBox1);
     this.gradientPanel2.Controls.Add(this.button1);
     this.gradientPanel2.Dock     = System.Windows.Forms.DockStyle.Right;
     this.gradientPanel2.Location = new System.Drawing.Point(478, 0);
     this.gradientPanel2.Name     = "gradientPanel2";
     this.gradientPanel2.Size     = new System.Drawing.Size(261, 463);
     this.gradientPanel2.TabIndex = 6;
     //
     // comboBox2
     //
     this.comboBox2.BeforeTouchSize = new System.Drawing.Size(216, 25);
     this.comboBox2.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.Font            = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.ForeColor       = System.Drawing.SystemColors.WindowText;
     this.comboBox2.Items.AddRange(new object[] {
         "Text",
         "CheckBox",
         "Tag"
     });
     this.comboBox2.Location  = new System.Drawing.Point(25, 168);
     this.comboBox2.Name      = "comboBox2";
     this.comboBox2.Size      = new System.Drawing.Size(216, 25);
     this.comboBox2.TabIndex  = 12;
     this.comboBox2.Text      = "Text";
     this.comboBox2.ThemeName = "Default";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(25, 144);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 16);
     this.label2.TabIndex  = 11;
     this.label2.Text      = "Sort Type :";
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location  = new System.Drawing.Point(25, 88);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(100, 16);
     this.label5.TabIndex  = 10;
     this.label5.Text      = "Sort Order :";
     //
     // comboBox1
     //
     this.comboBox1.BackColor       = System.Drawing.Color.White;
     this.comboBox1.BeforeTouchSize = new System.Drawing.Size(216, 25);
     this.comboBox1.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Font            = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.Items.AddRange(new object[] {
         "None",
         "Ascending",
         "Descending"
     });
     this.comboBox1.Location = new System.Drawing.Point(25, 112);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(216, 25);
     this.comboBox1.TabIndex = 9;
     this.comboBox1.Text     = "None";
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(142, 23);
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(60, 228);
     this.button1.Name                    = "button1";
     this.button1.Size                    = new System.Drawing.Size(142, 23);
     this.button1.TabIndex                = 8;
     this.button1.Text                    = "Apply";
     this.button1.ThemeName               = "Metro";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.editItem,
         this.copyItem,
         this.cutItem
     });
     //
     // editItem
     //
     this.editItem.Index  = 0;
     this.editItem.Text   = "&Edit";
     this.editItem.Click += new System.EventHandler(this.editItem_Click);
     //
     // copyItem
     //
     this.copyItem.Index  = 1;
     this.copyItem.Text   = "&Copy";
     this.copyItem.Click += new System.EventHandler(this.copyItem_Click);
     //
     // cutItem
     //
     this.cutItem.Index  = 2;
     this.cutItem.Text   = "Cu&t";
     this.cutItem.Click += new System.EventHandler(this.cutItem_Click);
     //
     // leftImageList
     //
     this.leftImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("leftImageList.ImageStream")));
     this.leftImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.leftImageList.Images.SetKeyName(0, "");
     this.leftImageList.Images.SetKeyName(1, "");
     this.leftImageList.Images.SetKeyName(2, "");
     this.leftImageList.Images.SetKeyName(3, "");
     this.leftImageList.Images.SetKeyName(4, "");
     //
     // rightImageList
     //
     this.rightImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("rightImageList.ImageStream")));
     this.rightImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.rightImageList.Images.SetKeyName(0, "");
     this.rightImageList.Images.SetKeyName(1, "");
     this.rightImageList.Images.SetKeyName(2, "smiley.ico");
     this.rightImageList.Images.SetKeyName(3, "");
     this.rightImageList.Images.SetKeyName(4, "");
     this.rightImageList.Images.SetKeyName(5, "");
     this.rightImageList.Images.SetKeyName(6, "");
     this.rightImageList.Images.SetKeyName(7, "");
     //
     // 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, "");
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.gradientPanel1.Controls.Add(this.treeViewAdv3);
     this.gradientPanel1.Controls.Add(this.panel1);
     this.gradientPanel1.Controls.Add(this.gradientPanel2);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(10, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(739, 463);
     this.gradientPanel1.TabIndex = 3;
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(470, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(8, 463);
     this.panel1.TabIndex = 7;
     //
     // stateImageList
     //
     this.stateImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("stateImageList.ImageStream")));
     this.stateImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.stateImageList.Images.SetKeyName(0, "");
     this.stateImageList.Images.SetKeyName(1, "");
     this.stateImageList.Images.SetKeyName(2, "");
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 18);
     this.ClientSize        = new System.Drawing.Size(759, 483);
     this.Controls.Add(this.gradientPanel1);
     this.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(50, 300);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Sorting";
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
     this.gradientPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.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();
 }