/// <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.toolTip1    = new System.Windows.Forms.ToolTip(this.components);
     this.buttonAdv1  = new Syncfusion.Windows.Forms.ButtonAdv();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.label2      = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // 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)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv1.BeforeTouchSize    = new System.Drawing.Size(173, 33);
     this.buttonAdv1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.buttonAdv1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.buttonAdv1.Font                  = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv1.ForeColor             = System.Drawing.Color.White;
     this.buttonAdv1.IsBackStageButton     = false;
     this.buttonAdv1.KeepFocusRectangle    = false;
     this.buttonAdv1.Location              = new System.Drawing.Point(287, 213);
     this.buttonAdv1.Name                  = "buttonAdv1";
     this.buttonAdv1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.buttonAdv1.Size                  = new System.Drawing.Size(173, 33);
     this.buttonAdv1.TabIndex              = 62;
     this.buttonAdv1.Text                  = "Generate";
     this.buttonAdv1.UseVisualStyle        = true;
     this.buttonAdv1.Click                += new System.EventHandler(this.button1_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(486, 120);
     this.pictureBox1.TabIndex = 60;
     this.pictureBox1.TabStop  = false;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 125);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(498, 72);
     this.label2.TabIndex  = 68;
     this.label2.Text      = "Click the button to view the generated Word document. Please note that Microsoft " +
                             "Word Viewer or Microsoft Word is required to view the resultant Word document.";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 22);
     this.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize        = new System.Drawing.Size(486, 282);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.buttonAdv1);
     this.Controls.Add(this.pictureBox1);
     this.DropShadow      = true;
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Create Equation";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1             = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.label1                   = new System.Windows.Forms.Label();
            this.controlLanguageSelector1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlLanguageSelector();
            this.button1                  = new Syncfusion.Windows.Forms.ButtonAdv();
            this.controlFormatsList1      = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsList();
            this.controlFormatsSettings1  = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsSettings();
            this.label2                   = new System.Windows.Forms.Label();
            this.label3                   = new System.Windows.Forms.Label();
            this.panel2                   = new System.Windows.Forms.Panel();
            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.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode              = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BorderStyle                 = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize              = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                = config1;
            this.editControl1.Dock                        = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor    = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont             = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                    = new System.Drawing.Point(10, 39);
            this.editControl1.Name                        = "editControl1";
            this.editControl1.OnlyHighlightMatchingBraces = true;
            this.editControl1.RenderRightToLeft           = false;
            this.editControl1.ScrollPosition              = new System.Drawing.Point(0, 0);
            this.editControl1.ShowHorizontalSplitters     = false;
            this.editControl1.ShowIndicatorMargin         = false;
            this.editControl1.ShowSelectionMargin         = false;
            this.editControl1.ShowVerticalSplitters       = false;
            this.editControl1.Size                        = new System.Drawing.Size(408, 394);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 0;
            this.editControl1.Text               = "";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            this.editControl1.WordWrap           = true;
            //
            // label1
            //
            this.label1.Location  = new System.Drawing.Point(8, 272);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(192, 32);
            this.label1.TabIndex  = 2;
            this.label1.Text      = "Control used for selecting language:";
            this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // controlLanguageSelector1
            //
            this.controlLanguageSelector1.Configuration            = config1;
            this.controlLanguageSelector1.EditControl              = this.editControl1;
            this.controlLanguageSelector1.Location                 = new System.Drawing.Point(16, 304);
            this.controlLanguageSelector1.Name                     = "controlLanguageSelector1";
            this.controlLanguageSelector1.Size                     = new System.Drawing.Size(176, 21);
            this.controlLanguageSelector1.TabIndex                 = 1;
            this.controlLanguageSelector1.SelectedLanguageChanged += new System.EventHandler(this.controlLanguageSelector1_SelectedLanguageChanged);
            this.controlLanguageSelector1.Load                    += new System.EventHandler(this.controlLanguageSelector1_Load);

            //
            // button1
            //
            this.button1.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Office2016White;
            this.button1.BackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button1.Location       = new System.Drawing.Point(48, 344);
            this.button1.Name           = "button1";
            this.button1.Size           = new System.Drawing.Size(96, 23);
            this.button1.TabIndex       = 0;
            this.button1.Text           = "Show Dialog";
            this.button1.UseVisualStyle = true;
            this.button1.Click         += new System.EventHandler(this.button1_Click);
            //
            // controlFormatsList1
            //
            this.controlFormatsList1.Configuration    = config1;
            this.controlFormatsList1.EditControl      = this.editControl1;
            this.controlFormatsList1.LanguageSelector = this.controlLanguageSelector1;
            this.controlFormatsList1.Location         = new System.Drawing.Point(8, 32);
            this.controlFormatsList1.Name             = "controlFormatsList1";
            this.controlFormatsList1.SelectedFormats  = null;
            this.controlFormatsList1.Size             = new System.Drawing.Size(200, 224);
            this.controlFormatsList1.TabIndex         = 3;
            this.controlFormatsList1.Load            += new System.EventHandler(this.controlFormatsList1_Load);
            //
            // controlFormatsSettings1
            //
            this.controlFormatsSettings1.Formats         = null;
            this.controlFormatsSettings1.FormatsSelector = this.controlFormatsList1;
            this.controlFormatsSettings1.Location        = new System.Drawing.Point(224, 40);
            this.controlFormatsSettings1.Name            = "controlFormatsSettings1";
            this.controlFormatsSettings1.Size            = new System.Drawing.Size(336, 384);
            this.controlFormatsSettings1.TabIndex        = 4;
            //
            // label2
            //
            this.label2.Location  = new System.Drawing.Point(0, 0);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(216, 23);
            this.label2.TabIndex  = 5;
            this.label2.Text      = "Control for selecting language\'s format(s):";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // label3
            //
            this.label3.Location  = new System.Drawing.Point(248, 8);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(208, 23);
            this.label3.TabIndex  = 6;
            this.label3.Text      = "Control for editing selected formats:";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // panel2
            //
            this.panel2.BackColor = System.Drawing.Color.White;
            this.panel2.Controls.Add(this.controlFormatsSettings1);
            this.panel2.Controls.Add(this.label3);
            this.panel2.Controls.Add(this.label2);
            this.panel2.Controls.Add(this.controlFormatsList1);
            this.panel2.Controls.Add(this.label1);
            this.panel2.Controls.Add(this.controlLanguageSelector1);
            this.panel2.Controls.Add(this.button1);
            this.panel2.Dock     = System.Windows.Forms.DockStyle.Right;
            this.panel2.Location = new System.Drawing.Point(418, 39);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new System.Drawing.Size(568, 394);
            this.panel2.TabIndex = 3;
            //
            // 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("zoom");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, 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.parentBarItem2,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // 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.parentBarItem3
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text       = "File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName            = "parentBarItem2";
            this.parentBarItem2.CategoryIndex      = 1;
            this.parentBarItem2.ID                 = "ShowFontDialog";
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text               = "ShowFontDialog";
            this.parentBarItem2.Click             += new System.EventHandler(this.ShowFormatsCustomizationDialog);
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 0;
            this.parentBarItem3.ID            = "Zoom Options";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem8,
                this.barItem9
            });
            this.parentBarItem3.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text       = "Zoom Options";
            this.parentBarItem3.WrapLength = 20;
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "Allow Zoom";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Enable Zoom";
            this.barItem7.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 0;
            this.barItem8.ID                 = "Zoom in";
            this.barItem8.Image              = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem8.Image")));
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Zoom in";
            this.barItem8.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 0;
            this.barItem9.ID                 = "Zoom out";
            this.barItem9.Image              = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem9.Image")));
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Zoom out";
            this.barItem9.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(996, 443);
            this.Controls.Add(this.editControl1);
            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(1008, 480);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Font Customization";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.button1          = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label3           = new System.Windows.Forms.Label();
     this.comboBox1        = new System.Windows.Forms.ComboBox();
     this.label4           = new System.Windows.Forms.Label();
     this.numericUpDown1   = new System.Windows.Forms.NumericUpDown();
     this.label20          = new System.Windows.Forms.Label();
     this.label5           = new System.Windows.Forms.Label();
     this.label2           = new System.Windows.Forms.Label();
     this.label6           = new System.Windows.Forms.Label();
     this.checkBox1        = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBox2        = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.label1           = new System.Windows.Forms.Label();
     this.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.wordDocRadioBtn  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pdfRadioBtn      = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(108, 23);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(269, 325);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(108, 23);
     this.button1.TabIndex                = 26;
     this.button1.Text                    = "Generate";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(196, 156);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(87, 13);
     this.label3.TabIndex = 30;
     this.label3.Text     = "Number Format";
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location          = new System.Drawing.Point(284, 153);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(93, 21);
     this.comboBox1.TabIndex = 31;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(196, 192);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(47, 13);
     this.label4.TabIndex = 32;
     this.label4.Text     = "Start at:";
     //
     // numericUpDown1
     //
     this.numericUpDown1.Location = new System.Drawing.Point(284, 190);
     this.numericUpDown1.Name     = "numericUpDown1";
     this.numericUpDown1.Size     = new System.Drawing.Size(93, 22);
     this.numericUpDown1.TabIndex = 33;
     this.numericUpDown1.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // label20
     //
     this.label20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(143)))), ((int)(((byte)(164)))), ((int)(((byte)(190)))));
     this.label20.Location  = new System.Drawing.Point(199, 133);
     this.label20.Name      = "label20";
     this.label20.Size      = new System.Drawing.Size(178, 1);
     this.label20.TabIndex  = 34;
     //
     // label5
     //
     this.label5.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor  = System.Drawing.Color.Black;
     this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label5.Location   = new System.Drawing.Point(199, 103);
     this.label5.Name       = "label5";
     this.label5.Size       = new System.Drawing.Size(102, 27);
     this.label5.TabIndex   = 35;
     this.label5.Text       = "Page Number";
     this.label5.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor  = System.Drawing.Color.Black;
     this.label2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label2.Location   = new System.Drawing.Point(7, 103);
     this.label2.Name       = "label2";
     this.label2.Size       = new System.Drawing.Size(132, 27);
     this.label2.TabIndex   = 37;
     this.label2.Text       = "Header And Footer";
     this.label2.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label6
     //
     this.label6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(143)))), ((int)(((byte)(164)))), ((int)(((byte)(190)))));
     this.label6.Location  = new System.Drawing.Point(7, 133);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(170, 1);
     this.label6.TabIndex  = 36;
     //
     // checkBox1
     //
     this.checkBox1.BeforeTouchSize    = new System.Drawing.Size(186, 29);
     this.checkBox1.Border3DStyle      = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.checkBox1.BorderColor        = System.Drawing.Color.Black;
     this.checkBox1.Checked            = true;
     this.checkBox1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.DrawFocusRectangle = false;
     this.checkBox1.Font          = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.GradientEnd   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.checkBox1.GradientStart = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.checkBox1.Location      = new System.Drawing.Point(6, 155);
     this.checkBox1.MetroColor    = System.Drawing.Color.Gray;
     this.checkBox1.Name          = "checkBox1";
     this.checkBox1.Size          = new System.Drawing.Size(186, 29);
     this.checkBox1.StretchImage  = false;
     this.checkBox1.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.TabIndex      = 38;
     this.checkBox1.Tag           = "scrolls";
     this.checkBox1.Text          = "Header and Footer For First Page";
     this.checkBox1.ThemesEnabled = false;
     //
     // checkBox2
     //
     this.checkBox2.BeforeTouchSize    = new System.Drawing.Size(182, 32);
     this.checkBox2.Border3DStyle      = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.checkBox2.BorderColor        = System.Drawing.Color.Black;
     this.checkBox2.Checked            = true;
     this.checkBox2.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox2.DrawFocusRectangle = false;
     this.checkBox2.Font          = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox2.GradientEnd   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.checkBox2.GradientStart = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.checkBox2.Location      = new System.Drawing.Point(6, 190);
     this.checkBox2.MetroColor    = System.Drawing.Color.Gray;
     this.checkBox2.Name          = "checkBox2";
     this.checkBox2.Size          = new System.Drawing.Size(182, 32);
     this.checkBox2.StretchImage  = false;
     this.checkBox2.Style         = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox2.TabIndex      = 39;
     this.checkBox2.Tag           = "scrolls";
     this.checkBox2.Text          = "Header and Footer For All Pages";
     this.checkBox2.ThemesEnabled = false;
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(389, 82);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 61;
     this.pictureBox1.TabStop  = false;
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
     this.label1.Location  = new System.Drawing.Point(4, 237);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(373, 56);
     this.label1.TabIndex  = 27;
     this.label1.Text      = "Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox1.Controls.Add(this.wordDocRadioBtn);
     this.groupBox1.Controls.Add(this.pdfRadioBtn);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(6, 308);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(237, 51);
     this.groupBox1.TabIndex = 101;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocxRadioBtn.Checked         = true;
     this.wordDocxRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocxRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocxRadioBtn.Location        = new System.Drawing.Point(93, 20);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize = new System.Drawing.Size(47, 20);
     this.wordDocRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.wordDocRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocRadioBtn.Location        = new System.Drawing.Point(6, 20);
     this.wordDocRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name            = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size            = new System.Drawing.Size(47, 20);
     this.wordDocRadioBtn.TabIndex        = 44;
     this.wordDocRadioBtn.Text            = "DOC";
     this.wordDocRadioBtn.ThemesEnabled   = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.BeforeTouchSize = new System.Drawing.Size(45, 20);
     this.pdfRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pdfRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pdfRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pdfRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pdfRadioBtn.Location        = new System.Drawing.Point(192, 20);
     this.pdfRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.pdfRadioBtn.Name            = "pdfRadioBtn";
     this.pdfRadioBtn.Size            = new System.Drawing.Size(45, 20);
     this.pdfRadioBtn.TabIndex        = 45;
     this.pdfRadioBtn.Text            = "PDF";
     this.pdfRadioBtn.ThemesEnabled   = true;
     //
     // Form1
     //
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize          = new System.Drawing.Size(389, 373);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.checkBox2);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label20);
     this.Controls.Add(this.numericUpDown1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label1);
     this.DropShadow      = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Header and Footer";
     ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 4
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);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.label2           = new System.Windows.Forms.Label();
     this.listBoxCustomer  = new System.Windows.Forms.ListBox();
     this.button1          = new Syncfusion.Windows.Forms.ButtonAdv();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.templateBtn      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.label4           = new System.Windows.Forms.Label();
     this.wordDocRadioBtn  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pdfRadioBtn      = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.label1           = new System.Windows.Forms.Label();
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(6, 18);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(105, 30);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Select Customer ID";
     //
     // listBoxCustomer
     //
     this.listBoxCustomer.Location     = new System.Drawing.Point(11, 39);
     this.listBoxCustomer.Name         = "listBoxCustomer";
     this.listBoxCustomer.Size         = new System.Drawing.Size(90, 95);
     this.listBoxCustomer.TabIndex     = 2;
     this.listBoxCustomer.DoubleClick += new System.EventHandler(this.button1_Click);
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(108, 23);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(231, 100);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(108, 23);
     this.button1.TabIndex                = 1;
     this.button1.TabStop                 = false;
     this.button1.Text                    = "Create Invoice";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.button1);
     this.groupBox1.Controls.Add(this.templateBtn);
     this.groupBox1.Controls.Add(this.listBoxCustomer);
     this.groupBox1.Controls.Add(this.groupBox2);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Location = new System.Drawing.Point(3, 144);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(360, 160);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     //
     // templateBtn
     //
     this.templateBtn.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.templateBtn.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.templateBtn.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.templateBtn.BeforeTouchSize    = new System.Drawing.Size(108, 23);
     this.templateBtn.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.templateBtn.ComboEditBackColor = System.Drawing.Color.Silver;
     this.templateBtn.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.templateBtn.ForeColor               = System.Drawing.Color.White;
     this.templateBtn.IsBackStageButton       = false;
     this.templateBtn.KeepFocusRectangle      = false;
     this.templateBtn.Location                = new System.Drawing.Point(119, 100);
     this.templateBtn.Name                    = "templateBtn";
     this.templateBtn.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.templateBtn.Size                    = new System.Drawing.Size(108, 23);
     this.templateBtn.TabIndex                = 3;
     this.templateBtn.Text                    = "View Template";
     this.templateBtn.UseVisualStyle          = true;
     this.templateBtn.UseVisualStyleBackColor = false;
     this.templateBtn.Click                  += new System.EventHandler(this.templateBtn_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.wordDocRadioBtn);
     this.groupBox2.Controls.Add(this.pdfRadioBtn);
     this.groupBox2.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location = new System.Drawing.Point(119, 36);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(220, 49);
     this.groupBox2.TabIndex = 101;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Save As";
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(57, 20);
     this.wordDocxRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocxRadioBtn.Checked         = true;
     this.wordDocxRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocxRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocxRadioBtn.Location        = new System.Drawing.Point(81, 18);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(57, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(221, 23);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(20, 21);
     this.label4.TabIndex = 101;
     this.toolTip1.SetToolTip(this.label4, "Saves the document in Word 2007 format");
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize = new System.Drawing.Size(53, 20);
     this.wordDocRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.wordDocRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocRadioBtn.Location        = new System.Drawing.Point(6, 18);
     this.wordDocRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name            = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size            = new System.Drawing.Size(53, 20);
     this.wordDocRadioBtn.TabIndex        = 44;
     this.wordDocRadioBtn.Text            = "DOC";
     this.wordDocRadioBtn.ThemesEnabled   = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.BeforeTouchSize = new System.Drawing.Size(48, 20);
     this.pdfRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pdfRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pdfRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pdfRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pdfRadioBtn.Location        = new System.Drawing.Point(167, 18);
     this.pdfRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.pdfRadioBtn.Name            = "pdfRadioBtn";
     this.pdfRadioBtn.Size            = new System.Drawing.Size(48, 20);
     this.pdfRadioBtn.TabIndex        = 45;
     this.pdfRadioBtn.Text            = "PDF";
     this.pdfRadioBtn.ThemesEnabled   = true;
     //
     // 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.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
     this.label1.Location  = new System.Drawing.Point(0, 85);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(363, 56);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.";
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(375, 82);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 6;
     this.pictureBox1.TabStop  = false;
     //
     // Form1
     //
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize          = new System.Drawing.Size(375, 320);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.groupBox1);
     this.DropShadow      = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Sales Invoice";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Required method for Designer support; do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components      = new System.ComponentModel.Container();
     this.manualButton    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.autoButton      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button1         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.angleFormButton = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.SuspendLayout();
     //
     // manualButton
     //
     this.manualButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.manualButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.manualButton.BeforeTouchSize   = new System.Drawing.Size(184, 23);
     this.manualButton.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.manualButton.ForeColor         = System.Drawing.Color.White;
     this.manualButton.IsBackStageButton = false;
     this.manualButton.Location          = new System.Drawing.Point(48, 24);
     this.manualButton.Name           = "manualButton";
     this.manualButton.Size           = new System.Drawing.Size(184, 23);
     this.manualButton.TabIndex       = 0;
     this.manualButton.Text           = "Manual Calculations";
     this.manualButton.UseVisualStyle = true;
     this.manualButton.Click         += new System.EventHandler(this.manualButton_Click);
     //
     // autoButton
     //
     this.autoButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.autoButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.autoButton.BeforeTouchSize   = new System.Drawing.Size(184, 23);
     this.autoButton.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.autoButton.ForeColor         = System.Drawing.Color.White;
     this.autoButton.IsBackStageButton = false;
     this.autoButton.Location          = new System.Drawing.Point(48, 64);
     this.autoButton.Name           = "autoButton";
     this.autoButton.Size           = new System.Drawing.Size(184, 23);
     this.autoButton.TabIndex       = 1;
     this.autoButton.Text           = "Auto Calculations";
     this.autoButton.UseVisualStyle = true;
     this.autoButton.Click         += new System.EventHandler(this.autoButton_Click);
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(184, 23);
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(48, 104);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(184, 23);
     this.button1.TabIndex       = 2;
     this.button1.Text           = "Controls as Keys";
     this.button1.UseVisualStyle = true;
     this.button1.Click         += new System.EventHandler(this.button1_Click);
     //
     // angleFormButton
     //
     this.angleFormButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.angleFormButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.angleFormButton.BeforeTouchSize   = new System.Drawing.Size(184, 23);
     this.angleFormButton.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.angleFormButton.ForeColor         = System.Drawing.Color.White;
     this.angleFormButton.IsBackStageButton = false;
     this.angleFormButton.Location          = new System.Drawing.Point(48, 144);
     this.angleFormButton.Name           = "angleFormButton";
     this.angleFormButton.Size           = new System.Drawing.Size(184, 23);
     this.angleFormButton.TabIndex       = 3;
     this.angleFormButton.Text           = "Angle Calculations";
     this.angleFormButton.UseVisualStyle = true;
     this.angleFormButton.Click         += new System.EventHandler(this.angleFormButton_Click);
     //
     // button2
     //
     this.button2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button2.BeforeTouchSize   = new System.Drawing.Size(184, 23);
     this.button2.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button2.ForeColor         = System.Drawing.Color.White;
     this.button2.IsBackStageButton = false;
     this.button2.Location          = new System.Drawing.Point(48, 184);
     this.button2.Name           = "button2";
     this.button2.Size           = new System.Drawing.Size(184, 23);
     this.button2.TabIndex       = 4;
     this.button2.Text           = "Auto Angle Calculations";
     this.button2.UseVisualStyle = true;
     this.button2.Click         += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button3.BeforeTouchSize   = new System.Drawing.Size(184, 23);
     this.button3.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button3.ForeColor         = System.Drawing.Color.White;
     this.button3.IsBackStageButton = false;
     this.button3.Location          = new System.Drawing.Point(48, 224);
     this.button3.Name           = "button3";
     this.button3.Size           = new System.Drawing.Size(184, 23);
     this.button3.TabIndex       = 5;
     this.button3.Text           = "Algebraic Expressions";
     this.button3.UseVisualStyle = true;
     this.button3.Click         += new System.EventHandler(this.button3_Click);
     //
     // SelectForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.CaptionFont         = new System.Drawing.Font("Segoe UI", 18F);
     this.ClientSize          = new System.Drawing.Size(276, 270);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.angleFormButton);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.autoButton);
     this.Controls.Add(this.manualButton);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(288, 308);
     this.Name            = "SelectForm";
     this.Text            = "Select Form ";
     this.Load           += new System.EventHandler(this.SelectForm_Load);
     this.ResumeLayout(false);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.toolTip1        = new System.Windows.Forms.ToolTip(this.components);
     this.button1         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.label2          = new System.Windows.Forms.Label();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.bmpRadioBtn     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.emfRadioBtn     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pngRadioBtn     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.jpegRadioBtn    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.button3         = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox1        = new System.Windows.Forms.TextBox();
     this.label9          = new System.Windows.Forms.Label();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bmpRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emfRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pngRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.jpegRadioBtn)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(108, 22);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(260, 255);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(108, 22);
     this.button1.TabIndex                = 62;
     this.button1.Text                    = "Convert to Image";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(375, 82);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 60;
     this.pictureBox1.TabStop  = false;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 85);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(363, 51);
     this.label2.TabIndex  = 68;
     this.label2.Text      = "Click the button will result in a Image being converted from word docume" +
                             "nt using Essential DocIO.";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.bmpRadioBtn);
     this.groupBox1.Controls.Add(this.emfRadioBtn);
     this.groupBox1.Controls.Add(this.pngRadioBtn);
     this.groupBox1.Controls.Add(this.jpegRadioBtn);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(5, 184);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(366, 53);
     this.groupBox1.TabIndex = 100;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Convert To";
     //
     // bmpRadioBtn
     //
     this.bmpRadioBtn.BeforeTouchSize = new System.Drawing.Size(49, 20);
     this.bmpRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.bmpRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.bmpRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.bmpRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.bmpRadioBtn.Location        = new System.Drawing.Point(181, 25);
     this.bmpRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.bmpRadioBtn.Name            = "bmpRadioBtn";
     this.bmpRadioBtn.Size            = new System.Drawing.Size(49, 20);
     this.bmpRadioBtn.TabIndex        = 103;
     this.bmpRadioBtn.TabStop         = false;
     this.bmpRadioBtn.Text            = "BMP";
     this.bmpRadioBtn.ThemesEnabled   = true;
     //
     // emfRadioBtn
     //
     this.emfRadioBtn.BeforeTouchSize = new System.Drawing.Size(47, 20);
     this.emfRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.emfRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.emfRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.emfRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.emfRadioBtn.Location        = new System.Drawing.Point(271, 25);
     this.emfRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.emfRadioBtn.Name            = "emfRadioBtn";
     this.emfRadioBtn.Size            = new System.Drawing.Size(47, 20);
     this.emfRadioBtn.TabIndex        = 46;
     this.emfRadioBtn.TabStop         = false;
     this.emfRadioBtn.Text            = "EMF";
     this.emfRadioBtn.ThemesEnabled   = true;
     //
     // pngRadioBtn
     //
     this.pngRadioBtn.BeforeTouchSize = new System.Drawing.Size(55, 20);
     this.pngRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pngRadioBtn.Checked         = true;
     this.pngRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pngRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pngRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pngRadioBtn.Location        = new System.Drawing.Point(13, 25);
     this.pngRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.pngRadioBtn.Name            = "pngRadioBtn";
     this.pngRadioBtn.Size            = new System.Drawing.Size(55, 20);
     this.pngRadioBtn.TabIndex        = 44;
     this.pngRadioBtn.Text            = "PNG";
     this.pngRadioBtn.ThemesEnabled   = true;
     //
     // jpegRadioBtn
     //
     this.jpegRadioBtn.BeforeTouchSize = new System.Drawing.Size(52, 19);
     this.jpegRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.jpegRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.jpegRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.jpegRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.jpegRadioBtn.Location        = new System.Drawing.Point(94, 25);
     this.jpegRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.jpegRadioBtn.Name            = "jpegRadioBtn";
     this.jpegRadioBtn.Size            = new System.Drawing.Size(52, 19);
     this.jpegRadioBtn.TabIndex        = 45;
     this.jpegRadioBtn.Text            = "JPEG";
     this.jpegRadioBtn.ThemesEnabled   = true;
     //
     // button3
     //
     this.button3.BeforeTouchSize   = new System.Drawing.Size(21, 25);
     this.button3.FlatStyle         = System.Windows.Forms.FlatStyle.System;
     this.button3.IsBackStageButton = false;
     this.button3.Location          = new System.Drawing.Point(350, 147);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(21, 25);
     this.button3.TabIndex  = 103;
     this.button3.Text      = ". . .";
     this.button3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(5, 149);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(333, 22);
     this.textBox1.TabIndex = 102;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label9.Location = new System.Drawing.Point(2, 127);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(110, 13);
     this.label9.TabIndex = 101;
     this.label9.Text     = "Word Document";
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize        = new System.Drawing.Size(375, 292);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.pictureBox1);
     this.DropShadow      = true;
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Word to Image";
     this.Load           += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.bmpRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emfRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pngRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.jpegRadioBtn)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 8
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Syncfusion.Windows.Forms.MetroColorTable       metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable();
            this.htmluiControl1       = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
            this.fontListBox1         = new Syncfusion.Windows.Forms.Tools.FontListBox();
            this.dataGrid1            = new System.Windows.Forms.DataGridView();
            this.monthCalendar1       = new Syncfusion.Windows.Forms.Tools.MonthCalendarAdv();
            this.calculatorControl1   = new Syncfusion.Windows.Forms.Tools.CalculatorControl();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
            this.panel1               = new System.Windows.Forms.Panel();
            this.button2              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.button1              = new Syncfusion.Windows.Forms.ButtonAdv();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
            this.htmluiControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.monthCalendar1)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.gradientPanel1.SuspendLayout();
            this.SuspendLayout();
            //
            // htmluiControl1
            //
            this.htmluiControl1.AutoScroll        = true;
            this.htmluiControl1.AutoScrollMinSize = new System.Drawing.Size(603, 301);
            this.htmluiControl1.BackColor         = System.Drawing.Color.White;
            this.htmluiControl1.Controls.Add(this.fontListBox1);
            this.htmluiControl1.Controls.Add(this.dataGrid1);
            this.htmluiControl1.Controls.Add(this.monthCalendar1);
            this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
            this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
            this.htmluiControl1.Dock               = System.Windows.Forms.DockStyle.Fill;
            this.htmluiControl1.ForeColor          = System.Drawing.Color.Black;
            this.htmluiControl1.Location           = new System.Drawing.Point(0, 0);
            this.htmluiControl1.Name               = "htmluiControl1";
            this.htmluiControl1.ShowTitle          = false;
            this.htmluiControl1.Size               = new System.Drawing.Size(637, 316);
            this.htmluiControl1.TabIndex           = 0;
            this.htmluiControl1.Text               = resources.GetString("htmluiControl1.Text");
            this.htmluiControl1.PreRenderDocument += new Syncfusion.Windows.Forms.HTMLUI.PreRenderDocumentEventHandler(this.htmluiControl1_PreRenderDocument);
            this.htmluiControl1.LoadFinished      += new System.EventHandler(this.htmluiControl1_LoadFinished);
            //
            // fontListBox1
            //
            this.fontListBox1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.fontListBox1.ItemHeight            = 15;
            this.fontListBox1.Location              = new System.Drawing.Point(248, 80);
            this.fontListBox1.MetroColor            = System.Drawing.Color.Empty;
            this.fontListBox1.Name                  = "fontListBox1";
            metroColorTable1.ArrowChecked           = System.Drawing.Color.Black;
            metroColorTable1.ArrowNormal            = System.Drawing.Color.White;
            metroColorTable1.ArrowNormal            = System.Drawing.Color.Gray;
            metroColorTable1.ArrowPushed            = System.Drawing.Color.Black;
            metroColorTable1.ScrollerBackground     = System.Drawing.Color.White;
            metroColorTable1.ThumbChecked           = System.Drawing.Color.Black;
            metroColorTable1.ThumbNormal            = System.Drawing.Color.White;
            metroColorTable1.ThumbNormal            = System.Drawing.Color.Gray;
            metroColorTable1.ThumbPushed            = System.Drawing.Color.Black;
            this.fontListBox1.ScrollMetroColorTable = metroColorTable1;
            this.fontListBox1.Size                  = new System.Drawing.Size(120, 92);
            this.fontListBox1.TabIndex              = 4;
            this.fontListBox1.VisualStyle           = Syncfusion.Windows.Forms.Tools.FontListBox.FontListBoxStyle.Metro;
            //
            // dataGrid1
            //
            this.dataGrid1.AccessibleName = "DataGrid";
            this.dataGrid1.AccessibleRole = System.Windows.Forms.AccessibleRole.Table;
            this.dataGrid1.DataMember     = "";
            this.dataGrid1.ColumnHeadersDefaultCellStyle.ForeColor = System.Drawing.SystemColors.ControlText;
            this.dataGrid1.Location = new System.Drawing.Point(8, 176);
            this.dataGrid1.Name     = "dataGrid1";
            this.dataGrid1.Size     = new System.Drawing.Size(204, 144);
            this.dataGrid1.TabIndex = 2;
            this.toolTip1.SetToolTip(this.dataGrid1, "This is a DataGrid control inside HTMLUI");
            //
            // monthCalendar1
            //
            this.monthCalendar1.BorderColor           = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(211)))), ((int)(((byte)(212)))));
            this.monthCalendar1.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.monthCalendar1.BottomHeight          = 25;
            this.monthCalendar1.Culture               = new System.Globalization.CultureInfo("");
            this.monthCalendar1.DayNamesColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.DayNamesFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
            this.monthCalendar1.DaysFont              = new System.Drawing.Font("Verdana", 8F);
            this.monthCalendar1.DaysHeaderInterior    = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
            this.monthCalendar1.GridLines             = Syncfusion.Windows.Forms.Grid.GridBorderStyle.None;
            this.monthCalendar1.HeaderHeight          = 34;
            this.monthCalendar1.HeaderStartColor      = System.Drawing.Color.White;
            this.monthCalendar1.HighlightColor        = System.Drawing.Color.Black;
            this.monthCalendar1.Iso8601CalenderFormat = false;
            this.monthCalendar1.Location              = new System.Drawing.Point(56, 8);
            this.monthCalendar1.MetroColor            = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.Name             = "monthCalendar1";
            this.monthCalendar1.ScrollButtonSize = new System.Drawing.Size(24, 24);
            this.monthCalendar1.SelectedDates    = new System.DateTime[] {
                new System.DateTime(2013, 12, 9, 0, 0, 0, 0),
                new System.DateTime(2013, 12, 9, 0, 0, 0, 0)
            };
            this.monthCalendar1.Size         = new System.Drawing.Size(213, 183);
            this.monthCalendar1.Style        = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.monthCalendar1.TabIndex     = 1;
            this.monthCalendar1.WeekFont     = new System.Drawing.Font("Verdana", 8F);
            this.monthCalendar1.WeekInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.PeachPuff, System.Drawing.Color.AntiqueWhite);
            //
            //
            //
            this.monthCalendar1.NoneButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.monthCalendar1.NoneButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.NoneButton.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.monthCalendar1.NoneButton.ForeColor         = System.Drawing.Color.White;
            this.monthCalendar1.NoneButton.IsBackStageButton = false;
            this.monthCalendar1.NoneButton.Location          = new System.Drawing.Point(141, 0);
            this.monthCalendar1.NoneButton.Size              = new System.Drawing.Size(72, 25);
            this.monthCalendar1.NoneButton.Text              = "None";
            this.monthCalendar1.NoneButton.UseVisualStyle    = true;
            //
            //
            //
            this.monthCalendar1.TodayButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.monthCalendar1.TodayButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.monthCalendar1.TodayButton.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.monthCalendar1.TodayButton.ForeColor         = System.Drawing.Color.White;
            this.monthCalendar1.TodayButton.IsBackStageButton = false;
            this.monthCalendar1.TodayButton.Location          = new System.Drawing.Point(0, 0);
            this.monthCalendar1.TodayButton.Size              = new System.Drawing.Size(141, 25);
            this.monthCalendar1.TodayButton.Text              = "Today";
            this.monthCalendar1.TodayButton.UseVisualStyle    = true;
            //
            // calculatorControl1
            //
            this.calculatorControl1.AccessibleDescription = "Calculator control";
            this.calculatorControl1.AccessibleName        = "Calculator Control";
            this.calculatorControl1.BorderStyle           = System.Windows.Forms.Border3DStyle.Flat;
            this.calculatorControl1.ButtonStyle           = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.calculatorControl1.Culture        = new System.Globalization.CultureInfo("en-US");
            this.calculatorControl1.DoubleValue    = 0;
            this.calculatorControl1.ForeColor      = System.Drawing.SystemColors.ControlText;
            this.calculatorControl1.Location       = new System.Drawing.Point(208, 0);
            this.calculatorControl1.MetroColor     = System.Drawing.SystemColors.Control;
            this.calculatorControl1.Name           = "calculatorControl1";
            this.calculatorControl1.RightToLeft    = System.Windows.Forms.RightToLeft.No;
            this.calculatorControl1.Size           = new System.Drawing.Size(250, 300);
            this.calculatorControl1.TabIndex       = 3;
            this.calculatorControl1.Text           = "calculatorControl1";
            this.calculatorControl1.UseVisualStyle = true;
            //
            // imageList1
            //
            this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
            this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            //
            // panel1
            //
            this.panel1.BackColor   = System.Drawing.Color.White;
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.button2);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(10, 42);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(639, 48);
            this.panel1.TabIndex = 1;
            //
            // button2
            //
            this.button2.Anchor                  = System.Windows.Forms.AnchorStyles.None;
            this.button2.Appearance              = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button2.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button2.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.button2.Font                    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button2.ForeColor               = System.Drawing.Color.White;
            this.button2.IsBackStageButton       = false;
            this.button2.Location                = new System.Drawing.Point(378, 6);
            this.button2.Name                    = "button2";
            this.button2.Size                    = new System.Drawing.Size(138, 30);
            this.button2.TabIndex                = 1;
            this.button2.Text                    = "Load Custom Page2";
            this.button2.UseVisualStyle          = true;
            this.button2.UseVisualStyleBackColor = false;
            this.button2.Click                  += new System.EventHandler(this.button2_Click);
            //
            // button1
            //
            this.button1.Anchor                  = System.Windows.Forms.AnchorStyles.None;
            this.button1.Appearance              = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button1.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button1.FlatStyle               = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Font                    = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor               = System.Drawing.Color.White;
            this.button1.IsBackStageButton       = false;
            this.button1.Location                = new System.Drawing.Point(114, 6);
            this.button1.Name                    = "button1";
            this.button1.Size                    = new System.Drawing.Size(152, 31);
            this.button1.TabIndex                = 0;
            this.button1.Text                    = "Load Custom Page1";
            this.button1.UseVisualStyle          = true;
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click                  += new System.EventHandler(this.button1_Click);
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("View");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.parentBarItem2,
                this.barItem2
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "Exit";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Exit";
            this.barItem1.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "View";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem2
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "View";
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 1;
            this.barItem2.ID                 = "HTML";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "HTML";
            this.barItem2.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // gradientPanel1
            //
            this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
            this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gradientPanel1.Controls.Add(this.htmluiControl1);
            this.gradientPanel1.Location = new System.Drawing.Point(10, 93);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(639, 318);
            this.gradientPanel1.TabIndex = 4;
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor         = System.Drawing.Color.White;
            this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
            this.ClientSize        = new System.Drawing.Size(659, 415);
            this.Controls.Add(this.gradientPanel1);
            this.Controls.Add(this.panel1);
            this.DropShadow    = true;
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(671, 451);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Custom Controls";
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
            this.htmluiControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.monthCalendar1)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Exemplo n.º 9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components       = new System.ComponentModel.Container();
     this.gridControl1     = new Syncfusion.Windows.Forms.Grid.GridControl();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.radioButtonAdv11 = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv12 = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.radioButtonAdv2  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv1  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox4        = new System.Windows.Forms.GroupBox();
     this.textBox3         = new System.Windows.Forms.TextBox();
     this.label4           = new System.Windows.Forms.Label();
     this.label3           = new System.Windows.Forms.Label();
     this.ButtonAdv5       = new Syncfusion.Windows.Forms.ButtonAdv();
     this.radioButtonAdv8  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv7  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv6  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv5  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.textBox1         = new Syncfusion.Windows.Forms.Tools.IntegerTextBox();
     this.textBox2         = new Syncfusion.Windows.Forms.Tools.IntegerTextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv12)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).BeginInit();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv5)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.DpiAware = true;
     this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridControl1.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.gridControl1.ApplyVisualStyles      = false;
     this.gridControl1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridControl1.ColCount               = 12;
     this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.gridControl1.Font                             = new System.Drawing.Font("Segoe UI", 8.5F);
     this.gridControl1.ThemesEnabled                    = true;
     this.gridControl1.GridOfficeScrollBars             = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridControl1.GridVisualStyles                 = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridControl1.DefaultRowHeight                 = (int)DpiAware.LogicalToDeviceUnits(20.0f);
     this.gridControl1.DefaultColWidth                  = (int)DpiAware.LogicalToDeviceUnits(70.0f);
     this.gridControl1.Location                         = new System.Drawing.Point(12, 12);
     this.gridControl1.MetroScrollBars                  = true;
     this.gridControl1.Name                             = "gridControl1";
     this.gridControl1.Properties.BackgroundColor       = System.Drawing.Color.White;
     this.gridControl1.Properties.ForceImmediateRepaint = false;
     this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.gridControl1.Properties.MarkColHeader         = false;
     this.gridControl1.Properties.MarkRowHeader         = false;
     this.gridControl1.RightToLeft                      = System.Windows.Forms.RightToLeft.No;
     this.gridControl1.RowCount                         = 30;
     this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
     this.gridControl1.Size         = new System.Drawing.Size(674, 488);
     this.gridControl1.SmartSizeBox = false;
     this.gridControl1.TabIndex     = 0;
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.radioButtonAdv11);
     this.groupBox2.Controls.Add(this.radioButtonAdv12);
     this.groupBox2.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location = new System.Drawing.Point(703, 89);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(261, 72);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "ReSizeToFit";
     //
     // radioButtonAdv11
     //
     this.radioButtonAdv11.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv11.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv11.Location           = new System.Drawing.Point(16, 48);
     this.radioButtonAdv11.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv11.Name               = "radioButtonAdv11";
     this.radioButtonAdv11.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv11.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv11.DrawFocusRectangle = true;
     this.radioButtonAdv11.TabIndex           = 4;
     this.radioButtonAdv11.Text               = "Row Height";
     this.radioButtonAdv11.ThemesEnabled      = false;
     this.radioButtonAdv11.CheckChanged      += new System.EventHandler(this.radioButtonAdv11_CheckChanged);
     //
     // radioButtonAdv12
     //
     this.radioButtonAdv12.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv12.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv12.Location           = new System.Drawing.Point(16, 21);
     this.radioButtonAdv12.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv12.Name               = "radioButtonAdv12";
     this.radioButtonAdv12.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv12.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv12.DrawFocusRectangle = true;
     this.radioButtonAdv12.TabIndex           = 3;
     this.radioButtonAdv12.Text               = "Column Width";
     this.radioButtonAdv12.ThemesEnabled      = false;
     this.radioButtonAdv12.CheckChanged      += new System.EventHandler(this.radioButtonAdv12_CheckChanged);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.radioButtonAdv2);
     this.groupBox1.Controls.Add(this.radioButtonAdv1);
     this.groupBox1.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(703, 6);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(261, 77);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Options";
     //
     // radioButtonAdv2
     //
     this.radioButtonAdv2.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv2.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv2.Location           = new System.Drawing.Point(16, 48);
     this.radioButtonAdv2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv2.Name               = "radioButtonAdv2";
     this.radioButtonAdv2.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv2.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv2.DrawFocusRectangle = true;
     this.radioButtonAdv2.TabIndex           = 2;
     this.radioButtonAdv2.Text               = "Set Column Width";
     this.radioButtonAdv2.ThemesEnabled      = false;
     this.radioButtonAdv2.CheckChanged      += new System.EventHandler(this.radioButtonAdv2_CheckChanged);
     //
     // radioButtonAdv1
     //
     this.radioButtonAdv1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv1.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv1.Location           = new System.Drawing.Point(16, 21);
     this.radioButtonAdv1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv1.Name               = "radioButtonAdv1";
     this.radioButtonAdv1.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv1.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv1.DrawFocusRectangle = true;
     this.radioButtonAdv1.TabIndex           = 1;
     this.radioButtonAdv1.Text               = "Set Row Height";
     this.radioButtonAdv1.ThemesEnabled      = false;
     this.radioButtonAdv1.CheckChanged      += new System.EventHandler(this.radioButtonAdv1_CheckChanged);
     //
     // groupBox4
     //
     this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox4.Controls.Add(this.textBox3);
     this.groupBox4.Controls.Add(this.label4);
     this.groupBox4.Controls.Add(this.label3);
     this.groupBox4.Controls.Add(this.ButtonAdv5);
     this.groupBox4.Controls.Add(this.radioButtonAdv8);
     this.groupBox4.Controls.Add(this.radioButtonAdv7);
     this.groupBox4.Controls.Add(this.radioButtonAdv6);
     this.groupBox4.Controls.Add(this.radioButtonAdv5);
     this.groupBox4.Controls.Add(this.textBox1);
     this.groupBox4.Controls.Add(this.textBox2);
     this.groupBox4.Controls.Add(this.label2);
     this.groupBox4.Controls.Add(this.label1);
     this.groupBox4.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox4.Location = new System.Drawing.Point(703, 167);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(261, 333);
     this.groupBox4.TabIndex = 5;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "AutoFit";
     //
     // textBox3
     //
     this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox3.Location    = new System.Drawing.Point(129, 47);
     this.textBox3.MaxLength   = 1;
     this.textBox3.Name        = "textBox3";
     this.textBox3.Size        = new System.Drawing.Size(46, 22);
     this.textBox3.TabIndex    = 8;
     this.textBox3.Text        = "#";
     this.textBox3.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(13, 56);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(109, 13);
     this.label4.TabIndex = 25;
     this.label4.Text     = "Enter the Character:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(13, 87);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(102, 13);
     this.label3.TabIndex = 24;
     this.label3.Text     = "AutoFit Options:";
     //
     // ButtonAdv5
     //
     this.ButtonAdv5.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.ButtonAdv5.FlatStyle         = FlatStyle.Flat;
     this.ButtonAdv5.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.ButtonAdv5.BeforeTouchSize   = new System.Drawing.Size(118, 27);
     this.ButtonAdv5.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.ButtonAdv5.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ButtonAdv5.ForeColor         = System.Drawing.Color.White;
     this.ButtonAdv5.IsBackStageButton = false;
     this.ButtonAdv5.Location          = new System.Drawing.Point(57, 211);
     this.ButtonAdv5.Name              = "ButtonAdv5";
     this.ButtonAdv5.Size              = new System.Drawing.Size(118, 27);
     this.ButtonAdv5.TabIndex          = 13;
     this.ButtonAdv5.Text              = "Update";
     this.ButtonAdv5.Click            += new System.EventHandler(this.ButtonAdv5_Click);
     //
     // radioButtonAdv8
     //
     this.radioButtonAdv8.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv8.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv8.Location           = new System.Drawing.Point(54, 184);
     this.radioButtonAdv8.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv8.Name               = "radioButtonAdv8";
     this.radioButtonAdv8.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv8.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv8.DrawFocusRectangle = true;
     this.radioButtonAdv8.TabIndex           = 12;
     this.radioButtonAdv8.Text               = "Both";
     this.radioButtonAdv8.ThemesEnabled      = false;
     this.radioButtonAdv8.CheckChanged      += new System.EventHandler(this.radioButtonAdv8_CheckChanged);
     //
     // radioButtonAdv7
     //
     this.radioButtonAdv7.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv7.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv7.Location           = new System.Drawing.Point(54, 157);
     this.radioButtonAdv7.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv7.Name               = "radioButtonAdv7";
     this.radioButtonAdv7.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv7.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv7.DrawFocusRectangle = true;
     this.radioButtonAdv7.TabIndex           = 11;
     this.radioButtonAdv7.Text               = "Numbers";
     this.radioButtonAdv7.ThemesEnabled      = false;
     this.radioButtonAdv7.CheckChanged      += new System.EventHandler(this.radioButtonAdv7_CheckChanged);
     //
     // radioButtonAdv6
     //
     this.radioButtonAdv6.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv6.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv6.Location           = new System.Drawing.Point(54, 130);
     this.radioButtonAdv6.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv6.Name               = "radioButtonAdv6";
     this.radioButtonAdv6.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv6.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv6.DrawFocusRectangle = true;
     this.radioButtonAdv6.TabIndex           = 10;
     this.radioButtonAdv6.Text               = "Alphabets";
     this.radioButtonAdv6.ThemesEnabled      = false;
     this.radioButtonAdv6.CheckChanged      += new System.EventHandler(this.radioButtonAdv6_CheckChanged);
     //
     // radioButtonAdv5
     //
     this.radioButtonAdv5.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.radioButtonAdv5.Font               = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv5.Location           = new System.Drawing.Point(54, 103);
     this.radioButtonAdv5.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv5.Name               = "radioButtonAdv5";
     this.radioButtonAdv5.Size               = new System.Drawing.Size(121, 21);
     this.radioButtonAdv5.Style              = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv5.DrawFocusRectangle = true;
     this.radioButtonAdv5.TabIndex           = 9;
     this.radioButtonAdv5.Text               = "None";
     this.radioButtonAdv5.ThemesEnabled      = false;
     this.radioButtonAdv5.CheckChanged      += new System.EventHandler(this.radioButtonAdv5_CheckChanged);
     //
     // textBox1
     //
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox1.Location    = new System.Drawing.Point(76, 17);
     this.textBox1.Name        = "textBox1";
     this.textBox1.Size        = new System.Drawing.Size(38, 22);
     this.textBox1.TabIndex    = 6;
     this.textBox1.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // textBox2
     //
     this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox2.Location    = new System.Drawing.Point(204, 17);
     this.textBox2.Name        = "textBox2";
     this.textBox2.Size        = new System.Drawing.Size(36, 22);
     this.textBox2.TabIndex    = 7;
     this.textBox2.TextAlign   = System.Windows.Forms.HorizontalAlignment.Center;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(120, 26);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(78, 13);
     this.label2.TabIndex = 16;
     this.label2.Text     = "Column Index:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     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(13, 26);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(61, 13);
     this.label1.TabIndex = 15;
     this.label1.Text     = "Row Index:";
     //
     // Form1
     //
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(988, 512);
     this.Controls.Add(this.groupBox4);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.gridControl1);
     this.MinimumSize = new System.Drawing.Size(740, 540);
     this.Name        = "Form1";
     this.Text        = "Resize To Fit ";
     this.Load       += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv12)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).EndInit();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv5)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 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();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor2 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor3 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor4 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor5 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor6 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor gridColumnDescriptor7 = new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.dataset11            = new SortingMethods.Dataset1();
     this.button1      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button4      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.panel1       = new System.Windows.Forms.Panel();
     this.checkBoxAdv1 = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.comboBoxAdv1 = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
     this.buttonAdv1   = new Syncfusion.Windows.Forms.ButtonAdv();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.panel2       = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataset11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.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.gridGroupingControl1.BackColor            = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.Cursor               = System.Windows.Forms.Cursors.Arrow;
     this.gridGroupingControl1.DataSource           = this.dataset11.Customers;
     this.gridGroupingControl1.FreezeCaption        = false;
     this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Office2007;
     this.gridGroupingControl1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridGroupingControl1.Location             = new System.Drawing.Point(6, 1);
     this.gridGroupingControl1.Name = "gridGroupingControl1";
     this.gridGroupingControl1.Office2007ScrollBars = true;
     this.gridGroupingControl1.Size     = new System.Drawing.Size(838, 649);
     this.gridGroupingControl1.TabIndex = 0;
     this.gridGroupingControl1.TableDescriptor.AllowNew = false;
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.Font.Facename             = "Segoe UI";
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyCell.TextColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Bottom       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Borders.Right        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.Interior             = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyGroupCell.TextColor            = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnyRecordFieldCell.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Right      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Borders.Top        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     this.gridGroupingControl1.TableDescriptor.Appearance.AnySummaryCell.Interior           = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(208)))), ((int)(((byte)(208))))));
     this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Font.Bold        = true;
     this.gridGroupingControl1.TableDescriptor.Appearance.GroupCaptionCell.CellType         = "ColumnHeader";
     gridColumnDescriptor1.HeaderImage          = null;
     gridColumnDescriptor1.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor1.HeaderText           = "Customer ID";
     gridColumnDescriptor1.MappingName          = "CustomerID";
     gridColumnDescriptor1.SerializedImageArray = "";
     gridColumnDescriptor2.HeaderImage          = null;
     gridColumnDescriptor2.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor2.HeaderText           = "Company Name";
     gridColumnDescriptor2.MappingName          = "CompanyName";
     gridColumnDescriptor2.SerializedImageArray = "";
     gridColumnDescriptor3.HeaderImage          = null;
     gridColumnDescriptor3.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor3.HeaderText           = "Contact Name";
     gridColumnDescriptor3.MappingName          = "ContactName";
     gridColumnDescriptor3.SerializedImageArray = "";
     gridColumnDescriptor4.HeaderImage          = null;
     gridColumnDescriptor4.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor4.HeaderText           = "Contact Title";
     gridColumnDescriptor4.MappingName          = "ContactTitle";
     gridColumnDescriptor4.SerializedImageArray = "";
     gridColumnDescriptor5.HeaderImage          = null;
     gridColumnDescriptor5.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor5.MappingName          = "Address";
     gridColumnDescriptor5.SerializedImageArray = "";
     gridColumnDescriptor6.HeaderImage          = null;
     gridColumnDescriptor6.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor6.MappingName          = "City";
     gridColumnDescriptor6.SerializedImageArray = "";
     gridColumnDescriptor7.HeaderImage          = null;
     gridColumnDescriptor7.HeaderImageAlignment = Syncfusion.Windows.Forms.Grid.Grouping.HeaderImageAlignment.Left;
     gridColumnDescriptor7.MappingName          = "Country";
     gridColumnDescriptor7.SerializedImageArray = "";
     this.gridGroupingControl1.TableDescriptor.Columns.AddRange(new Syncfusion.Windows.Forms.Grid.Grouping.GridColumnDescriptor[] {
         gridColumnDescriptor1,
         gridColumnDescriptor2,
         gridColumnDescriptor3,
         gridColumnDescriptor4,
         gridColumnDescriptor5,
         gridColumnDescriptor6,
         gridColumnDescriptor7
     });
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25;
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = 20;
     this.gridGroupingControl1.Text = "gridGroupingControl1";
     this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
     this.gridGroupingControl1.TopLevelGroupOptions.ShowCaption = false;
     this.gridGroupingControl1.VersionInfo = "4.201.0.37";
     //
     // dataset11
     //
     this.dataset11.DataSetName             = "Dataset1";
     this.dataset11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // button1
     //
     this.button1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(137, 25);
     this.button1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(7, 120);
     this.button1.Name              = "button1";
     this.button1.Size              = new System.Drawing.Size(137, 25);
     this.button1.TabIndex          = 29;
     this.button1.Text              = "SortByContactName";
     this.button1.Click            += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button2.BeforeTouchSize   = new System.Drawing.Size(137, 25);
     this.button2.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button2.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
     this.button2.ForeColor         = System.Drawing.Color.White;
     this.button2.IsBackStageButton = false;
     this.button2.Location          = new System.Drawing.Point(7, 69);
     this.button2.Name              = "button2";
     this.button2.Size              = new System.Drawing.Size(137, 25);
     this.button2.TabIndex          = 28;
     this.button2.Text              = "SortByCity";
     this.button2.Click            += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button3.BeforeTouchSize   = new System.Drawing.Size(137, 25);
     this.button3.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button3.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button3.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
     this.button3.ForeColor         = System.Drawing.Color.White;
     this.button3.IsBackStageButton = false;
     this.button3.Location          = new System.Drawing.Point(7, 18);
     this.button3.Name              = "button3";
     this.button3.Size              = new System.Drawing.Size(137, 25);
     this.button3.TabIndex          = 27;
     this.button3.Text              = "SortByCountry";
     this.button3.Click            += new System.EventHandler(this.button3_Click);
     //
     // button4
     //
     this.button4.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button4.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button4.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button4.BeforeTouchSize   = new System.Drawing.Size(137, 25);
     this.button4.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.button4.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button4.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
     this.button4.ForeColor         = System.Drawing.Color.White;
     this.button4.IsBackStageButton = false;
     this.button4.Location          = new System.Drawing.Point(7, 168);
     this.button4.Name              = "button4";
     this.button4.Size              = new System.Drawing.Size(137, 25);
     this.button4.TabIndex          = 30;
     this.button4.Text              = "ClearSorting";
     this.button4.Click            += new System.EventHandler(this.button4_Click);
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BackColor = System.Drawing.Color.DimGray;
     this.panel1.ForeColor = System.Drawing.Color.DimGray;
     this.panel1.Location  = new System.Drawing.Point(856, 24);
     this.panel1.Name      = "panel1";
     this.panel1.Size      = new System.Drawing.Size(1, 606);
     this.panel1.TabIndex  = 21;
     //
     // checkBoxAdv1
     //
     this.checkBoxAdv1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBoxAdv1.BeforeTouchSize    = new System.Drawing.Size(150, 21);
     this.checkBoxAdv1.Font               = new System.Drawing.Font("Segoe UI", 9F);
     this.checkBoxAdv1.Location           = new System.Drawing.Point(866, 150);
     this.checkBoxAdv1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.checkBoxAdv1.Name               = "checkBoxAdv1";
     this.checkBoxAdv1.Size               = new System.Drawing.Size(134, 30);
     this.checkBoxAdv1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxAdv1.DrawFocusRectangle = true;
     this.checkBoxAdv1.TabIndex           = 26;
     this.checkBoxAdv1.Text               = "Allow Sorting";
     this.checkBoxAdv1.ThemesEnabled      = false;
     this.checkBoxAdv1.CheckedChanged    += new System.EventHandler(this.checkBoxAdv1_CheckedChanged);
     //
     // comboBoxAdv1
     //
     this.comboBoxAdv1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBoxAdv1.BackColor       = System.Drawing.Color.White;
     this.comboBoxAdv1.BeforeTouchSize = new System.Drawing.Size(110, 21);
     this.comboBoxAdv1.Font            = new System.Drawing.Font("Segoe UI", 8.25F);
     this.comboBoxAdv1.Location        = new System.Drawing.Point(6, 38);
     this.comboBoxAdv1.Name            = "comboBoxAdv1";
     this.comboBoxAdv1.Size            = new System.Drawing.Size(110, 21);
     this.comboBoxAdv1.Style           = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.comboBoxAdv1.TabIndex        = 24;
     //
     // buttonAdv1
     //
     this.buttonAdv1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonAdv1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.buttonAdv1.BeforeTouchSize   = new System.Drawing.Size(110, 25);
     this.buttonAdv1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
     this.buttonAdv1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.buttonAdv1.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv1.ForeColor         = System.Drawing.Color.White;
     this.buttonAdv1.IsBackStageButton = false;
     this.buttonAdv1.Location          = new System.Drawing.Point(6, 76);
     this.buttonAdv1.Name              = "buttonAdv1";
     this.buttonAdv1.Size              = new System.Drawing.Size(110, 25);
     this.buttonAdv1.TabIndex          = 25;
     this.buttonAdv1.Text              = "Align Icon";
     this.buttonAdv1.Click            += new System.EventHandler(this.buttonAdv1_Click);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.comboBoxAdv1);
     this.groupBox1.Controls.Add(this.buttonAdv1);
     this.groupBox1.Location = new System.Drawing.Point(866, -1);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(134, 120);
     this.groupBox1.TabIndex = 24;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Align Sort Icon";
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.Controls.Add(this.button4);
     this.panel2.Controls.Add(this.button1);
     this.panel2.Controls.Add(this.button2);
     this.panel2.Controls.Add(this.button3);
     this.panel2.Location = new System.Drawing.Point(859, 186);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(153, 274);
     this.panel2.TabIndex = 27;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1012, 653);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.checkBoxAdv1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.gridGroupingControl1);
     this.MinimumSize = new System.Drawing.Size(800, 450);
     this.Name        = "Form1";
     this.Text        = "Sorting ";
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataset11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.button1          = new Syncfusion.Windows.Forms.ButtonAdv();
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.label2           = new System.Windows.Forms.Label();
     this.templateBtn      = new Syncfusion.Windows.Forms.ButtonAdv();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.wordDocRadioBtn  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pdfRadioBtn      = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(173, 34);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(390, 261);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(173, 34);
     this.button1.TabIndex                = 62;
     this.button1.TabStop                 = false;
     this.button1.Text                    = "Generate";
     this.button1.ThemeName               = "Metro";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(580, 120);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 60;
     this.pictureBox1.TabStop  = false;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 125);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(581, 83);
     this.label2.TabIndex  = 68;
     this.label2.Text      = resources.GetString("label2.Text");
     //
     // templateBtn
     //
     this.templateBtn.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.templateBtn.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.templateBtn.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.templateBtn.BeforeTouchSize    = new System.Drawing.Size(173, 34);
     this.templateBtn.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.templateBtn.ComboEditBackColor = System.Drawing.Color.Silver;
     this.templateBtn.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.templateBtn.ForeColor               = System.Drawing.Color.White;
     this.templateBtn.KeepFocusRectangle      = false;
     this.templateBtn.Location                = new System.Drawing.Point(390, 214);
     this.templateBtn.Name                    = "templateBtn";
     this.templateBtn.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.templateBtn.Size                    = new System.Drawing.Size(173, 34);
     this.templateBtn.TabIndex                = 101;
     this.templateBtn.Text                    = "View Template";
     this.templateBtn.ThemeName               = "Metro";
     this.templateBtn.UseVisualStyle          = true;
     this.templateBtn.UseVisualStyleBackColor = false;
     this.templateBtn.Click                  += new System.EventHandler(this.templateBtn_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox1.Controls.Add(this.wordDocRadioBtn);
     this.groupBox1.Controls.Add(this.pdfRadioBtn);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(7, 210);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(364, 74);
     this.groupBox1.TabIndex = 102;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // wordDocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize   = new System.Drawing.Size(89, 29);
     this.wordDocxRadioBtn.Border3DStyle     = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocxRadioBtn.Checked           = true;
     this.wordDocxRadioBtn.Font              = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.GradientEnd       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocxRadioBtn.GradientStart     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocxRadioBtn.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.wordDocxRadioBtn.Location          = new System.Drawing.Point(144, 27);
     this.wordDocxRadioBtn.MetroColor        = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name              = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size              = new System.Drawing.Size(89, 29);
     this.wordDocxRadioBtn.TabIndex          = 103;
     this.wordDocxRadioBtn.Text              = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled     = true;
     //
     // wordDocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize   = new System.Drawing.Size(79, 29);
     this.wordDocRadioBtn.Border3DStyle     = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocRadioBtn.Font              = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.wordDocRadioBtn.GradientEnd       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocRadioBtn.GradientStart     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocRadioBtn.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.wordDocRadioBtn.Location          = new System.Drawing.Point(9, 27);
     this.wordDocRadioBtn.MetroColor        = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name              = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size              = new System.Drawing.Size(79, 29);
     this.wordDocRadioBtn.TabIndex          = 44;
     this.wordDocRadioBtn.Text              = "DOC";
     this.wordDocRadioBtn.ThemesEnabled     = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.BeforeTouchSize   = new System.Drawing.Size(70, 29);
     this.pdfRadioBtn.Border3DStyle     = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pdfRadioBtn.Font              = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pdfRadioBtn.GradientEnd       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pdfRadioBtn.GradientStart     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pdfRadioBtn.ImageCheckBoxSize = new System.Drawing.Size(16, 16);
     this.pdfRadioBtn.Location          = new System.Drawing.Point(293, 27);
     this.pdfRadioBtn.MetroColor        = System.Drawing.Color.Empty;
     this.pdfRadioBtn.Name              = "pdfRadioBtn";
     this.pdfRadioBtn.Size              = new System.Drawing.Size(70, 29);
     this.pdfRadioBtn.TabIndex          = 45;
     this.pdfRadioBtn.Text              = "PDF";
     this.pdfRadioBtn.ThemesEnabled     = true;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 22);
     this.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize        = new System.Drawing.Size(580, 306);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.templateBtn);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.pictureBox1);
     this.DropShadow      = true;
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Bookmark Navigation";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 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.button1               = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label2                = new System.Windows.Forms.Label();
     this.pictureBox1           = new System.Windows.Forms.PictureBox();
     this.toolTip1              = new System.Windows.Forms.ToolTip(this.components);
     this.browseBtn             = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox1              = new System.Windows.Forms.TextBox();
     this.openFileDialog1       = new System.Windows.Forms.OpenFileDialog();
     this.Button2               = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox2              = new System.Windows.Forms.TextBox();
     this.Label4                = new System.Windows.Forms.Label();
     this.label9                = new System.Windows.Forms.Label();
     this.label5                = new System.Windows.Forms.Label();
     this.groupBox2             = new System.Windows.Forms.GroupBox();
     this.comboBoxImportOptions = new System.Windows.Forms.ComboBox();
     this.label8                = new System.Windows.Forms.Label();
     this.radioButtonImport     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonClone      = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn      = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.wordDocRadioBtn       = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pdfRadioBtn           = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonImport)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonClone)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(108, 23);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(255, 388);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(108, 23);
     this.button1.TabIndex                = 26;
     this.button1.Text                    = "Generate";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 85);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(363, 58);
     this.label2.TabIndex  = 72;
     this.label2.Text      = "Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.";
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(374, 82);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 70;
     this.pictureBox1.TabStop  = false;
     //
     // browseBtn
     //
     this.browseBtn.BeforeTouchSize   = new System.Drawing.Size(21, 25);
     this.browseBtn.FlatStyle         = System.Windows.Forms.FlatStyle.System;
     this.browseBtn.IsBackStageButton = false;
     this.browseBtn.Location          = new System.Drawing.Point(324, 165);
     this.browseBtn.Name      = "browseBtn";
     this.browseBtn.Size      = new System.Drawing.Size(21, 25);
     this.browseBtn.TabIndex  = 103;
     this.browseBtn.Text      = ". . .";
     this.browseBtn.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.browseBtn.UseVisualStyleBackColor = true;
     this.browseBtn.Click += new System.EventHandler(this.browseBtn_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(122, 168);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(190, 22);
     this.textBox1.TabIndex = 102;
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // Button2
     //
     this.Button2.BeforeTouchSize   = new System.Drawing.Size(21, 24);
     this.Button2.FlatStyle         = System.Windows.Forms.FlatStyle.System;
     this.Button2.IsBackStageButton = false;
     this.Button2.Location          = new System.Drawing.Point(324, 204);
     this.Button2.Name      = "Button2";
     this.Button2.Size      = new System.Drawing.Size(21, 24);
     this.Button2.TabIndex  = 116;
     this.Button2.Text      = ". . .";
     this.Button2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     this.Button2.UseVisualStyleBackColor = true;
     this.Button2.Click += new System.EventHandler(this.Button2_Click);
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(121, 206);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(191, 22);
     this.textBox2.TabIndex = 115;
     //
     // Label4
     //
     this.Label4.AutoSize = true;
     this.Label4.Font     = new System.Drawing.Font("Verdana", 8.25F);
     this.Label4.Location = new System.Drawing.Point(4, 206);
     this.Label4.Name     = "Label4";
     this.Label4.Size     = new System.Drawing.Size(109, 13);
     this.Label4.TabIndex = 114;
     this.Label4.Text     = "Second document";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font     = new System.Drawing.Font("Verdana", 8.25F);
     this.label9.Location = new System.Drawing.Point(4, 168);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(91, 13);
     this.label9.TabIndex = 113;
     this.label9.Text     = "First document";
     //
     // label5
     //
     this.label5.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold);
     this.label5.ForeColor  = System.Drawing.Color.Black;
     this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label5.Location   = new System.Drawing.Point(4, 140);
     this.label5.Name       = "label5";
     this.label5.Size       = new System.Drawing.Size(237, 25);
     this.label5.TabIndex   = 117;
     this.label5.Text       = "Select Word Documents to Clone";
     this.label5.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.comboBoxImportOptions);
     this.groupBox2.Controls.Add(this.label8);
     this.groupBox2.Controls.Add(this.radioButtonImport);
     this.groupBox2.Controls.Add(this.radioButtonClone);
     this.groupBox2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.ForeColor = System.Drawing.Color.Black;
     this.groupBox2.Location  = new System.Drawing.Point(3, 247);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(360, 106);
     this.groupBox2.TabIndex  = 120;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Clone and Merge Options";
     //
     // comboBoxImportOptions
     //
     this.comboBoxImportOptions.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxImportOptions.FormattingEnabled = true;
     this.comboBoxImportOptions.Items.AddRange(new object[] {
         "KeepSourceFormatting",
         "MergeFormatting",
         "KeepTextOnly",
         "UseDestinationStyles",
         "ListContinueNumbering",
         "ListRestartNumbering"
     });
     this.comboBoxImportOptions.Location = new System.Drawing.Point(139, 74);
     this.comboBoxImportOptions.Name     = "comboBoxImportOptions";
     this.comboBoxImportOptions.Size     = new System.Drawing.Size(195, 21);
     this.comboBoxImportOptions.TabIndex = 88;
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Font      = new System.Drawing.Font("Verdana", 8.25F);
     this.label8.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label8.Location  = new System.Drawing.Point(28, 77);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(91, 13);
     this.label8.TabIndex  = 87;
     this.label8.Text      = "Import options";
     //
     // radioButtonImport
     //
     this.radioButtonImport.BeforeTouchSize = new System.Drawing.Size(244, 19);
     this.radioButtonImport.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButtonImport.Font            = new System.Drawing.Font("Verdana", 8.25F);
     this.radioButtonImport.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.radioButtonImport.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButtonImport.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButtonImport.Location        = new System.Drawing.Point(12, 50);
     this.radioButtonImport.MetroColor      = System.Drawing.Color.Empty;
     this.radioButtonImport.Name            = "radioButtonImport";
     this.radioButtonImport.Size            = new System.Drawing.Size(244, 19);
     this.radioButtonImport.TabIndex        = 85;
     this.radioButtonImport.TabStop         = false;
     this.radioButtonImport.Text            = "Use Import contents functionality";
     this.radioButtonImport.ThemesEnabled   = true;
     this.radioButtonImport.CheckChanged   += new System.EventHandler(this.radioButtonImport_CheckedChanged);
     //
     // radioButtonClone
     //
     this.radioButtonClone.BeforeTouchSize = new System.Drawing.Size(175, 20);
     this.radioButtonClone.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButtonClone.Checked         = true;
     this.radioButtonClone.Font            = new System.Drawing.Font("Verdana", 8.25F);
     this.radioButtonClone.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.radioButtonClone.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButtonClone.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButtonClone.Location        = new System.Drawing.Point(12, 23);
     this.radioButtonClone.MetroColor      = System.Drawing.Color.Empty;
     this.radioButtonClone.Name            = "radioButtonClone";
     this.radioButtonClone.Size            = new System.Drawing.Size(175, 20);
     this.radioButtonClone.TabIndex        = 84;
     this.radioButtonClone.Text            = "Use Clone functionality";
     this.radioButtonClone.ThemesEnabled   = true;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox1.Controls.Add(this.wordDocRadioBtn);
     this.groupBox1.Controls.Add(this.pdfRadioBtn);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(3, 368);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(220, 49);
     this.groupBox1.TabIndex = 121;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocxRadioBtn.Checked         = true;
     this.wordDocxRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocxRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocxRadioBtn.Location        = new System.Drawing.Point(89, 23);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize = new System.Drawing.Size(47, 20);
     this.wordDocRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.wordDocRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocRadioBtn.Location        = new System.Drawing.Point(6, 23);
     this.wordDocRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name            = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size            = new System.Drawing.Size(47, 20);
     this.wordDocRadioBtn.TabIndex        = 44;
     this.wordDocRadioBtn.Text            = "DOC";
     this.wordDocRadioBtn.ThemesEnabled   = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.BeforeTouchSize = new System.Drawing.Size(44, 20);
     this.pdfRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pdfRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pdfRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pdfRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pdfRadioBtn.Location        = new System.Drawing.Point(176, 23);
     this.pdfRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.pdfRadioBtn.Name            = "pdfRadioBtn";
     this.pdfRadioBtn.Size            = new System.Drawing.Size(44, 20);
     this.pdfRadioBtn.TabIndex        = 45;
     this.pdfRadioBtn.Text            = "PDF";
     this.pdfRadioBtn.ThemesEnabled   = true;
     //
     // Form1
     //
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize          = new System.Drawing.Size(374, 445);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.Button2);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.browseBtn);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.button1);
     this.DropShadow      = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Clone and Merge";
     this.Load           += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonImport)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonClone)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle1 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
            Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle2 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
            Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle3 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
            Syncfusion.Windows.Forms.Grid.GridRangeStyle gridRangeStyle4 = new Syncfusion.Windows.Forms.Grid.GridRangeStyle();
            this.gridControl1 = new Syncfusion.Windows.Forms.Grid.GridControl();
            this.button1      = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv1   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv2   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv3   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv4   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv5   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.buttonAdv6   = new Syncfusion.Windows.Forms.ButtonAdv();
            this.panel1       = new System.Windows.Forms.Panel();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            //
            // gridControl1
            //
            this.gridControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
            this.gridControl1.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.gridControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gridControl1.ColWidthEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridColWidth[] {
                new Syncfusion.Windows.Forms.Grid.GridColWidth(0, 35)
            });
            this.gridControl1.CoveredRanges.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeInfo[] {
                Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cells(6, 2, 8, 8)
            });

            this.gridControl1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
            this.gridControl1.Font                             = new System.Drawing.Font("Segoe UI", 9F);
            this.gridControl1.ThemesEnabled                    = true;
            this.gridControl1.GridOfficeScrollBars             = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
            this.gridControl1.Location                         = new System.Drawing.Point(23, 12);
            this.gridControl1.MetroScrollBars                  = true;
            this.gridControl1.Name                             = "gridControl1";
            this.gridControl1.Properties.BackgroundColor       = System.Drawing.Color.White;
            this.gridControl1.Properties.ForceImmediateRepaint = false;
            this.gridControl1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(212)))), ((int)(((byte)(212)))));
            this.gridControl1.Properties.MarkColHeader         = false;
            this.gridControl1.Properties.MarkRowHeader         = false;
            gridRangeStyle1.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Table();
            gridRangeStyle1.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
            gridRangeStyle1.StyleInfo.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
            gridRangeStyle1.StyleInfo.Font.Bold      = false;
            gridRangeStyle1.StyleInfo.Font.Facename  = "Segoe UI";
            gridRangeStyle1.StyleInfo.Font.Italic    = false;
            gridRangeStyle1.StyleInfo.Font.Size      = 9F;
            gridRangeStyle1.StyleInfo.Font.Strikeout = false;
            gridRangeStyle1.StyleInfo.Font.Underline = false;
            gridRangeStyle1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
            gridRangeStyle1.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
            gridRangeStyle1.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
            gridRangeStyle2.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cell(6, 2);
            gridRangeStyle2.StyleInfo.Borders.Bottom      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Borders.Left        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Borders.Right       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Borders.Top         = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle2.StyleInfo.Font.Bold           = true;
            gridRangeStyle2.StyleInfo.Font.Facename       = "Tahoma";
            gridRangeStyle2.StyleInfo.Font.Italic         = false;
            gridRangeStyle2.StyleInfo.Font.Size           = 15.75F;
            gridRangeStyle2.StyleInfo.Font.Strikeout      = false;
            gridRangeStyle2.StyleInfo.Font.Underline      = false;
            gridRangeStyle2.StyleInfo.Font.Unit           = System.Drawing.GraphicsUnit.Point;
            gridRangeStyle2.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
            gridRangeStyle2.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))), System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(124)))), ((int)(((byte)(130))))));
            gridRangeStyle2.StyleInfo.Text              = "Syncfusion - Essential Grid";
            gridRangeStyle2.StyleInfo.TextColor         = System.Drawing.Color.White;
            gridRangeStyle2.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
            gridRangeStyle3.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cells(6, 3, 8, 6);
            gridRangeStyle3.StyleInfo.Borders.Bottom      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Borders.Left        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Borders.Right       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Borders.Top         = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle3.StyleInfo.Font.Bold           = true;
            gridRangeStyle3.StyleInfo.Font.Facename       = "Tahoma";
            gridRangeStyle3.StyleInfo.Font.Italic         = false;
            gridRangeStyle3.StyleInfo.Font.Size           = 15.75F;
            gridRangeStyle3.StyleInfo.Font.Strikeout      = false;
            gridRangeStyle3.StyleInfo.Font.Underline      = false;
            gridRangeStyle3.StyleInfo.Font.Unit           = System.Drawing.GraphicsUnit.Point;
            gridRangeStyle3.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
            gridRangeStyle3.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.PathRectangle, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(228)))), ((int)(((byte)(221))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(109))))));
            gridRangeStyle3.StyleInfo.TextColor           = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(65)))), ((int)(((byte)(125)))));
            gridRangeStyle3.StyleInfo.VerticalAlignment   = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
            gridRangeStyle4.Range = Syncfusion.Windows.Forms.Grid.GridRangeInfo.Cells(7, 2, 8, 6);
            gridRangeStyle4.StyleInfo.Borders.Bottom      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Borders.Left        = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Borders.Right       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Borders.Top         = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.Orange, Syncfusion.Windows.Forms.Grid.GridBorderWeight.Thick);
            gridRangeStyle4.StyleInfo.Font.Bold           = true;
            gridRangeStyle4.StyleInfo.Font.Facename       = "Tahoma";
            gridRangeStyle4.StyleInfo.Font.Italic         = false;
            gridRangeStyle4.StyleInfo.Font.Size           = 15.75F;
            gridRangeStyle4.StyleInfo.Font.Strikeout      = false;
            gridRangeStyle4.StyleInfo.Font.Underline      = false;
            gridRangeStyle4.StyleInfo.Font.Unit           = System.Drawing.GraphicsUnit.Point;
            gridRangeStyle4.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
            gridRangeStyle4.StyleInfo.Interior            = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.PathRectangle, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(228)))), ((int)(((byte)(221))))), System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(184)))), ((int)(((byte)(109))))));
            gridRangeStyle4.StyleInfo.TextColor           = System.Drawing.Color.FromArgb(((int)(((byte)(41)))), ((int)(((byte)(65)))), ((int)(((byte)(125)))));
            gridRangeStyle4.StyleInfo.VerticalAlignment   = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
            this.gridControl1.RangeStyles.AddRange(new Syncfusion.Windows.Forms.Grid.GridRangeStyle[] {
                gridRangeStyle1,
                gridRangeStyle2,
                gridRangeStyle3,
                gridRangeStyle4
            });
            this.gridControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.gridControl1.RowCount    = 35;
            this.gridControl1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
                new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 21)
            });
            this.gridControl1.SerializeCellsBehavior = Syncfusion.Windows.Forms.Grid.GridSerializeCellsBehavior.SerializeAsRangeStylesIntoCode;
            this.gridControl1.Size         = new System.Drawing.Size(869, 425);
            this.gridControl1.SmartSizeBox = false;
            this.gridControl1.TabIndex     = 0;
            this.gridControl1.Tag          = "SaveXmlSchema";
            //
            // button1
            //
            this.button1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.button1.FlatStyle         = FlatStyle.Flat;
            this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.button1.BeforeTouchSize   = new System.Drawing.Size(106, 34);
            this.button1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.button1.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.button1.ForeColor         = System.Drawing.Color.White;
            this.button1.IsBackStageButton = false;
            this.button1.Location          = new System.Drawing.Point(11, 6);
            this.button1.Name              = "button1";
            this.button1.Size              = new System.Drawing.Size(106, 34);
            this.button1.TabIndex          = 12;
            this.button1.Text              = "Soap Serialize";
            this.button1.Click            += new System.EventHandler(this.button1_Click);
            //
            // buttonAdv1
            //
            this.buttonAdv1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv1.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv1.BeforeTouchSize   = new System.Drawing.Size(101, 34);
            this.buttonAdv1.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv1.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv1.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv1.IsBackStageButton = false;
            this.buttonAdv1.Location          = new System.Drawing.Point(132, 6);
            this.buttonAdv1.Name              = "buttonAdv1";
            this.buttonAdv1.Size              = new System.Drawing.Size(101, 34);
            this.buttonAdv1.TabIndex          = 13;
            this.buttonAdv1.Text              = "Soap Deserialize";
            this.buttonAdv1.Click            += new System.EventHandler(this.buttonAdv1_Click);
            //
            // buttonAdv2
            //
            this.buttonAdv2.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv2.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv2.BeforeTouchSize   = new System.Drawing.Size(107, 34);
            this.buttonAdv2.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv2.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv2.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv2.IsBackStageButton = false;
            this.buttonAdv2.Location          = new System.Drawing.Point(254, 6);
            this.buttonAdv2.Name              = "buttonAdv2";
            this.buttonAdv2.Size              = new System.Drawing.Size(107, 34);
            this.buttonAdv2.TabIndex          = 14;
            this.buttonAdv2.Text              = "Binary Serialize";
            this.buttonAdv2.Click            += new System.EventHandler(this.buttonAdv2_Click);
            //
            // buttonAdv3
            //
            this.buttonAdv3.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv3.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv3.BeforeTouchSize   = new System.Drawing.Size(116, 34);
            this.buttonAdv3.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv3.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv3.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv3.IsBackStageButton = false;
            this.buttonAdv3.Location          = new System.Drawing.Point(379, 6);
            this.buttonAdv3.Name              = "buttonAdv3";
            this.buttonAdv3.Size              = new System.Drawing.Size(116, 34);
            this.buttonAdv3.TabIndex          = 15;
            this.buttonAdv3.Text              = "Binary Deserialize";
            this.buttonAdv3.Click            += new System.EventHandler(this.buttonAdv3_Click);
            //
            // buttonAdv4
            //
            this.buttonAdv4.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv4.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv4.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv4.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv4.BeforeTouchSize   = new System.Drawing.Size(118, 34);
            this.buttonAdv4.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv4.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv4.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv4.IsBackStageButton = false;
            this.buttonAdv4.Location          = new System.Drawing.Point(513, 6);
            this.buttonAdv4.Name              = "buttonAdv4";
            this.buttonAdv4.Size              = new System.Drawing.Size(118, 34);
            this.buttonAdv4.TabIndex          = 16;
            this.buttonAdv4.Text              = "Save XML Schema";
            this.buttonAdv4.Click            += new System.EventHandler(this.buttonAdv4_Click);
            //
            // buttonAdv5
            //
            this.buttonAdv5.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv5.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv5.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv5.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv5.BeforeTouchSize   = new System.Drawing.Size(114, 34);
            this.buttonAdv5.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv5.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv5.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv5.IsBackStageButton = false;
            this.buttonAdv5.Location          = new System.Drawing.Point(649, 6);
            this.buttonAdv5.Name              = "buttonAdv5";
            this.buttonAdv5.Size              = new System.Drawing.Size(114, 34);
            this.buttonAdv5.TabIndex          = 17;
            this.buttonAdv5.Text              = "Load XML Schema";
            this.buttonAdv5.Click            += new System.EventHandler(this.buttonAdv5_Click);
            //
            // buttonAdv6
            //
            this.buttonAdv6.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.buttonAdv6.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.buttonAdv6.FlatStyle         = FlatStyle.Flat;
            this.buttonAdv6.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.buttonAdv6.BeforeTouchSize   = new System.Drawing.Size(87, 34);
            this.buttonAdv6.BorderStyleAdv    = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.RaisedInner;
            this.buttonAdv6.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.buttonAdv6.ForeColor         = System.Drawing.Color.White;
            this.buttonAdv6.IsBackStageButton = false;
            this.buttonAdv6.Location          = new System.Drawing.Point(782, 6);
            this.buttonAdv6.Name              = "buttonAdv6";
            this.buttonAdv6.Size              = new System.Drawing.Size(87, 34);
            this.buttonAdv6.TabIndex          = 18;
            this.buttonAdv6.Text              = "Reset Grid";
            this.buttonAdv6.Click            += new System.EventHandler(this.buttonAdv6_Click);
            //
            // panel1
            //
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.panel1.Controls.Add(this.buttonAdv4);
            this.panel1.Controls.Add(this.buttonAdv6);
            this.panel1.Controls.Add(this.button1);
            this.panel1.Controls.Add(this.buttonAdv5);
            this.panel1.Controls.Add(this.buttonAdv1);
            this.panel1.Controls.Add(this.buttonAdv2);
            this.panel1.Controls.Add(this.buttonAdv3);
            this.panel1.Location = new System.Drawing.Point(23, 443);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(879, 51);
            this.panel1.TabIndex = 19;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.ClientSize          = new System.Drawing.Size(914, 495);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.gridControl1);
            this.MinimumSize = new System.Drawing.Size(900, 500);
            this.Name        = "Form1";
            this.Text        = "Serialize Grid Control";
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Exemplo n.º 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);
 }
Exemplo n.º 15
0
 private void SetButtonState(ButtonAdv button, bool state)
 {
     button.State = state ? ButtonAdvState.Pressed : ButtonAdvState.Default;
     button.Refresh();
 }
 /// <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.button1              = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label2               = new System.Windows.Forms.Label();
     this.pictureBox1          = new System.Windows.Forms.PictureBox();
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.openFileDialog1      = new System.Windows.Forms.OpenFileDialog();
     this.groupBox2            = new System.Windows.Forms.GroupBox();
     this.radioButtonAcceptAll = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonRejectAll = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.comboBoxAuthorName   = new System.Windows.Forms.ComboBox();
     this.label8               = new System.Windows.Forms.Label();
     this.radioButtonReject    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAccept    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.buttonAdv1           = new Syncfusion.Windows.Forms.ButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAcceptAll)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonRejectAll)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonReject)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAccept)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(228, 34);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(340, 380);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(228, 34);
     this.button1.TabIndex                = 26;
     this.button1.Text                    = "Generate";
     this.button1.ThemeName               = "Metro";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 110);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(577, 74);
     this.label2.TabIndex  = 72;
     this.label2.Text      = resources.GetString("label2.Text");
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(580, 100);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 70;
     this.pictureBox1.TabStop  = false;
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.radioButtonAcceptAll);
     this.groupBox2.Controls.Add(this.radioButtonRejectAll);
     this.groupBox2.Controls.Add(this.comboBoxAuthorName);
     this.groupBox2.Controls.Add(this.label8);
     this.groupBox2.Controls.Add(this.radioButtonReject);
     this.groupBox2.Controls.Add(this.radioButtonAccept);
     this.groupBox2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.ForeColor = System.Drawing.Color.Black;
     this.groupBox2.Location  = new System.Drawing.Point(5, 150);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(560, 210);
     this.groupBox2.TabIndex  = 120;
     this.groupBox2.TabStop   = false;
     this.groupBox2.Text      = "Track Changes Options";
     //
     // radioButtonAcceptAll
     //
     this.radioButtonAcceptAll.BeforeTouchSize   = new System.Drawing.Size(583, 29);
     this.radioButtonAcceptAll.Border3DStyle     = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButtonAcceptAll.Checked           = true;
     this.radioButtonAcceptAll.Font              = new System.Drawing.Font("Verdana", 8.25F);
     this.radioButtonAcceptAll.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonAcceptAll.GradientEnd       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButtonAcceptAll.GradientStart     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButtonAcceptAll.ImageCheckBoxSize = new System.Drawing.Size(19, 19);
     this.radioButtonAcceptAll.Location          = new System.Drawing.Point(19, 145);
     this.radioButtonAcceptAll.MetroColor        = System.Drawing.Color.Empty;
     this.radioButtonAcceptAll.Name              = "radioButtonAcceptAll";
     this.radioButtonAcceptAll.Size              = new System.Drawing.Size(583, 29);
     this.radioButtonAcceptAll.TabIndex          = 90;
     this.radioButtonAcceptAll.Text              = "Accepts all the tracked changes in the Word document";
     this.radioButtonAcceptAll.ThemesEnabled     = true;
     //
     // radioButtonRejectAll
     //
     this.radioButtonRejectAll.BeforeTouchSize   = new System.Drawing.Size(583, 29);
     this.radioButtonRejectAll.Border3DStyle     = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButtonRejectAll.Font              = new System.Drawing.Font("Verdana", 8.25F);
     this.radioButtonRejectAll.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonRejectAll.GradientEnd       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButtonRejectAll.GradientStart     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButtonRejectAll.ImageCheckBoxSize = new System.Drawing.Size(19, 19);
     this.radioButtonRejectAll.Location          = new System.Drawing.Point(19, 185);
     this.radioButtonRejectAll.MetroColor        = System.Drawing.Color.Empty;
     this.radioButtonRejectAll.Name              = "radioButtonRejectAll";
     this.radioButtonRejectAll.Size              = new System.Drawing.Size(583, 29);
     this.radioButtonRejectAll.TabIndex          = 89;
     this.radioButtonRejectAll.TabStop           = false;
     this.radioButtonRejectAll.Text              = "Rejects all the tracked changes in the Word document";
     this.radioButtonRejectAll.ThemesEnabled     = true;
     //
     // comboBoxAuthorName
     //
     this.comboBoxAuthorName.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxAuthorName.FormattingEnabled = true;
     this.comboBoxAuthorName.Items.AddRange(new object[] {
         "All",
         "Nancy Davolio",
         "Steven Buchanan",
         "Stanley Hudson",
         "Andrew Fuller"
     });
     this.comboBoxAuthorName.Location              = new System.Drawing.Point(152, 30);
     this.comboBoxAuthorName.Name                  = "comboBoxAuthorName";
     this.comboBoxAuthorName.Size                  = new System.Drawing.Size(258, 28);
     this.comboBoxAuthorName.TabIndex              = 88;
     this.comboBoxAuthorName.SelectedIndexChanged += new System.EventHandler(this.ComboBoxSelectedIndexChanged);
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.Font      = new System.Drawing.Font("Verdana", 8.25F);
     this.label8.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label8.Location  = new System.Drawing.Point(15, 30);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(131, 20);
     this.label8.TabIndex  = 87;
     this.label8.Text      = "Author Name:";
     //
     // radioButtonReject
     //
     this.radioButtonReject.BeforeTouchSize   = new System.Drawing.Size(391, 28);
     this.radioButtonReject.Border3DStyle     = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButtonReject.Font              = new System.Drawing.Font("Verdana", 8.25F);
     this.radioButtonReject.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonReject.GradientEnd       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButtonReject.GradientStart     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButtonReject.ImageCheckBoxSize = new System.Drawing.Size(19, 19);
     this.radioButtonReject.Location          = new System.Drawing.Point(19, 107);
     this.radioButtonReject.MetroColor        = System.Drawing.Color.Empty;
     this.radioButtonReject.Name              = "radioButtonReject";
     this.radioButtonReject.Size              = new System.Drawing.Size(391, 28);
     this.radioButtonReject.TabIndex          = 85;
     this.radioButtonReject.TabStop           = false;
     this.radioButtonReject.Text              = "Rejects all changes made by the author";
     this.radioButtonReject.ThemesEnabled     = true;
     //
     // radioButtonAccept
     //
     this.radioButtonAccept.BeforeTouchSize   = new System.Drawing.Size(409, 29);
     this.radioButtonAccept.Border3DStyle     = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButtonAccept.Font              = new System.Drawing.Font("Verdana", 8.25F);
     this.radioButtonAccept.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonAccept.GradientEnd       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButtonAccept.GradientStart     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButtonAccept.ImageCheckBoxSize = new System.Drawing.Size(19, 19);
     this.radioButtonAccept.Location          = new System.Drawing.Point(19, 65);
     this.radioButtonAccept.MetroColor        = System.Drawing.Color.Empty;
     this.radioButtonAccept.Name              = "radioButtonAccept";
     this.radioButtonAccept.Size              = new System.Drawing.Size(409, 29);
     this.radioButtonAccept.TabIndex          = 84;
     this.radioButtonAccept.TabStop           = false;
     this.radioButtonAccept.Text              = "Accepts all changes made by the author";
     this.radioButtonAccept.ThemesEnabled     = true;
     //
     // 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)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv1.BeforeTouchSize    = new System.Drawing.Size(173, 34);
     this.buttonAdv1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.buttonAdv1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.buttonAdv1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv1.ForeColor               = System.Drawing.Color.White;
     this.buttonAdv1.KeepFocusRectangle      = false;
     this.buttonAdv1.Location                = new System.Drawing.Point(24, 380);
     this.buttonAdv1.Name                    = "buttonAdv1";
     this.buttonAdv1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.buttonAdv1.Size                    = new System.Drawing.Size(173, 34);
     this.buttonAdv1.TabIndex                = 121;
     this.buttonAdv1.Text                    = "View Template";
     this.buttonAdv1.ThemeName               = "Metro";
     this.buttonAdv1.UseVisualStyle          = true;
     this.buttonAdv1.UseVisualStyleBackColor = false;
     this.buttonAdv1.Click                  += new System.EventHandler(this.buttonAdv1_Click);
     //
     // Form1
     //
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize          = new System.Drawing.Size(580, 425);
     this.Controls.Add(this.buttonAdv1);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.button1);
     this.DropShadow      = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Track Changes";
     this.Load           += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAcceptAll)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonRejectAll)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonReject)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAccept)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 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();
            this.WindowState = FormWindowState.Maximized;
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.export_groupbox = new System.Windows.Forms.GroupBox();
            this.printbtn        = new Syncfusion.Windows.Forms.ButtonAdv();
            this.printpreviewbtn = new Syncfusion.Windows.Forms.ButtonAdv();
            this.panel1          = new System.Windows.Forms.Panel();
            this.spreadsheet     = new Syncfusion.Windows.Forms.Spreadsheet.Spreadsheet();
            this.export_groupbox.SuspendLayout();
            this.panel1.SuspendLayout();
            this.SuspendLayout();
            #region Spreadsheet
            //
            //html checkbox
            //
            printbtn.Location = new Point(10, 35);
            printbtn.Size     = new System.Drawing.Size(150, 35);
            printbtn.Text     = "Print";
            printbtn.Click   += printbtn_Click;

            //
            //image checkbox
            //
            printpreviewbtn.Location = new Point(10, 70);
            printpreviewbtn.Size     = new System.Drawing.Size(150, 35);
            printpreviewbtn.Text     = "Print Preview";
            printpreviewbtn.Click   += printpreviewbtn_Click;
            //
            // export_groupbox
            //
            this.export_groupbox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                | System.Windows.Forms.AnchorStyles.Right)));
            this.export_groupbox.Controls.Add(this.printbtn);
            this.export_groupbox.Controls.Add(this.printpreviewbtn);
            this.export_groupbox.Font     = new System.Drawing.Font(export_groupbox.Font, FontStyle.Bold);
            this.export_groupbox.Location = new System.Drawing.Point(813, 4);
            this.export_groupbox.Name     = "export_groupbox";
            this.export_groupbox.Size     = new System.Drawing.Size(180, 400);
            this.export_groupbox.TabIndex = 3;
            this.export_groupbox.TabStop  = false;
            this.export_groupbox.Text     = "Printing Options";
            //
            // printbtn
            //
            this.printbtn.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.printbtn.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.printbtn.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.printbtn.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
            this.printbtn.Font       = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.printbtn.ForeColor  = System.Drawing.Color.White;
            this.printbtn.Location   = new System.Drawing.Point(10, 35);
            this.printbtn.Name       = "printbtn";
            this.printbtn.Size       = new System.Drawing.Size(150, 35);
            this.printbtn.TabIndex   = 5;
            this.printbtn.Text       = "Print";
            //
            // printpreviewbtn
            //
            this.printpreviewbtn.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.printpreviewbtn.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.printpreviewbtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.printpreviewbtn.Font      = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.printpreviewbtn.ForeColor = System.Drawing.Color.White;
            this.printpreviewbtn.Location  = new System.Drawing.Point(10, 100);
            this.printpreviewbtn.Name      = "printpreviewbtn";
            this.printpreviewbtn.Size      = new System.Drawing.Size(150, 35);
            this.printpreviewbtn.TabIndex  = 5;
            this.printpreviewbtn.Text      = "Print Preview";
            //
            // panel1
            //
            this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
            this.panel1.BackColor   = System.Drawing.Color.White;
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.spreadsheet);
            this.panel1.ForeColor = System.Drawing.Color.DarkGray;
            this.panel1.Location  = new System.Drawing.Point(10, 0);
            this.panel1.Name      = "panel1";
            this.panel1.Size      = new System.Drawing.Size(788, 640);
            this.panel1.TabIndex  = 4;
            //
            // spreadsheet
            //
            this.spreadsheet.AllowCellContextMenu       = true;
            this.spreadsheet.AllowExtendRowColumnCount  = true;
            this.spreadsheet.AllowFormulaRangeSelection = true;
            this.spreadsheet.AllowTabItemContextMenu    = true;
            this.spreadsheet.AllowZooming = true;
            this.spreadsheet.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.spreadsheet.DefaultColumnCount = 101;
            this.spreadsheet.DefaultRowCount    = 101;
            this.spreadsheet.Location           = new System.Drawing.Point(0, 0);
            this.spreadsheet.Name               = "spreadsheet";
            this.spreadsheet.SelectedTabIndex   = 0;
            this.spreadsheet.SelectedTabItem    = null;
            this.spreadsheet.Size               = new System.Drawing.Size(788, 640);
            this.spreadsheet.TabIndex           = 0;
            this.spreadsheet.TabItemContextMenu = null;
            this.spreadsheet.Open(@"..\..\..\..\..\..\Common\Data\Spreadsheet\Printing.xlsx");
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.ClientSize          = new System.Drawing.Size(1012, 656);
            this.Controls.Add(this.export_groupbox);
            this.Controls.Add(this.panel1);
            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(500, 400);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text          = "Printing ";
            this.export_groupbox.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.ResumeLayout(false);

            #endregion
        }
Exemplo n.º 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();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.label4     = new System.Windows.Forms.Label();
     this.textBox1   = new System.Windows.Forms.TextBox();
     this.textBox2   = new System.Windows.Forms.TextBox();
     this.textBox3   = new System.Windows.Forms.TextBox();
     this.textBox4   = new System.Windows.Forms.TextBox();
     this.button1    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button2    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button3    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.panel1     = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(11, 39);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(24, 18);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "A";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(11, 79);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(24, 18);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "B";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(11, 119);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(24, 18);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "C";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location  = new System.Drawing.Point(11, 167);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(24, 18);
     this.label4.TabIndex  = 3;
     this.label4.Text      = "D";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(59, 34);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(176, 20);
     this.textBox1.TabIndex = 4;
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(59, 74);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(176, 20);
     this.textBox2.TabIndex = 5;
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(59, 122);
     this.textBox3.Name     = "textBox3";
     this.textBox3.Size     = new System.Drawing.Size(176, 20);
     this.textBox3.TabIndex = 6;
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(59, 162);
     this.textBox4.Name     = "textBox4";
     this.textBox4.Size     = new System.Drawing.Size(176, 20);
     this.textBox4.TabIndex = 7;
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(118, 23);
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(273, 51);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(118, 23);
     this.button1.TabIndex       = 8;
     this.button1.Text           = "Calculate";
     this.button1.UseVisualStyle = true;
     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)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button2.BeforeTouchSize   = new System.Drawing.Size(118, 23);
     this.button2.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button2.ForeColor         = System.Drawing.Color.White;
     this.button2.IsBackStageButton = false;
     this.button2.Location          = new System.Drawing.Point(273, 101);
     this.button2.Name           = "button2";
     this.button2.Size           = new System.Drawing.Size(118, 23);
     this.button2.TabIndex       = 9;
     this.button2.Text           = "Show Formulas";
     this.button2.UseVisualStyle = true;
     this.button2.Click         += new System.EventHandler(this.button2_Click);
     //
     // button3
     //
     this.button3.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button3.BeforeTouchSize   = new System.Drawing.Size(118, 23);
     this.button3.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button3.ForeColor         = System.Drawing.Color.White;
     this.button3.IsBackStageButton = false;
     this.button3.Location          = new System.Drawing.Point(273, 146);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(118, 23);
     this.button3.TabIndex = 10;
     this.button3.Text     = "Reset Keys";
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.button3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.button2);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.textBox4);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.textBox3);
     this.panel1.Controls.Add(this.textBox2);
     this.panel1.Location = new System.Drawing.Point(6, 6);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(414, 211);
     this.panel1.TabIndex = 11;
     //
     // ManualCalcForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.CaptionFont         = new System.Drawing.Font("Segoe UI", 15F);
     this.ClientSize          = new System.Drawing.Size(429, 222);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(400, 268);
     this.Name            = "ManualCalcForm";
     this.Text            = "Minimal Sample With Manual Calculations ";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.button1          = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label2           = new System.Windows.Forms.Label();
     this.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.radioButton1     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton2     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn = new System.Windows.Forms.RadioButton();
     this.pdfRadioBtn      = new System.Windows.Forms.RadioButton();
     this.wordDocRadioBtn  = new System.Windows.Forms.RadioButton();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(108, 23);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(252, 219);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(108, 23);
     this.button1.TabIndex                = 26;
     this.button1.Text                    = "Generate";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 85);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(372, 58);
     this.label2.TabIndex  = 74;
     this.label2.Text      = "Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.";
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(372, 82);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 70;
     this.pictureBox1.TabStop  = false;
     //
     // radioButton1
     //
     this.radioButton1.BeforeTouchSize = new System.Drawing.Size(152, 20);
     this.radioButton1.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButton1.Checked         = true;
     this.radioButton1.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButton1.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButton1.Location        = new System.Drawing.Point(6, 16);
     this.radioButton1.MetroColor      = System.Drawing.Color.Empty;
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(152, 20);
     this.radioButton1.TabIndex        = 76;
     this.radioButton1.Text            = "Replace With Formatting";
     this.radioButton1.ThemesEnabled   = true;
     //
     // radioButton2
     //
     this.radioButton2.BeforeTouchSize = new System.Drawing.Size(117, 20);
     this.radioButton2.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.radioButton2.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.radioButton2.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.radioButton2.Location        = new System.Drawing.Point(176, 16);
     this.radioButton2.MetroColor      = System.Drawing.Color.Empty;
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(117, 20);
     this.radioButton2.TabIndex        = 77;
     this.radioButton2.TabStop         = false;
     this.radioButton2.Text            = "Advanced Replace";
     this.radioButton2.ThemesEnabled   = true;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox1.Controls.Add(this.pdfRadioBtn);
     this.groupBox1.Controls.Add(this.wordDocRadioBtn);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(12, 205);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(216, 42);
     this.groupBox1.TabIndex = 78;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.AutoSize = true;
     this.wordDocxRadioBtn.Checked  = true;
     this.wordDocxRadioBtn.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.Location = new System.Drawing.Point(84, 20);
     this.wordDocxRadioBtn.Name     = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size     = new System.Drawing.Size(60, 17);
     this.wordDocxRadioBtn.TabIndex = 3;
     this.wordDocxRadioBtn.TabStop  = true;
     this.wordDocxRadioBtn.Text     = "DOCX";
     this.wordDocxRadioBtn.UseVisualStyleBackColor = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.AutoSize = true;
     this.pdfRadioBtn.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.pdfRadioBtn.Location = new System.Drawing.Point(169, 20);
     this.pdfRadioBtn.Name     = "pdfRadioBtn";
     this.pdfRadioBtn.Size     = new System.Drawing.Size(47, 17);
     this.pdfRadioBtn.TabIndex = 1;
     this.pdfRadioBtn.TabStop  = true;
     this.pdfRadioBtn.Text     = "PDF";
     this.pdfRadioBtn.UseVisualStyleBackColor = true;
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.AutoSize = true;
     this.wordDocRadioBtn.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocRadioBtn.Location = new System.Drawing.Point(6, 20);
     this.wordDocRadioBtn.Name     = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size     = new System.Drawing.Size(52, 17);
     this.wordDocRadioBtn.TabIndex = 0;
     this.wordDocRadioBtn.TabStop  = true;
     this.wordDocRadioBtn.Text     = "DOC";
     this.wordDocRadioBtn.UseVisualStyleBackColor = true;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.radioButton1);
     this.groupBox2.Controls.Add(this.radioButton2);
     this.groupBox2.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location = new System.Drawing.Point(12, 146);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(318, 44);
     this.groupBox2.TabIndex = 79;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Select Option";
     //
     // Form1
     //
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.BorderColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize          = new System.Drawing.Size(372, 265);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.button1);
     this.DropShadow      = true;
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Advanced Replace";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 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);
        }
Exemplo n.º 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();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle1 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle2 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle3 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     Syncfusion.Windows.Forms.Grid.GridBaseStyle gridBaseStyle4 = new Syncfusion.Windows.Forms.Grid.GridBaseStyle();
     this.textBox1           = new System.Windows.Forms.TextBox();
     this.button1            = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label1             = new System.Windows.Forms.Label();
     this.checkBox1          = new System.Windows.Forms.CheckBox();
     this.label2             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.panel1             = new System.Windows.Forms.Panel();
     this.gridDataBoundGrid1 = new GridDataBoundGridCalculator.CalcGridDataBoundGrid();
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Location = new System.Drawing.Point(390, 152);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(208, 20);
     this.textBox1.TabIndex = 1;
     this.textBox1.Enter   += new System.EventHandler(this.textBox1_Enter);
     //
     // button1
     //
     this.button1.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(75, 23);
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(462, 184);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(75, 23);
     this.button1.TabIndex       = 2;
     this.button1.Text           = "Compute";
     this.button1.UseVisualStyle = true;
     this.button1.Click         += new System.EventHandler(this.button1_Click);
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.BackColor = System.Drawing.Color.WhiteSmoke;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(390, 224);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(207, 40);
     this.label1.TabIndex  = 3;
     //
     // checkBox1
     //
     this.checkBox1.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.checkBox1.Location        = new System.Drawing.Point(20, 68);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(344, 16);
     this.checkBox1.TabIndex        = 5;
     this.checkBox1.Text            = "Show any formulas in the GridDataBoundGrid.";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(17, 38);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(472, 16);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Try entering formulas such as = A4 + B4 into a cell in this GridDataBoundGrid.";
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(390, 105);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(288, 39);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "Enter a formula based on GridDataBoundGrid cells like    = A1 + B2 + Cos(B1).    " +
                             "                              Then press Compute. ";
     //
     // gridDataBoundGrid1
     //
     this.gridDataBoundGrid1.DpiAware = true;
     this.gridDataBoundGrid1.ActivateCurrentCellBehavior = Syncfusion.Windows.Forms.Grid.GridCellActivateAction.DblClickOnCell;
     this.gridDataBoundGrid1.AllowDragSelectedCols       = true;
     this.gridDataBoundGrid1.AlphaBlendSelectionColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.gridDataBoundGrid1.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)));
     gridBaseStyle1.Name = "Column Header";
     gridBaseStyle1.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle1.StyleInfo.CellType            = "ColumnHeaderCell";
     gridBaseStyle1.StyleInfo.Enabled             = false;
     gridBaseStyle1.StyleInfo.Font.Bold           = true;
     gridBaseStyle1.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Center;
     gridBaseStyle2.Name = "Header";
     gridBaseStyle2.StyleInfo.Borders.Bottom    = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Left      = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Right     = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.Borders.Top       = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.None);
     gridBaseStyle2.StyleInfo.CellType          = "Header";
     gridBaseStyle2.StyleInfo.Font.Bold         = true;
     gridBaseStyle2.StyleInfo.Interior          = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Control);
     gridBaseStyle2.StyleInfo.VerticalAlignment = Syncfusion.Windows.Forms.Grid.GridVerticalAlignment.Middle;
     gridBaseStyle3.Name = "Standard";
     gridBaseStyle3.StyleInfo.CheckBoxOptions.CheckedValue   = "True";
     gridBaseStyle3.StyleInfo.CheckBoxOptions.UncheckedValue = "False";
     gridBaseStyle3.StyleInfo.Interior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window);
     gridBaseStyle4.Name = "Row Header";
     gridBaseStyle4.StyleInfo.BaseStyle           = "Header";
     gridBaseStyle4.StyleInfo.CellType            = "RowHeaderCell";
     gridBaseStyle4.StyleInfo.Enabled             = true;
     gridBaseStyle4.StyleInfo.HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Left;
     this.gridDataBoundGrid1.BaseStylesMap.AddRange(new Syncfusion.Windows.Forms.Grid.GridBaseStyle[] {
         gridBaseStyle1,
         gridBaseStyle2,
         gridBaseStyle3,
         gridBaseStyle4
     });
     this.gridDataBoundGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gridDataBoundGrid1.DataMember           = "";
     this.gridDataBoundGrid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridDataBoundGrid1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridDataBoundGrid1.DefaultRowHeight     = (int)DpiAware.LogicalToDeviceUnits(20.0f);
     this.gridDataBoundGrid1.Location             = new System.Drawing.Point(24, 126);
     this.gridDataBoundGrid1.MetroScrollBars      = true;
     this.gridDataBoundGrid1.Name = "gridDataBoundGrid1";
     this.gridDataBoundGrid1.Properties.ForceImmediateRepaint = false;
     this.gridDataBoundGrid1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234)))));
     this.gridDataBoundGrid1.Properties.MarkColHeader         = false;
     this.gridDataBoundGrid1.Properties.MarkRowHeader         = false;
     this.gridDataBoundGrid1.ShowCurrentCellBorderBehavior    = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridDataBoundGrid1.Size          = new System.Drawing.Size(358, 144);
     this.gridDataBoundGrid1.SmartSizeBox  = false;
     this.gridDataBoundGrid1.SortBehavior  = Syncfusion.Windows.Forms.Grid.GridSortBehavior.None;
     this.gridDataBoundGrid1.TabIndex      = 0;
     this.gridDataBoundGrid1.ThemesEnabled = true;
     //
     // panel1
     //
     this.panel1.Dock     = DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Size     = new System.Drawing.Size(690, 305);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.checkBox1);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.textBox1);
     this.panel1.Controls.Add(this.gridDataBoundGrid1);
     //
     // SingleGridDataBoundGridForm
     //
     this.AcceptButton        = this.button1;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(696, 310);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(650, 300);
     this.Name        = "SingleGridDataBoundGridForm";
     this.Text        = "Grid-Data-Bound-Grid Calculator ";
     this.Load       += new System.EventHandler(this.SinglegridDataBoundGridForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridDataBoundGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 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(Form1));
     this.htmluiControl1 = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.label1         = new System.Windows.Forms.Label();
     this.panel1         = new System.Windows.Forms.Panel();
     this.panel2         = new System.Windows.Forms.Panel();
     this.panel3         = new System.Windows.Forms.Panel();
     this.button3        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox2       = new System.Windows.Forms.TextBox();
     this.label4         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.button2        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.button1        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox1       = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoRunScripts                = true;
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(607, 234);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.htmluiControl1.Location  = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name      = "htmluiControl1";
     this.htmluiControl1.ShowTitle = false;
     this.htmluiControl1.Size      = new System.Drawing.Size(624, 249);
     this.htmluiControl1.TabIndex  = 0;
     this.htmluiControl1.Text      = "<html/>";
     //
     // label1
     //
     this.label1.BackColor   = System.Drawing.Color.White;
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.label1.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this.label1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor   = System.Drawing.Color.Black;
     this.label1.Location    = new System.Drawing.Point(10, 10);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(625, 24);
     this.label1.TabIndex    = 1;
     this.label1.Text        = "Essential HTMLUI supports Cascading Style Sheets";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.htmluiControl1);
     this.panel1.Location = new System.Drawing.Point(10, 194);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(626, 251);
     this.panel1.TabIndex = 7;
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.BackColor   = System.Drawing.Color.White;
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Location = new System.Drawing.Point(10, 32);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(625, 144);
     this.panel2.TabIndex = 8;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.button3);
     this.panel3.Controls.Add(this.textBox2);
     this.panel3.Controls.Add(this.label4);
     this.panel3.Controls.Add(this.label3);
     this.panel3.Controls.Add(this.button2);
     this.panel3.Controls.Add(this.button1);
     this.panel3.Controls.Add(this.textBox1);
     this.panel3.Controls.Add(this.label2);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(623, 142);
     this.panel3.TabIndex = 9;
     //
     // button3
     //
     this.button3.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button3.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button3.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button3.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.button3.Font       = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button3.ForeColor  = System.Drawing.Color.Black;
     this.button3.Location   = new System.Drawing.Point(463, 26);
     this.button3.Name       = "button3";
     this.button3.Size       = new System.Drawing.Size(136, 24);
     this.button3.TabIndex   = 17;
     this.button3.Text       = "Apply Modified Style";
     this.button3.UseVisualStyleBackColor = false;
     this.button3.Click += new System.EventHandler(this.button3_Click);
     //
     // textBox2
     //
     this.textBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox2.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location = new System.Drawing.Point(112, 60);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(495, 22);
     this.textBox2.TabIndex = 16;
     //
     // label4
     //
     this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label4.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.Black;
     this.label4.Location  = new System.Drawing.Point(22, 60);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(84, 16);
     this.label4.TabIndex  = 15;
     this.label4.Text      = "Style";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Black;
     this.label3.Location  = new System.Drawing.Point(16, 100);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(64, 16);
     this.label3.TabIndex  = 14;
     this.label3.Text      = "Navigate";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // button2
     //
     this.button2.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button2.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button2.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.button2.Font       = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.ForeColor  = System.Drawing.Color.Black;
     this.button2.Location   = new System.Drawing.Point(471, 94);
     this.button2.Name       = "button2";
     this.button2.Size       = new System.Drawing.Size(96, 24);
     this.button2.TabIndex   = 13;
     this.button2.Text       = "Next >>";
     this.button2.UseVisualStyleBackColor = false;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.FlatStyle  = System.Windows.Forms.FlatStyle.Flat;
     this.button1.Font       = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor  = System.Drawing.Color.Black;
     this.button1.Location   = new System.Drawing.Point(128, 94);
     this.button1.Name       = "button1";
     this.button1.Size       = new System.Drawing.Size(96, 24);
     this.button1.TabIndex   = 12;
     this.button1.Text       = "<< Previous";
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location = new System.Drawing.Point(112, 28);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(335, 22);
     this.textBox1.TabIndex = 11;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(22, 28);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(84, 16);
     this.label2.TabIndex  = 10;
     this.label2.Text      = "CSS Attribute";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize        = new System.Drawing.Size(645, 461);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.label1);
     this.DropShadow       = true;
     this.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ForeColor        = System.Drawing.Color.Maroon;
     this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.MinimumSize      = new System.Drawing.Size(657, 497);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "CSS Binding";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 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.label1            = new System.Windows.Forms.Label();
     this.textBoxFileName   = new System.Windows.Forms.TextBox();
     this.label2            = new System.Windows.Forms.Label();
     this.textBoxFind       = new System.Windows.Forms.TextBox();
     this.label3            = new System.Windows.Forms.Label();
     this.textBoxReplace    = new System.Windows.Forms.TextBox();
     this.checkBoxMatchCase = new System.Windows.Forms.CheckBox();
     this.checkBoxMatchWord = new System.Windows.Forms.CheckBox();
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.button1           = new Syncfusion.Windows.Forms.ButtonAdv();
     this.buttonReplace     = new Syncfusion.Windows.Forms.ButtonAdv();
     this.pictureBox1       = new System.Windows.Forms.PictureBox();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.groupBox2         = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.wordDocRadioBtn   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pdfRadioBtn       = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.label4            = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Tahoma", 8.25F);
     this.label1.Location = new System.Drawing.Point(2, 146);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "&Look in          :  ";
     //
     // textBoxFileName
     //
     this.textBoxFileName.Font     = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBoxFileName.Location = new System.Drawing.Point(92, 146);
     this.textBoxFileName.Name     = "textBoxFileName";
     this.textBoxFileName.Size     = new System.Drawing.Size(224, 21);
     this.textBoxFileName.TabIndex = 1;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(2, 175);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(90, 13);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "Fi&nd what      :";
     //
     // textBoxFind
     //
     this.textBoxFind.Enabled  = false;
     this.textBoxFind.Font     = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBoxFind.Location = new System.Drawing.Point(92, 175);
     this.textBoxFind.Name     = "textBoxFind";
     this.textBoxFind.Size     = new System.Drawing.Size(224, 21);
     this.textBoxFind.TabIndex = 4;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Tahoma", 8.25F);
     this.label3.Location = new System.Drawing.Point(2, 204);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(81, 13);
     this.label3.TabIndex = 5;
     this.label3.Text     = "Re&place with  : ";
     //
     // textBoxReplace
     //
     this.textBoxReplace.Enabled  = false;
     this.textBoxReplace.Font     = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBoxReplace.Location = new System.Drawing.Point(92, 204);
     this.textBoxReplace.Name     = "textBoxReplace";
     this.textBoxReplace.Size     = new System.Drawing.Size(224, 21);
     this.textBoxReplace.TabIndex = 6;
     //
     // checkBoxMatchCase
     //
     this.checkBoxMatchCase.Enabled         = false;
     this.checkBoxMatchCase.Font            = new System.Drawing.Font("Tahoma", 8.25F);
     this.checkBoxMatchCase.Location        = new System.Drawing.Point(6, 18);
     this.checkBoxMatchCase.Name            = "checkBoxMatchCase";
     this.checkBoxMatchCase.Size            = new System.Drawing.Size(104, 20);
     this.checkBoxMatchCase.TabIndex        = 7;
     this.checkBoxMatchCase.Text            = "Match &case";
     this.checkBoxMatchCase.CheckedChanged += new System.EventHandler(this.checkBoxMatchCase_CheckedChanged);
     //
     // checkBoxMatchWord
     //
     this.checkBoxMatchWord.Enabled         = false;
     this.checkBoxMatchWord.Font            = new System.Drawing.Font("Tahoma", 8.25F);
     this.checkBoxMatchWord.Location        = new System.Drawing.Point(6, 42);
     this.checkBoxMatchWord.Name            = "checkBoxMatchWord";
     this.checkBoxMatchWord.Size            = new System.Drawing.Size(117, 22);
     this.checkBoxMatchWord.TabIndex        = 8;
     this.checkBoxMatchWord.Text            = "Match &whole word";
     this.checkBoxMatchWord.CheckedChanged += new System.EventHandler(this.checkBoxMatchWord_CheckedChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.checkBoxMatchWord);
     this.groupBox1.Controls.Add(this.checkBoxMatchCase);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold);
     this.groupBox1.Location = new System.Drawing.Point(5, 267);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(131, 70);
     this.groupBox1.TabIndex = 12;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Search Options";
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(55, 24);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(338, 146);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(55, 24);
     this.button1.TabIndex                = 13;
     this.button1.Text                    = "Browse";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.buttonBrowse_Click);
     //
     // buttonReplace
     //
     this.buttonReplace.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonReplace.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.buttonReplace.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonReplace.BeforeTouchSize    = new System.Drawing.Size(108, 23);
     this.buttonReplace.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.buttonReplace.ComboEditBackColor = System.Drawing.Color.Silver;
     this.buttonReplace.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonReplace.ForeColor               = System.Drawing.Color.White;
     this.buttonReplace.IsBackStageButton       = false;
     this.buttonReplace.KeepFocusRectangle      = false;
     this.buttonReplace.Location                = new System.Drawing.Point(285, 349);
     this.buttonReplace.Name                    = "buttonReplace";
     this.buttonReplace.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.buttonReplace.Size                    = new System.Drawing.Size(108, 23);
     this.buttonReplace.TabIndex                = 14;
     this.buttonReplace.Text                    = "Replace";
     this.buttonReplace.UseVisualStyle          = true;
     this.buttonReplace.UseVisualStyleBackColor = false;
     this.buttonReplace.Click                  += new System.EventHandler(this.buttonReplace_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(-2, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(409, 82);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 26;
     this.pictureBox1.TabStop  = false;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox2.Controls.Add(this.wordDocRadioBtn);
     this.groupBox2.Controls.Add(this.pdfRadioBtn);
     this.groupBox2.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.Location = new System.Drawing.Point(168, 285);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(225, 46);
     this.groupBox2.TabIndex = 101;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Save As";
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocxRadioBtn.Checked         = true;
     this.wordDocxRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocxRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocxRadioBtn.Location        = new System.Drawing.Point(85, 18);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize = new System.Drawing.Size(48, 20);
     this.wordDocRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.wordDocRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocRadioBtn.Location        = new System.Drawing.Point(6, 18);
     this.wordDocRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name            = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size            = new System.Drawing.Size(48, 20);
     this.wordDocRadioBtn.TabIndex        = 44;
     this.wordDocRadioBtn.Text            = "DOC";
     this.wordDocRadioBtn.ThemesEnabled   = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.BeforeTouchSize = new System.Drawing.Size(45, 20);
     this.pdfRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pdfRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pdfRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pdfRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pdfRadioBtn.Location        = new System.Drawing.Point(174, 18);
     this.pdfRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.pdfRadioBtn.Name            = "pdfRadioBtn";
     this.pdfRadioBtn.Size            = new System.Drawing.Size(45, 20);
     this.pdfRadioBtn.TabIndex        = 45;
     this.pdfRadioBtn.Text            = "PDF";
     this.pdfRadioBtn.ThemesEnabled   = true;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(2, 85);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(401, 58);
     this.label4.TabIndex = 102;
     this.label4.Text     = "Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.CaptionFont       = new System.Drawing.Font("Microsoft Sans Serif", 11F);
     this.ClientSize        = new System.Drawing.Size(405, 393);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.buttonReplace);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.textBoxReplace);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textBoxFind);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.textBoxFileName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.groupBox1);
     this.DropShadow      = true;
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Find and Replace";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 24
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();
     this.label2       = new System.Windows.Forms.Label();
     this.txtaddedItem = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.btnOK        = new Syncfusion.Windows.Forms.ButtonAdv();
     this.BtnCancel    = new Syncfusion.Windows.Forms.ButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.txtaddedItem)).BeginInit();
     this.SuspendLayout();
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 24);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 16);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Add Item";
     //
     // txtaddedItem
     //
     this.txtaddedItem.BorderColor = System.Drawing.Color.Silver;
     this.txtaddedItem.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtaddedItem.Cursor      = System.Windows.Forms.Cursors.IBeam;
     this.txtaddedItem.Location    = new System.Drawing.Point(96, 22);
     this.txtaddedItem.Metrocolor  = System.Drawing.Color.Silver;
     this.txtaddedItem.Name        = "txtaddedItem";
     this.txtaddedItem.Size        = new System.Drawing.Size(192, 22);
     this.txtaddedItem.Style       = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro;
     this.txtaddedItem.TabIndex    = 4;
     //
     // btnOK
     //
     this.btnOK.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.btnOK.BackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.btnOK.DialogResult   = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location       = new System.Drawing.Point(40, 64);
     this.btnOK.Name           = "btnOK";
     this.btnOK.Size           = new System.Drawing.Size(75, 23);
     this.btnOK.TabIndex       = 5;
     this.btnOK.Text           = "Add";
     this.btnOK.UseVisualStyle = true;
     //
     // BtnCancel
     //
     this.BtnCancel.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.BtnCancel.BackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.BtnCancel.DialogResult   = System.Windows.Forms.DialogResult.Cancel;
     this.BtnCancel.Location       = new System.Drawing.Point(192, 64);
     this.BtnCancel.Name           = "BtnCancel";
     this.BtnCancel.Size           = new System.Drawing.Size(75, 23);
     this.BtnCancel.TabIndex       = 6;
     this.BtnCancel.Text           = "Cancel";
     this.BtnCancel.UseVisualStyle = true;
     this.BtnCancel.Click         += new System.EventHandler(this.BtnCancel_Click);
     //
     // AddToHistoryDlg
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.CancelButton      = this.BtnCancel;
     this.ClientSize        = new System.Drawing.Size(312, 102);
     this.Controls.Add(this.BtnCancel);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.txtaddedItem);
     this.Controls.Add(this.label2);
     this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
     this.MaximizeBox   = false;
     this.Name          = "AddToHistoryDlg";
     this.ShowIcon      = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "History";
     ((System.ComponentModel.ISupportInitialize)(this.txtaddedItem)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 25
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();
     this.button1    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.textBox1   = new System.Windows.Forms.TextBox();
     this.textBox2   = new System.Windows.Forms.TextBox();
     this.textBox3   = new System.Windows.Forms.TextBox();
     this.textBox4   = new System.Windows.Forms.TextBox();
     this.button2    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(288, 23);
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(26, 21);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(288, 23);
     this.button1.TabIndex       = 0;
     this.button1.Text           = "Generate Data";
     this.button1.UseVisualStyle = true;
     this.button1.Click         += new System.EventHandler(this.button1_Click);
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Location  = new System.Drawing.Point(24, 88);
     this.textBox1.Multiline = true;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(288, 232);
     this.textBox1.TabIndex  = 1;
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(65, 53);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(32, 20);
     this.textBox2.TabIndex = 2;
     this.textBox2.Text     = "0";
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(137, 53);
     this.textBox3.Name     = "textBox3";
     this.textBox3.Size     = new System.Drawing.Size(32, 20);
     this.textBox3.TabIndex = 3;
     this.textBox3.Text     = "0";
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(217, 53);
     this.textBox4.Name     = "textBox4";
     this.textBox4.Size     = new System.Drawing.Size(48, 20);
     this.textBox4.TabIndex = 4;
     this.textBox4.Text     = "123";
     //
     // button2
     //
     this.button2.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button2.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button2.BeforeTouchSize   = new System.Drawing.Size(40, 23);
     this.button2.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button2.ForeColor         = System.Drawing.Color.White;
     this.button2.IsBackStageButton = false;
     this.button2.Location          = new System.Drawing.Point(273, 52);
     this.button2.Name           = "button2";
     this.button2.Size           = new System.Drawing.Size(40, 23);
     this.button2.TabIndex       = 5;
     this.button2.Text           = "Set";
     this.button2.UseVisualStyle = true;
     this.button2.Click         += new System.EventHandler(this.button2_Click);
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(30, 55);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(32, 16);
     this.label1.TabIndex  = 6;
     this.label1.Text      = "Row:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(113, 56);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(24, 23);
     this.label2.TabIndex  = 7;
     this.label2.Text      = "Col:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location  = new System.Drawing.Point(176, 56);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(39, 23);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "Value:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(336, 342);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.textBox4);
     this.Controls.Add(this.textBox3);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.button1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(300, 300);
     this.Name            = "Form1";
     this.Text            = "Array ICalcData";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Exemplo n.º 26
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();
     this.northwindDataSet1    = new SummaryInCaption.DataSet1();
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.sqlSelectCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlConnection2       = new System.Data.SqlClient.SqlConnection();
     this.sqlInsertCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlUpdateCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlDeleteCommand2    = new System.Data.SqlClient.SqlCommand();
     this.sqlDataAdapterOrders = new System.Data.SqlClient.SqlDataAdapter();
     this.panel1           = new System.Windows.Forms.Panel();
     this.startTimerButton = new Syncfusion.Windows.Forms.ButtonAdv();
     this.chartControl1    = new Syncfusion.Windows.Forms.Chart.ChartControl();
     this.checkBox1        = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.checkBoxAdv1     = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
     this.panel2           = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // northwindDataSet1
     //
     this.northwindDataSet1.DataSetName             = "DataSet1";
     this.northwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.BackColor            = System.Drawing.SystemColors.Window;
     this.gridGroupingControl1.DataSource           = this.northwindDataSet1.Orders;
     this.gridGroupingControl1.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.gridGroupingControl1.FreezeCaption        = false;
     this.gridGroupingControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.Location             = new System.Drawing.Point(0, 0);
     this.gridGroupingControl1.Name                 = "gridGroupingControl1";
     this.gridGroupingControl1.Size                 = new System.Drawing.Size(545, 445);
     this.gridGroupingControl1.TabIndex             = 0;
     //
     // sqlSelectCommand2
     //
     this.sqlSelectCommand2.CommandText = "SELECT OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, Shi" +
                                          "pVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, Ship" +
                                          "Country FROM Orders";
     this.sqlSelectCommand2.Connection = this.sqlConnection2;
     //
     // sqlConnection2
     //
     this.sqlConnection2.ConnectionString = "Network Address=66.135.59.108,49489;initial catalog=NORTHWIND;password=Sync_sampl" +
                                            "es;persist security info=True;user id=sa;packet size=4096;Pooling=true";
     this.sqlConnection2.FireInfoMessageEventOnUserErrors = false;
     //
     // sqlInsertCommand2
     //
     this.sqlInsertCommand2.Connection = this.sqlConnection2;
     this.sqlInsertCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"),
         new System.Data.SqlClient.SqlParameter("@EmployeeID", System.Data.SqlDbType.Int, 4, "EmployeeID"),
         new System.Data.SqlClient.SqlParameter("@OrderDate", System.Data.SqlDbType.DateTime, 8, "OrderDate"),
         new System.Data.SqlClient.SqlParameter("@RequiredDate", System.Data.SqlDbType.DateTime, 8, "RequiredDate"),
         new System.Data.SqlClient.SqlParameter("@ShippedDate", System.Data.SqlDbType.DateTime, 8, "ShippedDate"),
         new System.Data.SqlClient.SqlParameter("@ShipVia", System.Data.SqlDbType.Int, 4, "ShipVia"),
         new System.Data.SqlClient.SqlParameter("@Freight", System.Data.SqlDbType.Money, 8, "Freight"),
         new System.Data.SqlClient.SqlParameter("@ShipName", System.Data.SqlDbType.NVarChar, 40, "ShipName"),
         new System.Data.SqlClient.SqlParameter("@ShipAddress", System.Data.SqlDbType.NVarChar, 60, "ShipAddress"),
         new System.Data.SqlClient.SqlParameter("@ShipCity", System.Data.SqlDbType.NVarChar, 15, "ShipCity"),
         new System.Data.SqlClient.SqlParameter("@ShipRegion", System.Data.SqlDbType.NVarChar, 15, "ShipRegion"),
         new System.Data.SqlClient.SqlParameter("@ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, "ShipPostalCode"),
         new System.Data.SqlClient.SqlParameter("@ShipCountry", System.Data.SqlDbType.NVarChar, 15, "ShipCountry")
     });
     //
     // sqlUpdateCommand2
     //
     this.sqlUpdateCommand2.Connection = this.sqlConnection2;
     this.sqlUpdateCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@CustomerID", System.Data.SqlDbType.NVarChar, 5, "CustomerID"),
         new System.Data.SqlClient.SqlParameter("@EmployeeID", System.Data.SqlDbType.Int, 4, "EmployeeID"),
         new System.Data.SqlClient.SqlParameter("@OrderDate", System.Data.SqlDbType.DateTime, 8, "OrderDate"),
         new System.Data.SqlClient.SqlParameter("@RequiredDate", System.Data.SqlDbType.DateTime, 8, "RequiredDate"),
         new System.Data.SqlClient.SqlParameter("@ShippedDate", System.Data.SqlDbType.DateTime, 8, "ShippedDate"),
         new System.Data.SqlClient.SqlParameter("@ShipVia", System.Data.SqlDbType.Int, 4, "ShipVia"),
         new System.Data.SqlClient.SqlParameter("@Freight", System.Data.SqlDbType.Money, 8, "Freight"),
         new System.Data.SqlClient.SqlParameter("@ShipName", System.Data.SqlDbType.NVarChar, 40, "ShipName"),
         new System.Data.SqlClient.SqlParameter("@ShipAddress", System.Data.SqlDbType.NVarChar, 60, "ShipAddress"),
         new System.Data.SqlClient.SqlParameter("@ShipCity", System.Data.SqlDbType.NVarChar, 15, "ShipCity"),
         new System.Data.SqlClient.SqlParameter("@ShipRegion", System.Data.SqlDbType.NVarChar, 15, "ShipRegion"),
         new System.Data.SqlClient.SqlParameter("@ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, "ShipPostalCode"),
         new System.Data.SqlClient.SqlParameter("@ShipCountry", System.Data.SqlDbType.NVarChar, 15, "ShipCountry"),
         new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_EmployeeID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "EmployeeID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Freight", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Freight", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_OrderDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_RequiredDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "RequiredDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipAddress", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipAddress", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCity", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCity", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCountry", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCountry", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipName", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipPostalCode", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipRegion", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipRegion", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipVia", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipVia", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShippedDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShippedDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@OrderID", System.Data.SqlDbType.Int, 4, "OrderID")
     });
     //
     // sqlDeleteCommand2
     //
     this.sqlDeleteCommand2.Connection = this.sqlConnection2;
     this.sqlDeleteCommand2.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Original_OrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_CustomerID", System.Data.SqlDbType.NVarChar, 5, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "CustomerID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_EmployeeID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "EmployeeID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Freight", System.Data.SqlDbType.Money, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Freight", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_OrderDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "OrderDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_RequiredDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "RequiredDate", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipAddress", System.Data.SqlDbType.NVarChar, 60, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipAddress", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCity", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCity", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipCountry", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipCountry", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipName", System.Data.SqlDbType.NVarChar, 40, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipName", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipPostalCode", System.Data.SqlDbType.NVarChar, 10, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipPostalCode", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipRegion", System.Data.SqlDbType.NVarChar, 15, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipRegion", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShipVia", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShipVia", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_ShippedDate", System.Data.SqlDbType.DateTime, 8, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "ShippedDate", System.Data.DataRowVersion.Original, null)
     });
     //
     // sqlDataAdapterOrders
     //
     this.sqlDataAdapterOrders.DeleteCommand = this.sqlDeleteCommand2;
     this.sqlDataAdapterOrders.InsertCommand = this.sqlInsertCommand2;
     this.sqlDataAdapterOrders.SelectCommand = this.sqlSelectCommand2;
     this.sqlDataAdapterOrders.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Orders", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("OrderID", "OrderID"),
             new System.Data.Common.DataColumnMapping("CustomerID", "CustomerID"),
             new System.Data.Common.DataColumnMapping("EmployeeID", "EmployeeID"),
             new System.Data.Common.DataColumnMapping("OrderDate", "OrderDate"),
             new System.Data.Common.DataColumnMapping("RequiredDate", "RequiredDate"),
             new System.Data.Common.DataColumnMapping("ShippedDate", "ShippedDate"),
             new System.Data.Common.DataColumnMapping("ShipVia", "ShipVia"),
             new System.Data.Common.DataColumnMapping("Freight", "Freight"),
             new System.Data.Common.DataColumnMapping("ShipName", "ShipName"),
             new System.Data.Common.DataColumnMapping("ShipAddress", "ShipAddress"),
             new System.Data.Common.DataColumnMapping("ShipCity", "ShipCity"),
             new System.Data.Common.DataColumnMapping("ShipRegion", "ShipRegion"),
             new System.Data.Common.DataColumnMapping("ShipPostalCode", "ShipPostalCode"),
             new System.Data.Common.DataColumnMapping("ShipCountry", "ShipCountry")
         })
     });
     this.sqlDataAdapterOrders.UpdateCommand = this.sqlUpdateCommand2;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.gridGroupingControl1);
     this.panel1.Location = new System.Drawing.Point(22, 22);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(545, 445);
     this.panel1.TabIndex = 4;
     //
     // startTimerButton
     //
     this.startTimerButton.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.startTimerButton.FlatStyle         = FlatStyle.Flat;
     this.startTimerButton.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.startTimerButton.BeforeTouchSize   = new System.Drawing.Size(75, 19);
     this.startTimerButton.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.startTimerButton.ForeColor         = System.Drawing.Color.White;
     this.startTimerButton.IsBackStageButton = false;
     this.startTimerButton.Location          = new System.Drawing.Point(20, 10);
     this.startTimerButton.Name              = "startTimerButton";
     this.startTimerButton.Size              = new System.Drawing.Size(75, 19);
     this.startTimerButton.TabIndex          = 3;
     this.startTimerButton.Text              = "Start Timer";
     //
     // chartControl1
     //
     this.chartControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.chartControl1.ChartArea.CursorLocation = new System.Drawing.Point(0, 0);
     this.chartControl1.ChartArea.CursorReDraw   = false;
     this.chartControl1.DataSourceName           = "";
     this.chartControl1.IsWindowLess             = false;
     //
     //
     //
     this.chartControl1.Legend.Location       = new System.Drawing.Point(423, 75);
     this.chartControl1.Localize              = null;
     this.chartControl1.Location              = new System.Drawing.Point(590, 60);
     this.chartControl1.Name                  = "chartControl1";
     this.chartControl1.PrimaryXAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryXAxis.Margin   = true;
     this.chartControl1.PrimaryYAxis.Crossing = double.NaN;
     this.chartControl1.PrimaryYAxis.Margin   = true;
     this.chartControl1.Size                  = new System.Drawing.Size(532, 407);
     this.chartControl1.Skins                 = Syncfusion.Windows.Forms.Chart.Skins.Metro;
     this.chartControl1.SpacingBetweenPoints  = 15F;
     this.chartControl1.TabIndex              = 5;
     this.chartControl1.Text                  = "Real Time Update";
     //
     //
     //
     this.chartControl1.Title.Name = "Default";
     this.chartControl1.Titles.Add(this.chartControl1.Title);
     //
     // checkBox1
     //
     this.checkBox1.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.checkBox1.BeforeTouchSize    = new System.Drawing.Size(151, 38);
     this.checkBox1.Checked            = true;
     this.checkBox1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.DrawFocusRectangle = false;
     this.checkBox1.Font               = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBox1.Location           = new System.Drawing.Point(112, 4);
     this.checkBox1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.checkBox1.Name               = "checkBox1";
     this.checkBox1.Size               = new System.Drawing.Size(151, 38);
     this.checkBox1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBox1.DrawFocusRectangle = true;
     this.checkBox1.TabIndex           = 6;
     this.checkBox1.Text               = "Enable RealTime Update";
     this.checkBox1.ThemesEnabled      = false;
     this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
     //
     // checkBoxAdv1
     //
     this.checkBoxAdv1.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.checkBoxAdv1.BeforeTouchSize    = new System.Drawing.Size(133, 35);
     this.checkBoxAdv1.Checked            = true;
     this.checkBoxAdv1.CheckState         = System.Windows.Forms.CheckState.Checked;
     this.checkBoxAdv1.DrawFocusRectangle = false;
     this.checkBoxAdv1.Font               = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxAdv1.Location           = new System.Drawing.Point(291, 4);
     this.checkBoxAdv1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.checkBoxAdv1.Name               = "checkBoxAdv1";
     this.checkBoxAdv1.Size               = new System.Drawing.Size(133, 35);
     this.checkBoxAdv1.Style              = Syncfusion.Windows.Forms.Tools.CheckBoxAdvStyle.Metro;
     this.checkBoxAdv1.DrawFocusRectangle = true;
     this.checkBoxAdv1.TabIndex           = 7;
     this.checkBoxAdv1.Text               = "Selection/Actual View";
     this.checkBoxAdv1.ThemesEnabled      = false;
     this.checkBoxAdv1.CheckStateChanged += new System.EventHandler(this.checkBoxAdv1_CheckStateChanged);
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.Controls.Add(this.checkBoxAdv1);
     this.panel2.Controls.Add(this.startTimerButton);
     this.panel2.Controls.Add(this.checkBox1);
     this.panel2.Location = new System.Drawing.Point(590, 12);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(427, 50);
     this.panel2.TabIndex = 9;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(1134, 496);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.chartControl1);
     this.Controls.Add(this.panel1);
     this.MinimumSize = new System.Drawing.Size(1000, 553);
     this.Name        = "Form1";
     this.Text        = "Grid Vs Chart";
     ((System.ComponentModel.ISupportInitialize)(this.northwindDataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.checkBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.checkBoxAdv1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 27
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.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.button1          = new Syncfusion.Windows.Forms.ButtonAdv();
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.label2           = new System.Windows.Forms.Label();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.wordDocRadioBtn  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pdfRadioBtn      = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.label5           = new System.Windows.Forms.Label();
     this.panel2           = new System.Windows.Forms.Panel();
     this.rdbTextWatermark = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.rdbPicWatermark  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.rdbTextWatermark)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rdbPicWatermark)).BeginInit();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Appearance         = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.button1.BeforeTouchSize    = new System.Drawing.Size(108, 23);
     this.button1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.button1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.button1.Font                    = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.ForeColor               = System.Drawing.Color.White;
     this.button1.IsBackStageButton       = false;
     this.button1.KeepFocusRectangle      = false;
     this.button1.Location                = new System.Drawing.Point(244, 211);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(108, 23);
     this.button1.TabIndex                = 68;
     this.button1.Text                    = "Generate";
     this.button1.UseVisualStyle          = true;
     this.button1.UseVisualStyleBackColor = false;
     this.button1.Click                  += new System.EventHandler(this.button1_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(365, 82);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 74;
     this.pictureBox1.TabStop  = false;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 85);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(363, 63);
     this.label2.TabIndex  = 75;
     this.label2.Text      = "Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox1.Controls.Add(this.wordDocRadioBtn);
     this.groupBox1.Controls.Add(this.pdfRadioBtn);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(145, 151);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(207, 44);
     this.groupBox1.TabIndex = 101;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocxRadioBtn.Checked         = true;
     this.wordDocxRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocxRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocxRadioBtn.Location        = new System.Drawing.Point(78, 18);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(54, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize = new System.Drawing.Size(47, 20);
     this.wordDocRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.wordDocRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocRadioBtn.Location        = new System.Drawing.Point(6, 18);
     this.wordDocRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name            = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size            = new System.Drawing.Size(47, 20);
     this.wordDocRadioBtn.TabIndex        = 44;
     this.wordDocRadioBtn.Text            = "DOC";
     this.wordDocRadioBtn.ThemesEnabled   = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.BeforeTouchSize = new System.Drawing.Size(43, 20);
     this.pdfRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pdfRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pdfRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pdfRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pdfRadioBtn.Location        = new System.Drawing.Point(158, 18);
     this.pdfRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.pdfRadioBtn.Name            = "pdfRadioBtn";
     this.pdfRadioBtn.Size            = new System.Drawing.Size(43, 20);
     this.pdfRadioBtn.TabIndex        = 45;
     this.pdfRadioBtn.Text            = "PDF";
     this.pdfRadioBtn.ThemesEnabled   = true;
     //
     // label5
     //
     this.label5.Font       = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold);
     this.label5.ForeColor  = System.Drawing.Color.Black;
     this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.label5.Location   = new System.Drawing.Point(16, 148);
     this.label5.Name       = "label5";
     this.label5.Size       = new System.Drawing.Size(82, 18);
     this.label5.TabIndex   = 103;
     this.label5.Text       = "Watermark";
     this.label5.TextAlign  = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.rdbTextWatermark);
     this.panel2.Controls.Add(this.rdbPicWatermark);
     this.panel2.Location = new System.Drawing.Point(12, 159);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(111, 59);
     this.panel2.TabIndex = 102;
     //
     // rdbTextWatermark
     //
     this.rdbTextWatermark.BeforeTouchSize = new System.Drawing.Size(46, 19);
     this.rdbTextWatermark.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.rdbTextWatermark.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.rdbTextWatermark.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.rdbTextWatermark.Location        = new System.Drawing.Point(18, 32);
     this.rdbTextWatermark.MetroColor      = System.Drawing.Color.Empty;
     this.rdbTextWatermark.Name            = "rdbTextWatermark";
     this.rdbTextWatermark.Size            = new System.Drawing.Size(46, 19);
     this.rdbTextWatermark.TabIndex        = 1;
     this.rdbTextWatermark.TabStop         = false;
     this.rdbTextWatermark.Text            = "Text";
     this.rdbTextWatermark.ThemesEnabled   = true;
     //
     // rdbPicWatermark
     //
     this.rdbPicWatermark.BeforeTouchSize = new System.Drawing.Size(58, 20);
     this.rdbPicWatermark.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.rdbPicWatermark.Checked         = true;
     this.rdbPicWatermark.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.rdbPicWatermark.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.rdbPicWatermark.Location        = new System.Drawing.Point(18, 9);
     this.rdbPicWatermark.MetroColor      = System.Drawing.Color.Empty;
     this.rdbPicWatermark.Name            = "rdbPicWatermark";
     this.rdbPicWatermark.Size            = new System.Drawing.Size(58, 20);
     this.rdbPicWatermark.TabIndex        = 0;
     this.rdbPicWatermark.Text            = "Picture";
     this.rdbPicWatermark.ThemesEnabled   = true;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize        = new System.Drawing.Size(365, 246);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.button1);
     this.DropShadow      = true;
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Watermark";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).EndInit();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.rdbTextWatermark)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rdbPicWatermark)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 28
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.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.buttonAdv1       = new Syncfusion.Windows.Forms.ButtonAdv();
     this.pictureBox1      = new System.Windows.Forms.PictureBox();
     this.label2           = new System.Windows.Forms.Label();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.pdfRadioBtn      = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).BeginInit();
     this.SuspendLayout();
     //
     // 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)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.buttonAdv1.BeforeTouchSize    = new System.Drawing.Size(109, 23);
     this.buttonAdv1.BorderStyleAdv     = Syncfusion.Windows.Forms.ButtonAdvBorderStyle.Dashed;
     this.buttonAdv1.ComboEditBackColor = System.Drawing.Color.Silver;
     this.buttonAdv1.Font                  = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.buttonAdv1.ForeColor             = System.Drawing.Color.White;
     this.buttonAdv1.KeepFocusRectangle    = false;
     this.buttonAdv1.Location              = new System.Drawing.Point(202, 175);
     this.buttonAdv1.Name                  = "buttonAdv1";
     this.buttonAdv1.Office2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.buttonAdv1.Size                  = new System.Drawing.Size(109, 23);
     this.buttonAdv1.TabIndex              = 62;
     this.buttonAdv1.Text                  = "Generate";
     this.buttonAdv1.ThemeName             = "Metro";
     this.buttonAdv1.UseVisualStyle        = true;
     this.buttonAdv1.Click                += new System.EventHandler(this.button1_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(361, 82);
     this.pictureBox1.TabIndex = 60;
     this.pictureBox1.TabStop  = false;
     //
     // label2
     //
     this.label2.Font      = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label2.Location  = new System.Drawing.Point(0, 85);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(363, 61);
     this.label2.TabIndex  = 68;
     this.label2.Text      = "Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     this.groupBox1.Controls.Add(this.pdfRadioBtn);
     this.groupBox1.Font     = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(12, 156);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(146, 48);
     this.groupBox1.TabIndex = 103;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // wordDocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(58, 20);
     this.wordDocxRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.wordDocxRadioBtn.Checked         = true;
     this.wordDocxRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.wordDocxRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.wordDocxRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.wordDocxRadioBtn.Location        = new System.Drawing.Point(16, 22);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(58, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // pdfRadioBtn
     //
     this.pdfRadioBtn.BeforeTouchSize = new System.Drawing.Size(48, 20);
     this.pdfRadioBtn.Border3DStyle   = System.Windows.Forms.Border3DStyle.SunkenOuter;
     this.pdfRadioBtn.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(161)));
     this.pdfRadioBtn.GradientEnd     = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
     this.pdfRadioBtn.GradientStart   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
     this.pdfRadioBtn.Location        = new System.Drawing.Point(91, 22);
     this.pdfRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.pdfRadioBtn.Name            = "pdfRadioBtn";
     this.pdfRadioBtn.Size            = new System.Drawing.Size(48, 20);
     this.pdfRadioBtn.TabIndex        = 45;
     this.pdfRadioBtn.Text            = "PDF";
     this.pdfRadioBtn.ThemesEnabled   = true;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.ClientSize        = new System.Drawing.Size(361, 214);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.buttonAdv1);
     this.Controls.Add(this.pictureBox1);
     this.DropShadow      = true;
     this.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Create Equation";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pdfRadioBtn)).EndInit();
     this.ResumeLayout(false);
 }
Exemplo n.º 29
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);
 }
Exemplo n.º 30
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();
     this.Angle      = new System.Windows.Forms.TextBox();
     this.label1     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.label3     = new System.Windows.Forms.Label();
     this.cosTB      = new System.Windows.Forms.TextBox();
     this.sinTB      = new System.Windows.Forms.TextBox();
     this.button1    = new Syncfusion.Windows.Forms.ButtonAdv();
     this.label4     = new System.Windows.Forms.Label();
     this.panel1     = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // Angle
     //
     this.Angle.Location = new System.Drawing.Point(137, 90);
     this.Angle.Name     = "Angle";
     this.Angle.Size     = new System.Drawing.Size(56, 20);
     this.Angle.TabIndex = 0;
     this.Angle.Text     = "30";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(17, 90);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(100, 23);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "angle in degrees";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(17, 170);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "cosine of angle";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(17, 130);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(100, 23);
     this.label3.TabIndex  = 3;
     this.label3.Text      = "sine of angle";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cosTB
     //
     this.cosTB.Location = new System.Drawing.Point(137, 130);
     this.cosTB.Name     = "cosTB";
     this.cosTB.Size     = new System.Drawing.Size(136, 20);
     this.cosTB.TabIndex = 4;
     this.cosTB.Text     = "= sin([Angle] * pi() / 180) ";
     //
     // sinTB
     //
     this.sinTB.Location = new System.Drawing.Point(137, 170);
     this.sinTB.Name     = "sinTB";
     this.sinTB.Size     = new System.Drawing.Size(136, 20);
     this.sinTB.TabIndex = 5;
     this.sinTB.Text     = "= cos([Angle] * pi() / 180) ";
     //
     // button1
     //
     this.button1.Appearance        = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
     this.button1.BackColor         = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
     this.button1.BeforeTouchSize   = new System.Drawing.Size(112, 23);
     this.button1.FlatStyle         = System.Windows.Forms.FlatStyle.Flat;
     this.button1.ForeColor         = System.Drawing.Color.White;
     this.button1.IsBackStageButton = false;
     this.button1.Location          = new System.Drawing.Point(89, 42);
     this.button1.Name           = "button1";
     this.button1.Size           = new System.Drawing.Size(112, 23);
     this.button1.TabIndex       = 6;
     this.button1.Text           = "Compute";
     this.button1.UseVisualStyle = true;
     this.button1.Click         += new System.EventHandler(this.ComputeButton_Click);
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(21, 10);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(240, 24);
     this.label4.TabIndex = 7;
     this.label4.Text     = "Enter an angle and press the Compute button.";
     //
     // panel1
     //
     this.panel1.Dock        = DockStyle.Fill;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.sinTB);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.cosTB);
     this.panel1.Controls.Add(this.Angle);
     this.panel1.Location = new System.Drawing.Point(9, 1);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(303, 204);
     this.panel1.TabIndex = 8;
     //
     // AngleForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CaptionFont         = new System.Drawing.Font("Segoe UI", 18F);
     this.ClientSize          = new System.Drawing.Size(324, 213);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(336, 244);
     this.Name            = "AngleForm";
     this.Text            = "Angle Form ";
     this.Load           += new System.EventHandler(this.AngleForm_Load);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
Exemplo n.º 31
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);
 }
Exemplo n.º 32
0
        private void InitializeButtons(MessageBoxButtons AButtons, string[] captions, bool useCancelButton)
        {
            DialogResult[] buttons = s_buttons[(int)AButtons];
            m_buttons = buttons;

            int i = 0;
            ButtonAdv noButton = null;
            List<Control> controls = new List<Control>();
            foreach (DialogResult button in buttons)
            {
                ButtonAdv btnControl = new ButtonAdv();
                btnControl.Appearance = ButtonAppearance.Office2007;
                btnControl.DialogResult = button;
                btnControl.Margin = new Padding(5, 0, 5, 0);
                btnControl.Name = "btn" + button.ToString();
                btnControl.AutoSize = true; //Size = new Size(0x4b, 0x17);
                if (captions.Length - 1 >= i)
                    btnControl.Text = captions[i];
                else
                    btnControl.Text = GetLocString(button);

                btnControl.TabIndex = i++;
                btnControl.UseVisualStyle = true;
                if (button == DialogResult.Cancel && useCancelButton)
                {
                    this.CancelButton = btnControl;
                }

                if (button == DialogResult.No)
                {
                    noButton = btnControl;
                }

                controls.Add(btnControl);
            }

            if (buttons.Contains(DialogResult.No) && CancelButton == null && useCancelButton)
                CancelButton = noButton;

            buttonPanel.Controls.AddRange(controls.ToArray());
            buttonPanel.Left = (base.ClientSize.Width - buttonPanel.Width) / 2 - buttonPanel.Margin.Left;

            controls.First().Focus();
            //this.ControlBox = buttons.Contains(DialogResult.Cancel);
        }