示例#1
0
        public Form1()
        {
            InitializeComponent();
            this.MinimumSize = this.Size;
            try
            {
                System.Drawing.Icon ico = new System.Drawing.Icon(GetIconFile(@"common\Images\Grid\Icon\sfgrid.ico"));
                this.Icon = ico;
            }
            catch { }
            this.radialSlider1.RangeStyle    = Syncfusion.Windows.Forms.Tools.RangeStyles.Solid;
            this.radialSlider1.ValueChanged += new Syncfusion.Windows.Forms.Tools.RadialSlider.ValueChangedEventHandler(radialSlider1_ValueChanged);
            ScrollersFrame Sframe = new ScrollersFrame();

            Sframe.VisualStyle = ScrollBarCustomDrawStyles.Metro;
            Sframe.AttachedTo  = this.richTextBox1;
            UpdateRadialSliderStyleforOffice2016Themes();
        }
示例#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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1  = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.label1          = new System.Windows.Forms.Label();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(572, 302);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location      = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name          = "htmluiControl1";
     this.htmluiControl1.ShowTitle     = false;
     this.htmluiControl1.Size          = new System.Drawing.Size(589, 317);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     //
     // label1
     //
     this.label1.BackColor   = System.Drawing.Color.White;
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.label1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location    = new System.Drawing.Point(10, 10);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(593, 69);
     this.label1.TabIndex    = 1;
     this.label1.Text        = "HTMLUI Element Events";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.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.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Location = new System.Drawing.Point(10, 92);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(593, 321);
     this.gradientPanel1.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     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(613, 426);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.label1);
     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.MinimumSize      = new System.Drawing.Size(625, 462);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Element Events";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.panel1          = new System.Windows.Forms.Panel();
     this.panel4          = new System.Windows.Forms.Panel();
     this.panel5          = new System.Windows.Forms.Panel();
     this.label3          = new System.Windows.Forms.Label();
     this.radioButton2    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.htmluiControl1  = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(136, 489);
     this.panel1.TabIndex = 1;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(221)))), ((int)(((byte)(237)))));
     this.panel4.Controls.Add(this.panel5);
     this.panel4.Location = new System.Drawing.Point(6, 62);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(120, 136);
     this.panel4.TabIndex = 5;
     //
     // panel5
     //
     this.panel5.BackColor   = System.Drawing.Color.White;
     this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel5.Controls.Add(this.radioButton2);
     this.panel5.Controls.Add(this.radioButton1);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(120, 136);
     this.panel5.TabIndex = 5;
     //
     // label3
     //
     this.label3.BackColor   = System.Drawing.Color.White;
     this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label3.Dock        = System.Windows.Forms.DockStyle.Top;
     this.label3.ForeColor   = System.Drawing.Color.Black;
     this.label3.Location    = new System.Drawing.Point(0, 0);
     this.label3.Name        = "label3";
     this.label3.Size        = new System.Drawing.Size(134, 24);
     this.label3.TabIndex    = 6;
     this.label3.Text        = "Style Sheets";
     this.label3.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // radioButton2
     //
     this.radioButton2.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton2.BackColor     = System.Drawing.Color.White;
     this.radioButton2.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor     = System.Drawing.Color.Black;
     this.radioButton2.Location      = new System.Drawing.Point(4, 81);
     this.radioButton2.MetroColor    = System.Drawing.Color.Empty;
     this.radioButton2.Name          = "radioButton2";
     this.radioButton2.Size          = new System.Drawing.Size(110, 40);
     this.radioButton2.TabIndex      = 5;
     this.radioButton2.TabStop       = false;
     this.radioButton2.Text          = "Style sheet2";
     this.radioButton2.ThemesEnabled = false;
     this.radioButton2.CheckChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // radioButton1
     //
     this.radioButton1.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton1.BackColor     = System.Drawing.Color.White;
     this.radioButton1.Checked       = true;
     this.radioButton1.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor     = System.Drawing.Color.Black;
     this.radioButton1.Location      = new System.Drawing.Point(4, 41);
     this.radioButton1.MetroColor    = System.Drawing.Color.Empty;
     this.radioButton1.Name          = "radioButton1";
     this.radioButton1.Size          = new System.Drawing.Size(110, 32);
     this.radioButton1.TabIndex      = 4;
     this.radioButton1.Text          = "Style sheet1";
     this.radioButton1.ThemesEnabled = false;
     this.radioButton1.CheckChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(567, 472);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name     = "htmluiControl1";
     this.htmluiControl1.Size     = new System.Drawing.Size(584, 487);
     this.htmluiControl1.TabIndex = 2;
     this.htmluiControl1.Text     = resources.GetString("htmluiControl1.Text");
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(146, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(586, 489);
     this.gradientPanel1.TabIndex = 3;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.ClientSize        = new System.Drawing.Size(742, 509);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.panel1);
     this.DropShadow    = true;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(754, 545);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "HTML CSS";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#4
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1     = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.statusBar1         = new Syncfusion.Windows.Forms.Tools.StatusBarAdv();
     this.scrollersFrame1    = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1     = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.statusBarAdvPanel1 = new Syncfusion.Windows.Forms.Tools.StatusBarAdvPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBar1)).BeginInit();
     this.statusBar1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).BeginInit();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoRunScripts                = true;
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(700, 410);
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location      = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name          = "htmluiControl1";
     this.htmluiControl1.ShowTitle     = false;
     this.htmluiControl1.Size          = new System.Drawing.Size(717, 425);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.TabStop       = false;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     this.htmluiControl1.LoadError    += new Syncfusion.Windows.Forms.HTMLUI.LoadErrorEventHandler(this.htmluiControl1_LoadError);
     //
     // statusBar1
     //
     this.statusBar1.Controls.Add(this.statusBarAdvPanel1);
     this.statusBar1.CustomLayoutBounds = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.statusBar1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.statusBar1.Location = new System.Drawing.Point(10, 437);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Padding  = new System.Windows.Forms.Padding(3);
     this.statusBar1.Size     = new System.Drawing.Size(719, 29);
     this.statusBar1.Spacing  = new System.Drawing.Size(2, 2);
     this.statusBar1.TabIndex = 1;
     this.statusBar1.Text     = "statusBar1";
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     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(719, 427);
     this.gradientPanel1.TabIndex = 2;
     //
     // statusBarAdvPanel1
     //
     this.statusBarAdvPanel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.statusBarAdvPanel1.Location    = new System.Drawing.Point(0, 2);
     this.statusBarAdvPanel1.Margin      = new System.Windows.Forms.Padding(0);
     this.statusBarAdvPanel1.Name        = "statusBarAdvPanel1";
     this.statusBarAdvPanel1.Size        = new System.Drawing.Size(672, 21);
     this.statusBarAdvPanel1.TabIndex    = 0;
     this.statusBarAdvPanel1.Text        = "statusBarAdvPanel1";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     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(739, 476);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.statusBar1);
     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.MinimumSize      = new System.Drawing.Size(751, 512);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "File Links";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBar1)).EndInit();
     this.statusBar1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.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.MetroColorTable       metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable();
            System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(editForm));
            this.richTextBox1         = new System.Windows.Forms.RichTextBox();
            this.panel1               = new System.Windows.Forms.Panel();
            this.button1              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button2              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.opnFileDlg           = new System.Windows.Forms.OpenFileDialog();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1            = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "HTMLUIEditor");
            this.parentBarItem2  = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem1  = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem4        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // richTextBox1
            //
            this.richTextBox1.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.richTextBox1.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.richTextBox1.Location = new System.Drawing.Point(5, 43);
            this.richTextBox1.Name     = "richTextBox1";
            this.richTextBox1.Size     = new System.Drawing.Size(376, 223);
            this.richTextBox1.TabIndex = 0;
            this.richTextBox1.Text     = "";
            //
            // panel1
            //
            this.panel1.BackColor = System.Drawing.Color.White;
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.button2);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(10, 273);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(368, 48);
            this.panel1.TabIndex = 1;
            //
            // 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(64, 24);
            this.button1.DialogResult            = System.Windows.Forms.DialogResult.OK;
            this.button1.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Font                    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor               = System.Drawing.Color.Black;
            this.button1.IsBackStageButton       = false;
            this.button1.Location                = new System.Drawing.Point(64, 8);
            this.button1.Name                    = "button1";
            this.button1.Size                    = new System.Drawing.Size(64, 24);
            this.button1.TabIndex                = 0;
            this.button1.Text                    = "OK";
            this.button1.UseVisualStyleBackColor = false;
            //
            // button2
            //
            this.button2.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button2.Appearance              = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button2.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button2.BeforeTouchSize         = new System.Drawing.Size(64, 24);
            this.button2.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
            this.button2.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Font                    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.ForeColor               = System.Drawing.Color.Black;
            this.button2.IsBackStageButton       = false;
            this.button2.Location                = new System.Drawing.Point(216, 8);
            this.button2.Name                    = "button2";
            this.button2.Size                    = new System.Drawing.Size(64, 24);
            this.button2.TabIndex                = 1;
            this.button2.Text                    = "Cancel";
            this.button2.UseVisualStyleBackColor = false;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Edit");
            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.parentBarItem2,
                this.barItem1,
                this.barItem2,
                this.parentBarItem1,
                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 = "HTMLUIEditor";
            this.bar1.Caption = "HTMLUIEditor";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem2,
                this.parentBarItem1
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 0;
            this.parentBarItem2.ID            = "File";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem2.Text       = "File";
            this.parentBarItem2.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "Open New File";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Open New File";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Exit Edit Form";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Exit Edit Form";
            this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 1;
            this.parentBarItem1.ID            = "Edit";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem4,
                this.barItem3
            });
            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.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text       = "Edit";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 1;
            this.barItem4.ID                 = "Select All";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Select All";
            this.barItem4.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 1;
            this.barItem3.ID                 = "Clear All";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Clear All";
            this.barItem3.Click             += new System.EventHandler(this.menuItem6_Click);
            //
            // scrollersFrame1
            //
            this.scrollersFrame1.AttachedTo            = this.richTextBox1;
            this.scrollersFrame1.CustomRender          = null;
            this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
            metroColorTable1.ArrowChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
            metroColorTable1.ArrowNormal               = System.Drawing.Color.White;
            metroColorTable1.ArrowNormal               = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
            metroColorTable1.ArrowPushed               = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
            metroColorTable1.ScrollerBackground        = System.Drawing.Color.White;
            metroColorTable1.ThumbChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
            metroColorTable1.ThumbNormal               = 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)))));
            this.scrollersFrame1.ScrollMetroColorTable = metroColorTable1;
            this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
            this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            //
            // editForm
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.ClientSize        = new System.Drawing.Size(388, 331);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.richTextBox1);
            this.DropShadow    = true;
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MetroColor    = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.Name          = "editForm";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Editor";
            this.Load         += new System.EventHandler(this.Form2_Load);
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
示例#6
0
        public Form1()
        {
            InitializeComponent();
            toolip                     = new ToolTipAdv(this);
            this.Activated            += new EventHandler(Form1_Activated);
            this.tileLayout1.Text      = "Start";
            this.tileLayout1.ForeColor = Color.White;
            getImageStreamers();
            this.tileLayout1.NewGroupIndicatorColor = Color.White;
            // this.tileLayout1.ExitButtonImage = Image.FromFile(imagePath + "Close.png");
            //  this.tileLayout1.ShowPreviewButtonImage  = Image.FromFile(imagePath + "Selection.png");
            //  this.tileLayout1.NewGroupButtonImage  = Image.FromFile(imagePath + "Pause.png");
            Timer time = new Timer();

            time.Interval = 1000;
            time.Start();
            time.Tick              += new EventHandler(time_Tick);
            openMenu.Tick          += new EventHandler(t_Tick);
            CloseMenu.Tick         += new EventHandler(CloseMenu_Tick);
            this.openMenu.Interval  = 10;
            this.CloseMenu.Interval = 10;
            this.panel2.Height      = 0;
            this.panel3.Height      = 0;
            this.panel1.Click      += new EventHandler(panel1_Click);

            this.panel2.MouseLeave += new EventHandler(panel2_MouseLeave);
            this.panel3.MouseLeave += new EventHandler(panel2_MouseLeave);

            this.panel2.MouseEnter += new EventHandler(panel2_MouseEnter);

            this.layoutGroup1.Text = "Group 1";
            this.layoutGroup2.Text = "Group 2";

            color.Style = ColorPickerUIAdv.visualstyle.Metro;
            this.panel6.Controls.Add(color);
            color.Location  = new Point(0, -40);
            color.Size      = new Size(210, 195);
            color.BackColor = this.panel2.BackColor;
            color.Picked   += new ColorPickerUIAdv.ColorPickedEventHandler(color_Picked);

            ScrollersFrame scroll = new ScrollersFrame();

            scroll.VisualStyle = ScrollBarCustomDrawStyles.Metro;
            scroll.AttachedTo  = this.panel5;

            treeViewAdv1.Click += new EventHandler(treeViewAdv1_Click);
            treeViewAdv1.Style  = TreeStyle.Metro;
            //  this.panel9.Controls.Add(treeViewAdv1);
            treeViewAdv1.Size     = new Size(panel9.Width, panel9.Height - 15);
            treeViewAdv1.Location = new Point(0, 15);

            popup.Size = new Size(200, 400);


            // panel11.Width  = 200;

            pic.Dock = DockStyle.Fill;
            ScrollersFrame scroll1 = new ScrollersFrame();

            scroll1.VisualStyle = ScrollBarCustomDrawStyles.Metro;
            scroll1.AttachedTo  = propertyGrid1;
            FlowLayout flowLayout = new FlowLayout();

            //flowLayout.ContainerControl = this.panel3;
            flowLayout.HGap           = 150;
            this.checkBoxAdv1.Checked = true;
            popupOpen.Tick           += new EventHandler(popupOpen_Tick);
            popupClose.Tick          += new EventHandler(popupClose_Tick);

            popupOpen.Interval = 10;
            using (Graphics g = this.CreateGraphics())
            {
                if (g.DpiX >= 120)
                {
                    this.Size = new System.Drawing.Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
                    Dpi125();
                }
            }
        }
示例#7
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);
 }
示例#8
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1  = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(513, 337);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location      = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name          = "htmluiControl1";
     this.htmluiControl1.Size          = new System.Drawing.Size(530, 352);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     this.htmluiControl1.LoadError    += new Syncfusion.Windows.Forms.HTMLUI.LoadErrorEventHandler(this.htmluiControl1_LoadError);
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.Gray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     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(532, 354);
     this.gradientPanel1.TabIndex = 1;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     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(552, 374);
     this.Controls.Add(this.gradientPanel1);
     this.DropShadow       = true;
     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.MinimumSize      = new System.Drawing.Size(564, 410);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Bookmarks";
     this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#9
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();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.panel1               = new System.Windows.Forms.Panel();
            this.htmluiControl1       = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
            this.cxtMenu              = new System.Windows.Forms.ContextMenuStrip();
            this.cxtEdit              = new System.Windows.Forms.ToolStripMenuItem();
            this.openFileDlg          = new System.Windows.Forms.OpenFileDialog();
            this.scrollersFrame1      = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "HTMLUIEditor");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // panel1
            //
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.htmluiControl1);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(10, 39);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(621, 392);
            this.panel1.TabIndex = 0;
            //
            // htmluiControl1
            //
            this.htmluiControl1.AutoScroll                    = true;
            this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(602, 375);
            this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
            this.htmluiControl1.ContextMenuStrip              = this.cxtMenu;
            this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
            this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
            this.htmluiControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.htmluiControl1.Location = new System.Drawing.Point(0, 0);
            this.htmluiControl1.Name     = "htmluiControl1";
            this.htmluiControl1.Size     = new System.Drawing.Size(619, 390);
            this.htmluiControl1.TabIndex = 0;
            this.htmluiControl1.Text     = "htmluiControl1";
            this.htmluiControl1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.htmluiControl1_KeyDown);
            //
            // cxtMenu
            //
            this.cxtMenu.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] {
                this.cxtEdit
            });
            //
            // cxtEdit
            //
            this.cxtEdit.MergeIndex = 0;
            this.cxtEdit.Text       = "Edit HTML";
            this.cxtEdit.Click     += new System.EventHandler(this.cxtEdit_Click);
            //
            // openFileDlg
            //
            this.openFileDlg.Filter = "html files|*.html|htm files|*.htm";
            //
            // scrollersFrame1
            //
            this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
            this.scrollersFrame1.CustomRender          = null;
            this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
            this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
            this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Edit");
            this.mainFrameBarManager1.Categories.Add("View");
            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.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.parentBarItem2,
                this.barItem3,
                this.parentBarItem3,
                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 = "HTMLUIEditor";
            this.bar1.Caption = "HTMLUIEditor";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2,
                this.parentBarItem3
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2
            });
            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 = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "Open";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Open";
            this.barItem1.Click             += new System.EventHandler(this.Open_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Exit";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Exit";
            this.barItem2.Click             += new System.EventHandler(this.MenuExit_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "Edit";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem3
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Edit";
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 1;
            this.barItem3.ID                 = "Edit HTML";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Edit HTML";
            this.barItem3.Click             += new System.EventHandler(this.MenuEdit_Click);
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 2;
            this.parentBarItem3.ID            = "View";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem4
            });
            this.parentBarItem3.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text = "View";
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 2;
            this.barItem4.ID                 = "HTML Source";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "HTML Source";
            this.barItem4.Click             += new System.EventHandler(this.HTMLSource_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor         = System.Drawing.SystemColors.ControlLightLight;
            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(641, 441);
            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.MinimumSize      = new System.Drawing.Size(653, 477);
            this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "HTMLUI Editor";
            this.Load            += new System.EventHandler(this.Form1_Load);
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
示例#10
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1  = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.panel1          = new System.Windows.Forms.Panel();
     this.panel3          = new System.Windows.Forms.Panel();
     this.button1         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.panel2          = new System.Windows.Forms.Panel();
     this.textBox1        = new IntegerTextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.label1          = new System.Windows.Forms.Label();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoRunScripts                = true;
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(361, 337);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name     = "htmluiControl1";
     this.htmluiControl1.Size     = new System.Drawing.Size(378, 352);
     this.htmluiControl1.TabIndex = 0;
     this.htmluiControl1.Text     = "htmluiControl1";
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(152, 354);
     this.panel1.TabIndex = 1;
     //
     // panel3
     //
     this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.button1);
     this.panel3.Controls.Add(this.button2);
     this.panel3.Controls.Add(this.button3);
     this.panel3.Location = new System.Drawing.Point(8, 144);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(126, 128);
     this.panel3.TabIndex = 6;
     //
     // 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.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Font       = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor  = System.Drawing.Color.Black;
     this.button1.Location   = new System.Drawing.Point(16, 17);
     this.button1.Name       = "button1";
     this.button1.Size       = new System.Drawing.Size(96, 24);
     this.button1.TabIndex   = 4;
     this.button1.Text       = "Start";
     this.button1.Click     += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button2.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Font       = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor  = System.Drawing.Color.Black;
     this.button2.Location   = new System.Drawing.Point(16, 50);
     this.button2.Name       = "button2";
     this.button2.Size       = new System.Drawing.Size(96, 24);
     this.button2.TabIndex   = 5;
     this.button2.Text       = "Stop";
     this.button2.Click     += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button3.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.button3.Font       = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor  = System.Drawing.Color.Black;
     this.button3.Location   = new System.Drawing.Point(16, 86);
     this.button3.Name       = "button3";
     this.button3.Size       = new System.Drawing.Size(96, 24);
     this.button3.TabIndex   = 6;
     this.button3.Text       = "Reset";
     this.button3.Click     += new System.EventHandler(this.button3_Click);
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.textBox1);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Location = new System.Drawing.Point(8, 24);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(126, 88);
     this.panel2.TabIndex = 5;
     //
     // textBox1
     //
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox1.ForeColor   = System.Drawing.Color.Black;
     this.textBox1.Location    = new System.Drawing.Point(8, 61);
     this.textBox1.Name        = "textBox1";
     this.textBox1.Size        = new System.Drawing.Size(48, 20);
     this.textBox1.TabIndex    = 10;
     this.textBox1.Text        = "1";
     this.textBox1.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(64, 61);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 16);
     this.label2.TabIndex  = 9;
     this.label2.Text      = "second(s)";
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location  = new System.Drawing.Point(8, 13);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(112, 32);
     this.label1.TabIndex  = 8;
     this.label1.Text      = "Set the time delay for the slide show";
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(162, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(380, 354);
     this.gradientPanel1.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     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(609, 398);
     this.Controls.Add(this.gradientPanel1);
     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.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.MinimumSize      = new System.Drawing.Size(621, 434);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Slide Show";
     this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }