Пример #1
0
 private void SetTheme(Office2007Theme theme, int r, int g, int b, int r1, int g1, int b1)
 {
     foreach (BarItem i in this.visualStyleParentBarItem.Items)
     {
         i.Checked = false;
     }
     this.office2016ParentBarItem.Checked      = true;
     this.calculatorControl1.ButtonStyle       = ButtonAppearance.Office2007;
     this.calculatorControl1.Office2007Theme   = theme;
     this.mainFrameBarManager1.Style           = VisualStyle.Office2007;
     this.mainFrameBarManager1.Office2007Theme = theme;
     this.gradientPanel1.BackgroundColor       = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
     this.calculatorControl1.BackgroundColor   = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
     foreach (Control c in this.gradientPanel1.Controls)
     {
         if (c is GradientPanel)
         {
             GradientPanel panel = c as GradientPanel;
             panel.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
             panel.BorderColor     = Color.FromArgb(r, g, b);
         }
         else if (c is GradientLabel)
         {
             GradientLabel label = c as GradientLabel;
             label.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
         }
     }
 }
Пример #2
0
        private void WrapByGradientPanel(Control control)
        {
            if (control.Parent is GradientPanel)
            {
                return;     // no need to apply it twice
            }

            // it seems there is no way to set decent looking border for TabControlAdv
            // so let's insert gradient panel
            var panel = new GradientPanel
            {
                BorderColor = Color.LightGray,
                BorderStyle = BorderStyle.FixedSingle,
                Anchor      = control.Anchor,
                Dock        = control.Dock
            };

            if (panel.Dock == DockStyle.Fill)
            {
                panel.BringToFront();
            }

            panel.MakeSameSize(control);

            if (control.Parent != null)
            {
                control.Parent.Controls.Add(panel);
                control.Parent.Controls.Remove(control);
            }

            panel.Controls.Add(control);
            control.Dock = DockStyle.Fill;
        }
 //constructor
 public Admin(string img)
 {
     InitializeComponent();
     AControl.SetInitial(this);
     leftborderBtn      = new GradientPanel();
     leftborderBtn.Size = new Size(4, 45);
     gradientPanel1.Controls.Add(leftborderBtn);
     br.Text = img;
     br.Hide();
 }
Пример #4
0
 private void SetTheme(int r, int g, int b, int r1, int g1, int b1)
 {
     foreach (Control c in this.gradientPanel1.Controls)
     {
         if (c is GradientPanel)
         {
             GradientPanel panel = c as GradientPanel;
             panel.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
             panel.BorderColor     = Color.FromArgb(r, g, b);
         }
         else if (c is GradientLabel)
         {
             GradientLabel label = c as GradientLabel;
             label.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
         }
     }
     this.gradientPanel1.BackgroundColor     = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
     this.calculatorControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((System.Byte)(r1)), ((System.Byte)(g1)), ((System.Byte)(b1))), System.Drawing.Color.FromArgb(((System.Byte)(r)), ((System.Byte)(g)), ((System.Byte)(b))));
     foreach (BarItem i in this.office2016ParentBarItem.Items)
     {
         i.Checked = false;
     }
 }
Пример #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     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);
 }
Пример #6
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.statusBar1         = new Syncfusion.Windows.Forms.Tools.StatusBarAdv();
     this.statusBarAdvPanel1 = new Syncfusion.Windows.Forms.Tools.StatusBarAdvPanel();
     this.panel1             = new System.Windows.Forms.Panel();
     this.checkBox4          = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox3          = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox2          = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.htmluiControl1     = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.gradientPanel1     = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.label1             = new System.Windows.Forms.Label();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.statusBar1)).BeginInit();
     this.statusBar1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.BeforeTouchSize = new System.Drawing.Size(764, 24);
     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, 446);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Padding  = new System.Windows.Forms.Padding(3);
     this.statusBar1.Size     = new System.Drawing.Size(764, 24);
     this.statusBar1.Spacing  = new System.Drawing.Size(2, 2);
     this.statusBar1.TabIndex = 0;
     this.statusBar1.Text     = "Ready";
     //
     // statusBarAdvPanel1
     //
     this.statusBarAdvPanel1.BeforeTouchSize = new System.Drawing.Size(219, 16);
     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(219, 16);
     this.statusBarAdvPanel1.TabIndex        = 0;
     this.statusBarAdvPanel1.Text            = "Load succeeded.";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.checkBox4);
     this.panel1.Controls.Add(this.checkBox3);
     this.panel1.Controls.Add(this.checkBox2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(3, 21);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(309, 367);
     this.panel1.TabIndex = 4;
     //
     // checkBox4
     //
     this.checkBox4.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox4.Checked            = true;
     this.checkBox4.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox4.DrawFocusRectangle = false;
     this.checkBox4.ForeColor          = System.Drawing.Color.Black;
     this.checkBox4.Location           = new System.Drawing.Point(16, 41);
     this.checkBox4.MetroColor         = System.Drawing.Color.DarkGray;
     this.checkBox4.Name            = "checkBox4";
     this.checkBox4.Size            = new System.Drawing.Size(185, 48);
     this.checkBox4.Style           = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox4.TabIndex        = 3;
     this.checkBox4.Text            = "Load document without BackColor specified";
     this.checkBox4.ThemesEnabled   = false;
     this.checkBox4.CheckedChanged += new System.EventHandler(this.checkBox4_CheckedChanged);
     //
     // checkBox3
     //
     this.checkBox3.BeforeTouchSize    = new System.Drawing.Size(185, 67);
     this.checkBox3.DrawFocusRectangle = false;
     this.checkBox3.ForeColor          = System.Drawing.Color.Black;
     this.checkBox3.Location           = new System.Drawing.Point(16, 226);
     this.checkBox3.MetroColor         = System.Drawing.Color.DarkGray;
     this.checkBox3.Name            = "checkBox3";
     this.checkBox3.Size            = new System.Drawing.Size(185, 67);
     this.checkBox3.Style           = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox3.TabIndex        = 2;
     this.checkBox3.Text            = "Load Document with BackColor and Styles specified";
     this.checkBox3.ThemesEnabled   = false;
     this.checkBox3.CheckedChanged += new System.EventHandler(this.checkBox3_CheckedChanged);
     //
     // checkBox2
     //
     this.checkBox2.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBox2.DrawFocusRectangle = false;
     this.checkBox2.ForeColor          = System.Drawing.Color.Black;
     this.checkBox2.Location           = new System.Drawing.Point(16, 132);
     this.checkBox2.MetroColor         = System.Drawing.Color.DarkGray;
     this.checkBox2.Name            = "checkBox2";
     this.checkBox2.Size            = new System.Drawing.Size(185, 56);
     this.checkBox2.Style           = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox2.TabIndex        = 1;
     this.checkBox2.Text            = "Load document with BackColor specified";
     this.checkBox2.ThemesEnabled   = false;
     this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoRunScripts                = true;
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(386, 312);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     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.Location      = new System.Drawing.Point(20, 20);
     this.htmluiControl1.Name          = "htmluiControl1";
     this.htmluiControl1.ShowTitle     = false;
     this.htmluiControl1.Size          = new System.Drawing.Size(403, 327);
     this.htmluiControl1.TabIndex      = 5;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     this.htmluiControl1.LoadStarted  += new System.EventHandler(this.htmluiControl1_LoadStarted);
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(3, 21);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Padding  = new System.Windows.Forms.Padding(20);
     this.gradientPanel1.Size     = new System.Drawing.Size(443, 367);
     this.gradientPanel1.TabIndex = 6;
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.label1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label1.Font      = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(10, 10);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(764, 45);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "HTMLUIControl BackColor is applicable when no document is loaded or loaded docume" +
                             "nt doesn\'t specify BackColor.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.panel1);
     this.groupBox1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.groupBox1.Font     = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(10, 55);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(315, 391);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "BackColor Customization";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.gradientPanel1);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Font     = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location = new System.Drawing.Point(325, 55);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(449, 391);
     this.groupBox2.TabIndex = 9;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "HTMLUI control";
     //
     // 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(784, 480);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.statusBar1);
     this.DropShadow    = true;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(796, 516);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Background";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBar1)).EndInit();
     this.statusBar1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #7
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
     this.cancel         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.OK             = new Syncfusion.Windows.Forms.ButtonAdv();
     this.popupTextBox   = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.label1         = new System.Windows.Forms.Label();
     this.imageList1     = new System.Windows.Forms.ImageList(this.components);
     this.sourceTextBox  = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.groupBox1      = new System.Windows.Forms.GroupBox();
     this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.autoLabel1     = new Syncfusion.Windows.Forms.Tools.AutoLabel();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.dropDownBtn    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.popupControlContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.popupTextBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sourceTextBox)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
     this.gradientPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // popupControlContainer1
     //
     this.popupControlContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.popupControlContainer1.Controls.Add(this.cancel);
     this.popupControlContainer1.Controls.Add(this.OK);
     this.popupControlContainer1.Controls.Add(this.popupTextBox);
     this.popupControlContainer1.Location     = new System.Drawing.Point(32, 156);
     this.popupControlContainer1.Name         = "popupControlContainer1";
     this.popupControlContainer1.Size         = new System.Drawing.Size(120, 128);
     this.popupControlContainer1.TabIndex     = 0;
     this.popupControlContainer1.Visible      = false;
     this.popupControlContainer1.CloseUp     += new Syncfusion.Windows.Forms.PopupClosedEventHandler(this.popupControlContainer1_CloseUp);
     this.popupControlContainer1.BeforePopup += new System.ComponentModel.CancelEventHandler(this.popupControlContainer1_BeforePopup);
     this.popupControlContainer1.Popup       += new System.EventHandler(this.popupControlContainer1_Popup);
     //
     // cancel
     //
     this.cancel.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.cancel.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.cancel.BackColor      = System.Drawing.SystemColors.Highlight;
     this.cancel.ForeColor      = System.Drawing.Color.White;
     this.cancel.Location       = new System.Drawing.Point(56, 96);
     this.cancel.Name           = "cancel";
     this.cancel.Size           = new System.Drawing.Size(56, 24);
     this.cancel.TabIndex       = 2;
     this.cancel.Text           = "Cancel";
     this.cancel.UseVisualStyle = true;
     this.cancel.Click         += new System.EventHandler(this.cancelButton_Click);
     //
     // OK
     //
     this.OK.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.OK.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.OK.BackColor      = System.Drawing.SystemColors.Highlight;
     this.OK.ForeColor      = System.Drawing.Color.White;
     this.OK.Location       = new System.Drawing.Point(8, 96);
     this.OK.Name           = "OK";
     this.OK.Size           = new System.Drawing.Size(48, 24);
     this.OK.TabIndex       = 1;
     this.OK.Text           = "OK";
     this.OK.UseVisualStyle = true;
     this.OK.Click         += new System.EventHandler(this.OK_Click);
     //
     // popupTextBox
     //
     this.popupTextBox.BorderColor = System.Drawing.Color.Gray;
     this.popupTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.popupTextBox.Cursor      = System.Windows.Forms.Cursors.IBeam;
     this.popupTextBox.Location    = new System.Drawing.Point(0, 0);
     this.popupTextBox.Metrocolor  = System.Drawing.Color.Gray;
     this.popupTextBox.Multiline   = true;
     this.popupTextBox.Name        = "popupTextBox";
     this.popupTextBox.Size        = new System.Drawing.Size(118, 90);
     this.popupTextBox.Style       = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro;
     this.popupTextBox.TabIndex    = 0;
     //
     // label1
     //
     this.label1.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.label1.Font       = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor  = System.Drawing.SystemColors.ControlText;
     this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.label1.ImageList  = this.imageList1;
     this.label1.Location   = new System.Drawing.Point(31, 16);
     this.label1.Name       = "label1";
     this.label1.Size       = new System.Drawing.Size(267, 70);
     this.label1.TabIndex   = 1;
     this.label1.Text       = "Associate a PopupControlContainer with this TextBox. And also transfer data back " +
                              "and forth between the popup and the TextBox.";
     //
     // 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, "");
     //
     // sourceTextBox
     //
     this.sourceTextBox.BorderColor = System.Drawing.Color.Gray;
     this.sourceTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.sourceTextBox.Cursor      = System.Windows.Forms.Cursors.IBeam;
     this.sourceTextBox.Location    = new System.Drawing.Point(32, 40);
     this.sourceTextBox.Metrocolor  = System.Drawing.Color.Gray;
     this.sourceTextBox.Name        = "sourceTextBox";
     this.sourceTextBox.Size        = new System.Drawing.Size(176, 22);
     this.sourceTextBox.Style       = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro;
     this.sourceTextBox.TabIndex    = 2;
     this.sourceTextBox.Text        = "Alt+DownArrow for popup";
     this.sourceTextBox.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.textBoxPopupParent_KeyDown);
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.gradientPanel2);
     this.groupBox1.Controls.Add(this.gradientPanel1);
     this.groupBox1.Controls.Add(this.popupControlContainer1);
     this.groupBox1.Controls.Add(this.dropDownBtn);
     this.groupBox1.Controls.Add(this.sourceTextBox);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location  = new System.Drawing.Point(23, 14);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(673, 325);
     this.groupBox1.TabIndex  = 3;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "PopupControlContainer demo";
     //
     // gradientPanel2
     //
     this.gradientPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.gradientPanel2.BorderColor = System.Drawing.Color.Silver;
     this.gradientPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel2.Controls.Add(this.autoLabel1);
     this.gradientPanel2.Location = new System.Drawing.Point(270, 156);
     this.gradientPanel2.Name     = "gradientPanel2";
     this.gradientPanel2.Size     = new System.Drawing.Size(361, 113);
     this.gradientPanel2.TabIndex = 5;
     //
     // autoLabel1
     //
     this.autoLabel1.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.autoLabel1.AutoSize  = false;
     this.autoLabel1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.autoLabel1.Location  = new System.Drawing.Point(35, 2);
     this.autoLabel1.Name      = "autoLabel1";
     this.autoLabel1.Size      = new System.Drawing.Size(295, 84);
     this.autoLabel1.TabIndex  = 3;
     this.autoLabel1.Text      = resources.GetString("autoLabel1.Text");
     this.autoLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // gradientPanel1
     //
     this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.gradientPanel1.BorderColor = System.Drawing.Color.Silver;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.label1);
     this.gradientPanel1.Location = new System.Drawing.Point(270, 40);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(361, 88);
     this.gradientPanel1.TabIndex = 4;
     //
     // dropDownBtn
     //
     this.dropDownBtn.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.dropDownBtn.BackColor      = System.Drawing.SystemColors.Highlight;
     this.dropDownBtn.Image          = ((System.Drawing.Image)(resources.GetObject("dropDownBtn.Image")));
     this.dropDownBtn.Location       = new System.Drawing.Point(216, 40);
     this.dropDownBtn.Name           = "dropDownBtn";
     this.dropDownBtn.Size           = new System.Drawing.Size(26, 20);
     this.dropDownBtn.TabIndex       = 0;
     this.dropDownBtn.UseVisualStyle = true;
     this.dropDownBtn.Click         += new System.EventHandler(this.dropDownBtn_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 18);
     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(739, 374);
     this.Controls.Add(this.groupBox1);
     this.DropShadow    = true;
     this.Font          = new System.Drawing.Font("Segoe UI", 10F, 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(751, 411);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(20);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Popup Container Demo";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.popupControlContainer1.ResumeLayout(false);
     this.popupControlContainer1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.popupTextBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sourceTextBox)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
     this.gradientPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        GradientPanel Square(Order order)
        {
            GradientPanel panel = new GradientPanel();

            panel.Size       = new Size(225, 200);
            panel.TopColor   = Color.FromArgb(155, 155, 155);
            panel.BackColor  = Color.FromArgb(34, 36, 45);
            panel.Angle      = 60;
            panel.Margin     = new Padding(20);
            panel.AutoScroll = true;

            /*panel.BackgroundImage = Properties.Resources.pre_school_order;
             * panel.BackgroundImageLayout = ImageLayout.Stretch;*/


            Label OrderID = new Label();

            OrderID.Size      = new Size(200, 25);
            OrderID.Text      = "OrderID : " + order.OrderID.ToString();
            OrderID.AutoSize  = false;
            OrderID.TextAlign = ContentAlignment.MiddleCenter;
            OrderID.Left      = OrderID.Location.X + (panel.Width - OrderID.Size.Width) / 2;
            OrderID.ForeColor = Color.FromArgb(34, 36, 45);
            // OrderID.BackColor = Color.FromArgb(80, 80, 80);
            OrderID.BackColor = Color.Transparent;
            OrderID.Font      = new Font("Century Gothic", 14.0f, FontStyle.Bold);
            OrderID.Margin    = new Padding(10);

            Label TotalPrice = new Label();

            TotalPrice.Size      = new Size(200, 25);
            TotalPrice.Text      = "Price : " + order.TotalPrice.ToString() + " VND";
            TotalPrice.AutoSize  = false;
            TotalPrice.TextAlign = ContentAlignment.MiddleCenter;
            TotalPrice.Left      = TotalPrice.Location.X + (panel.Width - TotalPrice.Size.Width) / 2;
            TotalPrice.Top       = TotalPrice.Location.Y + OrderID.Height + 20;
            TotalPrice.ForeColor = Color.FromArgb(34, 36, 45);
            TotalPrice.BackColor = Color.Transparent;
            TotalPrice.Font      = new Font("Century Gothic", 14.0f, FontStyle.Bold);
            TotalPrice.Margin    = new Padding(10);

            Label Status = new Label();

            Status.Size = new Size(200, 25);
            string temp = null;

            switch (order.Status)
            {
            case 0:
                temp = "In Queue";
                break;

            case 1:
                temp = "Processing";
                break;

            case 2:
                temp = "Finished";
                break;
            }
            Status.Text      = "Status : " + temp;
            Status.AutoSize  = false;
            Status.TextAlign = ContentAlignment.MiddleCenter;
            Status.Left      = Status.Location.X + (panel.Width - Status.Size.Width) / 2;
            Status.Top       = Status.Location.Y + OrderID.Height + TotalPrice.Height + 40;
            Status.ForeColor = Color.FromArgb(34, 36, 45);
            Status.BackColor = Color.Transparent;
            Status.Font      = new Font("Century Gothic", 14.0f, FontStyle.Bold);
            Status.Margin    = new Padding(10);

            Button btnViewOrder = new Button();

            btnViewOrder.Size      = new Size(150, 35);
            btnViewOrder.Text      = "View Order";
            btnViewOrder.TextAlign = ContentAlignment.MiddleCenter;
            btnViewOrder.Dock      = DockStyle.Bottom;
            btnViewOrder.ForeColor = Color.White;
            btnViewOrder.BackColor = Color.OliveDrab;
            btnViewOrder.Font      = new Font("Century Gothic", 12.0f, FontStyle.Bold);
            btnViewOrder.FlatStyle = FlatStyle.Flat;
            btnViewOrder.Click    += BtnViewOrder_Click;
            btnViewOrder.Tag       = order;
            btnViewOrder.Margin    = new Padding(20);


            panel.Controls.Add(OrderID);
            panel.Controls.Add(TotalPrice);
            panel.Controls.Add(Status);
            panel.Controls.Add(btnViewOrder);

            return(panel);
        }
Пример #9
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.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);
 }
Пример #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1 = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.panel1         = new System.Windows.Forms.Panel();
     this.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);
 }
Пример #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();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo   treeNodeAdvStyleInfo1   = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv1            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     Syncfusion.Windows.Forms.Tools.TreeViewAdvVisualStyle treeViewAdvVisualStyle1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdvVisualStyle();
     System.ComponentModel.ComponentResourceManager        resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.colorDialog1   = new System.Windows.Forms.ColorDialog();
     this.treeViewAdv3   = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
     this.imageList2     = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.comboBox2      = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label2         = new System.Windows.Forms.Label();
     this.label5         = new System.Windows.Forms.Label();
     this.comboBox1      = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.contextMenu1   = new System.Windows.Forms.ContextMenu();
     this.editItem       = new System.Windows.Forms.MenuItem();
     this.copyItem       = new System.Windows.Forms.MenuItem();
     this.cutItem        = new System.Windows.Forms.MenuItem();
     this.leftImageList  = new System.Windows.Forms.ImageList(this.components);
     this.rightImageList = new System.Windows.Forms.ImageList(this.components);
     this.imageList1     = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel1         = new System.Windows.Forms.Panel();
     this.colorDialog2   = new System.Windows.Forms.ColorDialog();
     this.stateImageList = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
     this.gradientPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // treeViewAdv3
     //
     this.treeViewAdv3.AddSeparatorAtEnd = true;
     this.treeViewAdv3.AllowDrop         = true;
     this.treeViewAdv3.BackColor         = System.Drawing.Color.White;
     this.treeViewAdv3.BackgroundColor   = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
     treeNodeAdvStyleInfo1.CheckColor    = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeNodeAdvStyleInfo1.EnsureDefaultOptionedChild = true;
     treeNodeAdvStyleInfo1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     treeNodeAdvStyleInfo1.InteractiveCheckBox       = true;
     treeNodeAdvStyleInfo1.IntermediateCheckColor    = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeNodeAdvStyleInfo1.OptionButtonColor         = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeNodeAdvStyleInfo1.SelectedOptionButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     treeNodeAdvStyleInfo1.ShowCheckBox     = true;
     treeNodeAdvStyleInfo1.ShowOptionButton = false;
     treeNodeAdvStyleInfo1.TextColor        = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     treeNodeAdvStyleInfo1.ThemesEnabled    = false;
     this.treeViewAdv3.BaseStylePairs.AddRange(new Syncfusion.Windows.Forms.Tools.StyleNamePair[] {
         new Syncfusion.Windows.Forms.Tools.StyleNamePair("Standard", treeNodeAdvStyleInfo1)
     });
     this.treeViewAdv3.BeforeTouchSize = new System.Drawing.Size(470, 463);
     this.treeViewAdv3.Border3DStyle   = System.Windows.Forms.Border3DStyle.Flat;
     this.treeViewAdv3.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
     this.treeViewAdv3.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.treeViewAdv3.Font            = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeViewAdv3.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     //
     //
     //
     this.treeViewAdv3.HelpTextControl.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.HelpTextControl.Location      = new System.Drawing.Point(732, 0);
     this.treeViewAdv3.HelpTextControl.Name          = "helpText";
     this.treeViewAdv3.HelpTextControl.Size          = new System.Drawing.Size(49, 15);
     this.treeViewAdv3.HelpTextControl.TabIndex      = 0;
     this.treeViewAdv3.HelpTextControl.Text          = "help text";
     this.treeViewAdv3.IgnoreThemeBackground         = true;
     this.treeViewAdv3.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
     this.treeViewAdv3.Indent = 20;
     this.treeViewAdv3.InteractiveCheckBoxes = true;
     this.treeViewAdv3.ItemHeight            = 25;
     this.treeViewAdv3.LineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(94)))), ((int)(((byte)(94)))), ((int)(((byte)(94)))));
     this.treeViewAdv3.LoadOnDemand          = true;
     this.treeViewAdv3.Location   = new System.Drawing.Point(0, 0);
     this.treeViewAdv3.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.treeViewAdv3.Name       = "treeViewAdv3";
     treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv1.EnsureDefaultOptionedChild            = true;
     treeNodeAdv1.MultiLine = true;
     treeNodeAdv1.ShowLine  = true;
     treeNodeAdv1.Text      = "Local Disk (C:)";
     this.treeViewAdv3.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv1
     });
     this.treeViewAdv3.PathSeparator          = "/";
     this.treeViewAdv3.SelectedNodeBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197))))));
     this.treeViewAdv3.SelectedNodeForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     this.treeViewAdv3.ShowCheckBoxes         = true;
     this.treeViewAdv3.ShowFocusRect          = false;
     this.treeViewAdv3.Size            = new System.Drawing.Size(470, 463);
     this.treeViewAdv3.StateImageList  = this.imageList2;
     this.treeViewAdv3.Style           = Syncfusion.Windows.Forms.Tools.TreeStyle.Office2016Colorful;
     this.treeViewAdv3.TabIndex        = 5;
     this.treeViewAdv3.ThemeName       = "Office2016Colorful";
     this.treeViewAdv3.ThemesEnabled   = false;
     treeViewAdvVisualStyle1.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(171)))), ((int)(((byte)(171)))), ((int)(((byte)(171)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.CheckColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.EnsureDefaultOptionedChild = true;
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.IntermediateCheckColor     = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.OptionButtonColor          = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109)))));
     treeViewAdvVisualStyle1.TreeNodeAdvStyle.SelectedOptionButtonColor  = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     this.treeViewAdv3.ThemeStyle = treeViewAdvVisualStyle1;
     //
     //
     //
     this.treeViewAdv3.ToolTipControl.BackColor   = System.Drawing.SystemColors.Info;
     this.treeViewAdv3.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.ToolTipControl.Location    = new System.Drawing.Point(642, 0);
     this.treeViewAdv3.ToolTipControl.Name        = "toolTip";
     this.treeViewAdv3.ToolTipControl.Size        = new System.Drawing.Size(41, 15);
     this.treeViewAdv3.ToolTipControl.TabIndex    = 1;
     this.treeViewAdv3.ToolTipControl.Text        = "toolTip";
     this.treeViewAdv3.TransparentControls        = true;
     this.treeViewAdv3.BeforeExpand += new Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableNodeEventHandler(this.treeViewAdv3_BeforeExpand);
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList2.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList2.TransparentColor = System.Drawing.Color.White;
     //
     // gradientPanel2
     //
     this.gradientPanel2.Border3DStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.gradientPanel2.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(210)))), ((int)(((byte)(210)))));
     this.gradientPanel2.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel2.Controls.Add(this.comboBox2);
     this.gradientPanel2.Controls.Add(this.label2);
     this.gradientPanel2.Controls.Add(this.label5);
     this.gradientPanel2.Controls.Add(this.comboBox1);
     this.gradientPanel2.Controls.Add(this.button1);
     this.gradientPanel2.Dock     = System.Windows.Forms.DockStyle.Right;
     this.gradientPanel2.Location = new System.Drawing.Point(478, 0);
     this.gradientPanel2.Name     = "gradientPanel2";
     this.gradientPanel2.Size     = new System.Drawing.Size(261, 463);
     this.gradientPanel2.TabIndex = 6;
     //
     // comboBox2
     //
     this.comboBox2.BeforeTouchSize = new System.Drawing.Size(216, 25);
     this.comboBox2.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox2.Font            = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.ForeColor       = System.Drawing.SystemColors.WindowText;
     this.comboBox2.Items.AddRange(new object[] {
         "Text",
         "CheckBox",
         "Tag"
     });
     this.comboBox2.Location  = new System.Drawing.Point(25, 168);
     this.comboBox2.Name      = "comboBox2";
     this.comboBox2.Size      = new System.Drawing.Size(216, 25);
     this.comboBox2.TabIndex  = 12;
     this.comboBox2.Text      = "Text";
     this.comboBox2.ThemeName = "Default";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(25, 144);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 16);
     this.label2.TabIndex  = 11;
     this.label2.Text      = "Sort Type :";
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location  = new System.Drawing.Point(25, 88);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(100, 16);
     this.label5.TabIndex  = 10;
     this.label5.Text      = "Sort Order :";
     //
     // comboBox1
     //
     this.comboBox1.BackColor       = System.Drawing.Color.White;
     this.comboBox1.BeforeTouchSize = new System.Drawing.Size(216, 25);
     this.comboBox1.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Font            = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.Items.AddRange(new object[] {
         "None",
         "Ascending",
         "Descending"
     });
     this.comboBox1.Location = new System.Drawing.Point(25, 112);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(216, 25);
     this.comboBox1.TabIndex = 9;
     this.comboBox1.Text     = "None";
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(142, 23);
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(60, 228);
     this.button1.Name                    = "button1";
     this.button1.Size                    = new System.Drawing.Size(142, 23);
     this.button1.TabIndex                = 8;
     this.button1.Text                    = "Apply";
     this.button1.ThemeName               = "Metro";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.editItem,
         this.copyItem,
         this.cutItem
     });
     //
     // editItem
     //
     this.editItem.Index  = 0;
     this.editItem.Text   = "&Edit";
     this.editItem.Click += new System.EventHandler(this.editItem_Click);
     //
     // copyItem
     //
     this.copyItem.Index  = 1;
     this.copyItem.Text   = "&Copy";
     this.copyItem.Click += new System.EventHandler(this.copyItem_Click);
     //
     // cutItem
     //
     this.cutItem.Index  = 2;
     this.cutItem.Text   = "Cu&t";
     this.cutItem.Click += new System.EventHandler(this.cutItem_Click);
     //
     // leftImageList
     //
     this.leftImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("leftImageList.ImageStream")));
     this.leftImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.leftImageList.Images.SetKeyName(0, "");
     this.leftImageList.Images.SetKeyName(1, "");
     this.leftImageList.Images.SetKeyName(2, "");
     this.leftImageList.Images.SetKeyName(3, "");
     this.leftImageList.Images.SetKeyName(4, "");
     //
     // rightImageList
     //
     this.rightImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("rightImageList.ImageStream")));
     this.rightImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.rightImageList.Images.SetKeyName(0, "");
     this.rightImageList.Images.SetKeyName(1, "");
     this.rightImageList.Images.SetKeyName(2, "smiley.ico");
     this.rightImageList.Images.SetKeyName(3, "");
     this.rightImageList.Images.SetKeyName(4, "");
     this.rightImageList.Images.SetKeyName(5, "");
     this.rightImageList.Images.SetKeyName(6, "");
     this.rightImageList.Images.SetKeyName(7, "");
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.gradientPanel1.Controls.Add(this.treeViewAdv3);
     this.gradientPanel1.Controls.Add(this.panel1);
     this.gradientPanel1.Controls.Add(this.gradientPanel2);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(10, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(739, 463);
     this.gradientPanel1.TabIndex = 3;
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(470, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(8, 463);
     this.panel1.TabIndex = 7;
     //
     // stateImageList
     //
     this.stateImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("stateImageList.ImageStream")));
     this.stateImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.stateImageList.Images.SetKeyName(0, "");
     this.stateImageList.Images.SetKeyName(1, "");
     this.stateImageList.Images.SetKeyName(2, "");
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 18);
     this.ClientSize        = new System.Drawing.Size(759, 483);
     this.Controls.Add(this.gradientPanel1);
     this.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(50, 300);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Sorting";
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
     this.gradientPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #12
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.imageList1    = new System.Windows.Forms.ImageList(this.components);
            this.comboBoxAdv1  = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            this.label3        = new System.Windows.Forms.Label();
            this.textBox1      = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.autoComplete1 = new Syncfusion.Windows.Forms.Tools.AutoComplete(this.components);
            this.textBox5      = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.textBox4      = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.textBox6      = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.imageList2    = new System.Windows.Forms.ImageList(this.components);
            this.comboBoxAdv2  = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            this.label5        = new System.Windows.Forms.Label();
            this.autoCompleteDataColumnInfo1 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("URL", 100, true);
            this.autoCompleteDataColumnInfo2 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("Name", 100, true);
            this.autoCompleteDataColumnInfo3 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("ImageIndex", 100, true);
            this.imageList3         = new System.Windows.Forms.ImageList(this.components);
            this.label10            = new System.Windows.Forms.Label();
            this.label2             = new System.Windows.Forms.Label();
            this.label6             = new System.Windows.Forms.Label();
            this.gradientPanel1     = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            this.label40            = new System.Windows.Forms.Label();
            this.gradientPanel2     = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            this.label15            = new System.Windows.Forms.Label();
            this.label4             = new System.Windows.Forms.Label();
            this.toolTip1           = new System.Windows.Forms.ToolTip(this.components);
            this.autoLabel1         = new Syncfusion.Windows.Forms.Tools.AutoLabel();
            this.label9             = new System.Windows.Forms.Label();
            this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
            this.label1             = new System.Windows.Forms.Label();
            this.comboBoxAdv3       = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            this.autoComplete2      = new Syncfusion.Windows.Forms.Tools.AutoComplete(this.components);
            this.skinManager1       = new Syncfusion.Windows.Forms.SkinManager(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.autoComplete1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.gradientPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
            this.gradientPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit();
            this.splitContainerAdv1.Panel1.SuspendLayout();
            this.splitContainerAdv1.Panel2.SuspendLayout();
            this.splitContainerAdv1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.autoComplete2)).BeginInit();
            this.SuspendLayout();
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            //
            // comboBoxAdv1
            //
            this.comboBoxAdv1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.comboBoxAdv1.BeforeTouchSize = new System.Drawing.Size(186, 27);
            this.comboBoxAdv1.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxAdv1.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBoxAdv1.Items.AddRange(new object[] {
                "Disabled",
                "AutoSuggest",
                "AutoAppend",
                "Both"
            });
            this.comboBoxAdv1.Location              = new System.Drawing.Point(241, 201);
            this.comboBoxAdv1.Name                  = "comboBoxAdv1";
            this.comboBoxAdv1.Office2007ColorTheme  = Syncfusion.Windows.Forms.Office2007Theme.Black;
            this.comboBoxAdv1.Office2010ColorTheme  = Syncfusion.Windows.Forms.Office2010Theme.Black;
            this.comboBoxAdv1.Size                  = new System.Drawing.Size(186, 27);
            this.comboBoxAdv1.Style                 = Syncfusion.Windows.Forms.VisualStyle.Office2016Colorful;
            this.comboBoxAdv1.TabIndex              = 10;
            this.comboBoxAdv1.Text                  = "Disabled";
            this.comboBoxAdv1.SelectedIndexChanged += new System.EventHandler(this.comboBoxAdv1_SelectedIndexChanged);
            //
            // label3
            //
            this.label3.AutoSize  = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.Location  = new System.Drawing.Point(43, 203);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(164, 19);
            this.label3.TabIndex  = 9;
            this.label3.Text      = "Set AutoComplete Mode:";
            //
            // textBox1
            //
            this.autoComplete1.SetAutoComplete(this.textBox1, Syncfusion.Windows.Forms.Tools.AutoCompleteModes.AutoSuggest);
            this.textBox1.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.textBox1.BeforeTouchSize       = new System.Drawing.Size(186, 26);
            this.textBox1.BorderColor           = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
            this.textBox1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox1.Cursor                = System.Windows.Forms.Cursors.IBeam;
            this.textBox1.Font                  = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox1.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.textBox1.Location              = new System.Drawing.Point(680, 196);
            this.textBox1.Metrocolor            = System.Drawing.Color.Gray;
            this.textBox1.Name                  = "textBox1";
            this.textBox1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black;
            this.textBox1.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black;
            this.textBox1.Size                  = new System.Drawing.Size(259, 26);
            this.textBox1.Style                 = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful;
            this.textBox1.TabIndex              = 6;
            //
            // autoComplete1
            //
            this.autoComplete1.AutoAddItem = true;
            this.autoComplete1.HeaderFont  = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
            this.autoComplete1.ItemFont    = new System.Drawing.Font("Segoe UI", 8.25F);
            this.autoComplete1.MetroColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.autoComplete1.ParentForm  = this;
            this.autoComplete1.Style       = Syncfusion.Windows.Forms.Tools.AutoCompleteStyle.Office2016Colorful;
            this.autoComplete1.AutoCompleteItemSelected += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemSelected);
            this.autoComplete1.AutoCompleteItemBrowsed  += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemBrowsed);
            //
            // textBox5
            //
            this.textBox5.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.textBox5.BeforeTouchSize       = new System.Drawing.Size(186, 26);
            this.textBox5.BorderColor           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
            this.textBox5.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox5.Cursor                = System.Windows.Forms.Cursors.IBeam;
            this.textBox5.Dock                  = System.Windows.Forms.DockStyle.Bottom;
            this.textBox5.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.textBox5.Metrocolor            = System.Drawing.Color.Gray;
            this.textBox5.Location              = new System.Drawing.Point(0, 307);
            this.textBox5.Multiline             = true;
            this.textBox5.Name                  = "textBox5";
            this.textBox5.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black;
            this.textBox5.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black;
            this.textBox5.Size                  = new System.Drawing.Size(1177, 123);
            this.textBox5.Style                 = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful;
            this.textBox5.TabIndex              = 18;
            //
            // textBox4
            //
            this.autoComplete2.SetAutoComplete(this.textBox4, Syncfusion.Windows.Forms.Tools.AutoCompleteModes.MultiSuggestExtended);
            this.textBox4.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.textBox4.BeforeTouchSize       = new System.Drawing.Size(186, 26);
            this.textBox4.BorderColor           = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
            this.textBox4.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox4.Cursor                = System.Windows.Forms.Cursors.IBeam;
            this.textBox4.Font                  = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox4.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.textBox4.Location              = new System.Drawing.Point(241, 204);
            this.textBox4.Metrocolor            = System.Drawing.Color.Gray;
            this.textBox4.Name                  = "textBox4";
            this.textBox4.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black;
            this.textBox4.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black;
            this.textBox4.Size                  = new System.Drawing.Size(654, 26);
            this.textBox4.Style                 = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful;
            this.textBox4.TabIndex              = 17;
            //
            // textBox6
            //
            this.textBox6.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.textBox6.BeforeTouchSize       = new System.Drawing.Size(186, 26);
            this.textBox6.BorderColor           = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
            this.textBox6.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox6.Cursor                = System.Windows.Forms.Cursors.IBeam;
            this.textBox6.Font                  = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.textBox6.ForeColor             = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.textBox6.Location              = new System.Drawing.Point(241, 244);
            this.textBox6.Metrocolor            = System.Drawing.Color.Gray;
            this.textBox6.Name                  = "textBox6";
            this.textBox6.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Black;
            this.textBox6.Office2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Black;
            this.textBox6.Size                  = new System.Drawing.Size(186, 26);
            this.textBox6.Style                 = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful;
            this.textBox6.TabIndex              = 35;
            this.textBox6.TextChanged          += new System.EventHandler(this.textBox6_TextChanged);
            //
            // imageList2
            //
            this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
            this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList2.Images.SetKeyName(0, "");
            this.imageList2.Images.SetKeyName(1, "");
            this.imageList2.Images.SetKeyName(2, "");
            this.imageList2.Images.SetKeyName(3, "");
            //
            // comboBoxAdv2
            //
            this.comboBoxAdv2.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.comboBoxAdv2.BeforeTouchSize = new System.Drawing.Size(187, 27);
            this.comboBoxAdv2.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxAdv2.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBoxAdv2.Items.AddRange(new object[] {
                "MultiSuggest",
                "MultiSuggestExtended"
            });
            this.comboBoxAdv2.Location              = new System.Drawing.Point(241, 168);
            this.comboBoxAdv2.Name                  = "comboBoxAdv2";
            this.comboBoxAdv2.Office2007ColorTheme  = Syncfusion.Windows.Forms.Office2007Theme.Black;
            this.comboBoxAdv2.Office2010ColorTheme  = Syncfusion.Windows.Forms.Office2010Theme.Black;
            this.comboBoxAdv2.Size                  = new System.Drawing.Size(187, 27);
            this.comboBoxAdv2.Style                 = Syncfusion.Windows.Forms.VisualStyle.Office2016Colorful;
            this.comboBoxAdv2.TabIndex              = 13;
            this.comboBoxAdv2.Text                  = "MultiSuggestExtended";
            this.comboBoxAdv2.SelectedIndexChanged += new System.EventHandler(this.comboBoxAdv2_SelectedIndexChanged);
            //
            // label5
            //
            this.label5.AutoSize  = true;
            this.label5.BackColor = System.Drawing.Color.Transparent;
            this.label5.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
            this.label5.Location  = new System.Drawing.Point(606, 201);
            this.label5.Name      = "label5";
            this.label5.Size      = new System.Drawing.Size(60, 17);
            this.label5.TabIndex  = 14;
            this.label5.Text      = "TextBox";
            //
            // imageList3
            //
            this.imageList3.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList3.ImageStream")));
            this.imageList3.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList3.Images.SetKeyName(0, "");
            this.imageList3.Images.SetKeyName(1, "");
            this.imageList3.Images.SetKeyName(2, "");
            this.imageList3.Images.SetKeyName(3, "");

            //
            // autoCompleteDataColumnInfo1
            //
            this.autoCompleteDataColumnInfo1.ColumnHeaderText = "URL";
            this.autoCompleteDataColumnInfo1.ImageColumn      = false;
            this.autoCompleteDataColumnInfo1.MatchingColumn   = true;
            this.autoCompleteDataColumnInfo1.Visible          = true;
            //
            // autoCompleteDataColumnInfo2
            //
            this.autoCompleteDataColumnInfo2.ColumnHeaderText = "Name";
            this.autoCompleteDataColumnInfo2.ImageColumn      = false;
            this.autoCompleteDataColumnInfo2.MatchingColumn   = false;
            this.autoCompleteDataColumnInfo2.Visible          = true;
            //
            // autoCompleteDataColumnInfo3
            //
            this.autoCompleteDataColumnInfo3.ColumnHeaderText = "ImageIndex";
            this.autoCompleteDataColumnInfo3.ImageColumn      = true;
            this.autoCompleteDataColumnInfo3.MatchingColumn   = false;
            this.autoCompleteDataColumnInfo3.Visible          = true;
            //
            //
            // label10
            //
            this.label10.BackColor  = System.Drawing.Color.Transparent;
            this.label10.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label10.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.label10.Location   = new System.Drawing.Point(6, 4);
            this.label10.Name       = "label10";
            this.label10.Size       = new System.Drawing.Size(222, 30);
            this.label10.TabIndex   = 13;
            this.label10.Text       = "UnBounded DataSource";
            this.label10.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label2
            //
            this.label2.BackColor  = System.Drawing.Color.Transparent;
            this.label2.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.label2.Location   = new System.Drawing.Point(6, -1);
            this.label2.Name       = "label2";
            this.label2.Size       = new System.Drawing.Size(201, 30);
            this.label2.TabIndex   = 20;
            this.label2.Text       = "Bounded DataSource";
            this.label2.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // label6
            //
            this.label6.AutoSize  = true;
            this.label6.BackColor = System.Drawing.Color.Transparent;
            this.label6.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.Location  = new System.Drawing.Point(39, 174);
            this.label6.Name      = "label6";
            this.label6.Size      = new System.Drawing.Size(164, 19);
            this.label6.TabIndex  = 21;
            this.label6.Text      = "Set AutoComplete Mode:";
            //
            // gradientPanel1
            //
            this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
            this.gradientPanel1.BorderColor = System.Drawing.Color.Gray;
            this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gradientPanel1.Controls.Add(this.label40);
            this.gradientPanel1.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gradientPanel1.Location = new System.Drawing.Point(213, 34);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(846, 104);
            this.gradientPanel1.TabIndex = 26;
            //
            // label40
            //
            this.label40.BackColor  = System.Drawing.Color.Transparent;
            this.label40.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.label40.Font       = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label40.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label40.Location   = new System.Drawing.Point(0, 0);
            this.label40.Name       = "label40";
            this.label40.Size       = new System.Drawing.Size(844, 102);
            this.label40.TabIndex   = 1;
            this.label40.Text       = resources.GetString("label40.Text");
            this.label40.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // gradientPanel2
            //
            this.gradientPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
            this.gradientPanel2.BorderColor = System.Drawing.Color.Gray;
            this.gradientPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gradientPanel2.Controls.Add(this.label15);
            this.gradientPanel2.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.gradientPanel2.Location = new System.Drawing.Point(213, 23);
            this.gradientPanel2.Name     = "gradientPanel2";
            this.gradientPanel2.Size     = new System.Drawing.Size(845, 96);
            this.gradientPanel2.TabIndex = 27;
            //
            // label15
            //
            this.label15.BackColor  = System.Drawing.Color.Transparent;
            this.label15.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.label15.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.label15.Location   = new System.Drawing.Point(0, 0);
            this.label15.Name       = "label15";
            this.label15.Size       = new System.Drawing.Size(843, 94);
            this.label15.TabIndex   = 1;
            this.label15.Text       = "The DataSource for this AutoComplete control is set to an XML Datasource. Enter h" +
                                      " to view the autocomplete. ";
            this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // label4
            //
            this.label4.BackColor  = System.Drawing.Color.Transparent;
            this.label4.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.label4.Location   = new System.Drawing.Point(6, 267);
            this.label4.Name       = "label4";
            this.label4.Size       = new System.Drawing.Size(119, 31);
            this.label4.TabIndex   = 28;
            this.label4.Text       = "Event Log";
            this.label4.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // autoLabel1
            //
            this.autoLabel1.BackColor = System.Drawing.Color.Transparent;
            this.autoLabel1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.autoLabel1.Location  = new System.Drawing.Point(43, 248);
            this.autoLabel1.Name      = "autoLabel1";
            this.autoLabel1.Size      = new System.Drawing.Size(163, 19);
            this.autoLabel1.TabIndex  = 34;
            this.autoLabel1.Text      = "Number Of Suggestions :";
            //
            // label9
            //
            this.label9.AutoSize  = true;
            this.label9.BackColor = System.Drawing.Color.Transparent;
            this.label9.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label9.Location  = new System.Drawing.Point(39, 208);
            this.label9.Name      = "label9";
            this.label9.Size      = new System.Drawing.Size(55, 19);
            this.label9.TabIndex  = 33;
            this.label9.Text      = "TextBox";
            //
            // splitContainerAdv1
            //
            this.splitContainerAdv1.BeforeTouchSize = 1;
            this.splitContainerAdv1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
            this.splitContainerAdv1.Dock            = System.Windows.Forms.DockStyle.Fill;
            this.splitContainerAdv1.HotExpandLine   = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
            this.splitContainerAdv1.Location        = new System.Drawing.Point(10, 10);
            this.splitContainerAdv1.Name            = "splitContainerAdv1";
            this.splitContainerAdv1.Orientation     = System.Windows.Forms.Orientation.Vertical;
            //
            // splitContainerAdv1.Panel1
            //
            this.splitContainerAdv1.Panel1.BackColor       = System.Drawing.Color.Transparent;
            this.splitContainerAdv1.Panel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.splitContainerAdv1.Panel1.Controls.Add(this.label1);
            this.splitContainerAdv1.Panel1.Controls.Add(this.comboBoxAdv3);
            this.splitContainerAdv1.Panel1.Controls.Add(this.label10);
            this.splitContainerAdv1.Panel1.Controls.Add(this.textBox6);
            this.splitContainerAdv1.Panel1.Controls.Add(this.label3);
            this.splitContainerAdv1.Panel1.Controls.Add(this.autoLabel1);
            this.splitContainerAdv1.Panel1.Controls.Add(this.comboBoxAdv1);
            this.splitContainerAdv1.Panel1.Controls.Add(this.textBox1);
            this.splitContainerAdv1.Panel1.Controls.Add(this.label5);
            this.splitContainerAdv1.Panel1.Controls.Add(this.gradientPanel1);
            //
            // splitContainerAdv1.Panel2
            //
            this.splitContainerAdv1.Panel2.BackColor       = System.Drawing.Color.Transparent;
            this.splitContainerAdv1.Panel2.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.splitContainerAdv1.Panel2.Controls.Add(this.label2);
            this.splitContainerAdv1.Panel2.Controls.Add(this.label9);
            this.splitContainerAdv1.Panel2.Controls.Add(this.textBox5);
            this.splitContainerAdv1.Panel2.Controls.Add(this.textBox4);
            this.splitContainerAdv1.Panel2.Controls.Add(this.comboBoxAdv2);
            this.splitContainerAdv1.Panel2.Controls.Add(this.label4);
            this.splitContainerAdv1.Panel2.Controls.Add(this.label6);
            this.splitContainerAdv1.Panel2.Controls.Add(this.gradientPanel2);
            this.splitContainerAdv1.Size             = new System.Drawing.Size(1179, 724);
            this.splitContainerAdv1.SplitterDistance = 291;
            this.splitContainerAdv1.SplitterWidth    = 1;
            this.splitContainerAdv1.Style            = Syncfusion.Windows.Forms.Tools.Enums.Style.Office2016Colorful;
            this.splitContainerAdv1.TabIndex         = 36;
            this.splitContainerAdv1.Text             = "splitContainerAdv1";
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Font      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.Location  = new System.Drawing.Point(43, 158);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(78, 19);
            this.label1.TabIndex  = 36;
            this.label1.Text      = "Visual Style";
            //
            // comboBoxAdv3
            //
            this.comboBoxAdv3.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.comboBoxAdv3.BeforeTouchSize = new System.Drawing.Size(186, 27);
            this.comboBoxAdv3.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxAdv3.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBoxAdv3.Items.AddRange(new object[] {
                "Office2016Colorful",
                "Office2016White",
                "Office2016Black",
                "Office2016DarkGray",
                "Metro",
                "Default"
            });
            this.comboBoxAdv3.Location              = new System.Drawing.Point(241, 158);
            this.comboBoxAdv3.Name                  = "comboBoxAdv3";
            this.comboBoxAdv3.Office2007ColorTheme  = Syncfusion.Windows.Forms.Office2007Theme.Black;
            this.comboBoxAdv3.Office2010ColorTheme  = Syncfusion.Windows.Forms.Office2010Theme.Black;
            this.comboBoxAdv3.Size                  = new System.Drawing.Size(186, 27);
            this.comboBoxAdv3.Style                 = Syncfusion.Windows.Forms.VisualStyle.Office2016Colorful;
            this.comboBoxAdv3.TabIndex              = 37;
            this.comboBoxAdv3.Text                  = "Metro";
            this.comboBoxAdv3.SelectedIndexChanged += new System.EventHandler(this.comboBoxAdv3_SelectedIndexChanged);
            //
            // autoComplete2
            //
            this.autoComplete2.AdjustHeightToItemCount = false;
            this.autoComplete2.Columns.Add(this.autoCompleteDataColumnInfo1);
            this.autoComplete2.Columns.Add(this.autoCompleteDataColumnInfo2);
            this.autoComplete2.Columns.Add(this.autoCompleteDataColumnInfo3);
            this.autoComplete2.HeaderFont                = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
            this.autoComplete2.ImageList                 = this.imageList3;
            this.autoComplete2.ItemFont                  = new System.Drawing.Font("Segoe UI", 8.25F);
            this.autoComplete2.MetroColor                = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.autoComplete2.ParentForm                = this;
            this.autoComplete2.ShowColumnHeader          = true;
            this.autoComplete2.Style                     = Syncfusion.Windows.Forms.Tools.AutoCompleteStyle.Office2016Colorful;
            this.autoComplete2.AutoCompleteItemSelected += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemSelected);
            this.autoComplete2.AutoCompleteItemBrowsed  += new Syncfusion.Windows.Forms.Tools.AutoCompleteItemEventHandler(this.autoComplete_AutoCompleteItemBrowsed);
            //
            // skinManager1
            //
            this.skinManager1.Controls    = this;
            this.skinManager1.VisualTheme = Syncfusion.Windows.Forms.VisualTheme.Office2016Colorful;
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(7, 19);
            this.BackColor         = System.Drawing.Color.White;
            this.ClientSize        = new System.Drawing.Size(1199, 744);
            this.Controls.Add(this.splitContainerAdv1);
            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(1211, 785);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Autocomplete Demo";
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.autoComplete1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textBox6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
            this.gradientPanel2.ResumeLayout(false);
            this.splitContainerAdv1.Panel1.ResumeLayout(false);
            this.splitContainerAdv1.Panel1.PerformLayout();
            this.splitContainerAdv1.Panel2.ResumeLayout(false);
            this.splitContainerAdv1.Panel2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit();
            this.splitContainerAdv1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.autoComplete2)).EndInit();
            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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.panel1         = new System.Windows.Forms.Panel();
     this.panel2         = new System.Windows.Forms.Panel();
     this.panel3         = new System.Windows.Forms.Panel();
     this.label1         = new System.Windows.Forms.Label();
     this.radioButton2   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.htmluiControl1 = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(211, 475);
     this.panel1.TabIndex = 3;
     //
     // panel2
     //
     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(14, 52);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(179, 136);
     this.panel2.TabIndex = 0;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.radioButton2);
     this.panel3.Controls.Add(this.radioButton1);
     this.panel3.Location = new System.Drawing.Point(4, 4);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(172, 132);
     this.panel3.TabIndex = 5;
     this.panel3.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel3_Paint);
     //
     // 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("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, 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(209, 24);
     this.label1.TabIndex    = 6;
     this.label1.Text        = "Styles";
     this.label1.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.Black;
     this.radioButton2.Location             = new System.Drawing.Point(24, 74);
     this.radioButton2.MetroColor           = System.Drawing.Color.DarkGray;
     this.radioButton2.Name                 = "radioButton2";
     this.radioButton2.Size                 = new System.Drawing.Size(115, 40);
     this.radioButton2.Style                = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton2.TabIndex             = 5;
     this.radioButton2.TabStop              = false;
     this.radioButton2.Text                 = "Style Black";
     this.radioButton2.TextContentAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     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.Black;
     this.radioButton1.Location             = new System.Drawing.Point(24, 36);
     this.radioButton1.MetroColor           = System.Drawing.Color.DarkGray;
     this.radioButton1.Name                 = "radioButton1";
     this.radioButton1.Size                 = new System.Drawing.Size(100, 32);
     this.radioButton1.Style                = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton1.TabIndex             = 4;
     this.radioButton1.Text                 = "Style Red";
     this.radioButton1.TextContentAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.radioButton1.ThemesEnabled        = false;
     //
     // htmluiControl1
     //
     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(543, 473);
     this.htmluiControl1.TabIndex   = 4;
     this.htmluiControl1.Text       = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.htmluiControl1_MouseDown);
     //
     // 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(227, 11);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(545, 475);
     this.gradientPanel1.TabIndex = 5;
     //
     // 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(776, 495);
     this.Controls.Add(this.gradientPanel1);
     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(788, 531);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Element CSS";
     this.Load            += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #14
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.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);
 }
        private void _mainFormLostFocus(object sender, EventArgs e)
        {
            try
            {
                foreach (Form openForm in (ReadOnlyCollectionBase)System.Windows.Forms.Application.OpenForms)
                {
                    if (openForm.Text.Contains("eFolder"))
                    {
                        this._folderForm              = openForm;
                        this._folderForm.FormClosing += new FormClosingEventHandler(_folderForm_Closing);
                        break;
                    }
                }

                if (_folderForm == null)
                {
                    return;
                }
                formControlArray = this._folderForm.Controls.Find("pnlMain", true);

                if (((IEnumerable <Control>)formControlArray).Count <Control>() == 0)
                {
                    return;
                }
                Panel pnlM = formControlArray[0] as Panel;

                Button btn = new Button();
                btn.Image      = Resources.search;
                btn.ImageAlign = ContentAlignment.MiddleLeft;

                btn.TextAlign = ContentAlignment.MiddleRight;
                btn.BackColor = Color.Transparent;
                btn.FlatStyle = FlatStyle.Flat;
                btn.FlatAppearance.BorderSize = 0;

                btn.Size   = new System.Drawing.Size(135, 21);
                btn.Click += new EventHandler(Btn_Click);

                Button appButtonPrint = new Button();
                appButtonPrint.Image      = Resources._1470693069_print_printer;
                appButtonPrint.ImageAlign = ContentAlignment.MiddleLeft;

                appButtonPrint.TextAlign = ContentAlignment.MiddleRight;
                appButtonPrint.BackColor = Color.Transparent;
                appButtonPrint.FlatStyle = FlatStyle.Flat;
                appButtonPrint.FlatAppearance.BorderSize = 0;

                appButtonPrint.Size   = new System.Drawing.Size(135, 21);
                appButtonPrint.Click += new EventHandler(AppPrintBtn_Click);

                Button TSUMButtonPrint = new Button();
                TSUMButtonPrint.Image      = Resources.newprinticon2;
                TSUMButtonPrint.ImageAlign = ContentAlignment.MiddleLeft;

                TSUMButtonPrint.TextAlign = ContentAlignment.MiddleRight;
                TSUMButtonPrint.BackColor = Color.Transparent;
                TSUMButtonPrint.FlatStyle = FlatStyle.Flat;
                TSUMButtonPrint.FlatAppearance.BorderSize = 0;

                TSUMButtonPrint.Size   = new System.Drawing.Size(135, 21);
                TSUMButtonPrint.Click += new EventHandler(TSUMPrintBtn_Click);
                GradientPanel   p    = new GradientPanel();
                FlowLayoutPanel fPnl = new FlowLayoutPanel();
                fPnl.FlowDirection = FlowDirection.RightToLeft;
                p.Name             = "newGradPanel";

                fPnl.BackColor = Color.Transparent;
                fPnl.Dock      = DockStyle.Fill;

                p.Dock = DockStyle.Top;

                p.Height = 30;

                if (!pnlM.Controls.ContainsKey("newGradPanel"))
                {
                    fPnl.Controls.Add(btn);
                    Persona UWPersona = EncompassApplication.Session.Users.Personas.GetPersonaByName("Underwriter");
                    if (EncompassApplication.CurrentUser.Personas.Contains(UWPersona))
                    {
                        fPnl.Controls.Add(appButtonPrint);
                        fPnl.Controls.Add(TSUMButtonPrint);
                    }



                    p.Controls.Add(fPnl);
                    pnlM.Controls.Add(p);
                }
            }
            catch (Exception ex)

            {
                int num = (int)MessageBox.Show("Conditions Search Tool Cannot Init: " + ex.ToString());
            }
        }
Пример #16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MainWindow"/> class.
 /// </summary>
 public MainWindow()
 {
     this.InitializeComponent();
     this.panel = new GradientPanel();
     this.Controls.Add(panel);
 }
Пример #17
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.DataGrid();
            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.HeaderForeColor = 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);
        }
Пример #18
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.panel2                    = new System.Windows.Forms.Panel();
     this.panel3                    = new System.Windows.Forms.Panel();
     this.label1                    = new System.Windows.Forms.Label();
     this.button2                   = new Syncfusion.Windows.Forms.ButtonAdv();
     this.checkBoxShowTitleChanged  = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxTitleChanged      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.panel4                    = new System.Windows.Forms.Panel();
     this.panel5                    = new System.Windows.Forms.Panel();
     this.label3                    = new System.Windows.Forms.Label();
     this.checkBoxPreRenderDocument = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxLoadError         = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxLoadFinished      = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxLoadStarted       = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.button1                   = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3                   = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox1                  = new System.Windows.Forms.TextBox();
     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.checkBoxShowTitleChanged)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxTitleChanged)).BeginInit();
     this.panel4.SuspendLayout();
     this.panel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxPreRenderDocument)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxLoadError)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxLoadFinished)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxLoadStarted)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     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(512, 352);
     this.htmluiControl1.TabIndex           = 0;
     this.htmluiControl1.Text               = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.TitleChanged      += new Syncfusion.Windows.Forms.HTMLUI.ValueChangedEventHandler(this.htmluiControl1_TitleChanged);
     this.htmluiControl1.ShowTitleChanged  += new Syncfusion.Windows.Forms.HTMLUI.ValueChangedEventHandler(this.htmluiControl1_ShowTitleChanged);
     this.htmluiControl1.LoadFinished      += new System.EventHandler(this.htmluiControl1_LoadFinished);
     this.htmluiControl1.LoadStarted       += new System.EventHandler(this.htmluiControl1_LoadStarted);
     this.htmluiControl1.LoadError         += new Syncfusion.Windows.Forms.HTMLUI.LoadErrorEventHandler(this.htmluiControl1_LoadError);
     this.htmluiControl1.PreRenderDocument += new Syncfusion.Windows.Forms.HTMLUI.PreRenderDocumentEventHandler(this.htmluiControl1_PreRenderDocument);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Controls.Add(this.button3);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(144, 457);
     this.panel1.TabIndex = 1;
     //
     // panel2
     //
     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(12, 208);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(120, 128);
     this.panel2.TabIndex = 8;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.label1);
     this.panel3.Controls.Add(this.button2);
     this.panel3.Controls.Add(this.checkBoxShowTitleChanged);
     this.panel3.Controls.Add(this.checkBoxTitleChanged);
     this.panel3.Location = new System.Drawing.Point(2, 2);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(116, 124);
     this.panel3.TabIndex = 5;
     //
     // 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.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.Location  = new System.Drawing.Point(-2, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(120, 24);
     this.label1.TabIndex  = 17;
     this.label1.Text      = "Title events";
     this.label1.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", 8.25F);
     this.button2.ForeColor  = System.Drawing.Color.Black;
     this.button2.Location   = new System.Drawing.Point(10, 92);
     this.button2.Name       = "button2";
     this.button2.Size       = new System.Drawing.Size(98, 22);
     this.button2.TabIndex   = 16;
     this.button2.Text       = "Change Title";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // checkBoxShowTitleChanged
     //
     this.checkBoxShowTitleChanged.BackColor          = System.Drawing.Color.White;
     this.checkBoxShowTitleChanged.Checked            = true;
     this.checkBoxShowTitleChanged.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxShowTitleChanged.DrawFocusRectangle = false;
     this.checkBoxShowTitleChanged.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxShowTitleChanged.ForeColor     = System.Drawing.Color.Black;
     this.checkBoxShowTitleChanged.Location      = new System.Drawing.Point(10, 54);
     this.checkBoxShowTitleChanged.MetroColor    = System.Drawing.Color.Gray;
     this.checkBoxShowTitleChanged.Name          = "checkBoxShowTitleChanged";
     this.checkBoxShowTitleChanged.Size          = new System.Drawing.Size(98, 30);
     this.checkBoxShowTitleChanged.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxShowTitleChanged.TabIndex      = 15;
     this.checkBoxShowTitleChanged.Text          = "Show TitleChanged";
     this.checkBoxShowTitleChanged.ThemesEnabled = false;
     //
     // checkBoxTitleChanged
     //
     this.checkBoxTitleChanged.BackColor          = System.Drawing.Color.White;
     this.checkBoxTitleChanged.Checked            = true;
     this.checkBoxTitleChanged.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxTitleChanged.DrawFocusRectangle = false;
     this.checkBoxTitleChanged.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxTitleChanged.ForeColor     = System.Drawing.Color.Black;
     this.checkBoxTitleChanged.Location      = new System.Drawing.Point(10, 28);
     this.checkBoxTitleChanged.MetroColor    = System.Drawing.Color.Gray;
     this.checkBoxTitleChanged.Name          = "checkBoxTitleChanged";
     this.checkBoxTitleChanged.Size          = new System.Drawing.Size(96, 24);
     this.checkBoxTitleChanged.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxTitleChanged.TabIndex      = 14;
     this.checkBoxTitleChanged.Text          = "TitleChanged";
     this.checkBoxTitleChanged.ThemesEnabled = false;
     //
     // panel4
     //
     this.panel4.BackColor   = System.Drawing.Color.White;
     this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel4.Controls.Add(this.panel5);
     this.panel4.Location = new System.Drawing.Point(12, 5);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(120, 200);
     this.panel4.TabIndex = 7;
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.White;
     this.panel5.Controls.Add(this.label3);
     this.panel5.Controls.Add(this.checkBoxPreRenderDocument);
     this.panel5.Controls.Add(this.checkBoxLoadError);
     this.panel5.Controls.Add(this.checkBoxLoadFinished);
     this.panel5.Controls.Add(this.checkBoxLoadStarted);
     this.panel5.Controls.Add(this.button1);
     this.panel5.Location = new System.Drawing.Point(2, 2);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(116, 196);
     this.panel5.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(-2, 0);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(120, 24);
     this.label3.TabIndex  = 15;
     this.label3.Text      = "Load Events";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // checkBoxPreRenderDocument
     //
     this.checkBoxPreRenderDocument.BackColor          = System.Drawing.Color.White;
     this.checkBoxPreRenderDocument.Checked            = true;
     this.checkBoxPreRenderDocument.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxPreRenderDocument.DrawFocusRectangle = false;
     this.checkBoxPreRenderDocument.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxPreRenderDocument.ForeColor     = System.Drawing.Color.Black;
     this.checkBoxPreRenderDocument.Location      = new System.Drawing.Point(10, 125);
     this.checkBoxPreRenderDocument.MetroColor    = System.Drawing.Color.Gray;
     this.checkBoxPreRenderDocument.Name          = "checkBoxPreRenderDocument";
     this.checkBoxPreRenderDocument.Size          = new System.Drawing.Size(96, 29);
     this.checkBoxPreRenderDocument.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxPreRenderDocument.TabIndex      = 14;
     this.checkBoxPreRenderDocument.Text          = "PreRenderDocument";
     this.checkBoxPreRenderDocument.ThemesEnabled = false;
     //
     // checkBoxLoadError
     //
     this.checkBoxLoadError.BackColor          = System.Drawing.Color.White;
     this.checkBoxLoadError.Checked            = true;
     this.checkBoxLoadError.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxLoadError.DrawFocusRectangle = false;
     this.checkBoxLoadError.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxLoadError.ForeColor     = System.Drawing.Color.Black;
     this.checkBoxLoadError.Location      = new System.Drawing.Point(10, 96);
     this.checkBoxLoadError.MetroColor    = System.Drawing.Color.Gray;
     this.checkBoxLoadError.Name          = "checkBoxLoadError";
     this.checkBoxLoadError.Size          = new System.Drawing.Size(96, 18);
     this.checkBoxLoadError.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxLoadError.TabIndex      = 13;
     this.checkBoxLoadError.Text          = "LoadError";
     this.checkBoxLoadError.ThemesEnabled = false;
     //
     // checkBoxLoadFinished
     //
     this.checkBoxLoadFinished.BackColor          = System.Drawing.Color.White;
     this.checkBoxLoadFinished.Checked            = true;
     this.checkBoxLoadFinished.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxLoadFinished.DrawFocusRectangle = false;
     this.checkBoxLoadFinished.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxLoadFinished.ForeColor     = System.Drawing.Color.Black;
     this.checkBoxLoadFinished.Location      = new System.Drawing.Point(10, 64);
     this.checkBoxLoadFinished.MetroColor    = System.Drawing.Color.Gray;
     this.checkBoxLoadFinished.Name          = "checkBoxLoadFinished";
     this.checkBoxLoadFinished.Size          = new System.Drawing.Size(96, 20);
     this.checkBoxLoadFinished.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxLoadFinished.TabIndex      = 12;
     this.checkBoxLoadFinished.Text          = "LoadFinished";
     this.checkBoxLoadFinished.ThemesEnabled = false;
     //
     // checkBoxLoadStarted
     //
     this.checkBoxLoadStarted.BackColor          = System.Drawing.Color.White;
     this.checkBoxLoadStarted.Checked            = true;
     this.checkBoxLoadStarted.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxLoadStarted.DrawFocusRectangle = false;
     this.checkBoxLoadStarted.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxLoadStarted.ForeColor     = System.Drawing.Color.Black;
     this.checkBoxLoadStarted.Location      = new System.Drawing.Point(10, 32);
     this.checkBoxLoadStarted.MetroColor    = System.Drawing.Color.Gray;
     this.checkBoxLoadStarted.Name          = "checkBoxLoadStarted";
     this.checkBoxLoadStarted.Size          = new System.Drawing.Size(96, 26);
     this.checkBoxLoadStarted.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxLoadStarted.TabIndex      = 11;
     this.checkBoxLoadStarted.Text          = "LoadStarted";
     this.checkBoxLoadStarted.ThemesEnabled = false;
     //
     // 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", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor  = System.Drawing.Color.Black;
     this.button1.Location   = new System.Drawing.Point(8, 160);
     this.button1.Name       = "button1";
     this.button1.Size       = new System.Drawing.Size(98, 24);
     this.button1.TabIndex   = 11;
     this.button1.Text       = "Load Document";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button3
     //
     this.button3.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button3.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.button3.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor  = System.Drawing.Color.Black;
     this.button3.Location   = new System.Drawing.Point(16, 345);
     this.button3.Name       = "button3";
     this.button3.Size       = new System.Drawing.Size(112, 24);
     this.button3.TabIndex   = 4;
     this.button3.Text       = "Clear";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // textBox1
     //
     this.textBox1.BackColor   = System.Drawing.SystemColors.ControlLightLight;
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox1.Dock        = System.Windows.Forms.DockStyle.Bottom;
     this.textBox1.Font        = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location    = new System.Drawing.Point(154, 364);
     this.textBox1.Multiline   = true;
     this.textBox1.Name        = "textBox1";
     this.textBox1.ScrollBars  = System.Windows.Forms.ScrollBars.Vertical;
     this.textBox1.Size        = new System.Drawing.Size(514, 103);
     this.textBox1.TabIndex    = 2;
     //
     // 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(154, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(514, 354);
     this.gradientPanel1.TabIndex = 3;
     //
     // 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(678, 477);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.textBox1);
     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(690, 513);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Control Events";
     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.checkBoxShowTitleChanged)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxTitleChanged)).EndInit();
     this.panel4.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxPreRenderDocument)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxLoadError)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxLoadFinished)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxLoadStarted)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Syncfusion.Windows.Forms.MetroColorTable       metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable();
     Syncfusion.Windows.Forms.Tools.TreeNodeAdv     treeNodeAdv1     = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.colorDialog1    = new System.Windows.Forms.ColorDialog();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.treeViewAdv3    = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
     this.imageList2      = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel2  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.comboBox2       = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.label2          = new System.Windows.Forms.Label();
     this.label5          = new System.Windows.Forms.Label();
     this.comboBox1       = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.button1         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.contextMenu1    = new System.Windows.Forms.ContextMenu();
     this.editItem        = new System.Windows.Forms.MenuItem();
     this.copyItem        = new System.Windows.Forms.MenuItem();
     this.cutItem         = new System.Windows.Forms.MenuItem();
     this.leftImageList   = new System.Windows.Forms.ImageList(this.components);
     this.rightImageList  = new System.Windows.Forms.ImageList(this.components);
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.colorDialog2    = new System.Windows.Forms.ColorDialog();
     this.stateImageList  = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit();
     this.gradientPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.HorizontalSmallChange = 7;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.MetroThumbSize        = new System.Drawing.Size(0, 0);
     metroColorTable1.ArrowChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
     metroColorTable1.ArrowInActive             = System.Drawing.Color.White;
     metroColorTable1.ArrowNormal               = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
     metroColorTable1.ArrowNormalBackGround     = System.Drawing.Color.Empty;
     metroColorTable1.ArrowPushed               = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
     metroColorTable1.ArrowPushedBackGround     = System.Drawing.Color.Empty;
     metroColorTable1.ScrollerBackground        = System.Drawing.Color.White;
     metroColorTable1.ThumbChecked              = System.Drawing.Color.FromArgb(((int)(((byte)(147)))), ((int)(((byte)(149)))), ((int)(((byte)(152)))));
     metroColorTable1.ThumbInActive             = System.Drawing.Color.White;
     metroColorTable1.ThumbNormal               = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
     metroColorTable1.ThumbPushed               = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
     metroColorTable1.ThumbPushedBorder         = System.Drawing.Color.Empty;
     this.scrollersFrame1.ScrollMetroColorTable = metroColorTable1;
     this.scrollersFrame1.ShowMetroArrowButton  = true;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VerticallSmallChange  = 13;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // treeViewAdv3
     //
     this.treeViewAdv3.AddSeparatorAtEnd = true;
     this.treeViewAdv3.AllowDrop         = true;
     this.treeViewAdv3.BackColor         = System.Drawing.Color.White;
     this.treeViewAdv3.BeforeTouchSize   = new System.Drawing.Size(279, 461);
     this.treeViewAdv3.Border3DStyle     = System.Windows.Forms.Border3DStyle.Flat;
     this.treeViewAdv3.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeViewAdv3.Font = new System.Drawing.Font("Verdana", 8F);
     //
     //
     //
     this.treeViewAdv3.HelpTextControl.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.HelpTextControl.Location      = new System.Drawing.Point(732, 0);
     this.treeViewAdv3.HelpTextControl.Name          = "helpText";
     this.treeViewAdv3.HelpTextControl.Size          = new System.Drawing.Size(49, 15);
     this.treeViewAdv3.HelpTextControl.TabIndex      = 0;
     this.treeViewAdv3.HelpTextControl.Text          = "help text";
     this.treeViewAdv3.IgnoreThemeBackground         = true;
     this.treeViewAdv3.InactiveSelectedNodeForeColor = System.Drawing.SystemColors.ControlText;
     this.treeViewAdv3.Indent       = 20;
     this.treeViewAdv3.LineColor    = System.Drawing.Color.Transparent;
     this.treeViewAdv3.LoadOnDemand = true;
     this.treeViewAdv3.Location     = new System.Drawing.Point(299, 0);
     this.treeViewAdv3.MetroColor   = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.treeViewAdv3.Name         = "treeViewAdv3";
     treeNodeAdv1.ChildStyle.EnsureDefaultOptionedChild = true;
     treeNodeAdv1.EnsureDefaultOptionedChild            = true;
     treeNodeAdv1.MultiLine     = true;
     treeNodeAdv1.PlusMinusSize = new System.Drawing.Size(9, 9);
     treeNodeAdv1.ShowLine      = true;
     treeNodeAdv1.Text          = "c:";
     this.treeViewAdv3.Nodes.AddRange(new Syncfusion.Windows.Forms.Tools.TreeNodeAdv[] {
         treeNodeAdv1
     });
     this.treeViewAdv3.PathSeparator          = "/";
     this.treeViewAdv3.SelectedNodeBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))));
     this.treeViewAdv3.SelectedNodeForeColor  = System.Drawing.SystemColors.HighlightText;
     this.treeViewAdv3.ShowCheckBoxes         = true;
     this.treeViewAdv3.ShowFocusRect          = false;
     this.treeViewAdv3.ShowOptionButtons      = true;
     this.treeViewAdv3.Size           = new System.Drawing.Size(279, 461);
     this.treeViewAdv3.StateImageList = this.imageList2;
     this.treeViewAdv3.Style          = Syncfusion.Windows.Forms.Tools.TreeStyle.Metro;
     this.treeViewAdv3.TabIndex       = 5;
     this.treeViewAdv3.ThemesEnabled  = false;
     //
     //
     //
     this.treeViewAdv3.ToolTipControl.BackColor   = System.Drawing.SystemColors.Info;
     this.treeViewAdv3.ToolTipControl.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.treeViewAdv3.ToolTipControl.Location    = new System.Drawing.Point(642, 0);
     this.treeViewAdv3.ToolTipControl.Name        = "toolTip";
     this.treeViewAdv3.ToolTipControl.Size        = new System.Drawing.Size(41, 15);
     this.treeViewAdv3.ToolTipControl.TabIndex    = 1;
     this.treeViewAdv3.ToolTipControl.Text        = "toolTip";
     this.treeViewAdv3.BeforeExpand    += new Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableNodeEventHandler(this.treeViewAdv3_BeforeExpand);
     this.treeViewAdv3.BeforeNodePaint += new Syncfusion.Windows.Forms.Tools.TreeNodeAdvPaintEventHandler(this.treeViewAdv3_BeforeNodePaint);
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList2.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList2.TransparentColor = System.Drawing.Color.White;
     //
     // gradientPanel2
     //
     this.gradientPanel2.Border3DStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.gradientPanel2.BorderSides   = System.Windows.Forms.Border3DSide.Left;
     this.gradientPanel2.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.gradientPanel2.Controls.Add(this.comboBox2);
     this.gradientPanel2.Controls.Add(this.label2);
     this.gradientPanel2.Controls.Add(this.label5);
     this.gradientPanel2.Controls.Add(this.comboBox1);
     this.gradientPanel2.Controls.Add(this.button1);
     this.gradientPanel2.Dock     = System.Windows.Forms.DockStyle.Left;
     this.gradientPanel2.Location = new System.Drawing.Point(0, 0);
     this.gradientPanel2.Name     = "gradientPanel2";
     this.gradientPanel2.Size     = new System.Drawing.Size(299, 461);
     this.gradientPanel2.TabIndex = 6;
     //
     // comboBox2
     //
     this.comboBox2.BackColor       = System.Drawing.Color.White;
     this.comboBox2.BeforeTouchSize = new System.Drawing.Size(216, 21);
     this.comboBox2.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.Items.AddRange(new object[] {
         "Text",
         "CheckBox",
         "Tag"
     });
     this.comboBox2.Location = new System.Drawing.Point(62, 136);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(216, 21);
     this.comboBox2.Style    = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox2.TabIndex = 12;
     this.comboBox2.Text     = "Text";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(62, 112);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 16);
     this.label2.TabIndex  = 11;
     this.label2.Text      = "Sort Type";
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Location  = new System.Drawing.Point(62, 56);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(100, 16);
     this.label5.TabIndex  = 10;
     this.label5.Text      = "Sort Order";
     //
     // comboBox1
     //
     this.comboBox1.BackColor       = System.Drawing.Color.White;
     this.comboBox1.BeforeTouchSize = new System.Drawing.Size(216, 21);
     this.comboBox1.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.Items.AddRange(new object[] {
         "None",
         "Ascending",
         "Descending"
     });
     this.comboBox1.Location = new System.Drawing.Point(62, 80);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(216, 21);
     this.comboBox1.Style    = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBox1.TabIndex = 9;
     this.comboBox1.Text     = "None";
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(136, 23);
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(105, 218);
     this.button1.Name                    = "button1";
     this.button1.Size                    = new System.Drawing.Size(136, 23);
     this.button1.TabIndex                = 8;
     this.button1.Text                    = "Sort selected node";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.editItem,
         this.copyItem,
         this.cutItem
     });
     //
     // editItem
     //
     this.editItem.Index  = 0;
     this.editItem.Text   = "&Edit";
     this.editItem.Click += new System.EventHandler(this.editItem_Click);
     //
     // copyItem
     //
     this.copyItem.Index  = 1;
     this.copyItem.Text   = "&Copy";
     this.copyItem.Click += new System.EventHandler(this.copyItem_Click);
     //
     // cutItem
     //
     this.cutItem.Index  = 2;
     this.cutItem.Text   = "Cu&t";
     this.cutItem.Click += new System.EventHandler(this.cutItem_Click);
     //
     // leftImageList
     //
     this.leftImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("leftImageList.ImageStream")));
     this.leftImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.leftImageList.Images.SetKeyName(0, "");
     this.leftImageList.Images.SetKeyName(1, "");
     this.leftImageList.Images.SetKeyName(2, "");
     this.leftImageList.Images.SetKeyName(3, "");
     this.leftImageList.Images.SetKeyName(4, "");
     //
     // rightImageList
     //
     this.rightImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("rightImageList.ImageStream")));
     this.rightImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.rightImageList.Images.SetKeyName(0, "");
     this.rightImageList.Images.SetKeyName(1, "");
     this.rightImageList.Images.SetKeyName(2, "smiley.ico");
     this.rightImageList.Images.SetKeyName(3, "");
     this.rightImageList.Images.SetKeyName(4, "");
     this.rightImageList.Images.SetKeyName(5, "");
     this.rightImageList.Images.SetKeyName(6, "");
     this.rightImageList.Images.SetKeyName(7, "");
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.treeViewAdv3);
     this.gradientPanel1.Controls.Add(this.gradientPanel2);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(10, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(580, 463);
     this.gradientPanel1.TabIndex = 3;
     //
     // stateImageList
     //
     this.stateImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("stateImageList.ImageStream")));
     this.stateImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.stateImageList.Images.SetKeyName(0, "");
     this.stateImageList.Images.SetKeyName(1, "");
     this.stateImageList.Images.SetKeyName(2, "");
     //
     // Form1
     //
     this.AutoScaleBaseSize  = new System.Drawing.Size(5, 15);
     this.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(229)))));
     this.CaptionBarColor    = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.CaptionButtonColor = System.Drawing.Color.White;
     this.CaptionFont        = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.CaptionForeColor   = System.Drawing.Color.White;
     this.ClientSize         = new System.Drawing.Size(600, 483);
     this.Controls.Add(this.gradientPanel1);
     this.DropShadow    = true;
     this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(50, 300);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "TreeViewAdv Sorting";
     this.Load         += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit();
     this.gradientPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.comboBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #20
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo   treeNodeAdvStyleInfo1   = new Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfo();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv1            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv2            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv3            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv4            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv5            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv6            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv7            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv8            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv9            = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv10           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv11           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv12           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv13           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv14           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv15           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv16           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv17           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv18           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv19           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv20           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeNodeAdv            treeNodeAdv21           = new Syncfusion.Windows.Forms.Tools.TreeNodeAdv();
            Syncfusion.Windows.Forms.Tools.TreeViewAdvVisualStyle treeViewAdvVisualStyle1 = new Syncfusion.Windows.Forms.Tools.TreeViewAdvVisualStyle();
            System.ComponentModel.ComponentResourceManager        resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.gradientPanel1 = new GradientPanel();
            this.treeViewAdv2   = new Syncfusion.Windows.Forms.Tools.TreeViewAdv();
            this.leftImageList  = new System.Windows.Forms.ImageList(this.components);
            this.rightImageList = new System.Windows.Forms.ImageList(this.components);
            this.buttonAdv1     = new Syncfusion.Windows.Forms.ButtonAdv();
            this.stateImageList = new System.Windows.Forms.ImageList(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.SuspendLayout();

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

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

            //
            // gradientPanel1
            //
            this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
            this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.gradientPanel1.Controls.Add(this.buttonAdv1);
            this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.gradientPanel1.Location = new System.Drawing.Point(10, 0);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(766, 35);
            this.gradientPanel1.TabIndex = 3;
            //
            // buttonAdv1
            //
            this.buttonAdv1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.buttonAdv1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv1.BeforeTouchSize   = new System.Drawing.Size(120, 31);
            this.buttonAdv1.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv1.Image             = global::_TreeViewAdvImageOverLayingDemo.Properties.Resources.touch_padding2;
            this.buttonAdv1.IsBackStageButton = false;
            this.buttonAdv1.Location          = new System.Drawing.Point(648, 0);
            this.buttonAdv1.Name                    = "buttonAdv1";
            this.buttonAdv1.Size                    = new System.Drawing.Size(120, 31);
            this.buttonAdv1.TabIndex                = 0;
            this.buttonAdv1.Text                    = "Enable Touch";
            this.buttonAdv1.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageBeforeText;
            this.buttonAdv1.ThemeName               = "Metro";
            this.buttonAdv1.UseVisualStyle          = true;
            this.buttonAdv1.UseVisualStyleBackColor = true;
            this.buttonAdv1.Click                  += new System.EventHandler(this.buttonAdv1_Click);
            //
            // stateImageList
            //
            this.stateImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("stateImageList.ImageStream")));
            this.stateImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.stateImageList.Images.SetKeyName(0, "");
            this.stateImageList.Images.SetKeyName(1, "");
            this.stateImageList.Images.SetKeyName(2, "");
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(786, 561);
            this.Controls.Add(this.treeViewAdv2);
            this.Controls.Add(this.gradientPanel1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(50, 300);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10, 5, 10, 10);
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Customization";
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.treeViewAdv2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #21
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1     = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.statusBar1         = new Syncfusion.Windows.Forms.Tools.StatusBarAdv();
     this.scrollersFrame1    = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1     = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.statusBarAdvPanel1 = new Syncfusion.Windows.Forms.Tools.StatusBarAdvPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBar1)).BeginInit();
     this.statusBar1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).BeginInit();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoRunScripts                = true;
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(700, 410);
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location      = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name          = "htmluiControl1";
     this.htmluiControl1.ShowTitle     = false;
     this.htmluiControl1.Size          = new System.Drawing.Size(717, 425);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.TabStop       = false;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     this.htmluiControl1.LoadError    += new Syncfusion.Windows.Forms.HTMLUI.LoadErrorEventHandler(this.htmluiControl1_LoadError);
     //
     // statusBar1
     //
     this.statusBar1.Controls.Add(this.statusBarAdvPanel1);
     this.statusBar1.CustomLayoutBounds = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.statusBar1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.statusBar1.Location = new System.Drawing.Point(10, 437);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Padding  = new System.Windows.Forms.Padding(3);
     this.statusBar1.Size     = new System.Drawing.Size(719, 29);
     this.statusBar1.Spacing  = new System.Drawing.Size(2, 2);
     this.statusBar1.TabIndex = 1;
     this.statusBar1.Text     = "statusBar1";
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.DarkGray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(10, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(719, 427);
     this.gradientPanel1.TabIndex = 2;
     //
     // statusBarAdvPanel1
     //
     this.statusBarAdvPanel1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.statusBarAdvPanel1.Location    = new System.Drawing.Point(0, 2);
     this.statusBarAdvPanel1.Margin      = new System.Windows.Forms.Padding(0);
     this.statusBarAdvPanel1.Name        = "statusBarAdvPanel1";
     this.statusBarAdvPanel1.Size        = new System.Drawing.Size(672, 21);
     this.statusBarAdvPanel1.TabIndex    = 0;
     this.statusBarAdvPanel1.Text        = "statusBarAdvPanel1";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize        = new System.Drawing.Size(739, 476);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.statusBar1);
     this.DropShadow       = true;
     this.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.MinimumSize      = new System.Drawing.Size(751, 512);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "File Links";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBar1)).EndInit();
     this.statusBar1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarAdvPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #22
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(MainForm));
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.imageList1           = new System.Windows.Forms.ImageList(this.components);
     this.splashControl1       = new Syncfusion.Windows.Forms.Tools.SplashControl();
     this.pictureBox1          = new System.Windows.Forms.PictureBox();
     this.button6              = new System.Windows.Forms.Button();
     this.tabControlAdv1       = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdv1          = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.textBox5             = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.imageList2           = 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, "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.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
     this.tabControlAdv1.SuspendLayout();
     this.tabPageAdv1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textBox5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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, "");
     //
     // splashControl1
     //
     this.splashControl1.DesktopAlignment     = Syncfusion.Windows.Forms.Tools.SplashAlignment.RightBottom;
     this.splashControl1.HostForm             = this;
     this.splashControl1.SplashImage          = ((System.Drawing.Image)(resources.GetObject("splashControl1.SplashImage")));
     this.splashControl1.TimerInterval        = 3000;
     this.splashControl1.UseCustomSplashPanel = true;
     this.splashControl1.BeforeSplash        += new System.ComponentModel.CancelEventHandler(this.splashControl1_BeforeSplash);
     this.splashControl1.SplashDisplayed     += new System.EventHandler(this.splashControl1_SplashDisplayed);
     this.splashControl1.SplashClosed        += new System.EventHandler(this.splashControl1_SplashClosed);
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(222, 56);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(450, 252);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pictureBox1.TabIndex = 5;
     this.pictureBox1.TabStop  = false;
     //
     // button6
     //
     this.button6.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(200)))), ((int)(((byte)(219)))));
     this.button6.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.button6.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
     this.button6.ImageIndex = 2;
     this.button6.Location   = new System.Drawing.Point(392, 334);
     this.button6.Name       = "button6";
     this.button6.Size       = new System.Drawing.Size(151, 40);
     this.button6.TabIndex   = 4;
     this.button6.Text       = "Click to Show Splash Screen";
     this.button6.UseVisualStyleBackColor = false;
     this.button6.Click += new System.EventHandler(this.button6_Click);
     //
     // tabControlAdv1
     //
     this.tabControlAdv1.BackColor = System.Drawing.Color.White;
     this.tabControlAdv1.Controls.Add(this.tabPageAdv1);
     this.tabControlAdv1.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.tabControlAdv1.ImageList             = this.imageList2;
     this.tabControlAdv1.Location              = new System.Drawing.Point(0, 0);
     this.tabControlAdv1.Name                  = "tabControlAdv1";
     this.tabControlAdv1.Size                  = new System.Drawing.Size(857, 486);
     this.tabControlAdv1.TabIndex              = 6;
     this.tabControlAdv1.TabStyle              = typeof(Syncfusion.Windows.Forms.Tools.TabRendererMetro);
     this.tabControlAdv1.SelectedIndexChanged += new System.EventHandler(this.tabControlAdv1_SelectedIndexChanged);
     //
     // tabPageAdv1
     //
     this.tabPageAdv1.Controls.Add(this.textBox5);
     this.tabPageAdv1.Controls.Add(this.pictureBox1);
     this.tabPageAdv1.Controls.Add(this.button6);
     this.tabPageAdv1.Image           = null;
     this.tabPageAdv1.ImageIndex      = 0;
     this.tabPageAdv1.ImageSize       = new System.Drawing.Size(16, 16);
     this.tabPageAdv1.Location        = new System.Drawing.Point(1, 25);
     this.tabPageAdv1.Name            = "tabPageAdv1";
     this.tabPageAdv1.Padding         = new System.Windows.Forms.Padding(10);
     this.tabPageAdv1.ShowCloseButton = true;
     this.tabPageAdv1.Size            = new System.Drawing.Size(854, 459);
     this.tabPageAdv1.TabIndex        = 1;
     this.tabPageAdv1.Text            = "Show Splash";
     this.tabPageAdv1.ThemesEnabled   = false;
     //
     // textBox5
     //
     this.textBox5.Cursor     = System.Windows.Forms.Cursors.IBeam;
     this.textBox5.Dock       = System.Windows.Forms.DockStyle.Bottom;
     this.textBox5.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(103)))), ((int)(((byte)(110)))), ((int)(((byte)(154)))));
     this.textBox5.Location   = new System.Drawing.Point(10, 396);
     this.textBox5.Metrocolor = System.Drawing.Color.Empty;
     this.textBox5.Multiline  = true;
     this.textBox5.Name       = "textBox5";
     this.textBox5.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textBox5.Size       = new System.Drawing.Size(834, 53);
     this.textBox5.Style      = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Default;
     this.textBox5.TabIndex   = 4;
     //
     // imageList2
     //
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList2.Images.SetKeyName(0, "");
     this.imageList2.Images.SetKeyName(1, "");
     //
     // mainFrameBarManager1
     //
     this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
     this.mainFrameBarManager1.Bars.Add(this.bar1);
     this.mainFrameBarManager1.Categories.Add("File");
     this.mainFrameBarManager1.Categories.Add("Help");
     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.ResetCustomization = false;
     this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // bar1
     //
     this.bar1.BarName  = "menu";
     this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu)
                                                                               | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
     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            = "BarItem";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1
     });
     this.parentBarItem1.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Text = "&File";
     //
     // barItem1
     //
     this.barItem1.BarName            = "barItem1";
     this.barItem1.CategoryIndex      = 0;
     this.barItem1.ID                 = "BarItem_1";
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "&Exit";
     this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName       = "parentBarItem2";
     this.parentBarItem2.CategoryIndex = 1;
     this.parentBarItem2.ID            = "BarItem_2";
     this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem2
     });
     this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Text = "&Help";
     //
     // barItem2
     //
     this.barItem2.BarName            = "barItem2";
     this.barItem2.CategoryIndex      = 1;
     this.barItem2.ID                 = "BarItem_3";
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "&About";
     this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.Gray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.tabControlAdv1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(15, 44);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(859, 488);
     this.gradientPanel1.TabIndex = 12;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(889, 547);
     this.Controls.Add(this.gradientPanel1);
     this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(901, 584);
     this.Name          = "MainForm";
     this.Padding       = new System.Windows.Forms.Padding(15);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Splash Control";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     this.Resize       += new System.EventHandler(this.MainForm_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).EndInit();
     this.tabControlAdv1.ResumeLayout(false);
     this.tabPageAdv1.ResumeLayout(false);
     this.tabPageAdv1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textBox5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.panel1          = new System.Windows.Forms.Panel();
     this.panel4          = new System.Windows.Forms.Panel();
     this.panel5          = new System.Windows.Forms.Panel();
     this.label3          = new System.Windows.Forms.Label();
     this.radioButton2    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.htmluiControl1  = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(136, 489);
     this.panel1.TabIndex = 1;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(221)))), ((int)(((byte)(237)))));
     this.panel4.Controls.Add(this.panel5);
     this.panel4.Location = new System.Drawing.Point(6, 62);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(120, 136);
     this.panel4.TabIndex = 5;
     //
     // panel5
     //
     this.panel5.BackColor   = System.Drawing.Color.White;
     this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel5.Controls.Add(this.radioButton2);
     this.panel5.Controls.Add(this.radioButton1);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(120, 136);
     this.panel5.TabIndex = 5;
     //
     // label3
     //
     this.label3.BackColor   = System.Drawing.Color.White;
     this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label3.Dock        = System.Windows.Forms.DockStyle.Top;
     this.label3.ForeColor   = System.Drawing.Color.Black;
     this.label3.Location    = new System.Drawing.Point(0, 0);
     this.label3.Name        = "label3";
     this.label3.Size        = new System.Drawing.Size(134, 24);
     this.label3.TabIndex    = 6;
     this.label3.Text        = "Style Sheets";
     this.label3.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // radioButton2
     //
     this.radioButton2.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton2.BackColor     = System.Drawing.Color.White;
     this.radioButton2.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor     = System.Drawing.Color.Black;
     this.radioButton2.Location      = new System.Drawing.Point(4, 81);
     this.radioButton2.MetroColor    = System.Drawing.Color.Empty;
     this.radioButton2.Name          = "radioButton2";
     this.radioButton2.Size          = new System.Drawing.Size(110, 40);
     this.radioButton2.TabIndex      = 5;
     this.radioButton2.TabStop       = false;
     this.radioButton2.Text          = "Style sheet2";
     this.radioButton2.ThemesEnabled = false;
     this.radioButton2.CheckChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // radioButton1
     //
     this.radioButton1.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton1.BackColor     = System.Drawing.Color.White;
     this.radioButton1.Checked       = true;
     this.radioButton1.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor     = System.Drawing.Color.Black;
     this.radioButton1.Location      = new System.Drawing.Point(4, 41);
     this.radioButton1.MetroColor    = System.Drawing.Color.Empty;
     this.radioButton1.Name          = "radioButton1";
     this.radioButton1.Size          = new System.Drawing.Size(110, 32);
     this.radioButton1.TabIndex      = 4;
     this.radioButton1.Text          = "Style sheet1";
     this.radioButton1.ThemesEnabled = false;
     this.radioButton1.CheckChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(567, 472);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name     = "htmluiControl1";
     this.htmluiControl1.Size     = new System.Drawing.Size(584, 487);
     this.htmluiControl1.TabIndex = 2;
     this.htmluiControl1.Text     = resources.GetString("htmluiControl1.Text");
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(146, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(586, 489);
     this.gradientPanel1.TabIndex = 3;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.ClientSize        = new System.Drawing.Size(742, 509);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.panel1);
     this.DropShadow    = true;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(754, 545);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "HTML CSS";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #24
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(MainForm));
     this.cancelButton       = new System.Windows.Forms.Button();
     this.helpLinkLabel      = new System.Windows.Forms.LinkLabel();
     this.roundedStatusPanel = new Sdl.Community.Trados2007.UI.GradientPanel();
     this.tableLayoutPanel1  = new System.Windows.Forms.TableLayoutPanel();
     this.fileBasedButton    = new System.Windows.Forms.Button();
     this.label1             = new System.Windows.Forms.Label();
     this.roundedStatusPanel.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // cancelButton
     //
     this.cancelButton.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location                = new System.Drawing.Point(451, 164);
     this.cancelButton.Name                    = "cancelButton";
     this.cancelButton.Size                    = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex                = 5;
     this.cancelButton.Text                    = "&Cancel";
     this.cancelButton.UseVisualStyleBackColor = true;
     this.cancelButton.Click                  += new System.EventHandler(this.OnCancelButtonClick);
     //
     // helpLinkLabel
     //
     this.helpLinkLabel.AutoSize     = true;
     this.helpLinkLabel.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.helpLinkLabel.Location     = new System.Drawing.Point(397, 167);
     this.helpLinkLabel.Name         = "helpLinkLabel";
     this.helpLinkLabel.Size         = new System.Drawing.Size(33, 15);
     this.helpLinkLabel.TabIndex     = 7;
     this.helpLinkLabel.TabStop      = true;
     this.helpLinkLabel.Text         = "Help";
     this.helpLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.OnHelpLinkLabelLinkClicked);
     //
     // roundedStatusPanel
     //
     this.roundedStatusPanel.BorderColor = System.Drawing.Color.Gray;
     this.roundedStatusPanel.Controls.Add(this.tableLayoutPanel1);
     this.roundedStatusPanel.GradientEndColor   = System.Drawing.SystemColors.Control;
     this.roundedStatusPanel.GradientStartColor = System.Drawing.Color.White;
     this.roundedStatusPanel.Image             = null;
     this.roundedStatusPanel.ImageLocation     = new System.Drawing.Point(4, 4);
     this.roundedStatusPanel.Location          = new System.Drawing.Point(12, 12);
     this.roundedStatusPanel.Name              = "roundedStatusPanel";
     this.roundedStatusPanel.RoundCornerRadius = 20;
     this.roundedStatusPanel.Size              = new System.Drawing.Size(514, 125);
     this.roundedStatusPanel.TabIndex          = 6;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.BackColor   = System.Drawing.SystemColors.HighlightText;
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Controls.Add(this.fileBasedButton, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.label1, 2, 1);
     this.tableLayoutPanel1.Location = new System.Drawing.Point(15, 18);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 3;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 8F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.33334F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.66667F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 33F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(480, 83);
     this.tableLayoutPanel1.TabIndex = 3;
     //
     // fileBasedButton
     //
     this.fileBasedButton.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.fileBasedButton.Image                   = global::Sdl.Community.Trados2007.PluginResources.Trados2007_FileBased_Image;
     this.fileBasedButton.ImageAlign              = System.Drawing.ContentAlignment.MiddleLeft;
     this.fileBasedButton.Location                = new System.Drawing.Point(24, 18);
     this.fileBasedButton.Margin                  = new System.Windows.Forms.Padding(4, 10, 4, 10);
     this.fileBasedButton.Name                    = "fileBasedButton";
     this.fileBasedButton.Size                    = new System.Drawing.Size(222, 47);
     this.fileBasedButton.TabIndex                = 0;
     this.fileBasedButton.Text                    = "&File-based Translation Memory...";
     this.fileBasedButton.TextAlign               = System.Drawing.ContentAlignment.MiddleRight;
     this.fileBasedButton.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.fileBasedButton.UseVisualStyleBackColor = true;
     this.fileBasedButton.Click                  += new System.EventHandler(this.OnFileBasedButtonClick);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Location  = new System.Drawing.Point(283, 33);
     this.label1.Margin    = new System.Windows.Forms.Padding(33, 25, 0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(164, 13);
     this.label1.TabIndex  = 2;
     this.label1.Text      = "Select a local translation memory.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.cancelButton;
     this.ClientSize          = new System.Drawing.Size(546, 208);
     this.Controls.Add(this.helpLinkLabel);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.roundedStatusPanel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MainForm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Add SDL Trados 2007 Translation Memory";
     this.roundedStatusPanel.ResumeLayout(false);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }