コード例 #1
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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1        = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.statusBar1            = new System.Windows.Forms.StatusStrip();
     this.panel1                = new System.Windows.Forms.Panel();
     this.panel2                = new System.Windows.Forms.Panel();
     this.panel3                = new System.Windows.Forms.Panel();
     this.label2                = new System.Windows.Forms.Label();
     this.label1                = new System.Windows.Forms.Label();
     this.checkBox1             = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.gradientPanel1        = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel4                = new System.Windows.Forms.Panel();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.statusBar1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(337, 315);
     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(354, 330);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadError    += new Syncfusion.Windows.Forms.HTMLUI.LoadErrorEventHandler(this.htmluiControl1_LoadError);
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     //
     // statusBar1
     //
     this.statusBar1.BackColor = System.Drawing.SystemColors.Window;
     this.statusBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.statusBar1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel1
     });
     this.statusBar1.Location = new System.Drawing.Point(0, 0);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Padding  = new System.Windows.Forms.Padding(3);
     this.statusBar1.Size     = new System.Drawing.Size(532, 22);
     this.statusBar1.TabIndex = 1;
     this.statusBar1.Text     = "statusBar1";
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Dock      = System.Windows.Forms.DockStyle.Left;
     this.panel1.ForeColor = System.Drawing.SystemColors.ControlText;
     this.panel1.Location  = new System.Drawing.Point(10, 10);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(176, 332);
     this.panel1.TabIndex  = 2;
     //
     // panel2
     //
     this.panel2.Anchor    = System.Windows.Forms.AnchorStyles.Top;
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Location = new System.Drawing.Point(7, 112);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(160, 88);
     this.panel2.TabIndex = 3;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(198)))), ((int)(((byte)(220)))));
     this.panel3.Controls.Add(this.label2);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Location = new System.Drawing.Point(2, 2);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(156, 84);
     this.panel3.TabIndex = 0;
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.Font      = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(0, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(160, 24);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "Action";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     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(2, 28);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(150, 54);
     this.label1.TabIndex  = 2;
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // checkBox1
     //
     this.checkBox1.Anchor             = System.Windows.Forms.AnchorStyles.Top;
     this.checkBox1.DrawFocusRectangle = false;
     this.checkBox1.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor     = System.Drawing.Color.Black;
     this.checkBox1.Location      = new System.Drawing.Point(7, 24);
     this.checkBox1.MetroColor    = System.Drawing.Color.DarkGray;
     this.checkBox1.Name          = "checkBox1";
     this.checkBox1.Size          = new System.Drawing.Size(160, 72);
     this.checkBox1.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.TabIndex      = 2;
     this.checkBox1.Text          = "Check To Include Mouse Leave Event";
     this.checkBox1.ThemesEnabled = false;
     //
     // 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(186, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(356, 332);
     this.gradientPanel1.TabIndex = 3;
     //
     // panel4
     //
     this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel4.Controls.Add(this.statusBar1);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel4.Location = new System.Drawing.Point(10, 333);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(692, 32);
     this.panel4.TabIndex = 4;
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 19);
     //
     // 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(552, 374);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel4);
     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(564, 410);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Bubbling Events";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.statusBar1.ResumeLayout(false);
     this.statusBar1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: yyangrns/winforms-demos
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            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.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1               = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "HTMLUIDialog");
            this.parentBarItem1     = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            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.mainFrameBarManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.gradientPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).BeginInit();
            this.SuspendLayout();
            //
            // htmluiControl1
            //
            this.htmluiControl1.AutoScroll                    = true;
            this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(629, 359);
            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(646, 374);
            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);
            //
            // 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, 415);
            this.statusBar1.Name     = "statusBar1";
            this.statusBar1.Padding  = new System.Windows.Forms.Padding(10);
            this.statusBar1.Size     = new System.Drawing.Size(648, 30);
            this.statusBar1.Spacing  = new System.Drawing.Size(2, 2);
            this.statusBar1.TabIndex = 1;
            this.statusBar1.Text     = "statusBar1";
            //
            // 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.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.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 = "HTMLUIDialog";
            this.bar1.Caption = "HTMLUIDialog";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1
            });
            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.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  = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "View Source";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "View Source";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // 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(10, 39);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(648, 376);
            this.gradientPanel1.TabIndex = 4;
            //
            // 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(579, 22);
            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(668, 455);
            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(680, 491);
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "HTMLUI Dialog";
            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.mainFrameBarManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).EndInit();
            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.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);
 }
コード例 #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));
            Syncfusion.Windows.Forms.MetroColorTable       metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable();
            this.htmluiControl1       = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
            this.fontListBox1         = new Syncfusion.Windows.Forms.Tools.FontListBox();
            this.dataGrid1            = new System.Windows.Forms.DataGridView();
            this.monthCalendar1       = new Syncfusion.Windows.Forms.Tools.MonthCalendarAdv();
            this.calculatorControl1   = new Syncfusion.Windows.Forms.Tools.CalculatorControl();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
            this.panel1               = new System.Windows.Forms.Panel();
            this.button2              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button1              = 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, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
            this.htmluiControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.monthCalendar1)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.gradientPanel1.SuspendLayout();
            this.SuspendLayout();
            //
            // htmluiControl1
            //
            this.htmluiControl1.AutoScroll        = true;
            this.htmluiControl1.AutoScrollMinSize = new System.Drawing.Size(603, 301);
            this.htmluiControl1.BackColor         = System.Drawing.Color.White;
            this.htmluiControl1.Controls.Add(this.fontListBox1);
            this.htmluiControl1.Controls.Add(this.dataGrid1);
            this.htmluiControl1.Controls.Add(this.monthCalendar1);
            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.ForeColor          = System.Drawing.Color.Black;
            this.htmluiControl1.Location           = new System.Drawing.Point(0, 0);
            this.htmluiControl1.Name               = "htmluiControl1";
            this.htmluiControl1.ShowTitle          = false;
            this.htmluiControl1.Size               = new System.Drawing.Size(637, 316);
            this.htmluiControl1.TabIndex           = 0;
            this.htmluiControl1.Text               = resources.GetString("htmluiControl1.Text");
            this.htmluiControl1.PreRenderDocument += new Syncfusion.Windows.Forms.HTMLUI.PreRenderDocumentEventHandler(this.htmluiControl1_PreRenderDocument);
            this.htmluiControl1.LoadFinished      += new System.EventHandler(this.htmluiControl1_LoadFinished);
            //
            // fontListBox1
            //
            this.fontListBox1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.fontListBox1.ItemHeight            = 15;
            this.fontListBox1.Location              = new System.Drawing.Point(248, 80);
            this.fontListBox1.MetroColor            = System.Drawing.Color.Empty;
            this.fontListBox1.Name                  = "fontListBox1";
            metroColorTable1.ArrowChecked           = System.Drawing.Color.Black;
            metroColorTable1.ArrowNormal            = System.Drawing.Color.White;
            metroColorTable1.ArrowNormal            = System.Drawing.Color.Gray;
            metroColorTable1.ArrowPushed            = System.Drawing.Color.Black;
            metroColorTable1.ScrollerBackground     = System.Drawing.Color.White;
            metroColorTable1.ThumbChecked           = System.Drawing.Color.Black;
            metroColorTable1.ThumbNormal            = System.Drawing.Color.White;
            metroColorTable1.ThumbNormal            = System.Drawing.Color.Gray;
            metroColorTable1.ThumbPushed            = System.Drawing.Color.Black;
            this.fontListBox1.ScrollMetroColorTable = metroColorTable1;
            this.fontListBox1.Size                  = new System.Drawing.Size(120, 92);
            this.fontListBox1.TabIndex              = 4;
            this.fontListBox1.VisualStyle           = Syncfusion.Windows.Forms.Tools.FontListBox.FontListBoxStyle.Metro;
            //
            // dataGrid1
            //
            this.dataGrid1.AccessibleName = "DataGrid";
            this.dataGrid1.AccessibleRole = System.Windows.Forms.AccessibleRole.Table;
            this.dataGrid1.DataMember     = "";
            this.dataGrid1.ColumnHeadersDefaultCellStyle.ForeColor = System.Drawing.SystemColors.ControlText;
            this.dataGrid1.Location = new System.Drawing.Point(8, 176);
            this.dataGrid1.Name     = "dataGrid1";
            this.dataGrid1.Size     = new System.Drawing.Size(204, 144);
            this.dataGrid1.TabIndex = 2;
            this.toolTip1.SetToolTip(this.dataGrid1, "This is a DataGrid control inside HTMLUI");
            //
            // monthCalendar1
            //
            this.monthCalendar1.BorderColor           = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(211)))), ((int)(((byte)(212)))));
            this.monthCalendar1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.monthCalendar1.BottomHeight          = 25;
            this.monthCalendar1.Culture               = new System.Globalization.CultureInfo("");
            this.monthCalendar1.DayNamesColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.DayNamesFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
            this.monthCalendar1.DaysFont              = new System.Drawing.Font("Verdana", 8F);
            this.monthCalendar1.DaysHeaderInterior    = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
            this.monthCalendar1.GridLines             = Syncfusion.Windows.Forms.Grid.GridBorderStyle.None;
            this.monthCalendar1.HeaderHeight          = 34;
            this.monthCalendar1.HeaderStartColor      = System.Drawing.Color.White;
            this.monthCalendar1.HighlightColor        = System.Drawing.Color.Black;
            this.monthCalendar1.Iso8601CalenderFormat = false;
            this.monthCalendar1.Location              = new System.Drawing.Point(56, 8);
            this.monthCalendar1.MetroColor            = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.Name             = "monthCalendar1";
            this.monthCalendar1.ScrollButtonSize = new System.Drawing.Size(24, 24);
            this.monthCalendar1.SelectedDates    = new System.DateTime[] {
                new System.DateTime(2013, 12, 9, 0, 0, 0, 0),
                new System.DateTime(2013, 12, 9, 0, 0, 0, 0)
            };
            this.monthCalendar1.Size         = new System.Drawing.Size(213, 183);
            this.monthCalendar1.Style        = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.monthCalendar1.TabIndex     = 1;
            this.monthCalendar1.WeekFont     = new System.Drawing.Font("Verdana", 8F);
            this.monthCalendar1.WeekInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.PeachPuff, System.Drawing.Color.AntiqueWhite);
            //
            //
            //
            this.monthCalendar1.NoneButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.monthCalendar1.NoneButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.NoneButton.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.monthCalendar1.NoneButton.ForeColor         = System.Drawing.Color.White;
            this.monthCalendar1.NoneButton.IsBackStageButton = false;
            this.monthCalendar1.NoneButton.Location          = new System.Drawing.Point(141, 0);
            this.monthCalendar1.NoneButton.Size              = new System.Drawing.Size(72, 25);
            this.monthCalendar1.NoneButton.Text              = "None";
            this.monthCalendar1.NoneButton.UseVisualStyle    = true;
            //
            //
            //
            this.monthCalendar1.TodayButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.monthCalendar1.TodayButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.TodayButton.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.monthCalendar1.TodayButton.ForeColor         = System.Drawing.Color.White;
            this.monthCalendar1.TodayButton.IsBackStageButton = false;
            this.monthCalendar1.TodayButton.Location          = new System.Drawing.Point(0, 0);
            this.monthCalendar1.TodayButton.Size              = new System.Drawing.Size(141, 25);
            this.monthCalendar1.TodayButton.Text              = "Today";
            this.monthCalendar1.TodayButton.UseVisualStyle    = true;
            //
            // calculatorControl1
            //
            this.calculatorControl1.AccessibleDescription = "Calculator control";
            this.calculatorControl1.AccessibleName        = "Calculator Control";
            this.calculatorControl1.BorderStyle           = System.Windows.Forms.Border3DStyle.Flat;
            this.calculatorControl1.ButtonStyle           = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.calculatorControl1.Culture        = new System.Globalization.CultureInfo("en-US");
            this.calculatorControl1.DoubleValue    = 0;
            this.calculatorControl1.ForeColor      = System.Drawing.SystemColors.ControlText;
            this.calculatorControl1.Location       = new System.Drawing.Point(208, 0);
            this.calculatorControl1.MetroColor     = System.Drawing.SystemColors.Control;
            this.calculatorControl1.Name           = "calculatorControl1";
            this.calculatorControl1.RightToLeft    = System.Windows.Forms.RightToLeft.No;
            this.calculatorControl1.Size           = new System.Drawing.Size(250, 300);
            this.calculatorControl1.TabIndex       = 3;
            this.calculatorControl1.Text           = "calculatorControl1";
            this.calculatorControl1.UseVisualStyle = true;
            //
            // imageList1
            //
            this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
            this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            //
            // panel1
            //
            this.panel1.BackColor   = System.Drawing.Color.White;
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.button2);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(10, 42);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(639, 48);
            this.panel1.TabIndex = 1;
            //
            // button2
            //
            this.button2.Anchor                  = System.Windows.Forms.AnchorStyles.None;
            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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.ForeColor               = System.Drawing.Color.White;
            this.button2.IsBackStageButton       = false;
            this.button2.Location                = new System.Drawing.Point(378, 6);
            this.button2.Name                    = "button2";
            this.button2.Size                    = new System.Drawing.Size(138, 30);
            this.button2.TabIndex                = 1;
            this.button2.Text                    = "Load Custom Page2";
            this.button2.UseVisualStyle          = true;
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click                  += new System.EventHandler(this.button2_Click);
            //
            // button1
            //
            this.button1.Anchor                  = System.Windows.Forms.AnchorStyles.None;
            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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor               = System.Drawing.Color.White;
            this.button1.IsBackStageButton       = false;
            this.button1.Location                = new System.Drawing.Point(114, 6);
            this.button1.Name                    = "button1";
            this.button1.Size                    = new System.Drawing.Size(152, 31);
            this.button1.TabIndex                = 0;
            this.button1.Text                    = "Load Custom Page1";
            this.button1.UseVisualStyle          = true;
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click                  += new System.EventHandler(this.button1_Click);
            //
            // 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("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.parentBarItem2,
                this.barItem2
            });
            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 = "menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            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.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                 = "Exit";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Exit";
            this.barItem1.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "View";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                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.Text = "View";
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 1;
            this.barItem2.ID                 = "HTML";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "HTML";
            this.barItem2.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // 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.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gradientPanel1.Controls.Add(this.htmluiControl1);
            this.gradientPanel1.Location = new System.Drawing.Point(10, 93);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(639, 318);
            this.gradientPanel1.TabIndex = 4;
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor         = System.Drawing.Color.White;
            this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.ClientSize        = new System.Drawing.Size(659, 415);
            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(671, 451);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Custom Controls";
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
            this.htmluiControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.monthCalendar1)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
コード例 #5
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();
     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.panel1         = new System.Windows.Forms.Panel();
     this.panel2         = new System.Windows.Forms.Panel();
     this.panel3         = new System.Windows.Forms.Panel();
     this.button3        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox2       = new System.Windows.Forms.TextBox();
     this.label4         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.button2        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox1       = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoRunScripts                = true;
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(607, 234);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.htmluiControl1.Location  = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name      = "htmluiControl1";
     this.htmluiControl1.ShowTitle = false;
     this.htmluiControl1.Size      = new System.Drawing.Size(624, 249);
     this.htmluiControl1.TabIndex  = 0;
     this.htmluiControl1.Text      = "<html/>";
     //
     // 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.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.label1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor   = System.Drawing.Color.Black;
     this.label1.Location    = new System.Drawing.Point(10, 10);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(625, 24);
     this.label1.TabIndex    = 1;
     this.label1.Text        = "Essential HTMLUI supports Cascading Style Sheets";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.htmluiControl1);
     this.panel1.Location = new System.Drawing.Point(10, 194);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(626, 251);
     this.panel1.TabIndex = 7;
     //
     // 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.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Location = new System.Drawing.Point(10, 32);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(625, 144);
     this.panel2.TabIndex = 8;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.button3);
     this.panel3.Controls.Add(this.textBox2);
     this.panel3.Controls.Add(this.label4);
     this.panel3.Controls.Add(this.label3);
     this.panel3.Controls.Add(this.button2);
     this.panel3.Controls.Add(this.button1);
     this.panel3.Controls.Add(this.textBox1);
     this.panel3.Controls.Add(this.label2);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(623, 142);
     this.panel3.TabIndex = 9;
     //
     // button3
     //
     this.button3.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor  = System.Drawing.Color.Black;
     this.button3.Location   = new System.Drawing.Point(463, 26);
     this.button3.Name       = "button3";
     this.button3.Size       = new System.Drawing.Size(136, 24);
     this.button3.TabIndex   = 17;
     this.button3.Text       = "Apply Modified Style";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // textBox2
     //
     this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox2.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location = new System.Drawing.Point(112, 60);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(495, 22);
     this.textBox2.TabIndex = 16;
     //
     // label4
     //
     this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label4.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.Black;
     this.label4.Location  = new System.Drawing.Point(22, 60);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(84, 16);
     this.label4.TabIndex  = 15;
     this.label4.Text      = "Style";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Black;
     this.label3.Location  = new System.Drawing.Point(16, 100);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 16);
     this.label3.TabIndex  = 14;
     this.label3.Text      = "Navigate";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // 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.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.Location   = new System.Drawing.Point(471, 94);
     this.button2.Name       = "button2";
     this.button2.Size       = new System.Drawing.Size(96, 24);
     this.button2.TabIndex   = 13;
     this.button2.Text       = "Next >>";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // 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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor  = System.Drawing.Color.Black;
     this.button1.Location   = new System.Drawing.Point(128, 94);
     this.button1.Name       = "button1";
     this.button1.Size       = new System.Drawing.Size(96, 24);
     this.button1.TabIndex   = 12;
     this.button1.Text       = "<< Previous";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location = new System.Drawing.Point(112, 28);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(335, 22);
     this.textBox1.TabIndex = 11;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(22, 28);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(84, 16);
     this.label2.TabIndex  = 10;
     this.label2.Text      = "CSS Attribute";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     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(645, 461);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     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.ForeColor        = System.Drawing.Color.Maroon;
     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(657, 497);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "CSS Binding";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #6
0
ファイル: Form1.cs プロジェクト: pizsa44/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();
     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.panel2         = new System.Windows.Forms.Panel();
     this.panel3         = new System.Windows.Forms.Panel();
     this.label2         = new System.Windows.Forms.Label();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.checkBox1      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(315, 316);
     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(332, 331);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     this.htmluiControl1.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.htmluiControl1_KeyDown);
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.checkBox1);
     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(198, 333);
     this.panel1.TabIndex = 1;
     this.panel1.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.LightGray;
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Location = new System.Drawing.Point(8, 24);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(120, 120);
     this.panel2.TabIndex = 3;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.label2);
     this.panel3.Controls.Add(this.button1);
     this.panel3.Controls.Add(this.button2);
     this.panel3.Location = new System.Drawing.Point(2, 2);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(116, 116);
     this.panel3.TabIndex = 5;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(-2, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(120, 24);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Print Document";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // 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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor  = System.Drawing.Color.White;
     this.button1.Location   = new System.Drawing.Point(6, 38);
     this.button1.Name       = "button1";
     this.button1.Size       = new System.Drawing.Size(104, 28);
     this.button1.TabIndex   = 4;
     this.button1.Text       = "Print";
     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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor  = System.Drawing.Color.White;
     this.button2.Location   = new System.Drawing.Point(6, 72);
     this.button2.Name       = "button2";
     this.button2.Size       = new System.Drawing.Size(104, 32);
     this.button2.TabIndex   = 5;
     this.button2.Text       = "Print Preview";
     this.button2.Click     += new System.EventHandler(this.button2_Click);
     //
     // checkBox1
     //
     this.checkBox1.Checked            = true;
     this.checkBox1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.DrawFocusRectangle = false;
     this.checkBox1.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.ForeColor       = System.Drawing.Color.Black;
     this.checkBox1.Location        = new System.Drawing.Point(16, 176);
     this.checkBox1.MetroColor      = System.Drawing.Color.Gray;
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(112, 64);
     this.checkBox1.Style           = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.TabIndex        = 6;
     this.checkBox1.Text            = "Enable \'Ctrl+P\' shortcut for printing";
     this.checkBox1.ThemesEnabled   = false;
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // 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(208, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(334, 333);
     this.gradientPanel1.TabIndex = 2;
     //
     // 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(552, 353);
     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(564, 389);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Export Demo";
     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.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #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();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.htmluiControl1       = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
            this.contextMenu1         = new System.Windows.Forms.ContextMenuStrip();
            this.menuItem9            = new System.Windows.Forms.ToolStripMenuItem();
            this.panel1               = new System.Windows.Forms.Panel();
            this.panel8               = new System.Windows.Forms.Panel();
            this.button6              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button1              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.textBox1             = new System.Windows.Forms.TextBox();
            this.button5              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button4              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button3              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button2              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.panel2               = new System.Windows.Forms.Panel();
            this.panel6               = new System.Windows.Forms.Panel();
            this.button7              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.panel7               = new System.Windows.Forms.Panel();
            this.pictureBox2          = new System.Windows.Forms.PictureBox();
            this.panel4               = new System.Windows.Forms.Panel();
            this.panel5               = new System.Windows.Forms.Panel();
            this.pictureBox1          = new System.Windows.Forms.PictureBox();
            this.panel3               = new System.Windows.Forms.Panel();
            this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
            this.saveFileDialog1      = new System.Windows.Forms.SaveFileDialog();
            this.openFileDialog1      = 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, "HTMLUIChat");
            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.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
            this.panel1.SuspendLayout();
            this.panel8.SuspendLayout();
            this.panel2.SuspendLayout();
            this.panel6.SuspendLayout();
            this.panel7.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            this.panel4.SuspendLayout();
            this.panel5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // htmluiControl1
            //
            this.htmluiControl1.AutoScroll                    = true;
            this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(376, 277);
            this.htmluiControl1.ContextMenuStrip              = this.contextMenu1;
            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(393, 292);
            this.htmluiControl1.TabIndex  = 0;
            this.htmluiControl1.Text      = resources.GetString("htmluiControl1.Text");
            this.toolTip1.SetToolTip(this.htmluiControl1, "HTMLUI Control");
            this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
            //
            // contextMenu1
            //
            this.contextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] {
                this.menuItem9
            });
            //
            // menuItem9
            //
            this.menuItem9.MergeIndex = 0;
            this.menuItem9.Text       = "Copy";
            this.menuItem9.Click     += new System.EventHandler(this.menuItem9_Click);
            //
            // panel1
            //
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.panel1.BackColor   = System.Drawing.Color.White;
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.panel8);
            this.panel1.Controls.Add(this.button5);
            this.panel1.Controls.Add(this.button4);
            this.panel1.Controls.Add(this.button3);
            this.panel1.Controls.Add(this.button2);
            this.panel1.ForeColor = System.Drawing.SystemColors.ControlText;
            this.panel1.Location  = new System.Drawing.Point(7, 338);
            this.panel1.Name      = "panel1";
            this.panel1.Size      = new System.Drawing.Size(395, 129);
            this.panel1.TabIndex  = 1;
            //
            // panel8
            //
            this.panel8.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.panel8.BackColor   = System.Drawing.Color.White;
            this.panel8.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel8.Controls.Add(this.button6);
            this.panel8.Controls.Add(this.button1);
            this.panel8.Controls.Add(this.textBox1);
            this.panel8.Location = new System.Drawing.Point(8, 38);
            this.panel8.Name     = "panel8";
            this.panel8.Size     = new System.Drawing.Size(369, 81);
            this.panel8.TabIndex = 6;
            //
            // button6
            //
            this.button6.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
            this.button6.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button6.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button6.FlatStyle  = System.Windows.Forms.FlatStyle.System;
            this.button6.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button6.ForeColor  = System.Drawing.SystemColors.ControlText;
            this.button6.Image      = ((System.Drawing.Image)(resources.GetObject("button6.Image")));
            this.button6.Location   = new System.Drawing.Point(311, 55);
            this.button6.Name       = "button6";
            this.button6.Size       = new System.Drawing.Size(48, 20);
            this.button6.TabIndex   = 2;
            this.button6.Text       = "Search";
            this.toolTip1.SetToolTip(this.button6, "Search for text");
            this.button6.UseVisualStyleBackColor = false;
            this.button6.Click += new System.EventHandler(this.button6_Click);
            //
            // button1
            //
            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
            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.Enabled    = false;
            this.button1.FlatStyle  = System.Windows.Forms.FlatStyle.System;
            this.button1.Font       = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor  = System.Drawing.SystemColors.ControlText;
            this.button1.Image      = ((System.Drawing.Image)(resources.GetObject("button1.Image")));
            this.button1.Location   = new System.Drawing.Point(311, 8);
            this.button1.Name       = "button1";
            this.button1.Size       = new System.Drawing.Size(48, 39);
            this.button1.TabIndex   = 1;
            this.button1.Text       = "Send";
            this.toolTip1.SetToolTip(this.button1, "Send Message");
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            //
            // textBox1
            //
            this.textBox1.BorderStyle  = System.Windows.Forms.BorderStyle.None;
            this.textBox1.Dock         = System.Windows.Forms.DockStyle.Left;
            this.textBox1.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
            this.textBox1.Location     = new System.Drawing.Point(0, 0);
            this.textBox1.Multiline    = true;
            this.textBox1.Name         = "textBox1";
            this.textBox1.Size         = new System.Drawing.Size(256, 79);
            this.textBox1.TabIndex     = 0;
            this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
            this.textBox1.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
            //
            // button5
            //
            this.button5.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.button5.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button5.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button5.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
            this.button5.Image      = ((System.Drawing.Image)(resources.GetObject("button5.Image")));
            this.button5.Location   = new System.Drawing.Point(152, 6);
            this.button5.Name       = "button5";
            this.button5.Size       = new System.Drawing.Size(32, 24);
            this.button5.TabIndex   = 5;
            this.toolTip1.SetToolTip(this.button5, "Cry");
            this.button5.UseVisualStyleBackColor = false;
            this.button5.Click += new System.EventHandler(this.button5_Click);
            //
            // button4
            //
            this.button4.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.button4.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button4.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button4.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
            this.button4.Image      = ((System.Drawing.Image)(resources.GetObject("button4.Image")));
            this.button4.Location   = new System.Drawing.Point(104, 6);
            this.button4.Name       = "button4";
            this.button4.Size       = new System.Drawing.Size(32, 24);
            this.button4.TabIndex   = 4;
            this.toolTip1.SetToolTip(this.button4, "bye");
            this.button4.UseVisualStyleBackColor = false;
            this.button4.Click += new System.EventHandler(this.button4_Click);
            //
            // button3
            //
            this.button3.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            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.Popup;
            this.button3.Image      = ((System.Drawing.Image)(resources.GetObject("button3.Image")));
            this.button3.Location   = new System.Drawing.Point(56, 6);
            this.button3.Name       = "button3";
            this.button3.Size       = new System.Drawing.Size(32, 24);
            this.button3.TabIndex   = 3;
            this.toolTip1.SetToolTip(this.button3, "broad smile");
            this.button3.UseVisualStyleBackColor = false;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            //
            // button2
            //
            this.button2.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            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.Popup;
            this.button2.Image      = ((System.Drawing.Image)(resources.GetObject("button2.Image")));
            this.button2.Location   = new System.Drawing.Point(8, 6);
            this.button2.Name       = "button2";
            this.button2.Size       = new System.Drawing.Size(32, 24);
            this.button2.TabIndex   = 2;
            this.toolTip1.SetToolTip(this.button2, "smile");
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            //
            // panel2
            //
            this.panel2.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(229)))), ((int)(((byte)(245)))));
            this.panel2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("panel2.BackgroundImage")));
            this.panel2.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel2.Controls.Add(this.panel6);
            this.panel2.Controls.Add(this.panel4);
            this.panel2.Dock     = System.Windows.Forms.DockStyle.Right;
            this.panel2.ImeMode  = System.Windows.Forms.ImeMode.Off;
            this.panel2.Location = new System.Drawing.Point(405, 39);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new System.Drawing.Size(128, 426);
            this.panel2.TabIndex = 2;
            //
            // panel6
            //
            this.panel6.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.panel6.BackColor = System.Drawing.Color.AliceBlue;
            this.panel6.Controls.Add(this.button7);
            this.panel6.Controls.Add(this.panel7);
            this.panel6.Location = new System.Drawing.Point(6, 290);
            this.panel6.Name     = "panel6";
            this.panel6.Size     = new System.Drawing.Size(112, 120);
            this.panel6.TabIndex = 1;
            //
            // button7
            //
            this.button7.BackColor  = System.Drawing.Color.AliceBlue;
            this.button7.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
            this.button7.Font       = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button7.ForeColor  = System.Drawing.Color.AliceBlue;
            this.button7.ImageIndex = 5;
            this.button7.ImageList  = this.imageList1;
            this.button7.Location   = new System.Drawing.Point(72, 104);
            this.button7.Name       = "button7";
            this.button7.Size       = new System.Drawing.Size(32, 15);
            this.button7.TabIndex   = 1;
            this.button7.Text       = "...";
            this.button7.TextAlign  = System.Drawing.ContentAlignment.BottomCenter;
            this.toolTip1.SetToolTip(this.button7, "Change the display picture");
            this.button7.UseVisualStyleBackColor = false;
            this.button7.Click += new System.EventHandler(this.button7_Click);
            //
            // 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, "");
            //
            // panel7
            //
            this.panel7.BackColor = System.Drawing.Color.White;
            this.panel7.Controls.Add(this.pictureBox2);
            this.panel7.ForeColor = System.Drawing.Color.Honeydew;
            this.panel7.Location  = new System.Drawing.Point(8, 8);
            this.panel7.Name      = "panel7";
            this.panel7.Size      = new System.Drawing.Size(96, 96);
            this.panel7.TabIndex  = 0;
            //
            // pictureBox2
            //
            this.pictureBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox2.Location = new System.Drawing.Point(0, 0);
            this.pictureBox2.Name     = "pictureBox2";
            this.pictureBox2.Size     = new System.Drawing.Size(96, 96);
            this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox2.TabIndex = 0;
            this.pictureBox2.TabStop  = false;
            //
            // panel4
            //
            this.panel4.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.panel4.BackColor = System.Drawing.Color.AliceBlue;
            this.panel4.Controls.Add(this.panel5);
            this.panel4.Location = new System.Drawing.Point(6, 16);
            this.panel4.Name     = "panel4";
            this.panel4.Size     = new System.Drawing.Size(112, 120);
            this.panel4.TabIndex = 0;
            //
            // panel5
            //
            this.panel5.BackColor = System.Drawing.Color.White;
            this.panel5.Controls.Add(this.pictureBox1);
            this.panel5.ForeColor = System.Drawing.Color.Honeydew;
            this.panel5.Location  = new System.Drawing.Point(8, 8);
            this.panel5.Name      = "panel5";
            this.panel5.Size      = new System.Drawing.Size(96, 96);
            this.panel5.TabIndex  = 0;
            //
            // pictureBox1
            //
            this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.pictureBox1.Location = new System.Drawing.Point(0, 0);
            this.pictureBox1.Name     = "pictureBox1";
            this.pictureBox1.Size     = new System.Drawing.Size(96, 96);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex = 0;
            this.pictureBox1.TabStop  = false;
            //
            // panel3
            //
            this.panel3.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.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel3.Controls.Add(this.htmluiControl1);
            this.panel3.Location = new System.Drawing.Point(7, 39);
            this.panel3.Name     = "panel3";
            this.panel3.Size     = new System.Drawing.Size(395, 294);
            this.panel3.TabIndex = 3;
            //
            // saveFileDialog1
            //
            this.saveFileDialog1.FileName = "Conversation1";
            this.saveFileDialog1.Title    = "Save the conversation";
            //
            // openFileDialog1
            //
            this.openFileDialog1.CheckFileExists  = false;
            this.openFileDialog1.CheckPathExists  = false;
            this.openFileDialog1.RestoreDirectory = true;
            //
            // 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("Option");
            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.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2
            });
            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 = "HTMLUIChat";
            this.bar1.Caption = "HTMLUIChat";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            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.barItem3,
                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 = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New Chat Window";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New Chat Window";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Save this conversation";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Save this conversation";
            this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Open old conversation";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Open old conversation";
            this.barItem3.Click             += new System.EventHandler(this.menuItem4_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Exit";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Exit";
            this.barItem4.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "Options";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem5,
                this.barItem6
            });
            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 = "Options";
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 1;
            this.barItem5.ID                 = "Change display picture";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Change display picture";
            this.barItem5.Click             += new System.EventHandler(this.menuItem7_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 1;
            this.barItem6.ID                 = "ChangeBackGround";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "ChangeBackGround";
            this.barItem6.Click             += new System.EventHandler(this.menuItem8_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor         = System.Drawing.Color.White;
            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(543, 475);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.panel2);
            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(555, 511);
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "HTMLUI Chat";
            this.Load            += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel8.ResumeLayout(false);
            this.panel8.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.panel6.ResumeLayout(false);
            this.panel7.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            this.panel4.ResumeLayout(false);
            this.panel5.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.panel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #8
0
ファイル: Form1.cs プロジェクト: zuozhu315/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();
     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.textBox1       = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.comboBox1      = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.button2        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.listView1      = new System.Windows.Forms.ListView();
     this.columnHeader1  = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2  = new System.Windows.Forms.ColumnHeader();
     this.richTextBox1   = new System.Windows.Forms.RichTextBox();
     this.panel2         = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(352, 370);
     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(369, 385);
     this.htmluiControl1.TabIndex = 4;
     this.htmluiControl1.Text     = resources.GetString("htmluiControl1.Text");
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.comboBox1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.button2);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.listView1);
     this.panel1.Location = new System.Drawing.Point(387, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(269, 387);
     this.panel1.TabIndex = 3;
     //
     // textBox1
     //
     this.textBox1.BackColor   = System.Drawing.SystemColors.ButtonHighlight;
     this.textBox1.BorderColor = System.Drawing.Color.Gray;
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox1.Cursor      = System.Windows.Forms.Cursors.IBeam;
     this.textBox1.Location    = new System.Drawing.Point(8, 184);
     this.textBox1.Metrocolor  = System.Drawing.Color.Gray;
     this.textBox1.Name        = "textBox1";
     this.textBox1.ReadOnly    = false;
     this.textBox1.Size        = new System.Drawing.Size(200, 20);
     this.textBox1.Style       = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro;
     this.textBox1.TabIndex    = 24;
     this.textBox1.Text        = "System.Windows.Forms";
     //
     // comboBox1
     //
     this.comboBox1.BackColor     = System.Drawing.Color.White;
     this.comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
     this.comboBox1.Items.AddRange(new object[] {
         "HScrollBar",
         "CheckBox",
         "DataGrid",
         "TabControl",
         "ListBox",
         "RadioButton"
     });
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "HScrollBar"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "CheckBox"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "DataGrid"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "TabControl"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "ListBox"));
     this.comboBox1.ItemsImageIndexes.Add(new Syncfusion.Windows.Forms.Tools.ComboBoxAdv.ImageIndexItem(this.comboBox1, "RadioButton"));
     this.comboBox1.Location = new System.Drawing.Point(8, 232);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(200, 21);
     this.comboBox1.Style    = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox1.TabIndex = 23;
     this.comboBox1.Text     = "Button";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.label2.Font      = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(8, 160);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(200, 16);
     this.label2.TabIndex  = 21;
     this.label2.Text      = "Assembly Name";
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Arial", 9F, 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, 208);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(200, 16);
     this.label1.TabIndex  = 20;
     this.label1.Text      = "Class Name";
     //
     // 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.Enabled                 = false;
     this.button2.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Font                    = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor               = System.Drawing.Color.White;
     this.button2.Location                = new System.Drawing.Point(56, 128);
     this.button2.Name                    = "button2";
     this.button2.Size                    = new System.Drawing.Size(96, 24);
     this.button2.TabIndex                = 18;
     this.button2.Text                    = "Delete";
     this.button2.UseVisualStyle          = true;
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click                  += new System.EventHandler(this.button2_Click);
     //
     // 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", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.Location                = new System.Drawing.Point(64, 264);
     this.button1.Name                    = "button1";
     this.button1.Size                    = new System.Drawing.Size(104, 24);
     this.button1.TabIndex                = 17;
     this.button1.Text                    = "Add";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // listView1
     //
     this.listView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.listView1.BackColor = System.Drawing.Color.White;
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2
     });
     this.listView1.Font          = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listView1.FullRowSelect = true;
     this.listView1.Location      = new System.Drawing.Point(7, 8);
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(254, 113);
     this.listView1.TabIndex      = 15;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.Details;
     this.listView1.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Class Name";
     this.columnHeader1.Width = 86;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Assembly";
     this.columnHeader2.Width = 188;
     //
     // richTextBox1
     //
     this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.richTextBox1.BackColor   = System.Drawing.Color.White;
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.richTextBox1.Font        = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.richTextBox1.Location    = new System.Drawing.Point(10, 397);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.Size        = new System.Drawing.Size(646, 80);
     this.richTextBox1.TabIndex    = 7;
     this.richTextBox1.Text        = "";
     //
     // panel2
     //
     this.panel2.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.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.htmluiControl1);
     this.panel2.Location = new System.Drawing.Point(10, 10);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(371, 387);
     this.panel2.TabIndex = 8;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     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(666, 485);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.richTextBox1);
     this.Controls.Add(this.panel1);
     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(678, 521);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Controls creation";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     this.panel2.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.htmluiControl1 = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.panel1         = new System.Windows.Forms.Panel();
     this.label3         = new System.Windows.Forms.Label();
     this.panel2         = new System.Windows.Forms.Panel();
     this.checkBox1      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label1         = new System.Windows.Forms.Label();
     this.treeView1      = new System.Windows.Forms.TreeView();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.buttonAdv1     = new Syncfusion.Windows.Forms.ButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(496, 493);
     this.htmluiControl1.BorderStyle                   = System.Windows.Forms.BorderStyle.None;
     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.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.htmluiControl1.Location  = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name      = "htmluiControl1";
     this.htmluiControl1.ShowTitle = false;
     this.htmluiControl1.Size      = new System.Drawing.Size(513, 508);
     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.label3);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.treeView1);
     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, 519);
     this.panel1.TabIndex = 1;
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.BackColor = System.Drawing.Color.White;
     this.label3.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Black;
     this.label3.Location  = new System.Drawing.Point(8, 319);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(134, 28);
     this.label3.TabIndex  = 3;
     this.label3.Text      = "   Scroll Options";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel2
     //
     this.panel2.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.BackColor   = System.Drawing.Color.White;
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.buttonAdv1);
     this.panel2.Controls.Add(this.checkBox1);
     this.panel2.Controls.Add(this.button1);
     this.panel2.Location = new System.Drawing.Point(8, 347);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(134, 110);
     this.panel2.TabIndex = 2;
     //
     // checkBox1
     //
     this.checkBox1.BeforeTouchSize    = new System.Drawing.Size(120, 37);
     this.checkBox1.Checked            = true;
     this.checkBox1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.DrawFocusRectangle = false;
     this.checkBox1.ForeColor          = System.Drawing.Color.Black;
     this.checkBox1.Location           = new System.Drawing.Point(8, 74);
     this.checkBox1.MetroColor         = System.Drawing.Color.Silver;
     this.checkBox1.Name          = "checkBox1";
     this.checkBox1.Size          = new System.Drawing.Size(120, 37);
     this.checkBox1.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.TabIndex      = 4;
     this.checkBox1.Text          = "Enable AutoScroll";
     this.checkBox1.ThemesEnabled = false;
     this.checkBox1.Click        += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // 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(112, 28);
     this.button1.Font                    = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.Location                = new System.Drawing.Point(8, 39);
     this.button1.Name                    = "button1";
     this.button1.Size                    = new System.Drawing.Size(112, 28);
     this.button1.TabIndex                = 3;
     this.button1.Text                    = "Scroll To End";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location  = new System.Drawing.Point(0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(150, 24);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "    Scroll To Element";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // treeView1
     //
     this.treeView1.BackColor    = System.Drawing.Color.White;
     this.treeView1.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeView1.Location     = new System.Drawing.Point(8, 27);
     this.treeView1.Name         = "treeView1";
     this.treeView1.Size         = new System.Drawing.Size(134, 184);
     this.treeView1.TabIndex     = 0;
     this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
     //
     // 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.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Location = new System.Drawing.Point(168, 12);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(515, 510);
     this.gradientPanel1.TabIndex = 2;
     //
     // 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.BeforeTouchSize         = new System.Drawing.Size(112, 28);
     this.buttonAdv1.Font                    = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.buttonAdv1.ForeColor               = System.Drawing.Color.White;
     this.buttonAdv1.IsBackStageButton       = false;
     this.buttonAdv1.Location                = new System.Drawing.Point(8, 5);
     this.buttonAdv1.Name                    = "buttonAdv1";
     this.buttonAdv1.Size                    = new System.Drawing.Size(112, 28);
     this.buttonAdv1.TabIndex                = 6;
     this.buttonAdv1.Text                    = "Scroll To Top";
     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.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.ClientSize        = new System.Drawing.Size(696, 539);
     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(708, 498);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Scrollbars";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     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()
 {
     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.panel2         = new System.Windows.Forms.Panel();
     this.panel3         = new System.Windows.Forms.Panel();
     this.label3         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.panel4         = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(442, 427);
     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(459, 442);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     this.htmluiControl1.Paint        += new System.Windows.Forms.PaintEventHandler(this.htmluiControl1_Paint);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Font      = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
     this.panel1.Location  = new System.Drawing.Point(480, 10);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(168, 446);
     this.panel1.TabIndex  = 1;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Location = new System.Drawing.Point(8, 16);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(152, 256);
     this.panel2.TabIndex = 0;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.label3);
     this.panel3.Controls.Add(this.label2);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Location = new System.Drawing.Point(2, 2);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(148, 252);
     this.panel3.TabIndex = 0;
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.label3.Font      = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Maroon;
     this.label3.Location  = new System.Drawing.Point(2, 162);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(144, 88);
     this.label3.TabIndex  = 9;
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.label2.Font      = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Maroon;
     this.label2.Location  = new System.Drawing.Point(2, 70);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(144, 84);
     this.label2.TabIndex  = 8;
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.label1.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
     this.label1.Location  = new System.Drawing.Point(0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(148, 56);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "Click on the product descriptions to get their coordinates";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel4
     //
     this.panel4.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.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel4.Controls.Add(this.htmluiControl1);
     this.panel4.Location = new System.Drawing.Point(13, 10);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(461, 444);
     this.panel4.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.ClientSize        = new System.Drawing.Size(658, 467);
     this.Controls.Add(this.panel4);
     this.Controls.Add(this.panel1);
     this.DropShadow    = true;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(670, 503);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Element Coordinates";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #11
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.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "HTMLUITicTac");
            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.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.gradientPanel1.SuspendLayout();
            this.SuspendLayout();
            //
            // htmluiControl1
            //
            this.htmluiControl1.AutoScroll                    = true;
            this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(602, 365);
            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(619, 380);
            this.htmluiControl1.TabIndex      = 0;
            this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
            this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
            //
            // 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, "");
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("Game");
            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.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 = "HTMLUITicTac";
            this.bar1.Caption = "HTMLUITicTac";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "Game";
            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.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text  = "Game";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "Reset";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Reset";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_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.menuItem3_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "View";
            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.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem2.Text  = "View";
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 1;
            this.barItem3.ID                 = "HTML";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "HTML";
            this.barItem3.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // 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(10, 39);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(621, 382);
            this.gradientPanel1.TabIndex = 4;
            //
            // 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(641, 431);
            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.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(653, 467);
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "Tic Tac Toe";
            this.Load            += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
コード例 #12
0
ファイル: Form1.cs プロジェクト: zuozhu315/winforms-demos
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     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.panel4         = new System.Windows.Forms.Panel();
     this.label2         = new System.Windows.Forms.Label();
     this.radioButton2   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.panel2         = new System.Windows.Forms.Panel();
     this.label4         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(567, 340);
     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, 355);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.panel3);
     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(138, 475);
     this.panel1.TabIndex = 1;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.Silver;
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Location = new System.Drawing.Point(8, 24);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(120, 136);
     this.panel3.TabIndex = 2;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.White;
     this.panel4.Controls.Add(this.label2);
     this.panel4.Controls.Add(this.radioButton2);
     this.panel4.Controls.Add(this.radioButton1);
     this.panel4.Location = new System.Drawing.Point(2, 2);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(116, 132);
     this.panel4.TabIndex = 5;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(-2, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(120, 24);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Format style";
     this.label2.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.DrawFocusRectangle = false;
     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.Green;
     this.radioButton2.Location      = new System.Drawing.Point(4, 74);
     this.radioButton2.MetroColor    = System.Drawing.Color.Silver;
     this.radioButton2.Name          = "radioButton2";
     this.radioButton2.Size          = new System.Drawing.Size(108, 40);
     this.radioButton2.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton2.TabIndex      = 5;
     this.radioButton2.TabStop       = false;
     this.radioButton2.Text          = "Format green";
     this.radioButton2.ThemesEnabled = false;
     //
     // radioButton1
     //
     this.radioButton1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton1.Checked            = true;
     this.radioButton1.DrawFocusRectangle = false;
     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.Orange;
     this.radioButton1.Location      = new System.Drawing.Point(4, 34);
     this.radioButton1.MetroColor    = System.Drawing.Color.Silver;
     this.radioButton1.Name          = "radioButton1";
     this.radioButton1.Size          = new System.Drawing.Size(108, 42);
     this.radioButton1.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton1.TabIndex      = 4;
     this.radioButton1.Text          = "Format orange";
     this.radioButton1.ThemesEnabled = false;
     //
     // 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.label4);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Location = new System.Drawing.Point(149, 10);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(586, 112);
     this.panel2.TabIndex = 2;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.Black;
     this.label4.Location  = new System.Drawing.Point(8, 88);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(105, 15);
     this.label4.TabIndex  = 5;
     this.label4.Text      = "HTMLUI Output";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Black;
     this.label3.Location  = new System.Drawing.Point(8, 8);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(73, 15);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Style code";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.BackColor   = System.Drawing.Color.White;
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label1.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.label1.Font        = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor   = System.Drawing.Color.Maroon;
     this.label1.Location    = new System.Drawing.Point(16, 32);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(562, 48);
     this.label1.TabIndex    = 3;
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // 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.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Location = new System.Drawing.Point(149, 128);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(586, 357);
     this.gradientPanel1.TabIndex = 3;
     //
     // 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(745, 495);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.panel2);
     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(757, 531);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Formatting Demo";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #13
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.label1         = new System.Windows.Forms.Label();
     this.listView1      = new System.Windows.Forms.ListView();
     this.columnHeader1  = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.panel2         = new System.Windows.Forms.Panel();
     this.label3         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.button2        = new Syncfusion.Windows.Forms.ButtonAdv();
     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(495, 465);
     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(512, 480);
     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(168, 482);
     this.panel1.TabIndex = 1;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.button1);
     this.panel3.Controls.Add(this.label1);
     this.panel3.Controls.Add(this.listView1);
     this.panel3.Location = new System.Drawing.Point(8, 152);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(152, 200);
     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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor      = System.Drawing.Color.White;
     this.button1.Location       = new System.Drawing.Point(0, 176);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(152, 24);
     this.button1.TabIndex       = 12;
     this.button1.Text           = "Refresh";
     this.button1.UseVisualStyle = true;
     this.button1.Click         += new System.EventHandler(this.button1_Click);
     //
     // label1
     //
     this.label1.BackColor  = System.Drawing.Color.White;
     this.label1.Font       = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor  = System.Drawing.Color.Black;
     this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label1.Location   = new System.Drawing.Point(0, 0);
     this.label1.Name       = "label1";
     this.label1.Size       = new System.Drawing.Size(152, 24);
     this.label1.TabIndex   = 11;
     this.label1.Text       = "Selected Elements";
     this.label1.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // listView1
     //
     this.listView1.BackColor   = System.Drawing.Color.White;
     this.listView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1
     });
     this.listView1.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listView1.Location = new System.Drawing.Point(0, 24);
     this.listView1.Name     = "listView1";
     this.listView1.Size     = new System.Drawing.Size(152, 152);
     this.listView1.TabIndex = 10;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View = System.Windows.Forms.View.List;
     //
     // columnHeader1
     //
     this.columnHeader1.Width = 100;
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.button2);
     this.panel2.Location = new System.Drawing.Point(8, 18);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(152, 133);
     this.panel2.TabIndex = 5;
     //
     // label3
     //
     this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.BackColor = System.Drawing.Color.White;
     this.label3.Font      = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     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(152, 24);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "Text Options";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.label2.Location  = new System.Drawing.Point(32, 83);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 33);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "Copy Text (Ctrl+C)";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // 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", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor      = System.Drawing.Color.White;
     this.button2.Location       = new System.Drawing.Point(8, 40);
     this.button2.Name           = "button2";
     this.button2.Size           = new System.Drawing.Size(136, 24);
     this.button2.TabIndex       = 2;
     this.button2.Text           = "Search Text (Ctrl+F)";
     this.button2.UseVisualStyle = true;
     this.button2.Click         += new System.EventHandler(this.button2_Click);
     //
     // 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.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Location = new System.Drawing.Point(184, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(514, 482);
     this.gradientPanel1.TabIndex = 2;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.Color.White;
     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(711, 502);
     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(723, 538);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Text Selection";
     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);
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }