示例#1
0
        /// <summary>
        /// Draws  check mark of the radio button.
        /// </summary>
        /// <param name="g">Graphics object</param>
        public void DrawSelectedCheckMark(Graphics g, Rectangle mrectBox, RadioButtonAdv radio, Color circleBackColor, Color iconColor)
        {
            Rectangle rect = mrectBox;

            rect.Inflate((int)DpiAware.LogicalToDeviceUnits(-5), (int)DpiAware.LogicalToDeviceUnits(-5));

            using (Pen pen = new Pen(circleBackColor))
            {
                g.DrawEllipse(pen, rect);
            }

            rect.Inflate(-1, -1);

            using (GraphicsPath path = this.GetCheckMarkPath(rect))
            {
                using (PathGradientBrush brush = new PathGradientBrush(path))
                {
                    brush.CenterColor    = iconColor;
                    brush.CenterPoint    = new PointF((float)rect.X + 1, (float)rect.Y + 1);
                    brush.SurroundColors = new Color[] { iconColor };
                    SmoothingMode mode = SmoothingMode.AntiAlias;
                    g.SmoothingMode = mode;
                    g.FillPath(brush, path);
                }
            }

            using (GraphicsPath path = this.GetCheckMarkBorderPath(rect))
            {
                using (Pen pen = new Pen(iconColor))
                {
                    g.DrawPath(pen, path);
                }
            }
        }
示例#2
0
        public void DrawBorder(Graphics g, Color borderColor, Rectangle mrectBox, RadioButtonAdv radioButtonAdv)
        {
            Rectangle rect = mrectBox;

            rect.Inflate(-1, -1);
            g.SmoothingMode      = SmoothingMode.AntiAlias;
            g.CompositingQuality = CompositingQuality.AssumeLinear;

            using (Pen pen = new Pen(borderColor))
            {
                pen.Width = 1;
                g.DrawEllipse(pen, rect);
            }
        }
示例#3
0
        /// <summary>
        /// 현재 작업 표준레이어를 돌려준다.
        /// </summary>
        /// <returns></returns>
        private IFeatureSet CurrentFeatureSet()
        {
            RadioButtonAdv v = _allWTLayerBtns.Cast <RadioButtonAdv>().FirstOrDefault(x => x.Checked);

            if (v.Tag == null)
            {
                return(null);
            }

            IFeatureSet fc = MMaker.Core.AppStatic.d_Layers[(v.Tag as Core.Models2.IWTL_Layer)];

            fc.Name       = v.Text;
            fc.Projection = DotSpatial.Projections.ProjectionInfo.FromEpsgCode(4326); //EPSG:4326 - WGS84
            return(fc);
        }
示例#4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.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.label4           = new System.Windows.Forms.Label();
     this.textBox1         = new System.Windows.Forms.TextBox();
     this.label5           = new System.Windows.Forms.Label();
     this.comboBox1        = new System.Windows.Forms.ComboBox();
     this.wordDocRadioBtn  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.wordDocxRadioBtn = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).BeginInit();
     this.groupBox1.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(254, 249);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(108, 23);
     this.button1.TabIndex                = 62;
     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(374, 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 to view the generated Word document. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document.";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(9, 186);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(68, 16);
     this.label4.TabIndex = 106;
     this.label4.Text     = "Password";
     //
     // textBox1
     //
     this.textBox1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location     = new System.Drawing.Point(130, 180);
     this.textBox1.Name         = "textBox1";
     this.textBox1.PasswordChar = '*';
     this.textBox1.Size         = new System.Drawing.Size(198, 26);
     this.textBox1.TabIndex     = 105;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(6, 150);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(103, 16);
     this.label5.TabIndex = 107;
     this.label5.Text     = "Protection Type";
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] {
         "AllowOnlyFormFields",
         "AllowOnlyComments",
         "AllowOnlyRevisions",
         "AllowOnlyReading"
     });
     this.comboBox1.Location = new System.Drawing.Point(130, 149);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(198, 21);
     this.comboBox1.TabIndex = 108;
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize = new System.Drawing.Size(50, 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(31, 18);
     this.wordDocRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name            = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size            = new System.Drawing.Size(50, 20);
     this.wordDocRadioBtn.TabIndex        = 44;
     this.wordDocRadioBtn.TabStop         = false;
     this.wordDocRadioBtn.Text            = "DOC";
     this.wordDocRadioBtn.ThemesEnabled   = true;
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(56, 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(128, 18);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(56, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     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, 234);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(215, 42);
     this.groupBox1.TabIndex = 109;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // 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(374, 297);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.textBox1);
     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            = "Document Protection";
     this.Load           += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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.UnlinkCheckBox   = new System.Windows.Forms.CheckBox();
     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();
     //
     // UnlinkCheckBox
     //
     this.UnlinkCheckBox.AutoSize = true;
     this.UnlinkCheckBox.Font     = new System.Drawing.Font("Verdana", 8.25F);
     this.UnlinkCheckBox.Location = new System.Drawing.Point(19, 196);
     this.UnlinkCheckBox.Name     = "UnlinkCheckBox";
     this.UnlinkCheckBox.Size     = new System.Drawing.Size(97, 17);
     this.UnlinkCheckBox.TabIndex = 103;
     this.UnlinkCheckBox.Text     = "Unlink Fields";
     this.toolTip1.SetToolTip(this.UnlinkCheckBox, "Replaces the fields with its most recent result as normal text in the generated W" +
                              "ord document.");
     this.UnlinkCheckBox.UseVisualStyleBackColor = true;
     //
     // 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(118, 27);
     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(297, 262);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(118, 27);
     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(427, 101);
     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, 104);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(427, 70);
     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.";
     //
     // 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(118, 27);
     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(297, 229);
     this.templateBtn.Name                    = "templateBtn";
     this.templateBtn.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.templateBtn.Size                    = new System.Drawing.Size(118, 27);
     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(19, 229);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(269, 55);
     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(91, 20);
     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(6, 20);
     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(186, 20);
     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.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(427, 303);
     this.Controls.Add(this.UnlinkCheckBox);
     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.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            = "Update Fields";
     ((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();
 }
示例#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();
     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(363, 470);
     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, 125);
     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(617, 120);
     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, 213);
     this.groupBox2.Name      = "groupBox2";
     this.groupBox2.Size      = new System.Drawing.Size(612, 231);
     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, 151);
     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, 190);
     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, 34);
     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, 34);
     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, 112);
     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, 73);
     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, 470);
     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.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(617, 529);
     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.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            = "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);
 }
 /// <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(147, 33);
     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(254, 202);
     this.button1.Name                    = "button1";
     this.button1.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.button1.Size                    = new System.Drawing.Size(147, 33);
     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(410, 93);
     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, 96);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(404, 72);
     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(147, 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(254, 162);
     this.templateBtn.Name                    = "templateBtn";
     this.templateBtn.Office2007ColorScheme   = Syncfusion.Windows.Forms.Office2007Theme.Managed;
     this.templateBtn.Size                    = new System.Drawing.Size(147, 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(0, 162);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(241, 57);
     this.groupBox1.TabIndex = 102;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // wordDocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize   = new System.Drawing.Size(76, 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(82, 20);
     this.wordDocxRadioBtn.MetroColor        = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name              = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size              = new System.Drawing.Size(76, 29);
     this.wordDocxRadioBtn.TabIndex          = 103;
     this.wordDocxRadioBtn.Text              = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled     = true;
     //
     // wordDocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize   = new System.Drawing.Size(54, 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(6, 20);
     this.wordDocRadioBtn.MetroColor        = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name              = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size              = new System.Drawing.Size(54, 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(165, 20);
     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.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(410, 247);
     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.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);
 }
示例#8
0
        /// <summary>
        /// 20200308 fdragons
        /// 표준레이어 매핑(RadioButton) 선택시 처리
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OnRadioButtonClick(object sender, EventArgs e)
        {
            ///상수정의
            const int BaseIx       = 50;
            const int BaseIy       = 0;
            const int LblWidth     = 100;
            const int CbxWidth     = 120;
            const int ColumnHeight = 25;
            const int IncrementIy  = 30;
            const int MsgWidth     = 256;

            ///시작위치 지정
            int ix = BaseIx;
            int iy = BaseIy;

            ///이전 컨트롤 삭제
            this.gbOutputFields.Controls.Clear();
            this.panelFieldMapping.Controls.Clear();
            this.lstMappedCols.Items.Clear();

            ///매핑 패널 컨트롤 추가
            this.gbOutputFields.Controls.Add(this.panelFieldMapping);
            this.gbOutputFields.Controls.Add(this.lstMappedCols);

            ///선택한 표준레이어 정보 설정
            _currentLayerBtn = (RadioButtonAdv)sender;

            ///선택 레이어명 생성
            _mappingMsg          = new Label();
            _mappingMsg.Name     = "_mappingMsg";
            _mappingMsg.Location = new System.Drawing.Point(20, 20);
            _mappingMsg.Text     = (_currentLayerBtn.Text == "기타")
                ? $"*** [ {_currentLayerBtn.Text} ] 레이어는 속성 매핑을 수행하지 않습니다."
                : $"*** [ {_currentLayerBtn.Text} ] ***";
            _mappingMsg.ForeColor = Color.Black;
            _mappingMsg.Size      = new System.Drawing.Size(512, 25);
            this.gbOutputFields.Controls.Add(_mappingMsg);

            if (_currentLayerBtn.Text == "기타")
            {
                return;
            }

            ///WTL 레이어 선택
            _WTLLayer = _currentLayerBtn.Tag as Core.Models2.IWTL_Layer;
            IFeatureSet stdSet = MMaker.Core.AppStatic.d_Layers[_WTLLayer];

            ///WTL 레이어가 아니면 리턴
            if (stdSet == null)
            {
                return;
            }

            ///선택된 레이어의 컬럼 리스트를 조회(콤보박스의 아이템으로 사용)
            IFeatureSet orgSet = _orgData as IFeatureSet;

            _orgCols = orgSet.GetColumns();

            ///매핑용 필드 컨트롤 생성
            Label       lbl1, lbl2, lbl3;
            ComboBoxAdv cbx;

            _stdCols = stdSet.GetColumns();
            IEnumerable <string> stdColsDesc = _WTLLayer.ColumnsDesc();

            ///매핑 카운트를 초기화
            _mappingCnts   = 0;
            _stdColumnCnts = _stdCols.Length;

            for (int i = 0; i < _stdColumnCnts; i++)
            {
                ///컬럼명 생성
                lbl1 = new Label
                {
                    Name      = "lbl" + _stdCols[i].Caption,
                    Location  = new System.Drawing.Point(ix, iy),
                    Text      = _stdCols[i].Caption + " * ",
                    Size      = new System.Drawing.Size(LblWidth, ColumnHeight),
                    TextAlign = ContentAlignment.MiddleRight,
                };

                ///매핑아이템 생성
                cbx = new ComboBoxAdv
                {
                    Name          = "cbx" + _stdCols[i].Caption,
                    Location      = new System.Drawing.Point(ix + LblWidth, iy),
                    Text          = "",
                    Size          = new System.Drawing.Size(CbxWidth, ColumnHeight),
                    DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList,
                    AllowDrop     = true,
                    Tag           = $"{_stdCols[i].Caption}"
                };
                cbx.Items.Add("*None*");
                cbx.Items.AddRange(_orgCols);
                cbx.Click += (s, args) =>
                {
                    ComboBoxAdv c = s as ComboBoxAdv;
                    c.SelectedItem   = c.SelectedItem ?? "*None*";
                    _cbxPreviousvVal = c.SelectedItem.ToString();
                };
                cbx.SelectedIndexChanged += (s, args) =>
                {
                    ComboBoxAdv c            = s as ComboBoxAdv;
                    string      selectedItem = c.SelectedItem.ToString();

                    ///선택 속성이 이전과 동일한 경우 스킵한다.
                    if (selectedItem == _cbxPreviousvVal && !selectedItem.Equals("*None*"))
                    {
                        return;
                    }

                    ///기 선택(사용)된 속성이면 취소한다.
                    if (IsFieldUsedInlstMappedCols(2, selectedItem))
                    {
                        MessageBox.Show("이미 매핑된 속성 필드입니다.", base.MmakerShell.AppTitle);
                        c.SelectedItem = _cbxPreviousvVal;
                        return;
                    }

                    ///기 존재하면 삭제후 삽입
                    int j = 0;
                    for (; j < lstMappedCols.Items.Count; j++)
                    {
                        if (lstMappedCols.Items[j].ToString().Contains(c.Tag.ToString()))
                        {
                            lstMappedCols.Items.RemoveAt(j);
                            lstMappedCols.Items.Add($"{j + 1:D3}:(*)\t^{c.Tag.ToString()}^{selectedItem}^");
                            break;
                        }
                    }
                    if (j == lstMappedCols.Items.Count)
                    {
                        if (!IsFieldUsedInlstMappedCols(1, c.Tag.ToString()))
                        {
                            _mappingCnts++;
                        }

                        lstMappedCols.Items.Add($"{_mappingCnts:D3}:(*)\t^{c.Tag.ToString()}^{selectedItem}^");
                        DisplayMappingResults();
                    }

                    ///변경사항 유효성 검토
                    bool   b   = true;
                    string sz  = "Skip";
                    bool   ret = false;
                    try
                    {
                        if (!c.SelectedItem.Equals("*None*"))
                        {
                            ret = CheckValidation(c, j, out b, out sz);
                            sz  = $"return :{ret}, validate :{b.ToString()}, description :{sz}";
                        }
                    }
                    catch (Exception)
                    {
                        throw;
                    }

                    ///유효성 검증 결과 표시
                    string    lblName           = "vdt" + c.Tag.ToString();
                    Control[] _allLabelControls = panelFieldMapping.GetAllControls(typeof(Label));
                    Label     lbl = _allLabelControls.Where(x => x.Name == lblName).First() as Label;
                    lbl.ForeColor = (b) ? Color.Blue : Color.Red;
                    lbl.Text      = sz;

                    ///재정렬
                    SortMappedCols();
                };

                ///한글 컬럼명 라벨 생성
                lbl2 = new Label
                {
                    Name     = "dsc" + _stdCols[i].Caption,
                    Location = new System.Drawing.Point(ix + LblWidth + CbxWidth, iy),
                    Text     = $" * {_WTLLayer.ColumnsDesc().ElementAt(i)}",
                    Size     = new System.Drawing.Size(LblWidth, ColumnHeight)
                };

                ///유효성 결과 표시 라벨 생성
                lbl3 = new Label
                {
                    Name     = "vdt" + _stdCols[i].Caption,
                    Location = new System.Drawing.Point(ix + LblWidth + CbxWidth + LblWidth, iy),
                    Size     = new System.Drawing.Size(MsgWidth, ColumnHeight),
                    AutoSize = true,
                };

                if (!CheckValidation(cbx, i, out bool bValidate, out string szValidation))
                {
                    continue;
                }

                lbl3.ForeColor = (bValidate) ? Color.Blue : Color.Red;
                lbl3.Text      = szValidation;

                this.panelFieldMapping.Controls.Add(lbl1);  ///컬럼명 추가
                this.panelFieldMapping.Controls.Add(cbx);   ///매핑아이템 추가
                this.panelFieldMapping.Controls.Add(lbl2);  ///컬럼설명 추가
                this.panelFieldMapping.Controls.Add(lbl3);  ///유효성 검토결과

                ///표시위치 설정
                iy += IncrementIy;
            }

            ///매핑 결과 표시
            DisplayMappingResults();
        }
示例#9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.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.groupBox1        = new System.Windows.Forms.GroupBox();
     this.wordDocxRadioBtn = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.wordDocRadioBtn  = 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();
     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(245, 153);
     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, 50);
     this.label2.TabIndex  = 75;
     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.";
     //
     // 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 = 70;
     this.pictureBox1.TabStop  = false;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.wordDocxRadioBtn);
     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, 138);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(209, 41);
     this.groupBox1.TabIndex = 101;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As";
     //
     // worddocxRadioBtn
     //
     this.wordDocxRadioBtn.BeforeTouchSize = new System.Drawing.Size(52, 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(132, 18);
     this.wordDocxRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocxRadioBtn.Name            = "wordDocxRadioBtn";
     this.wordDocxRadioBtn.Size            = new System.Drawing.Size(52, 20);
     this.wordDocxRadioBtn.TabIndex        = 103;
     this.wordDocxRadioBtn.Text            = "DOCX";
     this.wordDocxRadioBtn.ThemesEnabled   = true;
     //
     // worddocRadioBtn
     //
     this.wordDocRadioBtn.BeforeTouchSize = new System.Drawing.Size(49, 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(17, 18);
     this.wordDocRadioBtn.MetroColor      = System.Drawing.Color.Empty;
     this.wordDocRadioBtn.Name            = "wordDocRadioBtn";
     this.wordDocRadioBtn.Size            = new System.Drawing.Size(49, 20);
     this.wordDocRadioBtn.TabIndex        = 44;
     this.wordDocRadioBtn.Text            = "DOC";
     this.wordDocRadioBtn.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, 191);
     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            = "Document Settings";
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.wordDocxRadioBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.wordDocRadioBtn)).EndInit();
     this.ResumeLayout(false);
 }
示例#10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.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.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(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.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            = "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();
 }
示例#11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.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();
 }
示例#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.autoComplete1 = new Syncfusion.Windows.Forms.Tools.AutoComplete(this.components);
     this.autoCompleteDataColumnInfo1 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("Flag", 100, true);
     this.autoCompleteDataColumnInfo2 = new Syncfusion.Windows.Forms.Tools.AutoCompleteDataColumnInfo("Country", 100, true);
     this.imageList       = new System.Windows.Forms.ImageList(this.components);
     this.textBox1        = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.panel1          = new AutoCompleteDemo.Panels();
     this.groupBox1       = new System.Windows.Forms.Panel();
     this.radioButton2    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv1 = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton6    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton5    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton4    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton3    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.panel2          = new AutoCompleteDemo.Panels();
     this.label2          = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.autoComplete1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBox1)).BeginInit();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // autoComplete1
     //
     this.autoComplete1.AdjustHeightToItemCount = false;
     this.autoComplete1.Columns.Add(this.autoCompleteDataColumnInfo1);
     this.autoComplete1.Columns.Add(this.autoCompleteDataColumnInfo2);
     this.autoComplete1.HeaderFont = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.autoComplete1.ImageList  = this.imageList;
     this.autoComplete1.ItemFont   = new System.Drawing.Font("Segoe UI", 8.25F);
     this.autoComplete1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.autoComplete1.ParentForm = this;
     this.autoComplete1.Style      = Syncfusion.Windows.Forms.Tools.AutoCompleteStyle.Default;
     this.autoComplete1.ThemeName  = "Office2019Colorful";
     //
     // autoCompleteDataColumnInfo1
     //
     this.autoCompleteDataColumnInfo1.ColumnHeaderText = "Flag";
     this.autoCompleteDataColumnInfo1.ImageColumn      = false;
     this.autoCompleteDataColumnInfo1.MatchingColumn   = false;
     this.autoCompleteDataColumnInfo1.Visible          = true;
     //
     // autoCompleteDataColumnInfo2
     //
     this.autoCompleteDataColumnInfo2.ColumnHeaderText = "Country";
     this.autoCompleteDataColumnInfo2.ImageColumn      = true;
     this.autoCompleteDataColumnInfo2.MatchingColumn   = false;
     this.autoCompleteDataColumnInfo2.Visible          = true;
     //
     // imageList
     //
     this.imageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // textBox1
     //
     this.autoComplete1.SetAutoComplete(this.textBox1, Syncfusion.Windows.Forms.Tools.AutoCompleteModes.MultiSuggestExtended);
     this.textBox1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.textBox1.BeforeTouchSize = new System.Drawing.Size(270, 29);
     this.textBox1.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
     this.textBox1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBox1.Cursor          = System.Windows.Forms.Cursors.IBeam;
     this.textBox1.Font            = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.textBox1.Location        = new System.Drawing.Point(303, 227);
     this.textBox1.Metrocolor      = System.Drawing.Color.Gray;
     this.textBox1.Name            = "textBox1";
     this.textBox1.Size            = new System.Drawing.Size(270, 29);
     this.textBox1.Style           = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Office2016Colorful;
     this.textBox1.TabIndex        = 2;
     this.textBox1.ThemeName       = "Office2019Colorful";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Dock     = DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(762, 12);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(387, 655);
     this.panel1.TabIndex = 1;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radioButton2);
     this.groupBox1.Controls.Add(this.radioButtonAdv1);
     this.groupBox1.Controls.Add(this.radioButton6);
     this.groupBox1.Controls.Add(this.radioButton5);
     this.groupBox1.Controls.Add(this.radioButton4);
     this.groupBox1.Controls.Add(this.radioButton3);
     this.groupBox1.Controls.Add(this.radioButton1);
     this.groupBox1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.groupBox1.Location  = new System.Drawing.Point(42, 57);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(295, 391);
     this.groupBox1.TabIndex  = 4;
     this.groupBox1.Text      = "Visual Styles";
     //
     // radioButton2
     //
     this.radioButton2.BeforeTouchSize   = new System.Drawing.Size(164, 23);
     this.radioButton2.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButton2.Location          = new System.Drawing.Point(13, 88);
     this.radioButton2.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton2.Name      = "radioButton2";
     this.radioButton2.Size      = new System.Drawing.Size(150, 21);
     this.radioButton2.TabIndex  = 1;
     this.radioButton2.TabStop   = false;
     this.radioButton2.ThemeName = "Office2019Colorful";
     //
     // radioButtonAdv1
     //
     this.radioButtonAdv1.BeforeTouchSize   = new System.Drawing.Size(72, 23);
     this.radioButtonAdv1.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButtonAdv1.Location          = new System.Drawing.Point(13, 340);
     this.radioButtonAdv1.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButtonAdv1.Name      = "radioButtonAdv1";
     this.radioButtonAdv1.Size      = new System.Drawing.Size(72, 23);
     this.radioButtonAdv1.TabIndex  = 6;
     this.radioButtonAdv1.TabStop   = false;
     this.radioButtonAdv1.ThemeName = "Office2019Colorful";
     //
     // radioButton6
     //
     this.radioButton6.BeforeTouchSize   = new System.Drawing.Size(177, 23);
     this.radioButton6.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButton6.Location          = new System.Drawing.Point(13, 291);
     this.radioButton6.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton6.Name      = "radioButton6";
     this.radioButton6.Size      = new System.Drawing.Size(177, 23);
     this.radioButton6.TabIndex  = 5;
     this.radioButton6.TabStop   = false;
     this.radioButton6.ThemeName = "Office2019Colorful";
     //
     // radioButton5
     //
     this.radioButton5.BeforeTouchSize   = new System.Drawing.Size(148, 23);
     this.radioButton5.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButton5.Location          = new System.Drawing.Point(13, 242);
     this.radioButton5.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton5.Name      = "radioButton5";
     this.radioButton5.Size      = new System.Drawing.Size(148, 23);
     this.radioButton5.TabIndex  = 4;
     this.radioButton5.TabStop   = false;
     this.radioButton5.ThemeName = "Office2019Colorful";
     //
     // radioButton4
     //
     this.radioButton4.BeforeTouchSize   = new System.Drawing.Size(150, 23);
     this.radioButton4.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButton4.Location          = new System.Drawing.Point(13, 193);
     this.radioButton4.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton4.Name      = "radioButton4";
     this.radioButton4.Size      = new System.Drawing.Size(150, 23);
     this.radioButton4.TabIndex  = 3;
     this.radioButton4.TabStop   = false;
     this.radioButton4.ThemeName = "Office2019Colorful";
     //
     // radioButton3
     //
     this.radioButton3.BeforeTouchSize   = new System.Drawing.Size(163, 23);
     this.radioButton3.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButton3.Location          = new System.Drawing.Point(13, 140);
     this.radioButton3.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton3.Name      = "radioButton3";
     this.radioButton3.Size      = new System.Drawing.Size(163, 23);
     this.radioButton3.TabIndex  = 2;
     this.radioButton3.TabStop   = false;
     this.radioButton3.ThemeName = "Office2019Colorful";
     //
     // radioButton1
     //
     this.radioButton1.BeforeTouchSize   = new System.Drawing.Size(163, 23);
     this.radioButton1.Checked           = true;
     this.radioButton1.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButton1.Location          = new System.Drawing.Point(13, 40);
     this.radioButton1.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton1.Name      = "radioButton1";
     this.radioButton1.Size      = new System.Drawing.Size(163, 23);
     this.radioButton1.TabIndex  = 0;
     this.radioButton1.ThemeName = "Office2019Colorful";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.label2);
     this.panel2.Controls.Add(this.textBox1);
     this.panel2.Dock     = DockStyle.Left;
     this.panel2.Location = new System.Drawing.Point(1, 12);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(755, 655);
     this.panel2.TabIndex = 0;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.label2.Location  = new System.Drawing.Point(104, 227);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(160, 20);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "Enter country name : ";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CaptionAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.ClientSize          = new System.Drawing.Size(1150, 617);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.panel2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name            = "Form1";
     this.ShowMaximizeBox = false;
     this.ShowMinimizeBox = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Getting Started";
     ((System.ComponentModel.ISupportInitialize)(this.autoComplete1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBox1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
示例#13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.panel1         = new System.Windows.Forms.Panel();
     this.panel2         = new System.Windows.Forms.Panel();
     this.panel3         = new System.Windows.Forms.Panel();
     this.label1         = new System.Windows.Forms.Label();
     this.radioButton2   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.htmluiControl1 = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(211, 475);
     this.panel1.TabIndex = 3;
     //
     // panel2
     //
     this.panel2.BackColor   = System.Drawing.Color.White;
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.panel3);
     this.panel2.Location = new System.Drawing.Point(14, 52);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(179, 136);
     this.panel2.TabIndex = 0;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.radioButton2);
     this.panel3.Controls.Add(this.radioButton1);
     this.panel3.Location = new System.Drawing.Point(4, 4);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(172, 132);
     this.panel3.TabIndex = 5;
     this.panel3.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel3_Paint);
     //
     // label1
     //
     this.label1.BackColor   = System.Drawing.Color.White;
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label1.Dock        = System.Windows.Forms.DockStyle.Top;
     this.label1.Font        = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor   = System.Drawing.Color.Black;
     this.label1.Location    = new System.Drawing.Point(0, 0);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(209, 24);
     this.label1.TabIndex    = 6;
     this.label1.Text        = "Styles";
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // radioButton2
     //
     this.radioButton2.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton2.DrawFocusRectangle = false;
     this.radioButton2.Font                 = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor            = System.Drawing.Color.Black;
     this.radioButton2.Location             = new System.Drawing.Point(24, 74);
     this.radioButton2.MetroColor           = System.Drawing.Color.DarkGray;
     this.radioButton2.Name                 = "radioButton2";
     this.radioButton2.Size                 = new System.Drawing.Size(115, 40);
     this.radioButton2.Style                = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton2.TabIndex             = 5;
     this.radioButton2.TabStop              = false;
     this.radioButton2.Text                 = "Style Black";
     this.radioButton2.TextContentAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.radioButton2.ThemesEnabled        = false;
     //
     // radioButton1
     //
     this.radioButton1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton1.Checked            = true;
     this.radioButton1.DrawFocusRectangle = false;
     this.radioButton1.Font                 = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor            = System.Drawing.Color.Black;
     this.radioButton1.Location             = new System.Drawing.Point(24, 36);
     this.radioButton1.MetroColor           = System.Drawing.Color.DarkGray;
     this.radioButton1.Name                 = "radioButton1";
     this.radioButton1.Size                 = new System.Drawing.Size(100, 32);
     this.radioButton1.Style                = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton1.TabIndex             = 4;
     this.radioButton1.Text                 = "Style Red";
     this.radioButton1.TextContentAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.radioButton1.ThemesEnabled        = false;
     //
     // htmluiControl1
     //
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location   = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name       = "htmluiControl1";
     this.htmluiControl1.Size       = new System.Drawing.Size(543, 473);
     this.htmluiControl1.TabIndex   = 4;
     this.htmluiControl1.Text       = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.htmluiControl1_MouseDown);
     //
     // gradientPanel1
     //
     this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                         | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Location = new System.Drawing.Point(227, 11);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(545, 475);
     this.gradientPanel1.TabIndex = 5;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize        = new System.Drawing.Size(776, 495);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.panel1);
     this.DropShadow       = true;
     this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.MinimumSize      = new System.Drawing.Size(788, 531);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Element CSS";
     this.Load            += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.gridGroupingControl1 = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
     this.panel1 = new System.Windows.Forms.Panel();
     this.currentCellActivationBehaviourGroupBox = new System.Windows.Forms.GroupBox();
     this.clickOnCellRadioButton       = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.doubleClickOnCellRadioButton = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.noneClickRadioButton         = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.selectAllRadioButton         = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.positionCaretRadioButton     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.setCurrentRadioButton        = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.editingGroupBox         = new System.Windows.Forms.GroupBox();
     this.allowEditingRadioButton = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.readOnlyRadioButton     = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.browseOnlyRadioButton   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.currentCellActivationBehaviourGroupBox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.clickOnCellRadioButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.doubleClickOnCellRadioButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.noneClickRadioButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.selectAllRadioButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.positionCaretRadioButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.setCurrentRadioButton)).BeginInit();
     this.editingGroupBox.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.allowEditingRadioButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.readOnlyRadioButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.browseOnlyRadioButton)).BeginInit();
     this.SuspendLayout();
     //
     // gridGroupingControl1
     //
     this.gridGroupingControl1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(120)))), ((int)(((byte)(215)))));
     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.Font                          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridGroupingControl1.GridOfficeScrollBars          = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.gridGroupingControl1.GridVisualStyles              = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.gridGroupingControl1.Location                      = new System.Drawing.Point(18, 5);
     this.gridGroupingControl1.Margin                        = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.gridGroupingControl1.Name                          = "gridGroupingControl1";
     this.gridGroupingControl1.ShowCurrentCellBorderBehavior = Syncfusion.Windows.Forms.Grid.GridShowCurrentCellBorder.GrayWhenLostFocus;
     this.gridGroupingControl1.Size                          = new System.Drawing.Size(980, 787);
     this.gridGroupingControl1.TabIndex                      = 0;
     this.gridGroupingControl1.TableDescriptor.AllowNew      = false;
     this.gridGroupingControl1.TableDescriptor.TableOptions.CaptionRowHeight      = 29;
     this.gridGroupingControl1.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25;
     this.gridGroupingControl1.TableDescriptor.TableOptions.RecordRowHeight       = 25;
     this.gridGroupingControl1.TableOptions.ShowTableIndentAsCoveredRange         = true;
     this.gridGroupingControl1.TableOptions.ShowTableRowHeaderAsCoveredRange      = true;
     this.gridGroupingControl1.Text = "gridGroupingControl2";
     this.gridGroupingControl1.UseRightToLeftCompatibleTextBox = true;
     this.gridGroupingControl1.VersionInfo = "15.4460.0.17";
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.Controls.Add(this.currentCellActivationBehaviourGroupBox);
     this.panel1.Controls.Add(this.editingGroupBox);
     this.panel1.Location = new System.Drawing.Point(1019, 5);
     this.panel1.Margin   = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(268, 937);
     this.panel1.TabIndex = 4;
     //
     // currentCellActivationBehaviourGroupBox
     //
     this.currentCellActivationBehaviourGroupBox.Controls.Add(this.clickOnCellRadioButton);
     this.currentCellActivationBehaviourGroupBox.Controls.Add(this.doubleClickOnCellRadioButton);
     this.currentCellActivationBehaviourGroupBox.Controls.Add(this.noneClickRadioButton);
     this.currentCellActivationBehaviourGroupBox.Controls.Add(this.selectAllRadioButton);
     this.currentCellActivationBehaviourGroupBox.Controls.Add(this.positionCaretRadioButton);
     this.currentCellActivationBehaviourGroupBox.Controls.Add(this.setCurrentRadioButton);
     this.currentCellActivationBehaviourGroupBox.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.currentCellActivationBehaviourGroupBox.Location = new System.Drawing.Point(3, 140);
     this.currentCellActivationBehaviourGroupBox.Name     = "currentCellActivationBehaviourGroupBox";
     this.currentCellActivationBehaviourGroupBox.Size     = new System.Drawing.Size(262, 274);
     this.currentCellActivationBehaviourGroupBox.TabIndex = 26;
     this.currentCellActivationBehaviourGroupBox.TabStop  = false;
     this.currentCellActivationBehaviourGroupBox.Text     = "CurrentCell Activation Behaviour";
     //
     // clickOnCellRadioButton
     //
     this.clickOnCellRadioButton.AutoSize          = true;
     this.clickOnCellRadioButton.BeforeTouchSize   = new System.Drawing.Size(132, 28);
     this.clickOnCellRadioButton.Checked           = true;
     this.clickOnCellRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.clickOnCellRadioButton.Location          = new System.Drawing.Point(24, 60);
     this.clickOnCellRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.clickOnCellRadioButton.Name          = "clickOnCellRadioButton";
     this.clickOnCellRadioButton.Size          = new System.Drawing.Size(132, 28);
     this.clickOnCellRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.clickOnCellRadioButton.TabIndex      = 6;
     this.clickOnCellRadioButton.Text          = "Click On Cell";
     this.clickOnCellRadioButton.ThemesEnabled = false;
     this.clickOnCellRadioButton.CheckChanged += new System.EventHandler(this.CurrentCellActivation_CheckedChanged);
     //
     // doubleClickOnCellRadioButton
     //
     this.doubleClickOnCellRadioButton.AutoSize          = true;
     this.doubleClickOnCellRadioButton.BeforeTouchSize   = new System.Drawing.Size(195, 28);
     this.doubleClickOnCellRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.doubleClickOnCellRadioButton.Location          = new System.Drawing.Point(24, 94);
     this.doubleClickOnCellRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.doubleClickOnCellRadioButton.Name          = "doubleClickOnCellRadioButton";
     this.doubleClickOnCellRadioButton.Size          = new System.Drawing.Size(195, 28);
     this.doubleClickOnCellRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.doubleClickOnCellRadioButton.TabIndex      = 7;
     this.doubleClickOnCellRadioButton.Text          = "Double Click On Cell";
     this.doubleClickOnCellRadioButton.ThemesEnabled = false;
     this.doubleClickOnCellRadioButton.CheckChanged += new System.EventHandler(this.CurrentCellActivation_CheckedChanged);
     //
     // noneClickRadioButton
     //
     this.noneClickRadioButton.AutoSize          = true;
     this.noneClickRadioButton.BeforeTouchSize   = new System.Drawing.Size(77, 28);
     this.noneClickRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.noneClickRadioButton.Location          = new System.Drawing.Point(24, 128);
     this.noneClickRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.noneClickRadioButton.Name          = "noneClickRadioButton";
     this.noneClickRadioButton.Size          = new System.Drawing.Size(77, 28);
     this.noneClickRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.noneClickRadioButton.TabIndex      = 8;
     this.noneClickRadioButton.Text          = "None";
     this.noneClickRadioButton.ThemesEnabled = false;
     this.noneClickRadioButton.CheckChanged += new System.EventHandler(this.CurrentCellActivation_CheckedChanged);
     //
     // selectAllRadioButton
     //
     this.selectAllRadioButton.AutoSize          = true;
     this.selectAllRadioButton.BeforeTouchSize   = new System.Drawing.Size(105, 28);
     this.selectAllRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.selectAllRadioButton.Location          = new System.Drawing.Point(24, 162);
     this.selectAllRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.selectAllRadioButton.Name          = "selectAllRadioButton";
     this.selectAllRadioButton.Size          = new System.Drawing.Size(105, 28);
     this.selectAllRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.selectAllRadioButton.TabIndex      = 9;
     this.selectAllRadioButton.Text          = "Select All";
     this.selectAllRadioButton.ThemesEnabled = false;
     this.selectAllRadioButton.CheckChanged += new System.EventHandler(this.CurrentCellActivation_CheckedChanged);
     //
     // positionCaretRadioButton
     //
     this.positionCaretRadioButton.AutoSize          = true;
     this.positionCaretRadioButton.BeforeTouchSize   = new System.Drawing.Size(143, 28);
     this.positionCaretRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.positionCaretRadioButton.Location          = new System.Drawing.Point(24, 196);
     this.positionCaretRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.positionCaretRadioButton.Name          = "positionCaretRadioButton";
     this.positionCaretRadioButton.Size          = new System.Drawing.Size(143, 28);
     this.positionCaretRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.positionCaretRadioButton.TabIndex      = 10;
     this.positionCaretRadioButton.Text          = "Position Caret";
     this.positionCaretRadioButton.ThemesEnabled = false;
     this.positionCaretRadioButton.CheckChanged += new System.EventHandler(this.CurrentCellActivation_CheckedChanged);
     //
     // setCurrentRadioButton
     //
     this.setCurrentRadioButton.AutoSize          = true;
     this.setCurrentRadioButton.BeforeTouchSize   = new System.Drawing.Size(122, 28);
     this.setCurrentRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.setCurrentRadioButton.Location          = new System.Drawing.Point(24, 230);
     this.setCurrentRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.setCurrentRadioButton.Name          = "setCurrentRadioButton";
     this.setCurrentRadioButton.Size          = new System.Drawing.Size(122, 28);
     this.setCurrentRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.setCurrentRadioButton.TabIndex      = 11;
     this.setCurrentRadioButton.Text          = "Set Current";
     this.setCurrentRadioButton.ThemesEnabled = false;
     this.setCurrentRadioButton.CheckChanged += new System.EventHandler(this.CurrentCellActivation_CheckedChanged);
     //
     // editingGroupBox
     //
     this.editingGroupBox.Controls.Add(this.allowEditingRadioButton);
     this.editingGroupBox.Controls.Add(this.readOnlyRadioButton);
     this.editingGroupBox.Controls.Add(this.browseOnlyRadioButton);
     this.editingGroupBox.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.editingGroupBox.Location = new System.Drawing.Point(3, 0);
     this.editingGroupBox.Name     = "editingGroupBox";
     this.editingGroupBox.Size     = new System.Drawing.Size(262, 134);
     this.editingGroupBox.TabIndex = 25;
     this.editingGroupBox.TabStop  = false;
     this.editingGroupBox.Text     = "Editing";
     //
     // allowEditingRadioButton
     //
     this.allowEditingRadioButton.AutoSize          = true;
     this.allowEditingRadioButton.BeforeTouchSize   = new System.Drawing.Size(138, 28);
     this.allowEditingRadioButton.Checked           = true;
     this.allowEditingRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.allowEditingRadioButton.Location          = new System.Drawing.Point(24, 30);
     this.allowEditingRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.allowEditingRadioButton.Name          = "allowEditingRadioButton";
     this.allowEditingRadioButton.Size          = new System.Drawing.Size(138, 28);
     this.allowEditingRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.allowEditingRadioButton.TabIndex      = 4;
     this.allowEditingRadioButton.Text          = "Allow Editing";
     this.allowEditingRadioButton.ThemesEnabled = false;
     this.allowEditingRadioButton.CheckChanged += new System.EventHandler(this.read_only_CheckedChanged);
     //
     // readOnlyRadioButton
     //
     this.readOnlyRadioButton.AutoSize          = true;
     this.readOnlyRadioButton.BeforeTouchSize   = new System.Drawing.Size(115, 28);
     this.readOnlyRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.readOnlyRadioButton.Location          = new System.Drawing.Point(24, 64);
     this.readOnlyRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.readOnlyRadioButton.Name          = "readOnlyRadioButton";
     this.readOnlyRadioButton.Size          = new System.Drawing.Size(115, 28);
     this.readOnlyRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.readOnlyRadioButton.TabIndex      = 1;
     this.readOnlyRadioButton.Text          = "Read Only";
     this.readOnlyRadioButton.ThemesEnabled = false;
     this.readOnlyRadioButton.CheckChanged += new System.EventHandler(this.read_only_CheckedChanged);
     //
     // browseOnlyRadioButton
     //
     this.browseOnlyRadioButton.AutoSize          = true;
     this.browseOnlyRadioButton.BeforeTouchSize   = new System.Drawing.Size(133, 28);
     this.browseOnlyRadioButton.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.browseOnlyRadioButton.Location          = new System.Drawing.Point(24, 98);
     this.browseOnlyRadioButton.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.browseOnlyRadioButton.Name          = "browseOnlyRadioButton";
     this.browseOnlyRadioButton.Size          = new System.Drawing.Size(133, 28);
     this.browseOnlyRadioButton.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.browseOnlyRadioButton.TabIndex      = 2;
     this.browseOnlyRadioButton.Text          = "Browse Only";
     this.browseOnlyRadioButton.ThemesEnabled = false;
     this.browseOnlyRadioButton.CheckChanged += new System.EventHandler(this.read_only_CheckedChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.CaptionFont         = new System.Drawing.Font("Segoe UI Semibold", 21.75F, System.Drawing.FontStyle.Bold);
     this.ClientSize          = new System.Drawing.Size(1300, 797);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.gridGroupingControl1);
     this.MinimumSize = new System.Drawing.Size(1189, 876);
     this.Name        = "Form1";
     this.Text        = "Editing";
     ((System.ComponentModel.ISupportInitialize)(this.gridGroupingControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.currentCellActivationBehaviourGroupBox.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.clickOnCellRadioButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.doubleClickOnCellRadioButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.noneClickRadioButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.selectAllRadioButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.positionCaretRadioButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.setCurrentRadioButton)).EndInit();
     this.editingGroupBox.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.allowEditingRadioButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.readOnlyRadioButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.browseOnlyRadioButton)).EndInit();
     this.ResumeLayout(false);
 }
示例#15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.htmluiControl1 = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.panel1         = new System.Windows.Forms.Panel();
     this.panel3         = new System.Windows.Forms.Panel();
     this.panel4         = new System.Windows.Forms.Panel();
     this.label2         = new System.Windows.Forms.Label();
     this.radioButton2   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.panel2         = new System.Windows.Forms.Panel();
     this.label4         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.label1         = new System.Windows.Forms.Label();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(567, 340);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location      = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name          = "htmluiControl1";
     this.htmluiControl1.Size          = new System.Drawing.Size(584, 355);
     this.htmluiControl1.TabIndex      = 0;
     this.htmluiControl1.Text          = resources.GetString("htmluiControl1.Text");
     this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished);
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(138, 475);
     this.panel1.TabIndex = 1;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.Silver;
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Location = new System.Drawing.Point(8, 24);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(120, 136);
     this.panel3.TabIndex = 2;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.White;
     this.panel4.Controls.Add(this.label2);
     this.panel4.Controls.Add(this.radioButton2);
     this.panel4.Controls.Add(this.radioButton1);
     this.panel4.Location = new System.Drawing.Point(2, 2);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(116, 132);
     this.panel4.TabIndex = 5;
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location  = new System.Drawing.Point(-2, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(120, 24);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Format style";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // radioButton2
     //
     this.radioButton2.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton2.DrawFocusRectangle = false;
     this.radioButton2.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor     = System.Drawing.Color.Green;
     this.radioButton2.Location      = new System.Drawing.Point(4, 74);
     this.radioButton2.MetroColor    = System.Drawing.Color.Silver;
     this.radioButton2.Name          = "radioButton2";
     this.radioButton2.Size          = new System.Drawing.Size(108, 40);
     this.radioButton2.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton2.TabIndex      = 5;
     this.radioButton2.TabStop       = false;
     this.radioButton2.Text          = "Format green";
     this.radioButton2.ThemesEnabled = false;
     //
     // radioButton1
     //
     this.radioButton1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton1.Checked            = true;
     this.radioButton1.DrawFocusRectangle = false;
     this.radioButton1.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor     = System.Drawing.Color.Orange;
     this.radioButton1.Location      = new System.Drawing.Point(4, 34);
     this.radioButton1.MetroColor    = System.Drawing.Color.Silver;
     this.radioButton1.Name          = "radioButton1";
     this.radioButton1.Size          = new System.Drawing.Size(108, 42);
     this.radioButton1.Style         = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButton1.TabIndex      = 4;
     this.radioButton1.Text          = "Format orange";
     this.radioButton1.ThemesEnabled = false;
     //
     // panel2
     //
     this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.label4);
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label1);
     this.panel2.Location = new System.Drawing.Point(149, 10);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(586, 112);
     this.panel2.TabIndex = 2;
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.Black;
     this.label4.Location  = new System.Drawing.Point(8, 88);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(105, 15);
     this.label4.TabIndex  = 5;
     this.label4.Text      = "HTMLUI Output";
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.Black;
     this.label3.Location  = new System.Drawing.Point(8, 8);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(73, 15);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Style code";
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.BackColor   = System.Drawing.Color.White;
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label1.FlatStyle   = System.Windows.Forms.FlatStyle.Flat;
     this.label1.Font        = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor   = System.Drawing.Color.Maroon;
     this.label1.Location    = new System.Drawing.Point(16, 32);
     this.label1.Name        = "label1";
     this.label1.Size        = new System.Drawing.Size(562, 48);
     this.label1.TabIndex    = 3;
     this.label1.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // gradientPanel1
     //
     this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                         | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Location = new System.Drawing.Point(149, 128);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(586, 357);
     this.gradientPanel1.TabIndex = 3;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize        = new System.Drawing.Size(745, 495);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.DropShadow       = true;
     this.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.MinimumSize      = new System.Drawing.Size(757, 531);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Formatting Demo";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#16
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);
 }
示例#17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     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();
 }
示例#18
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.panel1          = new System.Windows.Forms.Panel();
     this.panel4          = new System.Windows.Forms.Panel();
     this.panel5          = new System.Windows.Forms.Panel();
     this.label3          = new System.Windows.Forms.Label();
     this.radioButton2    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.htmluiControl1  = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl();
     this.scrollersFrame1 = new Syncfusion.Windows.Forms.ScrollersFrame(this.components);
     this.gradientPanel1  = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.Color.White;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.panel4);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel1.Font     = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(10, 10);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(136, 489);
     this.panel1.TabIndex = 1;
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(221)))), ((int)(((byte)(237)))));
     this.panel4.Controls.Add(this.panel5);
     this.panel4.Location = new System.Drawing.Point(6, 62);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(120, 136);
     this.panel4.TabIndex = 5;
     //
     // panel5
     //
     this.panel5.BackColor   = System.Drawing.Color.White;
     this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel5.Controls.Add(this.radioButton2);
     this.panel5.Controls.Add(this.radioButton1);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(120, 136);
     this.panel5.TabIndex = 5;
     //
     // label3
     //
     this.label3.BackColor   = System.Drawing.Color.White;
     this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label3.Dock        = System.Windows.Forms.DockStyle.Top;
     this.label3.ForeColor   = System.Drawing.Color.Black;
     this.label3.Location    = new System.Drawing.Point(0, 0);
     this.label3.Name        = "label3";
     this.label3.Size        = new System.Drawing.Size(134, 24);
     this.label3.TabIndex    = 6;
     this.label3.Text        = "Style Sheets";
     this.label3.TextAlign   = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // radioButton2
     //
     this.radioButton2.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton2.BackColor     = System.Drawing.Color.White;
     this.radioButton2.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton2.ForeColor     = System.Drawing.Color.Black;
     this.radioButton2.Location      = new System.Drawing.Point(4, 81);
     this.radioButton2.MetroColor    = System.Drawing.Color.Empty;
     this.radioButton2.Name          = "radioButton2";
     this.radioButton2.Size          = new System.Drawing.Size(110, 40);
     this.radioButton2.TabIndex      = 5;
     this.radioButton2.TabStop       = false;
     this.radioButton2.Text          = "Style sheet2";
     this.radioButton2.ThemesEnabled = false;
     this.radioButton2.CheckChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
     //
     // radioButton1
     //
     this.radioButton1.Anchor        = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.radioButton1.BackColor     = System.Drawing.Color.White;
     this.radioButton1.Checked       = true;
     this.radioButton1.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButton1.ForeColor     = System.Drawing.Color.Black;
     this.radioButton1.Location      = new System.Drawing.Point(4, 41);
     this.radioButton1.MetroColor    = System.Drawing.Color.Empty;
     this.radioButton1.Name          = "radioButton1";
     this.radioButton1.Size          = new System.Drawing.Size(110, 32);
     this.radioButton1.TabIndex      = 4;
     this.radioButton1.Text          = "Style sheet1";
     this.radioButton1.ThemesEnabled = false;
     this.radioButton1.CheckChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // htmluiControl1
     //
     this.htmluiControl1.AutoScroll                    = true;
     this.htmluiControl1.AutoScrollMinSize             = new System.Drawing.Size(567, 472);
     this.htmluiControl1.BackColor                     = System.Drawing.Color.White;
     this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control;
     this.htmluiControl1.DefaultFormat.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.htmluiControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.htmluiControl1.Location = new System.Drawing.Point(0, 0);
     this.htmluiControl1.Name     = "htmluiControl1";
     this.htmluiControl1.Size     = new System.Drawing.Size(584, 487);
     this.htmluiControl1.TabIndex = 2;
     this.htmluiControl1.Text     = resources.GetString("htmluiControl1.Text");
     //
     // scrollersFrame1
     //
     this.scrollersFrame1.AttachedTo            = this.htmluiControl1;
     this.scrollersFrame1.CustomRender          = null;
     this.scrollersFrame1.MetroColorScheme      = Syncfusion.Windows.Forms.MetroColorScheme.Managed;
     this.scrollersFrame1.SizeGripperVisibility = Syncfusion.Windows.Forms.SizeGripperVisibility.Auto;
     this.scrollersFrame1.VisualStyle           = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.htmluiControl1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(146, 10);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(586, 489);
     this.gradientPanel1.TabIndex = 3;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.ClientSize        = new System.Drawing.Size(742, 509);
     this.Controls.Add(this.gradientPanel1);
     this.Controls.Add(this.panel1);
     this.DropShadow    = true;
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(754, 545);
     this.Name          = "Form1";
     this.Padding       = new System.Windows.Forms.Padding(10);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "HTML CSS";
     this.Load         += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#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.colorPickerUIAdv1  = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
     this.label1             = new System.Windows.Forms.Label();
     this.imageList1         = new System.Windows.Forms.ImageList(this.components);
     this.splitContainerAdv1 = new Syncfusion.Windows.Forms.Tools.SplitContainerAdv();
     this.panel1             = new System.Windows.Forms.Panel();
     this.radioButton2       = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButton1       = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.richTextBox1       = new System.Windows.Forms.RichTextBox();
     this.panel3             = new System.Windows.Forms.Panel();
     this.label2             = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).BeginInit();
     this.splitContainerAdv1.Panel1.SuspendLayout();
     this.splitContainerAdv1.Panel2.SuspendLayout();
     this.splitContainerAdv1.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).BeginInit();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // colorPickerUIAdv1.RecentGroup
     //
     this.colorPickerUIAdv1.RecentGroup.HeaderHeight = 19;
     this.colorPickerUIAdv1.RecentGroup.Name         = "Recent Colors";
     this.colorPickerUIAdv1.RecentGroup.Visible      = false;
     //
     // colorPickerUIAdv1.StandardGroup
     //
     this.colorPickerUIAdv1.StandardGroup.HeaderHeight = 19;
     this.colorPickerUIAdv1.StandardGroup.Name         = "Standard Colors";
     //
     // colorPickerUIAdv1.ThemeGroup
     //
     this.colorPickerUIAdv1.ThemeGroup.HeaderHeight      = 19;
     this.colorPickerUIAdv1.ThemeGroup.IsSubItemsVisible = true;
     this.colorPickerUIAdv1.ThemeGroup.Name = "Theme Colors";
     //
     // colorPickerUIAdv1
     //
     this.colorPickerUIAdv1.BeforeTouchSize        = new System.Drawing.Size(13, 13);
     this.colorPickerUIAdv1.BorderStyle            = System.Windows.Forms.BorderStyle.FixedSingle;
     this.colorPickerUIAdv1.ButtonsHeight          = 27;
     this.colorPickerUIAdv1.ColorItemSize          = new System.Drawing.Size(20, 13);
     this.colorPickerUIAdv1.HorizontalItemsSpacing = 2;
     this.colorPickerUIAdv1.Location             = new System.Drawing.Point(56, 66);
     this.colorPickerUIAdv1.MetroColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.colorPickerUIAdv1.MinimumSize          = new System.Drawing.Size(136, 201);
     this.colorPickerUIAdv1.Name                 = "colorPickerUIAdv1";
     this.colorPickerUIAdv1.SelectedColor        = System.Drawing.Color.Empty;
     this.colorPickerUIAdv1.Size                 = new System.Drawing.Size(224, 209);
     this.colorPickerUIAdv1.Style                = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Office2016Colorful;
     this.colorPickerUIAdv1.TabIndex             = 4;
     this.colorPickerUIAdv1.Text                 = "colorPickerUIAdv1";
     this.colorPickerUIAdv1.UseOffice2007Style   = false;
     this.colorPickerUIAdv1.VerticalItemsSpacing = 2;
     this.colorPickerUIAdv1.Picked              += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv1_Picked);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(0, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(100, 23);
     this.label1.TabIndex = 0;
     //
     // 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;
     //
     // splitContainerAdv1
     //
     this.splitContainerAdv1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                             | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.splitContainerAdv1.BeforeTouchSize = 7;
     this.splitContainerAdv1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
     this.splitContainerAdv1.IsSplitterFixed = true;
     this.splitContainerAdv1.Location        = new System.Drawing.Point(20, 92);
     this.splitContainerAdv1.Name            = "splitContainerAdv1";
     //
     // splitContainerAdv1.Panel1
     //
     this.splitContainerAdv1.Panel1.Controls.Add(this.panel1);
     //
     // splitContainerAdv1.Panel2
     //
     this.splitContainerAdv1.Panel2.Controls.Add(this.richTextBox1);
     this.splitContainerAdv1.Size             = new System.Drawing.Size(997, 411);
     this.splitContainerAdv1.SplitterDistance = 373;
     this.splitContainerAdv1.TabIndex         = 6;
     this.splitContainerAdv1.Text             = "splitContainerAdv1";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.radioButton2);
     this.panel1.Controls.Add(this.radioButton1);
     this.panel1.Controls.Add(this.colorPickerUIAdv1);
     this.panel1.Location = new System.Drawing.Point(47, 59);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(278, 336);
     this.panel1.TabIndex = 7;
     //
     // radioButton2
     //
     this.radioButton2.AutoSize        = true;
     this.radioButton2.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.radioButton2.BeforeTouchSize = new System.Drawing.Size(106, 16);
     this.radioButton2.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
     this.radioButton2.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     this.radioButton2.HotBorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
     this.radioButton2.Location        = new System.Drawing.Point(144, 19);
     this.radioButton2.MetroColor      = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton2.Name            = "radioButton2";
     this.radioButton2.Size            = new System.Drawing.Size(106, 16);
     this.radioButton2.Style           = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Office2016Colorful;
     this.radioButton2.TabIndex        = 6;
     this.radioButton2.Text            = "Hightlight Color";
     this.radioButton2.ThemesEnabled   = false;
     //
     // radioButton1
     //
     this.radioButton1.AutoSize        = true;
     this.radioButton1.BackColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.radioButton1.BeforeTouchSize = new System.Drawing.Size(73, 16);
     this.radioButton1.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(197)))), ((int)(((byte)(197)))), ((int)(((byte)(197)))));
     this.radioButton1.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43)))));
     this.radioButton1.HotBorderColor  = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
     this.radioButton1.Location        = new System.Drawing.Point(30, 19);
     this.radioButton1.MetroColor      = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(91)))));
     this.radioButton1.Name            = "radioButton1";
     this.radioButton1.Size            = new System.Drawing.Size(73, 16);
     this.radioButton1.Style           = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Office2016Colorful;
     this.radioButton1.TabIndex        = 5;
     this.radioButton1.Text            = "ForeColor";
     this.radioButton1.ThemesEnabled   = false;
     //
     // richTextBox1
     //
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.richTextBox1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Font        = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.richTextBox1.Location    = new System.Drawing.Point(0, 0);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.Size        = new System.Drawing.Size(615, 409);
     this.richTextBox1.TabIndex    = 0;
     this.richTextBox1.Text        = "";
     //
     // panel3
     //
     this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel3.Controls.Add(this.label2);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(20, 20);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(1000, 65);
     this.panel3.TabIndex = 7;
     //
     // label2
     //
     this.label2.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label2.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(0, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(998, 63);
     this.label2.TabIndex  = 0;
     this.label2.Text      = resources.GetString("label2.Text");
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(1040, 522);
     this.Controls.Add(this.splitContainerAdv1);
     this.Controls.Add(this.panel3);
     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.MaximizeBox     = false;
     this.MaximumSize     = new System.Drawing.Size(1052, 558);
     this.MetroColor      = System.Drawing.Color.White;
     this.MinimumSize     = new System.Drawing.Size(1052, 558);
     this.Name            = "Form1";
     this.Padding         = new System.Windows.Forms.Padding(20);
     this.ShowMaximizeBox = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "ColorPickerUIAdv";
     this.Load           += new System.EventHandler(this.Form1_Load);
     this.splitContainerAdv1.Panel1.ResumeLayout(false);
     this.splitContainerAdv1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerAdv1)).EndInit();
     this.splitContainerAdv1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButton2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButton1)).EndInit();
     this.panel3.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.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();
 }
示例#21
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.pivotGridControl1 = new Syncfusion.Windows.Forms.PivotAnalysis.PivotGridControl(this.components);
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.radioButtonAdv4   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv1   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv2   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.radioButtonAdv3   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.Metro             = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.Office2010Silver  = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.Office2010Black   = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.Office2010Blue    = new Syncfusion.Windows.Forms.Tools.RadioButtonAdv();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Metro)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Office2010Silver)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Office2010Black)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Office2010Blue)).BeginInit();
     this.SuspendLayout();
     //
     // pivotGridControl1
     //
     this.pivotGridControl1.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.pivotGridControl1.EditManager      = null;
     this.pivotGridControl1.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.pivotGridControl1.Location         = new System.Drawing.Point(0, 8);
     this.pivotGridControl1.Margin           = new System.Windows.Forms.Padding(0);
     this.pivotGridControl1.Name             = "pivotGridControl1";
     this.pivotGridControl1.Size             = new System.Drawing.Size(1232, 859);
     this.pivotGridControl1.TabIndex         = 0;
     this.pivotGridControl1.Text             = "pivotGridControl1";
     this.pivotGridControl1.UpdateManager    = null;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radioButtonAdv4);
     this.groupBox1.Controls.Add(this.radioButtonAdv1);
     this.groupBox1.Controls.Add(this.radioButtonAdv2);
     this.groupBox1.Controls.Add(this.radioButtonAdv3);
     this.groupBox1.Controls.Add(this.Metro);
     this.groupBox1.Controls.Add(this.Office2010Silver);
     this.groupBox1.Controls.Add(this.Office2010Black);
     this.groupBox1.Controls.Add(this.Office2010Blue);
     this.groupBox1.Dock      = System.Windows.Forms.DockStyle.Right;
     this.groupBox1.Font      = new System.Drawing.Font("Segoe UI Semibold", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox1.ForeColor = System.Drawing.Color.Black;
     this.groupBox1.Location  = new System.Drawing.Point(1545, 0);
     this.groupBox1.Margin    = new System.Windows.Forms.Padding(0);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Padding   = new System.Windows.Forms.Padding(0);
     this.groupBox1.Size      = new System.Drawing.Size(355, 850);
     this.groupBox1.TabIndex  = 0;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Options";
     //
     // radioButtonAdv4
     //
     this.radioButtonAdv4.BeforeTouchSize   = new System.Drawing.Size(330, 40);
     this.radioButtonAdv4.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv4.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonAdv4.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButtonAdv4.Location          = new System.Drawing.Point(15, 240);
     this.radioButtonAdv4.Margin            = new System.Windows.Forms.Padding(0);
     this.radioButtonAdv4.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv4.Name              = "radioButtonAdv4";
     this.radioButtonAdv4.Size              = new System.Drawing.Size(330, 40);
     this.radioButtonAdv4.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv4.TabIndex          = 11;
     this.radioButtonAdv4.TabStop           = false;
     this.radioButtonAdv4.Tag           = "Office2016Black";
     this.radioButtonAdv4.Text          = "Office 2016 Black";
     this.radioButtonAdv4.ThemesEnabled = false;
     this.radioButtonAdv4.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // radioButtonAdv1
     //
     this.radioButtonAdv1.BeforeTouchSize    = new System.Drawing.Size(330, 40);
     this.radioButtonAdv1.DrawFocusRectangle = false;
     this.radioButtonAdv1.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv1.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonAdv1.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButtonAdv1.Location          = new System.Drawing.Point(16, 420);
     this.radioButtonAdv1.Margin            = new System.Windows.Forms.Padding(0);
     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(330, 40);
     this.radioButtonAdv1.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv1.TabIndex          = 10;
     this.radioButtonAdv1.TabStop           = false;
     this.radioButtonAdv1.Tag           = "Office2016DarkGray";
     this.radioButtonAdv1.Text          = "Office 2016 Dark Gray";
     this.radioButtonAdv1.ThemesEnabled = false;
     this.radioButtonAdv1.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // radioButtonAdv2
     //
     this.radioButtonAdv2.BeforeTouchSize   = new System.Drawing.Size(330, 40);
     this.radioButtonAdv2.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv2.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonAdv2.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButtonAdv2.Location          = new System.Drawing.Point(16, 360);
     this.radioButtonAdv2.Margin            = new System.Windows.Forms.Padding(0);
     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(330, 40);
     this.radioButtonAdv2.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv2.TabIndex          = 9;
     this.radioButtonAdv2.TabStop           = false;
     this.radioButtonAdv2.Tag           = "Office2016Colorful";
     this.radioButtonAdv2.Text          = "Office 2016 Colorful";
     this.radioButtonAdv2.ThemesEnabled = false;
     this.radioButtonAdv2.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // radioButtonAdv3
     //
     this.radioButtonAdv3.BeforeTouchSize   = new System.Drawing.Size(330, 40);
     this.radioButtonAdv3.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioButtonAdv3.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.radioButtonAdv3.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.radioButtonAdv3.Location          = new System.Drawing.Point(16, 300);
     this.radioButtonAdv3.Margin            = new System.Windows.Forms.Padding(0);
     this.radioButtonAdv3.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.radioButtonAdv3.Name              = "radioButtonAdv3";
     this.radioButtonAdv3.Size              = new System.Drawing.Size(330, 40);
     this.radioButtonAdv3.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.radioButtonAdv3.TabIndex          = 8;
     this.radioButtonAdv3.TabStop           = false;
     this.radioButtonAdv3.Tag           = "Office2016White";
     this.radioButtonAdv3.Text          = "Office 2016 White";
     this.radioButtonAdv3.ThemesEnabled = false;
     this.radioButtonAdv3.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // Metro
     //
     this.Metro.BeforeTouchSize   = new System.Drawing.Size(330, 40);
     this.Metro.Checked           = true;
     this.Metro.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Metro.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.Metro.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.Metro.Location          = new System.Drawing.Point(15, 480);
     this.Metro.Margin            = new System.Windows.Forms.Padding(0);
     this.Metro.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.Metro.Name              = "Metro";
     this.Metro.Size              = new System.Drawing.Size(330, 40);
     this.Metro.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.Metro.TabIndex          = 7;
     this.Metro.Tag           = "Metro";
     this.Metro.Text          = "Metro";
     this.Metro.ThemesEnabled = false;
     this.Metro.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // Office2010Silver
     //
     this.Office2010Silver.BeforeTouchSize    = new System.Drawing.Size(330, 40);
     this.Office2010Silver.DrawFocusRectangle = false;
     this.Office2010Silver.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Office2010Silver.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.Office2010Silver.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.Office2010Silver.Location          = new System.Drawing.Point(15, 180);
     this.Office2010Silver.Margin            = new System.Windows.Forms.Padding(0);
     this.Office2010Silver.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.Office2010Silver.Name              = "Office2010Silver";
     this.Office2010Silver.Size              = new System.Drawing.Size(330, 40);
     this.Office2010Silver.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.Office2010Silver.TabIndex          = 6;
     this.Office2010Silver.Tag           = "Office2010Silver";
     this.Office2010Silver.Text          = "Office 2010 Silver";
     this.Office2010Silver.ThemesEnabled = false;
     this.Office2010Silver.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // Office2010Black
     //
     this.Office2010Black.BeforeTouchSize   = new System.Drawing.Size(330, 40);
     this.Office2010Black.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Office2010Black.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.Office2010Black.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.Office2010Black.Location          = new System.Drawing.Point(15, 120);
     this.Office2010Black.Margin            = new System.Windows.Forms.Padding(0);
     this.Office2010Black.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.Office2010Black.Name              = "Office2010Black";
     this.Office2010Black.Size              = new System.Drawing.Size(330, 40);
     this.Office2010Black.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.Office2010Black.TabIndex          = 5;
     this.Office2010Black.Tag           = "Office2010Black";
     this.Office2010Black.Text          = "Office 2010 Black";
     this.Office2010Black.ThemesEnabled = false;
     this.Office2010Black.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // Office2010Blue
     //
     this.Office2010Blue.BeforeTouchSize   = new System.Drawing.Size(330, 40);
     this.Office2010Blue.Font              = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Office2010Blue.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.Office2010Blue.ImageCheckBoxSize = new System.Drawing.Size(20, 20);
     this.Office2010Blue.Location          = new System.Drawing.Point(15, 60);
     this.Office2010Blue.Margin            = new System.Windows.Forms.Padding(0);
     this.Office2010Blue.MetroColor        = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.Office2010Blue.Name              = "Office2010Blue";
     this.Office2010Blue.Size              = new System.Drawing.Size(330, 40);
     this.Office2010Blue.Style             = Syncfusion.Windows.Forms.Tools.RadioButtonAdvStyle.Metro;
     this.Office2010Blue.TabIndex          = 4;
     this.Office2010Blue.Tag           = "Office2010Blue";
     this.Office2010Blue.Text          = "Office 2010 Blue";
     this.Office2010Blue.ThemesEnabled = false;
     this.Office2010Blue.CheckChanged += new System.EventHandler(this.VisualStyle_CheckChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions     = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode           = System.Windows.Forms.AutoScaleMode.Font;
     this.BorderColor             = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign            = System.Windows.Forms.HorizontalAlignment.Left;
     this.CaptionBarColor         = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionBarHeight        = 50;
     this.CaptionButtonColor      = System.Drawing.Color.White;
     this.CaptionButtonHoverColor = System.Drawing.Color.White;
     this.CaptionFont             = new System.Drawing.Font("Segoe UI Semibold", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CaptionForeColor        = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(1600, 850);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.pivotGridControl1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(0);
     this.MetroColor    = System.Drawing.Color.Transparent;
     this.MinimumSize   = new System.Drawing.Size(1600, 850);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Visual Styles";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radioButtonAdv3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Metro)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Office2010Silver)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Office2010Black)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Office2010Blue)).EndInit();
     this.ResumeLayout(false);
 }