コード例 #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BorderStyle               = System.Windows.Forms.BorderStyle.FixedSingle;
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator              = config1;
            this.editControl1.Dock                      = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                  = new System.Drawing.Point(10, 10);
            this.editControl1.Name                      = "editControl1";
            this.editControl1.ParsingMode               = Syncfusion.Windows.Forms.Edit.Enums.TextParsingMode.PartialParsingNoFallback;
            this.editControl1.RenderRightToLeft         = false;
            this.editControl1.SaveOnClose               = false;
            this.editControl1.ScrollPosition            = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle         = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowColumnGuides          = false;
            this.editControl1.ShowHorizontalSplitters   = false;
            this.editControl1.ShowIndentationGuidelines = false;
            this.editControl1.ShowIndicatorMargin       = false;
            this.editControl1.ShowLineNumbers           = false;
            this.editControl1.ShowOutliningCollapsers   = false;
            this.editControl1.ShowSelectionMargin       = false;
            this.editControl1.ShowVerticalSplitters     = false;
            this.editControl1.Size                      = new System.Drawing.Size(522, 446);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 0;
            this.editControl1.Text               = "";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            this.editControl1.WordWrap           = true;
            //
            // Form2
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(542, 466);
            this.MetroColor        = Color.White;
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Name          = "Form2";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            this.Text          = "Form2";
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #2
0
ファイル: XmlViewer.Designer.cs プロジェクト: BrianGoff/BITS
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // editControl1
            // 
            this.editControl1.AlwaysShowScrollers = true;
            this.editControl1.AutoIndentMode = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.Configurator = config1;
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.HighlightCurrentLine = true;
            this.editControl1.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location = new System.Drawing.Point(0, 0);
            this.editControl1.Name = "editControl1";
            this.editControl1.SaveOnClose = false;
            this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0);
            this.editControl1.SharedFileMode = true;
            this.editControl1.Size = new System.Drawing.Size(780, 400);
            this.editControl1.StatusBarSettings.StatusPanel.MinWidth = 70;
            this.editControl1.StatusBarSettings.TextPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.editControl1.TabIndex = 0;
            this.editControl1.Text = "";
            this.editControl1.VisualColumn = 1;
            this.editControl1.MenuFill += new System.EventHandler(this.editControl1_MenuFill);
            // 
            // XmlViewer
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.editControl1);
            this.Name = "XmlViewer";
            this.Size = new System.Drawing.Size(780, 400);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
     System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
     this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
     this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
     this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
     this.SuspendLayout();
     //
     // editControl1
     //
     this.editControl1.BackColor                 = System.Drawing.SystemColors.Window;
     this.editControl1.BorderStyle               = System.Windows.Forms.BorderStyle.Fixed3D;
     this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
     this.editControl1.Configurator              = config1;
     this.editControl1.Dock                      = System.Windows.Forms.DockStyle.Fill;
     this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
     this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
     this.editControl1.Location                  = new System.Drawing.Point(10, 39);
     this.editControl1.Name                      = "editControl1";
     this.editControl1.RenderRightToLeft         = false;
     this.editControl1.ScrollPosition            = new System.Drawing.Point(0, 0);
     this.editControl1.ScrollVisualStyle         = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     this.editControl1.ShowHorizontalSplitters   = false;
     this.editControl1.ShowIndentationGuidelines = false;
     this.editControl1.ShowSelectionMargin       = false;
     this.editControl1.ShowVerticalSplitters     = false;
     this.editControl1.Size                      = new System.Drawing.Size(520, 415);
     this.editControl1.TabIndex                  = 0;
     this.editControl1.Text                      = "editControl1";
     this.editControl1.TransferFocusOnTab        = true;
     this.editControl1.UseXPStyleBorder          = true;
     this.editControl1.VisualColumn              = 1;
     this.editControl1.WordWrap                  = true;
     this.editControl1.ConfigurationChanged     += new System.EventHandler(this.editControl1_ConfigurationChanged);
     //
     // mainFrameBarManager1
     //
     this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
     this.mainFrameBarManager1.Bars.Add(this.bar1);
     this.mainFrameBarManager1.Categories.Add("File");
     this.mainFrameBarManager1.Categories.Add("Intent Mode");
     this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
     this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainFrameBarManager1.Form = this;
     this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem5,
         this.barItem6,
         this.parentBarItem2,
         this.barItem7,
         this.barItem8,
         this.barItem9,
         this.barItem10,
         this.barItem11,
         this.barItem12
     });
     this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.mainFrameBarManager1.ResetCustomization = false;
     this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // bar1
     //
     this.bar1.BarName = "Menu";
     this.bar1.Caption = "Menu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem2,
         this.barItem10,
         this.barItem11,
         this.barItem12
     });
     this.bar1.Manager = this.mainFrameBarManager1;
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName       = "parentBarItem1";
     this.parentBarItem1.CategoryIndex = 0;
     this.parentBarItem1.ID            = "&File";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem5,
         this.barItem6
     });
     this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Text = "&File";
     //
     // barItem1
     //
     this.barItem1.BarName            = "barItem1";
     this.barItem1.CategoryIndex      = 0;
     this.barItem1.ID                 = "&New";
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "&New";
     this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
     //
     // barItem2
     //
     this.barItem2.BarName            = "barItem2";
     this.barItem2.CategoryIndex      = 0;
     this.barItem2.ID                 = "&Open";
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "&Open";
     this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
     //
     // barItem3
     //
     this.barItem3.BarName            = "barItem3";
     this.barItem3.CategoryIndex      = 0;
     this.barItem3.ID                 = "&Save";
     this.barItem3.ShowToolTipInPopUp = false;
     this.barItem3.SizeToFit          = true;
     this.barItem3.Text               = "&Save";
     this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
     //
     // barItem4
     //
     this.barItem4.BarName            = "barItem4";
     this.barItem4.CategoryIndex      = 0;
     this.barItem4.ID                 = "Save&As";
     this.barItem4.ShowToolTipInPopUp = false;
     this.barItem4.SizeToFit          = true;
     this.barItem4.Text               = "Save&As";
     this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
     //
     // barItem5
     //
     this.barItem5.BarName            = "barItem5";
     this.barItem5.CategoryIndex      = 0;
     this.barItem5.ID                 = "&Close";
     this.barItem5.ShowToolTipInPopUp = false;
     this.barItem5.SizeToFit          = true;
     this.barItem5.Text               = "&Close";
     this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
     //
     // barItem6
     //
     this.barItem6.BarName            = "barItem6";
     this.barItem6.CategoryIndex      = 0;
     this.barItem6.ID                 = "&Exit";
     this.barItem6.ShowToolTipInPopUp = false;
     this.barItem6.SizeToFit          = true;
     this.barItem6.Text               = "&Exit";
     this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName       = "parentBarItem2";
     this.parentBarItem2.CategoryIndex = 1;
     this.parentBarItem2.ID            = "&IntentMode";
     this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem7,
         this.barItem8,
         this.barItem9
     });
     this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Text = "&IntentMode";
     //
     // barItem7
     //
     this.barItem7.BarName            = "barItem7";
     this.barItem7.CategoryIndex      = 1;
     this.barItem7.ID                 = "&None";
     this.barItem7.ShowToolTipInPopUp = false;
     this.barItem7.SizeToFit          = true;
     this.barItem7.Text               = "&None";
     this.barItem7.Click             += new System.EventHandler(this.IndentMenuClick);
     //
     // barItem8
     //
     this.barItem8.BarName            = "barItem8";
     this.barItem8.CategoryIndex      = 1;
     this.barItem8.ID                 = "&Block";
     this.barItem8.ShowToolTipInPopUp = false;
     this.barItem8.SizeToFit          = true;
     this.barItem8.Text               = "&Block";
     this.barItem8.Click             += new System.EventHandler(this.IndentMenuClick);
     //
     // barItem9
     //
     this.barItem9.BarName            = "barItem9";
     this.barItem9.CategoryIndex      = 1;
     this.barItem9.ID                 = "&Smart";
     this.barItem9.ShowToolTipInPopUp = false;
     this.barItem9.SizeToFit          = true;
     this.barItem9.Text               = "&Smart";
     this.barItem9.Click             += new System.EventHandler(this.IndentMenuClick);
     //
     // barItem10
     //
     this.barItem10.BarName            = "barItem10";
     this.barItem10.CategoryIndex      = 1;
     this.barItem10.ID                 = "Content Dividers";
     this.barItem10.ShowToolTipInPopUp = false;
     this.barItem10.SizeToFit          = true;
     this.barItem10.Text               = "Content Dividers";
     this.barItem10.Click             += new System.EventHandler(this.barItem10_Click);
     //
     // barItem11
     //
     this.barItem11.BarName            = "barItem11";
     this.barItem11.CategoryIndex      = 1;
     this.barItem11.ID                 = "Custom Outlining";
     this.barItem11.ShowToolTipInPopUp = false;
     this.barItem11.SizeToFit          = true;
     this.barItem11.Text               = "Custom Outlining";
     this.barItem11.Click             += new System.EventHandler(this.barItem11_Click);
     //
     // barItem12
     //
     this.barItem12.BarName            = "barItem12";
     this.barItem12.CategoryIndex      = 1;
     this.barItem12.ID                 = "KeyWord Formating";
     this.barItem12.ShowToolTipInPopUp = false;
     this.barItem12.SizeToFit          = true;
     this.barItem12.Text               = "KeyWord Formating";
     this.barItem12.Click             += new System.EventHandler(this.barItem12_Click);
     //
     // 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(540, 464);
     this.Controls.Add(this.editControl1);
     this.DropShadow       = true;
     this.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
     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(552, 501);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Interactive operations";
     this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
     this.Click           += new System.EventHandler(this.Form1_Click);
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #4
0
ファイル: Form1.cs プロジェクト: syncfusion/winforms-demos
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer2 = new Syncfusion.Windows.Forms.PopupControlContainer(this.components);
            this.colorPickerUIAdv2      = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
            this.dropDownBarItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.colorPickerUIAdv1      = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.popupControlContainer2.SuspendLayout();
            this.popupControlContainer1.SuspendLayout();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor       = System.Drawing.SystemColors.Window;
            this.editControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.Beige, System.Drawing.Color.IndianRed);
            this.editControl1.BorderStyle     = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98)))));
            this.editControl1.CodeSnipptSize                = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                  = config1;
            this.editControl1.ContextChoiceBackColor        = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.editControl1.ContextChoiceForeColor        = System.Drawing.SystemColors.InfoText;
            this.editControl1.ContextPromptBackgroundBrush  = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))));
            this.editControl1.ContextTooltipBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(232)))), ((int)(((byte)(236))))));
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                                = new System.Drawing.Point(10, 40);
            this.editControl1.MarkChangedLines                        = true;
            this.editControl1.Name                                    = "editControl1";
            this.editControl1.RenderRightToLeft                       = false;
            this.editControl1.ScrollPosition                          = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle                       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SelectionTextColor                      = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
            this.editControl1.ShowHorizontalSplitters                 = false;
            this.editControl1.ShowIndicatorMargin                     = false;
            this.editControl1.ShowSelectionMargin                     = false;
            this.editControl1.ShowVerticalSplitters                   = false;
            this.editControl1.Size                                    = new System.Drawing.Size(546, 411);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 80;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
            this.editControl1.TabIndex                                = 0;
            this.editControl1.Text                                    = "editControl1\n\n\n";
            this.editControl1.TransferFocusOnTab                      = true;
            this.editControl1.UseXPStyleBorder                        = true;
            this.editControl1.VisualColumn                            = 1;
            this.editControl1.VScrollMode                             = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate;
            this.editControl1.WordWrap                                = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2,
                this.dropDownBarItem1,
                this.dropDownBarItem2
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text       = "&File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.barItem5_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.barItem6_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 0;
            this.parentBarItem2.ID            = "Choose Background Color";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.dropDownBarItem1,
                this.dropDownBarItem2
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text       = "Choose Background Color";
            this.parentBarItem2.WrapLength = 20;
            //
            // dropDownBarItem1
            //
            this.dropDownBarItem1.BarName               = "dropDownBarItem1";
            this.dropDownBarItem1.CategoryIndex         = 0;
            this.dropDownBarItem1.ID                    = "Start Color";
            this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer2;
            this.dropDownBarItem1.ShowToolTipInPopUp    = false;
            this.dropDownBarItem1.SizeToFit             = true;
            this.dropDownBarItem1.Text                  = "Start Color";
            //
            // popupControlContainer2
            //
            this.popupControlContainer2.Controls.Add(this.colorPickerUIAdv2);
            this.popupControlContainer2.Location = new System.Drawing.Point(173, 164);
            this.popupControlContainer2.Name     = "popupControlContainer2";
            this.popupControlContainer2.Size     = new System.Drawing.Size(220, 250);
            this.popupControlContainer2.TabIndex = 10002;
            this.popupControlContainer2.Visible  = false;
            //
            // colorPickerUIAdv2.RecentGroup
            //
            //
            // colorPickerUIAdv2.StandardGroup
            //
            //
            // colorPickerUIAdv2.ThemeGroup
            //
            //
            // colorPickerUIAdv2
            //
            this.colorPickerUIAdv2.BeforeTouchSize      = new System.Drawing.Size(13, 13);
            this.colorPickerUIAdv2.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
            this.colorPickerUIAdv2.ColorItemSize        = new System.Drawing.Size(17, 41);
            this.colorPickerUIAdv2.Dock                 = System.Windows.Forms.DockStyle.Fill;
            this.colorPickerUIAdv2.Location             = new System.Drawing.Point(0, 0);
            this.colorPickerUIAdv2.MetroColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.colorPickerUIAdv2.MinimumSize          = new System.Drawing.Size(136, 163);
            this.colorPickerUIAdv2.Name                 = "colorPickerUIAdv2";
            this.colorPickerUIAdv2.SelectedColor        = System.Drawing.Color.Empty;
            this.colorPickerUIAdv2.Size                 = new System.Drawing.Size(220, 250);
            this.colorPickerUIAdv2.Style                = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro;
            this.colorPickerUIAdv2.TabIndex             = 10003;
            this.colorPickerUIAdv2.Text                 = "colorPickerUIAdv2";
            this.colorPickerUIAdv2.UseOffice2007Style   = false;
            this.colorPickerUIAdv2.VerticalItemsSpacing = 1;
            this.colorPickerUIAdv2.Picked              += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv2_Picked);
            //
            // dropDownBarItem2
            //
            this.dropDownBarItem2.BarName               = "dropDownBarItem2";
            this.dropDownBarItem2.CategoryIndex         = 0;
            this.dropDownBarItem2.ID                    = "End Color";
            this.dropDownBarItem2.PopupControlContainer = this.popupControlContainer1;
            this.dropDownBarItem2.ShowToolTipInPopUp    = false;
            this.dropDownBarItem2.SizeToFit             = true;
            this.dropDownBarItem2.Text                  = "End Color";
            //
            // popupControlContainer1
            //
            this.popupControlContainer1.Controls.Add(this.colorPickerUIAdv1);
            this.popupControlContainer1.Location = new System.Drawing.Point(173, 164);
            this.popupControlContainer1.Name     = "popupControlContainer1";
            this.popupControlContainer1.Size     = new System.Drawing.Size(220, 250);
            this.popupControlContainer1.TabIndex = 10002;
            this.popupControlContainer1.Visible  = false;
            //
            // colorPickerUIAdv1.RecentGroup
            //
            //
            // colorPickerUIAdv1.StandardGroup
            //
            //
            // colorPickerUIAdv1.ThemeGroup
            //
            //
            // colorPickerUIAdv1
            //
            this.colorPickerUIAdv1.BeforeTouchSize      = new System.Drawing.Size(13, 13);
            this.colorPickerUIAdv1.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
            this.colorPickerUIAdv1.ColorItemSize        = new System.Drawing.Size(17, 41);
            this.colorPickerUIAdv1.Dock                 = System.Windows.Forms.DockStyle.Fill;
            this.colorPickerUIAdv1.Location             = new System.Drawing.Point(0, 0);
            this.colorPickerUIAdv1.MetroColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.colorPickerUIAdv1.MinimumSize          = new System.Drawing.Size(136, 163);
            this.colorPickerUIAdv1.Name                 = "colorPickerUIAdv1";
            this.colorPickerUIAdv1.SelectedColor        = System.Drawing.Color.Empty;
            this.colorPickerUIAdv1.Size                 = new System.Drawing.Size(220, 250);
            this.colorPickerUIAdv1.Style                = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro;
            this.colorPickerUIAdv1.TabIndex             = 10003;
            this.colorPickerUIAdv1.Text                 = "colorPickerUIAdv1";
            this.colorPickerUIAdv1.UseOffice2007Style   = false;
            this.colorPickerUIAdv1.VerticalItemsSpacing = 1;
            this.colorPickerUIAdv1.Picked              += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv1_Picked);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(566, 461);
            this.Controls.Add(this.editControl1);
            this.MinimumSize   = new System.Drawing.Size(552, 434);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Gradient Background";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.popupControlContainer2.ResumeLayout(false);
            this.popupControlContainer1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
コード例 #5
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1            = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.colorDialog1            = new System.Windows.Forms.ColorDialog();
            this.toolTip1                = new System.Windows.Forms.ToolTip(this.components);
            this.menuStrip1              = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.newToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1     = new System.Windows.Forms.ToolStripSeparator();
            this.saveToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2     = new System.Windows.Forms.ToolStripSeparator();
            this.exitToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStrip1              = new System.Windows.Forms.ToolStrip();
            this.toolStripButton4        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton1        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton3        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton2        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton7        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton8        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator6     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton5        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton6        = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator7     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton9        = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton10       = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8     = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton12       = new System.Windows.Forms.ToolStripButton();
            this.toolStripButton11       = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3     = new System.Windows.Forms.ToolStripSeparator();
            this.highlightItem           = new System.Windows.Forms.ToolStripButton();
            this.toolStripSplitButton1   = new System.Windows.Forms.ToolStripButton();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.menuStrip1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 59);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(651, 376);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 3;
            this.editControl1.Text               = "editControl1";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            this.editControl1.WordWrap           = true;
            //
            // menuStrip1
            //
            this.menuStrip1.BackColor = System.Drawing.Color.Transparent;
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.fileToolStripMenuItem
            });
            this.menuStrip1.Location = new System.Drawing.Point(10, 10);
            this.menuStrip1.Name     = "menuStrip1";
            this.menuStrip1.Size     = new System.Drawing.Size(651, 24);
            this.menuStrip1.TabIndex = 7;
            this.menuStrip1.Text     = "menuStrip1";
            //
            // fileToolStripMenuItem
            //
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.newToolStripMenuItem,
                this.openToolStripMenuItem,
                this.toolStripSeparator1,
                this.saveToolStripMenuItem,
                this.saveAsToolStripMenuItem,
                this.toolStripSeparator2,
                this.exitToolStripMenuItem
            });
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
            this.fileToolStripMenuItem.Text = "File";
            //
            // newToolStripMenuItem
            //
            this.newToolStripMenuItem.Name   = "newToolStripMenuItem";
            this.newToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.newToolStripMenuItem.Text   = "New";
            this.newToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // openToolStripMenuItem
            //
            this.openToolStripMenuItem.Name   = "openToolStripMenuItem";
            this.openToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.openToolStripMenuItem.Text   = "Open...";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(120, 6);
            //
            // saveToolStripMenuItem
            //
            this.saveToolStripMenuItem.Name   = "saveToolStripMenuItem";
            this.saveToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveToolStripMenuItem.Text   = "Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // saveAsToolStripMenuItem
            //
            this.saveAsToolStripMenuItem.Name   = "saveAsToolStripMenuItem";
            this.saveAsToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveAsToolStripMenuItem.Text   = "Save As...";
            this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(120, 6);
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.exitToolStripMenuItem.Text   = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStrip1
            //
            this.toolStrip1.BackColor = System.Drawing.Color.White;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripButton4,
                this.toolStripButton1,
                this.toolStripButton3,
                this.toolStripButton2,
                this.toolStripSeparator5,
                this.toolStripButton7,
                this.toolStripButton8,
                this.toolStripSeparator6,
                this.toolStripButton5,
                this.toolStripButton6,
                this.toolStripSeparator7,
                this.toolStripButton9,
                this.toolStripButton10,
                this.toolStripSeparator8,
                this.toolStripButton12,
                this.toolStripButton11,
                this.toolStripSeparator3,
                this.highlightItem,
                this.toolStripSplitButton1
            });
            this.toolStrip1.Location     = new System.Drawing.Point(10, 34);
            this.toolStrip1.Name         = "toolStrip1";
            this.toolStrip1.Size         = new System.Drawing.Size(651, 25);
            this.toolStrip1.TabIndex     = 8;
            this.toolStrip1.Text         = "toolStrip1";
            this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked);
            //
            // toolStripButton4
            //
            this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
            this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton4.Name = "toolStripButton4";
            this.toolStripButton4.Size = new System.Drawing.Size(75, 22);
            this.toolStripButton4.Tag  = "Move Up";
            this.toolStripButton4.Text = "Move Up";
            //
            // toolStripButton1
            //

            this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton1.Tag  = "Move Down";
            this.toolStripButton1.Text = "Move Down";
            //
            // toolStripButton3
            //

            this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
            this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton3.Name = "toolStripButton3";
            this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton3.Tag  = "Move Left";
            this.toolStripButton3.Text = "Move Left";
            //
            // toolStripButton2
            //

            this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
            this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton2.Name = "toolStripButton2";
            this.toolStripButton2.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton2.Tag  = "Move Right";
            this.toolStripButton2.Text = "Move Right";
            //
            // toolStripSeparator5
            //
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton7
            //
            this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
            this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton7.Name = "toolStripButton7";
            this.toolStripButton7.Size = new System.Drawing.Size(71, 22);
            this.toolStripButton7.Tag  = "Page Up";
            this.toolStripButton7.Text = "Page Up";
            //
            // toolStripButton8
            //

            this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image")));
            this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton8.Name = "toolStripButton8";
            this.toolStripButton8.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton8.Tag  = "Page Down";
            this.toolStripButton8.Text = "Page Down";
            //
            // toolStripSeparator6
            //
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton5
            //
            this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
            this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton5.Name = "toolStripButton5";
            this.toolStripButton5.Size = new System.Drawing.Size(76, 22);
            this.toolStripButton5.Tag  = "Line Start";
            this.toolStripButton5.Text = "Line Start";
            //
            // toolStripButton6
            //

            this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
            this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton6.Name = "toolStripButton6";
            this.toolStripButton6.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton6.Tag  = "Line End";
            this.toolStripButton6.Text = "Line End";
            //
            // toolStripSeparator7
            //
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton9
            //
            this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image")));
            this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton9.Name = "toolStripButton9";
            this.toolStripButton9.Size = new System.Drawing.Size(102, 22);
            this.toolStripButton9.Tag  = "Left One word";
            this.toolStripButton9.Text = "Left One word";
            //
            // toolStripButton10
            //

            this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image")));
            this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton10.Name = "toolStripButton10";
            this.toolStripButton10.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton10.Tag  = "Right One word";
            this.toolStripButton10.Text = "Right One word";
            //
            // toolStripSeparator8
            //
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton12
            //
            this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
            this.toolStripButton12.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton12.Name = "toolStripButton12";
            this.toolStripButton12.Size = new System.Drawing.Size(98, 22);
            this.toolStripButton12.Tag  = "Move to Start";
            this.toolStripButton12.Text = "Move to Start";
            //
            // toolStripButton11
            //

            this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
            this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton11.Name = "toolStripButton11";
            this.toolStripButton11.Size = new System.Drawing.Size(23, 22);
            this.toolStripButton11.Tag  = "Move to End";
            this.toolStripButton11.Text = "Move to End";
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
            //
            // highlightItem
            //
            this.highlightItem.Checked    = true;
            this.highlightItem.CheckState = System.Windows.Forms.CheckState.Checked;

            this.highlightItem.Image = ((System.Drawing.Image)(resources.GetObject("highlightItem.Image")));
            this.highlightItem.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.highlightItem.Name = "highlightItem";
            this.highlightItem.Size = new System.Drawing.Size(23, 20);
            this.highlightItem.Tag  = "Highlight current line";
            this.highlightItem.Text = "Highlight current line";
            //
            // toolStripSplitButton1
            //

            this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
            this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripSplitButton1.Name = "toolStripSplitButton1";
            this.toolStripSplitButton1.Size = new System.Drawing.Size(23, 20);
            this.toolStripSplitButton1.Tag  = "Change HighlightColor";
            this.toolStripSplitButton1.Text = "Change HighlightColor";
            //
            // 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(671, 445);
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.menuStrip1);
            this.DropShadow       = true;
            this.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
            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(683, 482);
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "Text Navigation";
            this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            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()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.SaveOnClose              = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.Size                     = new System.Drawing.Size(522, 417);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex         = 0;
            this.editControl1.Text             = "";
            this.editControl1.UseXPStyleBorder = true;
            this.editControl1.VisualColumn     = 1;
            this.editControl1.WordWrap         = true;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("language");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem2,
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.parentBarItem3,
                this.barItem6,
                this.barItem7
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem2,
                this.parentBarItem3
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 0;
            this.parentBarItem2.ID            = "File";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "File";
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName            = "parentBarItem1";
            this.parentBarItem1.CategoryIndex      = 0;
            this.parentBarItem1.ID                 = "New";
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Style              = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text               = "New";
            this.parentBarItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "Open";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Open";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Save";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Save";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "SaveAs";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "SaveAs";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Close";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Close";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Exit";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Exit";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 1;
            this.parentBarItem3.ID            = "Language";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem6,
                this.barItem7
            });
            this.parentBarItem3.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text = "Language";
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 1;
            this.barItem6.ID                 = "C# Snippets";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "C# Snippets";
            this.barItem6.Click             += new System.EventHandler(this.CSharpCodeSnippets_Click);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Vb Snippets";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Vb Snippets";
            this.barItem7.Click             += new System.EventHandler(this.VBCodeSnippets_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(542, 466);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.MinimumSize   = new System.Drawing.Size(554, 503);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Code Snippets";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #7
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowSelectionMargin      = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(518, 394);
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "editControl1";
            this.editControl1.TransferFocusOnTab       = true;
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem7,
                this.barItem8
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem7,
                this.barItem8
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "JumpToStart";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "JumpToStart";
            this.barItem7.Click             += new System.EventHandler(this.menuItem9_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 0;
            this.barItem8.ID                 = "JumpToEnd";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "JumpToEnd";
            this.barItem8.Click             += new System.EventHandler(this.menuItem10_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(538, 443);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(550, 480);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Indentation Guidelines";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #8
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.statusBarPanel1      = new System.Windows.Forms.StatusBarPanel();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem15      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem16      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem13      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem14      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.FixedSingle;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(0, 29);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowSelectionMargin      = false;
            this.editControl1.Size                     = new System.Drawing.Size(542, 394);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;

            this.editControl1.TabIndex              = 0;
            this.editControl1.Text                  = "editControl1";
            this.editControl1.TransferFocusOnTab    = true;
            this.editControl1.UseXPStyleBorder      = true;
            this.editControl1.VisualColumn          = 1;
            this.editControl1.WordWrap              = true;
            this.editControl1.ContextChoiceOpen    += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen);
            this.editControl1.ContextChoiceClose   += new Syncfusion.Windows.Forms.Edit.ContextChoiceCloseEventHandler(this.editControl1_ContextChoiceClose);
            this.editControl1.ContextPromptOpen    += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen);
            this.editControl1.UpdateContextToolTip += new Syncfusion.Windows.Forms.Edit.UpdateTooltipEventHandler(this.editControl1_UpdateContextToolTip);
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            this.imageList1.Images.SetKeyName(3, "");
            this.imageList1.Images.SetKeyName(4, "");
            this.imageList1.Images.SetKeyName(5, "");
            this.imageList1.Images.SetKeyName(6, "");
            this.imageList1.Images.SetKeyName(7, "");
            //
            // statusBarPanel1
            //
            this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.statusBarPanel1.Name     = "statusBarPanel1";
            this.statusBarPanel1.Width    = 525;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Intellisense");
            this.mainFrameBarManager1.Categories.Add("VisualStyle");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem9,
                this.barItem10,
                this.barItem11,
                this.parentBarItem3,
                this.barItem15,
                this.barItem16,
                this.barItem12,
                this.barItem13,
                this.barItem14
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem3,
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text  = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "ToogleXPThemes";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "ToogleXPThemes";
            this.barItem7.Click             += new System.EventHandler(this.menuItem10_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "IntellisensePopups";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.parentBarItem2.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "IntellisensePopups";
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Context Tooltip";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Context Tooltip";
            this.barItem9.Click             += new System.EventHandler(this.IntellisensePopupsClick);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Context Prompt";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Context Prompt";
            this.barItem10.Click             += new System.EventHandler(this.IntellisensePopupsClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Context Choice";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Context Choice";
            this.barItem11.Click             += new System.EventHandler(this.IntellisensePopupsClick);
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 2;
            this.parentBarItem3.ID            = "VisualStyle";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem15,
                this.barItem16,
                this.barItem12,
                this.barItem13,
                this.barItem14
            });
            this.parentBarItem3.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text          = "VisualStyle";
            this.barItem15.BarName            = "barItem10";
            this.barItem15.CategoryIndex      = 2;
            this.barItem15.ID                 = "Default";
            this.barItem15.ShowToolTipInPopUp = false;
            this.barItem15.SizeToFit          = true;
            this.barItem15.Text               = "Default";
            this.barItem15.Click             += new System.EventHandler(this.SplittersMenuClick);

            this.barItem16.BarName            = "barItem11";
            this.barItem16.CategoryIndex      = 2;
            this.barItem16.ID                 = "Office2016White";
            this.barItem16.ShowToolTipInPopUp = false;
            this.barItem16.SizeToFit          = true;
            this.barItem16.Text               = "Office2016White";
            this.barItem16.Click             += new System.EventHandler(this.SplittersMenuClick);
            this.barItem16.Checked            = true;
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 2;
            this.barItem12.ID                 = "Office2016Colorful";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "Office2016Colorful";
            this.barItem12.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem13
            //
            this.barItem13.BarName            = "barItem13";
            this.barItem13.CategoryIndex      = 2;
            this.barItem13.ID                 = "Office2016DarkGray";
            this.barItem13.ShowToolTipInPopUp = false;
            this.barItem13.SizeToFit          = true;
            this.barItem13.Text               = "Office2016DarkGray";
            this.barItem13.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CategoryIndex      = 2;
            this.barItem14.ID                 = "Office2016Black";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "Office2016Black";
            this.barItem14.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // 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(542, 445);
            this.Controls.Add(this.editControl1);
            this.DropShadow       = true;
            this.Font             = new System.Drawing.Font("Segoe UI", 8.25F);
            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(554, 482);
            this.Name             = "Form1";
            this.Padding          = new System.Windows.Forms.Padding(10);
            this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text             = "Themes Support";
            this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #9
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1                   = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.toolStrip1                     = new System.Windows.Forms.ToolStrip();
            this.toolStripLabel1                = new System.Windows.Forms.ToolStripLabel();
            this.toolStripButton1               = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1            = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton2               = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator2            = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton3               = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3            = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton4               = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator4            = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton5               = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5            = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton6               = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8            = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripButton7               = new System.Windows.Forms.ToolStripButton();
            this.menuStrip1                     = new System.Windows.Forms.MenuStrip();
            this.fielToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
            this.newToolStripMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator6            = new System.Windows.Forms.ToolStripSeparator();
            this.saveToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
            this.saveAsToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator7            = new System.Windows.Forms.ToolStripSeparator();
            this.closeToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
            this.exitToolStripMenuItem          = new System.Windows.Forms.ToolStripMenuItem();
            this.setTextToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
            this.textPanelToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
            this.fileNamePanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.statusPanelToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            this.encodngPanelToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
            this.positToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
            this.insertPanelToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.toolStrip1.SuspendLayout();
            this.menuStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                 = new System.Drawing.Point(10, 59);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowSelectionMargin      = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(522, 376);

            this.editControl1.StatusBarSettings.GripVisibility = Syncfusion.Windows.Forms.Edit.Enums.SizingGripVisibility.Visible;

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.StatusBarSettings.StatusPanel.Width  = 100;
            this.editControl1.StatusBarSettings.Visible            = true;
            this.editControl1.TabIndex           = 0;
            this.editControl1.Text               = "";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            this.editControl1.WordWrap           = true;
            //
            // toolStrip1
            //
            this.toolStrip1.BackColor = System.Drawing.Color.White;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.toolStripLabel1,
                this.toolStripButton1,
                this.toolStripSeparator1,
                this.toolStripButton2,
                this.toolStripSeparator2,
                this.toolStripButton3,
                this.toolStripSeparator3,
                this.toolStripButton4,
                this.toolStripSeparator4,
                this.toolStripButton5,
                this.toolStripSeparator5,
                this.toolStripButton6,
                this.toolStripSeparator8,
                this.toolStripButton7
            });
            this.toolStrip1.Location     = new System.Drawing.Point(10, 34);
            this.toolStrip1.Name         = "toolStrip1";
            this.toolStrip1.Size         = new System.Drawing.Size(522, 25);
            this.toolStrip1.TabIndex     = 1;
            this.toolStrip1.Text         = "toolStrip1";
            this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.VisibilityMenuClick);
            //
            // toolStripLabel1
            //
            this.toolStripLabel1.Name = "toolStripLabel1";
            this.toolStripLabel1.Size = new System.Drawing.Size(99, 22);
            this.toolStripLabel1.Text = "Status Bar Panels:";
            //
            // toolStripButton1
            //
            this.toolStripButton1.Checked               = true;
            this.toolStripButton1.CheckState            = System.Windows.Forms.CheckState.Checked;
            this.toolStripButton1.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButton1.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
            this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton1.Name = "toolStripButton1";
            this.toolStripButton1.Size = new System.Drawing.Size(33, 22);
            this.toolStripButton1.Text = "Text";
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton2
            //
            this.toolStripButton2.Checked               = true;
            this.toolStripButton2.CheckState            = System.Windows.Forms.CheckState.Checked;
            this.toolStripButton2.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButton2.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
            this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton2.Name = "toolStripButton2";
            this.toolStripButton2.Size = new System.Drawing.Size(61, 22);
            this.toolStripButton2.Text = "FileName";
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton3
            //
            this.toolStripButton3.Checked               = true;
            this.toolStripButton3.CheckState            = System.Windows.Forms.CheckState.Checked;
            this.toolStripButton3.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButton3.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
            this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton3.Name = "toolStripButton3";
            this.toolStripButton3.Size = new System.Drawing.Size(43, 22);
            this.toolStripButton3.Text = "Status";
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton4
            //
            this.toolStripButton4.Checked               = true;
            this.toolStripButton4.CheckState            = System.Windows.Forms.CheckState.Checked;
            this.toolStripButton4.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButton4.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
            this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton4.Name = "toolStripButton4";
            this.toolStripButton4.Size = new System.Drawing.Size(61, 22);
            this.toolStripButton4.Text = "Encoding";
            //
            // toolStripSeparator4
            //
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton5
            //
            this.toolStripButton5.Checked               = true;
            this.toolStripButton5.CheckState            = System.Windows.Forms.CheckState.Checked;
            this.toolStripButton5.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButton5.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
            this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton5.Name = "toolStripButton5";
            this.toolStripButton5.Size = new System.Drawing.Size(54, 22);
            this.toolStripButton5.Text = "Position";
            //
            // toolStripSeparator5
            //
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton6
            //
            this.toolStripButton6.Checked               = true;
            this.toolStripButton6.CheckState            = System.Windows.Forms.CheckState.Checked;
            this.toolStripButton6.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButton6.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
            this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton6.Name = "toolStripButton6";
            this.toolStripButton6.Size = new System.Drawing.Size(40, 22);
            this.toolStripButton6.Text = "Insert";
            //
            // toolStripSeparator8
            //
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25);
            //
            // toolStripButton7
            //
            this.toolStripButton7.Checked               = true;
            this.toolStripButton7.CheckState            = System.Windows.Forms.CheckState.Checked;
            this.toolStripButton7.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripButton7.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
            this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripButton7.Name = "toolStripButton7";
            this.toolStripButton7.Size = new System.Drawing.Size(83, 22);
            this.toolStripButton7.Text = "Sizing gripper";
            //
            // menuStrip1
            //
            this.menuStrip1.BackColor = System.Drawing.Color.White;
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.fielToolStripMenuItem,
                this.setTextToolStripMenuItem
            });
            this.menuStrip1.Location = new System.Drawing.Point(10, 10);
            this.menuStrip1.Name     = "menuStrip1";
            this.menuStrip1.Size     = new System.Drawing.Size(522, 24);
            this.menuStrip1.TabIndex = 2;
            this.menuStrip1.Text     = "menuStrip1";
            //
            // fielToolStripMenuItem
            //
            this.fielToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.newToolStripMenuItem,
                this.openToolStripMenuItem,
                this.toolStripSeparator6,
                this.saveToolStripMenuItem,
                this.saveAsToolStripMenuItem,
                this.toolStripSeparator7,
                this.closeToolStripMenuItem,
                this.exitToolStripMenuItem
            });
            this.fielToolStripMenuItem.Name = "fielToolStripMenuItem";
            this.fielToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
            this.fielToolStripMenuItem.Text = "File";
            //
            // newToolStripMenuItem
            //
            this.newToolStripMenuItem.Name   = "newToolStripMenuItem";
            this.newToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.newToolStripMenuItem.Text   = "New";
            this.newToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // openToolStripMenuItem
            //
            this.openToolStripMenuItem.Name   = "openToolStripMenuItem";
            this.openToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.openToolStripMenuItem.Text   = "Open...";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator6
            //
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(120, 6);
            //
            // saveToolStripMenuItem
            //
            this.saveToolStripMenuItem.Name   = "saveToolStripMenuItem";
            this.saveToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveToolStripMenuItem.Text   = "Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // saveAsToolStripMenuItem
            //
            this.saveAsToolStripMenuItem.Name   = "saveAsToolStripMenuItem";
            this.saveAsToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.saveAsToolStripMenuItem.Text   = "Save As...";
            this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // toolStripSeparator7
            //
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(120, 6);
            //
            // closeToolStripMenuItem
            //
            this.closeToolStripMenuItem.Name   = "closeToolStripMenuItem";
            this.closeToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.closeToolStripMenuItem.Text   = "Close";
            this.closeToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // exitToolStripMenuItem
            //
            this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
            this.exitToolStripMenuItem.Text   = "Exit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick);
            //
            // setTextToolStripMenuItem
            //
            this.setTextToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.textPanelToolStripMenuItem,
                this.fileNamePanelToolStripMenuItem,
                this.statusPanelToolStripMenuItem,
                this.encodngPanelToolStripMenuItem,
                this.positToolStripMenuItem,
                this.insertPanelToolStripMenuItem
            });
            this.setTextToolStripMenuItem.Name = "setTextToolStripMenuItem";
            this.setTextToolStripMenuItem.Size = new System.Drawing.Size(63, 20);
            this.setTextToolStripMenuItem.Text = "Set Text ";
            //
            // textPanelToolStripMenuItem
            //
            this.textPanelToolStripMenuItem.Name   = "textPanelToolStripMenuItem";
            this.textPanelToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
            this.textPanelToolStripMenuItem.Text   = "Text Panel";
            this.textPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick);
            //
            // fileNamePanelToolStripMenuItem
            //
            this.fileNamePanelToolStripMenuItem.Name   = "fileNamePanelToolStripMenuItem";
            this.fileNamePanelToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
            this.fileNamePanelToolStripMenuItem.Text   = "FileName Panel";
            this.fileNamePanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick);
            //
            // statusPanelToolStripMenuItem
            //
            this.statusPanelToolStripMenuItem.Name   = "statusPanelToolStripMenuItem";
            this.statusPanelToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
            this.statusPanelToolStripMenuItem.Text   = "Status Panel";
            this.statusPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick);
            //
            // encodngPanelToolStripMenuItem
            //
            this.encodngPanelToolStripMenuItem.Name   = "encodngPanelToolStripMenuItem";
            this.encodngPanelToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
            this.encodngPanelToolStripMenuItem.Text   = "Encoding Panel";
            this.encodngPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick);
            //
            // positToolStripMenuItem
            //
            this.positToolStripMenuItem.Name   = "positToolStripMenuItem";
            this.positToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
            this.positToolStripMenuItem.Text   = "Position Panel";
            this.positToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick);
            //
            // insertPanelToolStripMenuItem
            //
            this.insertPanelToolStripMenuItem.Name   = "insertPanelToolStripMenuItem";
            this.insertPanelToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
            this.insertPanelToolStripMenuItem.Text   = "Insert Panel";
            this.insertPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(542, 445);
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.menuStrip1);
            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.MainMenuStrip = this.menuStrip1;
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "StatusBar";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #10
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor                            = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle                          = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize                       = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                         = config1;
            this.editControl1.Dock                                 = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor             = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont                      = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                             = new System.Drawing.Point(10, 42);
            this.editControl1.Name                                 = "editControl1";
            this.editControl1.RenderRightToLeft                    = false;
            this.editControl1.ScrollPosition                       = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle                    = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters              = false;
            this.editControl1.ShowIndicatorMargin                  = false;
            this.editControl1.ShowOutliningCollapsers              = false;
            this.editControl1.ShowVerticalSplitters                = false;
            this.editControl1.Size                                 = new System.Drawing.Size(572, 431);
            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex                             = 0;
            this.editControl1.Text                                 = "edtCode";
            this.editControl1.TransferFocusOnTab                   = true;
            this.editControl1.UseXPStyleBorder                     = true;
            this.editControl1.VisualColumn                         = 1;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("export");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2,
                this.barItem7,
                this.barItem8,
                this.barItem9,
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "ExportMenu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem8,
                this.barItem9,
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Export Options";
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Save as RTF";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "RTF";
            this.barItem7.Click             += new System.EventHandler(this.ExportMenuClick);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Save as HTML";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "HTML";
            this.barItem8.Click             += new System.EventHandler(this.ExportMenuClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Save as XML";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "XML";
            this.barItem9.Click             += new System.EventHandler(this.ExportMenuClick);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Get RTF Source";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Get RTF Source";
            this.barItem10.Click             += new System.EventHandler(this.ExportMenuClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Get HTML Source";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Get HTML Source";
            this.barItem11.Click             += new System.EventHandler(this.ExportMenuClick);
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 1;
            this.barItem12.ID                 = "Get XML Source";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "Get XML Source";
            this.barItem12.Click             += new System.EventHandler(this.ExportMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(572, 460);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(584, 497);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Export Demo";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #11
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BorderStyle            = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize         = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator           = config1;
            this.editControl1.ContextChoiceForeColor = System.Drawing.SystemColors.InfoText;
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location          = new System.Drawing.Point(10, 42);
            this.editControl1.Name              = "editControl1";
            this.editControl1.RenderRightToLeft = false;
            this.editControl1.ScrollPosition    = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.Size              = new System.Drawing.Size(522, 394);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 80;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
            this.editControl1.TabIndex         = 0;
            this.editControl1.Text             = "editControl1\n";
            this.editControl1.UseXPStyleBorder = true;
            this.editControl1.VisualColumn     = 1;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Splitter");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text       = "&File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "&SplittersMenu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text       = "&Splitter Options";
            this.parentBarItem2.WrapLength = 20;
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Show Vertical splitters";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Show Vertical Splitters";
            this.barItem7.Checked            = true;
            this.barItem7.Click             += new System.EventHandler(this.SplittersMenuClick);

            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Show Horizontal Splitters";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Show Horizontal Splitters";
            this.barItem8.Checked            = true;
            this.barItem8.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Split into horizontal halves";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Split Horizontally";
            this.barItem7.Checked            = true;
            this.barItem9.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Split into Vertical halves";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Split Vertically";
            this.barItem10.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Split Quadrantly";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Split Quadrantly";
            this.barItem11.Click             += new System.EventHandler(this.SplittersMenuClick);
            //
            // 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.ClientSize               = new System.Drawing.Size(542, 446);
            this.CaptionAlign             = System.Windows.Forms.HorizontalAlignment.Left;
            this.CaptionFont              = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.CaptionForeColor         = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.CaptionVerticalAlignment = Syncfusion.Windows.Forms.VerticalAlignment.Bottom;
            this.Controls.Add(this.editControl1);
            this.DropShadow    = true;
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MetroColor    = System.Drawing.Color.White;
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Split Views";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
     System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Filter));
     this.comboBox1                      = new System.Windows.Forms.ComboBox();
     this.label1                         = new System.Windows.Forms.Label();
     this.comboBox2                      = new System.Windows.Forms.ComboBox();
     this.label2                         = new System.Windows.Forms.Label();
     this.button1                        = new System.Windows.Forms.Button();
     this.editControl1                   = new Syncfusion.Windows.Forms.Edit.EditControl();
     this.menuStrip1                     = new System.Windows.Forms.MenuStrip();
     this.editorToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.splitInHalfToolStripMenuItem   = new System.Windows.Forms.ToolStripMenuItem();
     this.splitVerticleToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.fourQuadrantsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
     this.menuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] {
         "Row"
     });
     this.comboBox1.Location              = new System.Drawing.Point(162, 31);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(95, 21);
     this.comboBox1.TabIndex              = 0;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(93, 34);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(44, 13);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Filter By";
     this.label1.Click   += new System.EventHandler(this.label1_Click);
     //
     // comboBox2
     //
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Items.AddRange(new object[] {
         "Like",
         "Custom"
     });
     this.comboBox2.Location = new System.Drawing.Point(162, 68);
     this.comboBox2.Name     = "comboBox2";
     this.comboBox2.Size     = new System.Drawing.Size(95, 21);
     this.comboBox2.TabIndex = 2;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(93, 71);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(35, 13);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Query";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(150, 256);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(107, 36);
     this.button1.TabIndex = 5;
     this.button1.Text     = "Filter";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // editControl1
     //
     this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
     this.editControl1.Configurator             = config1;
     this.editControl1.ContextChoiceForeColor   = System.Drawing.SystemColors.InfoText;
     this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
     this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.editControl1.Location          = new System.Drawing.Point(12, 100);
     this.editControl1.Name              = "editControl1";
     this.editControl1.RenderRightToLeft = false;
     this.editControl1.ScrollPosition    = new System.Drawing.Point(0, 0);
     this.editControl1.Size              = new System.Drawing.Size(407, 150);
     this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
     this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
     this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
     this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
     this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
     this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
     this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
     this.editControl1.StatusBarSettings.TextPanel.Width       = 214;
     this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
     this.editControl1.TabIndex         = 6;
     this.editControl1.Text             = "";
     this.editControl1.UseXPStyleBorder = true;
     this.editControl1.VisualColumn     = 1;
     //
     // menuStrip1
     //
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.editorToolStripMenuItem
     });
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name     = "menuStrip1";
     this.menuStrip1.Size     = new System.Drawing.Size(431, 24);
     this.menuStrip1.TabIndex = 7;
     this.menuStrip1.Text     = "menuStrip1";
     //
     // editorToolStripMenuItem
     //
     this.editorToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.splitInHalfToolStripMenuItem,
         this.splitVerticleToolStripMenuItem,
         this.fourQuadrantsToolStripMenuItem
     });
     this.editorToolStripMenuItem.Name = "editorToolStripMenuItem";
     this.editorToolStripMenuItem.Size = new System.Drawing.Size(50, 20);
     this.editorToolStripMenuItem.Text = "Editor";
     //
     // splitInHalfToolStripMenuItem
     //
     this.splitInHalfToolStripMenuItem.Name   = "splitInHalfToolStripMenuItem";
     this.splitInHalfToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
     this.splitInHalfToolStripMenuItem.Text   = "Split Horizontal";
     this.splitInHalfToolStripMenuItem.Click += new System.EventHandler(this.splitInHalfToolStripMenuItem_Click);
     //
     // splitVerticleToolStripMenuItem
     //
     this.splitVerticleToolStripMenuItem.Name   = "splitVerticleToolStripMenuItem";
     this.splitVerticleToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
     this.splitVerticleToolStripMenuItem.Text   = "Split Verticle";
     this.splitVerticleToolStripMenuItem.Click += new System.EventHandler(this.splitVerticleToolStripMenuItem_Click);
     //
     // fourQuadrantsToolStripMenuItem
     //
     this.fourQuadrantsToolStripMenuItem.Name   = "fourQuadrantsToolStripMenuItem";
     this.fourQuadrantsToolStripMenuItem.Size   = new System.Drawing.Size(156, 22);
     this.fourQuadrantsToolStripMenuItem.Text   = "Four Quadrants";
     this.fourQuadrantsToolStripMenuItem.Click += new System.EventHandler(this.fourQuadrantsToolStripMenuItem_Click);
     //
     // Filter
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(431, 304);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.comboBox2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.editControl1);
     this.Controls.Add(this.menuStrip1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.menuStrip1;
     this.Name          = "Filter";
     this.Text          = "Filter";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.Filter_Closing);
     this.Load         += new System.EventHandler(this.Filter_Load);
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #13
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CentralConfigManager));
            this.comboScope = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            this.autoLabel1 = new Syncfusion.Windows.Forms.Tools.AutoLabel();
            this.autoLabel2 = new Syncfusion.Windows.Forms.Tools.AutoLabel();
            this.autoLabel3 = new Syncfusion.Windows.Forms.Tools.AutoLabel();
            this.autoLabel4 = new Syncfusion.Windows.Forms.Tools.AutoLabel();
            this.txtConfigName2 = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.txtConfigName = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.comboNameSpace = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            this.xmlViewer = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.popupConfigValue = new Syncfusion.Windows.Forms.PopupControlContainer(this.components);
            this.button2 = new System.Windows.Forms.Button();
            this.btnOkConfigValue = new System.Windows.Forms.Button();
            this.popupMenusManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenusManager(this.components);
            this.txtConfigValue = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.autoLabel5 = new Syncfusion.Windows.Forms.Tools.AutoLabel();
            this.btnValuePopup = new System.Windows.Forms.Button();
            this.btnSave = new System.Windows.Forms.Button();
            this.button4 = new System.Windows.Forms.Button();
            this.btnNewScope = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.comboScope)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboNameSpace)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xmlViewer)).BeginInit();
            this.popupConfigValue.SuspendLayout();
            this.SuspendLayout();
            // 
            // comboScope
            // 
            this.comboScope.IgnoreThemeBackground = true;
            this.comboScope.Location = new System.Drawing.Point(132, 32);
            this.comboScope.Name = "comboScope";
            this.comboScope.Size = new System.Drawing.Size(215, 21);
            this.comboScope.TabIndex = 4;
            this.comboScope.SelectedValueChanged += new System.EventHandler(this.comboScope_SelectedValueChanged);
            // 
            // autoLabel1
            // 
            this.autoLabel1.DX = 0;
            this.autoLabel1.DY = 0;
            this.autoLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.autoLabel1.Location = new System.Drawing.Point(72, 32);
            this.autoLabel1.Name = "autoLabel1";
            this.autoLabel1.Size = new System.Drawing.Size(43, 13);
            this.autoLabel1.TabIndex = 5;
            this.autoLabel1.Text = "Scope";
            // 
            // autoLabel2
            // 
            this.autoLabel2.DX = 0;
            this.autoLabel2.DY = 0;
            this.autoLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.autoLabel2.Location = new System.Drawing.Point(53, 77);
            this.autoLabel2.Name = "autoLabel2";
            this.autoLabel2.Size = new System.Drawing.Size(73, 13);
            this.autoLabel2.TabIndex = 6;
            this.autoLabel2.Text = "Namespace";
            // 
            // autoLabel3
            // 
            this.autoLabel3.DX = 0;
            this.autoLabel3.DY = 0;
            this.autoLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.autoLabel3.Location = new System.Drawing.Point(87, 127);
            this.autoLabel3.Name = "autoLabel3";
            this.autoLabel3.Size = new System.Drawing.Size(39, 13);
            this.autoLabel3.TabIndex = 7;
            this.autoLabel3.Text = "Name";
            // 
            // autoLabel4
            // 
            this.autoLabel4.DX = 0;
            this.autoLabel4.DY = 0;
            this.autoLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.autoLabel4.Location = new System.Drawing.Point(80, 165);
            this.autoLabel4.Name = "autoLabel4";
            this.autoLabel4.Size = new System.Drawing.Size(46, 13);
            this.autoLabel4.TabIndex = 8;
            this.autoLabel4.Text = "Name2";
            // 
            // txtConfigName2
            // 
            this.txtConfigName2.Location = new System.Drawing.Point(132, 158);
            this.txtConfigName2.Name = "txtConfigName2";
            this.txtConfigName2.OverflowIndicatorToolTipText = null;
            this.txtConfigName2.Size = new System.Drawing.Size(303, 20);
            this.txtConfigName2.TabIndex = 9;
            // 
            // txtConfigName
            // 
            this.txtConfigName.Location = new System.Drawing.Point(132, 120);
            this.txtConfigName.Name = "txtConfigName";
            this.txtConfigName.OverflowIndicatorToolTipText = null;
            this.txtConfigName.Size = new System.Drawing.Size(303, 20);
            this.txtConfigName.TabIndex = 10;
            // 
            // comboNameSpace
            // 
            this.comboNameSpace.IgnoreThemeBackground = true;
            this.comboNameSpace.Location = new System.Drawing.Point(132, 77);
            this.comboNameSpace.Name = "comboNameSpace";
            this.comboNameSpace.Size = new System.Drawing.Size(215, 21);
            this.comboNameSpace.TabIndex = 11;
            // 
            // xmlViewer
            // 
            this.xmlViewer.AlwaysShowScrollers = true;
            this.xmlViewer.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.xmlViewer.Configurator = config1;
            this.xmlViewer.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xmlViewer.Location = new System.Drawing.Point(3, 3);
            this.xmlViewer.Name = "xmlViewer";
            this.xmlViewer.SaveOnClose = false;
            this.xmlViewer.ScrollPosition = new System.Drawing.Point(0, 0);
            this.xmlViewer.SharedFileMode = true;
            this.xmlViewer.Size = new System.Drawing.Size(573, 118);
            this.xmlViewer.StatusBarSettings.StatusPanel.MinWidth = 70;
            this.xmlViewer.StatusBarSettings.TextPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.xmlViewer.TabIndex = 12;
            this.xmlViewer.Text = "";
            this.xmlViewer.VisualColumn = 1;
            // 
            // popupConfigValue
            // 
            this.popupConfigValue.Controls.Add(this.button2);
            this.popupConfigValue.Controls.Add(this.btnOkConfigValue);
            this.popupConfigValue.Controls.Add(this.xmlViewer);
            this.popupConfigValue.Location = new System.Drawing.Point(6, 310);
            this.popupConfigValue.Name = "popupConfigValue";
            this.popupConfigValue.Size = new System.Drawing.Size(576, 155);
            this.popupConfigValue.TabIndex = 13;
            this.popupConfigValue.Visible = false;
            this.popupConfigValue.CloseUp += new Syncfusion.Windows.Forms.PopupClosedEventHandler(this.popupConfigValue_CloseUp);
            this.popupConfigValue.BeforePopup += new System.ComponentModel.CancelEventHandler(this.popupConfigValue_BeforePopup);
            this.popupConfigValue.Popup += new System.EventHandler(this.popupConfigValue_Popup);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(300, 127);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 23);
            this.button2.TabIndex = 14;
            this.button2.Text = "Cancel";
            this.button2.UseVisualStyleBackColor = true;
            // 
            // btnOkConfigValue
            // 
            this.btnOkConfigValue.Location = new System.Drawing.Point(202, 127);
            this.btnOkConfigValue.Name = "btnOkConfigValue";
            this.btnOkConfigValue.Size = new System.Drawing.Size(75, 23);
            this.btnOkConfigValue.TabIndex = 13;
            this.btnOkConfigValue.Text = "OK";
            this.btnOkConfigValue.UseVisualStyleBackColor = true;
            this.btnOkConfigValue.Click += new System.EventHandler(this.btnOkConfigValue_Click);
            // 
            // txtConfigValue
            // 
            this.txtConfigValue.Location = new System.Drawing.Point(132, 191);
            this.txtConfigValue.Name = "txtConfigValue";
            this.txtConfigValue.OverflowIndicatorToolTipText = null;
            this.txtConfigValue.Size = new System.Drawing.Size(303, 20);
            this.txtConfigValue.TabIndex = 15;
            // 
            // autoLabel5
            // 
            this.autoLabel5.DX = 0;
            this.autoLabel5.DY = 0;
            this.autoLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.autoLabel5.Location = new System.Drawing.Point(80, 191);
            this.autoLabel5.Name = "autoLabel5";
            this.autoLabel5.Size = new System.Drawing.Size(39, 13);
            this.autoLabel5.TabIndex = 14;
            this.autoLabel5.Text = "Value";
            // 
            // btnValuePopup
            // 
            this.btnValuePopup.Image = ((System.Drawing.Image)(resources.GetObject("btnValuePopup.Image")));
            this.btnValuePopup.Location = new System.Drawing.Point(441, 191);
            this.btnValuePopup.Name = "btnValuePopup";
            this.btnValuePopup.Size = new System.Drawing.Size(26, 20);
            this.btnValuePopup.TabIndex = 17;
            this.btnValuePopup.Click += new System.EventHandler(this.btnValuePopup_Click);
            // 
            // btnSave
            // 
            this.btnSave.Location = new System.Drawing.Point(182, 236);
            this.btnSave.Name = "btnSave";
            this.btnSave.Size = new System.Drawing.Size(75, 23);
            this.btnSave.TabIndex = 18;
            this.btnSave.Text = "Save";
            this.btnSave.UseVisualStyleBackColor = true;
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // button4
            // 
            this.button4.Location = new System.Drawing.Point(272, 236);
            this.button4.Name = "button4";
            this.button4.Size = new System.Drawing.Size(75, 23);
            this.button4.TabIndex = 19;
            this.button4.Text = "Cancel";
            this.button4.UseVisualStyleBackColor = true;
            // 
            // btnNewScope
            // 
            this.btnNewScope.Location = new System.Drawing.Point(360, 32);
            this.btnNewScope.Name = "btnNewScope";
            this.btnNewScope.Size = new System.Drawing.Size(75, 23);
            this.btnNewScope.TabIndex = 20;
            this.btnNewScope.Text = "New Scope";
            this.btnNewScope.UseVisualStyleBackColor = true;
            // 
            // CentralConfigManager
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.btnNewScope);
            this.Controls.Add(this.button4);
            this.Controls.Add(this.btnSave);
            this.Controls.Add(this.btnValuePopup);
            this.Controls.Add(this.txtConfigValue);
            this.Controls.Add(this.autoLabel5);
            this.Controls.Add(this.popupConfigValue);
            this.Controls.Add(this.comboNameSpace);
            this.Controls.Add(this.txtConfigName);
            this.Controls.Add(this.txtConfigName2);
            this.Controls.Add(this.autoLabel4);
            this.Controls.Add(this.autoLabel3);
            this.Controls.Add(this.autoLabel2);
            this.Controls.Add(this.autoLabel1);
            this.Controls.Add(this.comboScope);
            this.Name = "CentralConfigManager";
            this.Size = new System.Drawing.Size(582, 575);
            ((System.ComponentModel.ISupportInitialize)(this.comboScope)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboNameSpace)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xmlViewer)).EndInit();
            this.popupConfigValue.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
コード例 #14
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.dataGridView1 = new System.Windows.Forms.DataGridView();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.setAsStartupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.runToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.ddlSpecFolders = new System.Windows.Forms.ComboBox();
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.splitContainer2 = new System.Windows.Forms.SplitContainer();
            this.xmlViewer = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.pnlRunJob = new System.Windows.Forms.Panel();
            this.rbXmlRunOnce = new System.Windows.Forms.RadioButton();
            this.cmdRunOnce = new System.Windows.Forms.Button();
            this.txtSaveAs = new System.Windows.Forms.TextBox();
            this.cmdSaveAs = new System.Windows.Forms.Button();
            this.cmdEditor = new System.Windows.Forms.Button();
            this.rbXmlFinal = new System.Windows.Forms.RadioButton();
            this.rbXmlRaw = new System.Windows.Forms.RadioButton();
            this.cmdRun = new System.Windows.Forms.Button();
            this.panel1 = new System.Windows.Forms.Panel();
            this.xmlEditor = new BITS_UI.XmlEditor();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
            this.contextMenuStrip1.SuspendLayout();
            this.splitContainer2.Panel1.SuspendLayout();
            this.splitContainer2.Panel2.SuspendLayout();
            this.splitContainer2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xmlViewer)).BeginInit();
            this.pnlRunJob.SuspendLayout();
            this.SuspendLayout();
            // 
            // splitContainer1
            // 
            this.splitContainer1.AllowDrop = true;
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.dataGridView1);
            this.splitContainer1.Panel1.Controls.Add(this.ddlSpecFolders);
            this.splitContainer1.Panel1.Controls.Add(this.listBox1);
            this.splitContainer1.Panel1.Controls.Add(this.treeView1);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
            this.splitContainer1.Size = new System.Drawing.Size(840, 383);
            this.splitContainer1.SplitterDistance = 294;
            this.splitContainer1.TabIndex = 0;
            this.splitContainer1.DragOver += new System.Windows.Forms.DragEventHandler(this.splitContainer1_DragOver);
            this.splitContainer1.DragDrop += new System.Windows.Forms.DragEventHandler(this.splitContainer1_DragDrop);
            this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved);
            this.splitContainer1.DragEnter += new System.Windows.Forms.DragEventHandler(this.splitContainer1_DragEnter);
            // 
            // dataGridView1
            // 
            this.dataGridView1.AllowUserToAddRows = false;
            this.dataGridView1.AllowUserToDeleteRows = false;
            this.dataGridView1.AllowUserToResizeColumns = false;
            this.dataGridView1.AllowUserToResizeRows = false;
            this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.Window;
            this.dataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView1.ColumnHeadersVisible = false;
            this.dataGridView1.ContextMenuStrip = this.contextMenuStrip1;
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
            dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
            this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle2;
            this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.dataGridView1.Location = new System.Drawing.Point(0, 307);
            this.dataGridView1.MultiSelect = false;
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.ReadOnly = true;
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
            dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
            dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
            this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
            this.dataGridView1.RowHeadersVisible = false;
            dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle4;
            this.dataGridView1.RowTemplate.ContextMenuStrip = this.contextMenuStrip1;
            this.dataGridView1.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dataGridView1.RowTemplate.Height = 16;
            this.dataGridView1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.dataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
            this.dataGridView1.Size = new System.Drawing.Size(294, 76);
            this.dataGridView1.TabIndex = 2;
            this.dataGridView1.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dataGridView1_CellMouseDown);
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.DropShadowEnabled = false;
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.setAsStartupToolStripMenuItem,
            this.toolStripSeparator1,
            this.runToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(192, 54);
            // 
            // setAsStartupToolStripMenuItem
            // 
            this.setAsStartupToolStripMenuItem.Name = "setAsStartupToolStripMenuItem";
            this.setAsStartupToolStripMenuItem.Size = new System.Drawing.Size(191, 22);
            this.setAsStartupToolStripMenuItem.Text = "Toggle As Startup Job";
            this.setAsStartupToolStripMenuItem.Click += new System.EventHandler(this.setAsStartupToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(188, 6);
            // 
            // runToolStripMenuItem
            // 
            this.runToolStripMenuItem.Name = "runToolStripMenuItem";
            this.runToolStripMenuItem.Size = new System.Drawing.Size(191, 22);
            this.runToolStripMenuItem.Text = "View Job";
            this.runToolStripMenuItem.Click += new System.EventHandler(this.runToolStripMenuItem_Click);
            // 
            // ddlSpecFolders
            // 
            this.ddlSpecFolders.FormattingEnabled = true;
            this.ddlSpecFolders.Location = new System.Drawing.Point(2, 2);
            this.ddlSpecFolders.Name = "ddlSpecFolders";
            this.ddlSpecFolders.Size = new System.Drawing.Size(252, 21);
            this.ddlSpecFolders.TabIndex = 1;
            this.ddlSpecFolders.Visible = false;
            this.ddlSpecFolders.SelectedIndexChanged += new System.EventHandler(this.ddlSpecFolders_SelectedIndexChanged);
            // 
            // listBox1
            // 
            this.listBox1.ContextMenuStrip = this.contextMenuStrip1;
            this.listBox1.FormattingEnabled = true;
            this.listBox1.Location = new System.Drawing.Point(0, 258);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new System.Drawing.Size(188, 43);
            this.listBox1.Sorted = true;
            this.listBox1.TabIndex = 0;
            // 
            // treeView1
            // 
            this.treeView1.Location = new System.Drawing.Point(0, 29);
            this.treeView1.Name = "treeView1";
            this.treeView1.Size = new System.Drawing.Size(291, 223);
            this.treeView1.TabIndex = 3;
            // 
            // splitContainer2
            // 
            this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer2.Location = new System.Drawing.Point(0, 0);
            this.splitContainer2.Name = "splitContainer2";
            this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainer2.Panel1
            // 
            this.splitContainer2.Panel1.AllowDrop = true;
            this.splitContainer2.Panel1.Controls.Add(this.xmlViewer);
            this.splitContainer2.Panel1.Controls.Add(this.pnlRunJob);
            this.splitContainer2.Panel1.DragOver += new System.Windows.Forms.DragEventHandler(this.splitContainer2_Panel1_DragOver);
            this.splitContainer2.Panel1.DragDrop += new System.Windows.Forms.DragEventHandler(this.splitContainer2_Panel1_DragDrop);
            this.splitContainer2.Panel1.DragEnter += new System.Windows.Forms.DragEventHandler(this.splitContainer2_Panel1_DragEnter);
            // 
            // splitContainer2.Panel2
            // 
            this.splitContainer2.Panel2.Controls.Add(this.xmlEditor);
            this.splitContainer2.Size = new System.Drawing.Size(542, 383);
            this.splitContainer2.SplitterDistance = 213;
            this.splitContainer2.TabIndex = 2;
            this.splitContainer2.SplitterMoving += new System.Windows.Forms.SplitterCancelEventHandler(this.splitContainer2_SplitterMoving);
            this.splitContainer2.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer2_SplitterMoved);
            // 
            // xmlViewer
            // 
            this.xmlViewer.AlwaysShowScrollers = true;
            this.xmlViewer.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.xmlViewer.Configurator = config1;
            this.xmlViewer.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xmlViewer.Location = new System.Drawing.Point(0, 87);
            this.xmlViewer.Name = "xmlViewer";
            this.xmlViewer.SaveOnClose = false;
            this.xmlViewer.ScrollPosition = new System.Drawing.Point(0, 0);
            this.xmlViewer.SharedFileMode = true;
            this.xmlViewer.Size = new System.Drawing.Size(471, 123);
            this.xmlViewer.StatusBarSettings.StatusPanel.MinWidth = 70;
            this.xmlViewer.StatusBarSettings.TextPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.xmlViewer.TabIndex = 2;
            this.xmlViewer.Text = "";
            this.xmlViewer.Visible = false;
            this.xmlViewer.VisualColumn = 1;
            this.xmlViewer.Click += new System.EventHandler(this.xmlViewer_Click);
            this.xmlViewer.MenuFill += new System.EventHandler(this.xmlViewer_MenuFill);
            // 
            // pnlRunJob
            // 
            this.pnlRunJob.Controls.Add(this.rbXmlRunOnce);
            this.pnlRunJob.Controls.Add(this.cmdRunOnce);
            this.pnlRunJob.Controls.Add(this.txtSaveAs);
            this.pnlRunJob.Controls.Add(this.cmdSaveAs);
            this.pnlRunJob.Controls.Add(this.cmdEditor);
            this.pnlRunJob.Controls.Add(this.rbXmlFinal);
            this.pnlRunJob.Controls.Add(this.rbXmlRaw);
            this.pnlRunJob.Controls.Add(this.cmdRun);
            this.pnlRunJob.Controls.Add(this.panel1);
            this.pnlRunJob.Location = new System.Drawing.Point(3, 11);
            this.pnlRunJob.Name = "pnlRunJob";
            this.pnlRunJob.Size = new System.Drawing.Size(465, 70);
            this.pnlRunJob.TabIndex = 3;
            this.pnlRunJob.Visible = false;
            // 
            // rbXmlRunOnce
            // 
            this.rbXmlRunOnce.AutoSize = true;
            this.rbXmlRunOnce.Location = new System.Drawing.Point(219, 44);
            this.rbXmlRunOnce.Name = "rbXmlRunOnce";
            this.rbXmlRunOnce.Size = new System.Drawing.Size(74, 17);
            this.rbXmlRunOnce.TabIndex = 7;
            this.rbXmlRunOnce.Text = "Run Once";
            this.rbXmlRunOnce.UseVisualStyleBackColor = true;
            this.rbXmlRunOnce.Visible = false;
            this.rbXmlRunOnce.CheckedChanged += new System.EventHandler(this.rbXmlRunOnce_CheckedChanged);
            // 
            // cmdRunOnce
            // 
            this.cmdRunOnce.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdRunOnce.Location = new System.Drawing.Point(306, 9);
            this.cmdRunOnce.Name = "cmdRunOnce";
            this.cmdRunOnce.Size = new System.Drawing.Size(75, 23);
            this.cmdRunOnce.TabIndex = 6;
            this.cmdRunOnce.Text = "Run Job Once";
            this.cmdRunOnce.UseVisualStyleBackColor = true;
            this.cmdRunOnce.Click += new System.EventHandler(this.cmdRunOnce_Click);
            // 
            // txtSaveAs
            // 
            this.txtSaveAs.Location = new System.Drawing.Point(371, 39);
            this.txtSaveAs.Name = "txtSaveAs";
            this.txtSaveAs.Size = new System.Drawing.Size(100, 20);
            this.txtSaveAs.TabIndex = 5;
            this.txtSaveAs.Visible = false;
            this.txtSaveAs.WordWrap = false;
            // 
            // cmdSaveAs
            // 
            this.cmdSaveAs.Location = new System.Drawing.Point(296, 39);
            this.cmdSaveAs.Name = "cmdSaveAs";
            this.cmdSaveAs.Size = new System.Drawing.Size(68, 21);
            this.cmdSaveAs.TabIndex = 4;
            this.cmdSaveAs.Text = "Copy As...";
            this.cmdSaveAs.UseVisualStyleBackColor = true;
            this.cmdSaveAs.Visible = false;
            this.cmdSaveAs.Click += new System.EventHandler(this.cmdSaveAs_Click);
            // 
            // cmdEditor
            // 
            this.cmdEditor.Location = new System.Drawing.Point(4, 39);
            this.cmdEditor.Name = "cmdEditor";
            this.cmdEditor.Size = new System.Drawing.Size(73, 21);
            this.cmdEditor.TabIndex = 3;
            this.cmdEditor.Text = "Show Editor";
            this.cmdEditor.UseVisualStyleBackColor = true;
            this.cmdEditor.Click += new System.EventHandler(this.cmdEditor_Click);
            // 
            // rbXmlFinal
            // 
            this.rbXmlFinal.AutoSize = true;
            this.rbXmlFinal.Location = new System.Drawing.Point(151, 44);
            this.rbXmlFinal.Name = "rbXmlFinal";
            this.rbXmlFinal.Size = new System.Drawing.Size(64, 17);
            this.rbXmlFinal.TabIndex = 2;
            this.rbXmlFinal.Text = "Enabled";
            this.rbXmlFinal.UseVisualStyleBackColor = true;
            this.rbXmlFinal.Visible = false;
            this.rbXmlFinal.CheckedChanged += new System.EventHandler(this.rbXmlFinal_CheckedChanged);
            // 
            // rbXmlRaw
            // 
            this.rbXmlRaw.AutoSize = true;
            this.rbXmlRaw.Checked = true;
            this.rbXmlRaw.Location = new System.Drawing.Point(101, 44);
            this.rbXmlRaw.Name = "rbXmlRaw";
            this.rbXmlRaw.Size = new System.Drawing.Size(47, 17);
            this.rbXmlRaw.TabIndex = 1;
            this.rbXmlRaw.TabStop = true;
            this.rbXmlRaw.Text = "Raw";
            this.rbXmlRaw.UseVisualStyleBackColor = true;
            this.rbXmlRaw.Visible = false;
            this.rbXmlRaw.CheckedChanged += new System.EventHandler(this.rbXmlRaw_CheckedChanged);
            // 
            // cmdRun
            // 
            this.cmdRun.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cmdRun.Location = new System.Drawing.Point(387, 9);
            this.cmdRun.Name = "cmdRun";
            this.cmdRun.Size = new System.Drawing.Size(75, 23);
            this.cmdRun.TabIndex = 0;
            this.cmdRun.Text = "Enable Job";
            this.cmdRun.UseVisualStyleBackColor = true;
            this.cmdRun.Click += new System.EventHandler(this.cmdRun_Click);
            // 
            // panel1
            // 
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panel1.Location = new System.Drawing.Point(0, 39);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(468, 31);
            this.panel1.TabIndex = 8;
            // 
            // xmlEditor
            // 
            this.xmlEditor.AllowDrop = true;
            this.xmlEditor.AutoScroll = true;
            this.xmlEditor.BackColor = System.Drawing.Color.Transparent;
            this.xmlEditor.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xmlEditor.Location = new System.Drawing.Point(0, 0);
            this.xmlEditor.Name = "xmlEditor";
            this.xmlEditor.Size = new System.Drawing.Size(542, 166);
            this.xmlEditor.TabIndex = 0;
            this.xmlEditor.Visible = false;
            this.xmlEditor.DragOver += new System.Windows.Forms.DragEventHandler(this.xmlEditor_DragOver);
            this.xmlEditor.DragDrop += new System.Windows.Forms.DragEventHandler(this.xmlEditor_DragDrop);
            this.xmlEditor.Resize += new System.EventHandler(this.xmlEditor_Resize);
            this.xmlEditor.DragEnter += new System.Windows.Forms.DragEventHandler(this.xmlEditor_DragEnter);
            // 
            // JobsSelector
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.splitContainer1);
            this.Name = "JobsSelector";
            this.Size = new System.Drawing.Size(840, 383);
            this.Load += new System.EventHandler(this.JobsSelector_Load);
            this.Paint += new System.Windows.Forms.PaintEventHandler(this.JobsSelector_Paint);
            this.Layout += new System.Windows.Forms.LayoutEventHandler(this.JobsSelector_Layout);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
            this.contextMenuStrip1.ResumeLayout(false);
            this.splitContainer2.Panel1.ResumeLayout(false);
            this.splitContainer2.Panel2.ResumeLayout(false);
            this.splitContainer2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xmlViewer)).EndInit();
            this.pnlRunJob.ResumeLayout(false);
            this.pnlRunJob.PerformLayout();
            this.ResumeLayout(false);

        }
コード例 #15
0
ファイル: JobEditor.Designer.cs プロジェクト: BrianGoff/BITS
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config2 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.setAsStartupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.runToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.xmlViewer = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.pnlRunJob = new System.Windows.Forms.Panel();
            this.label1 = new System.Windows.Forms.Label();
            this.rbXmlRunOnce = new System.Windows.Forms.RadioButton();
            this.txtSaveAs = new System.Windows.Forms.TextBox();
            this.cmdSaveAs = new System.Windows.Forms.Button();
            this.cmdEditor = new System.Windows.Forms.Button();
            this.rbXmlFinal = new System.Windows.Forms.RadioButton();
            this.rbXmlRaw = new System.Windows.Forms.RadioButton();
            this.label4 = new System.Windows.Forms.Label();
            this.dtpJobInDate = new System.Windows.Forms.DateTimePicker();
            this.xmlEditor = new JobXmlEditor();
            this.contextMenuStrip1.SuspendLayout();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.xmlViewer)).BeginInit();
            this.pnlRunJob.SuspendLayout();
            this.SuspendLayout();
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.DropShadowEnabled = false;
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.setAsStartupToolStripMenuItem,
            this.toolStripSeparator1,
            this.runToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(181, 54);
            // 
            // setAsStartupToolStripMenuItem
            // 
            this.setAsStartupToolStripMenuItem.Name = "setAsStartupToolStripMenuItem";
            this.setAsStartupToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
            this.setAsStartupToolStripMenuItem.Text = "Toggle As Startup Job";
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6);
            // 
            // runToolStripMenuItem
            // 
            this.runToolStripMenuItem.Name = "runToolStripMenuItem";
            this.runToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
            this.runToolStripMenuItem.Text = "View Job";
            // 
            // splitContainer1
            // 
            this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.xmlViewer);
            this.splitContainer1.Panel1.Controls.Add(this.pnlRunJob);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.xmlEditor);
            this.splitContainer1.Size = new System.Drawing.Size(840, 436);
            this.splitContainer1.SplitterDistance = 280;
            this.splitContainer1.TabIndex = 1;
            this.splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.splitContainer1_SplitterMoved);
            // 
            // xmlViewer
            // 
            this.xmlViewer.AlwaysShowScrollers = true;
            this.xmlViewer.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.xmlViewer.Configurator = config2;
            this.xmlViewer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xmlViewer.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.xmlViewer.Location = new System.Drawing.Point(0, 0);
            this.xmlViewer.Name = "xmlViewer";
            this.xmlViewer.SaveOnClose = false;
            this.xmlViewer.ScrollPosition = new System.Drawing.Point(0, 0);
            this.xmlViewer.SharedFileMode = true;
            this.xmlViewer.Size = new System.Drawing.Size(836, 250);
            this.xmlViewer.StatusBarSettings.StatusPanel.MinWidth = 70;
            this.xmlViewer.StatusBarSettings.TextPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.xmlViewer.TabIndex = 9;
            this.xmlViewer.Text = "";
            this.xmlViewer.Visible = false;
            this.xmlViewer.VisualColumn = 1;
            this.xmlViewer.Click += new System.EventHandler(this.xmlViewer_Click);
            this.xmlViewer.Layout += new System.Windows.Forms.LayoutEventHandler(this.xmlViewer_Layout);
            // 
            // pnlRunJob
            // 
            this.pnlRunJob.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.pnlRunJob.Controls.Add(this.label4);
            this.pnlRunJob.Controls.Add(this.dtpJobInDate);
            this.pnlRunJob.Controls.Add(this.label1);
            this.pnlRunJob.Controls.Add(this.rbXmlRunOnce);
            this.pnlRunJob.Controls.Add(this.txtSaveAs);
            this.pnlRunJob.Controls.Add(this.cmdSaveAs);
            this.pnlRunJob.Controls.Add(this.cmdEditor);
            this.pnlRunJob.Controls.Add(this.rbXmlFinal);
            this.pnlRunJob.Controls.Add(this.rbXmlRaw);
            this.pnlRunJob.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pnlRunJob.Location = new System.Drawing.Point(0, 250);
            this.pnlRunJob.Name = "pnlRunJob";
            this.pnlRunJob.Size = new System.Drawing.Size(836, 26);
            this.pnlRunJob.TabIndex = 11;
            this.pnlRunJob.Visible = false;
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(14, 7);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(33, 13);
            this.label1.TabIndex = 8;
            this.label1.Text = "View:";
            // 
            // rbXmlRunOnce
            // 
            this.rbXmlRunOnce.Location = new System.Drawing.Point(190, 5);
            this.rbXmlRunOnce.Name = "rbXmlRunOnce";
            this.rbXmlRunOnce.Size = new System.Drawing.Size(74, 17);
            this.rbXmlRunOnce.TabIndex = 7;
            this.rbXmlRunOnce.Text = "Run Once";
            this.rbXmlRunOnce.UseVisualStyleBackColor = true;
            this.rbXmlRunOnce.CheckedChanged += new System.EventHandler(this.rbXmlRunOnce_CheckedChanged);
            // 
            // txtSaveAs
            // 
            this.txtSaveAs.Location = new System.Drawing.Point(620, 3);
            this.txtSaveAs.Name = "txtSaveAs";
            this.txtSaveAs.Size = new System.Drawing.Size(100, 20);
            this.txtSaveAs.TabIndex = 5;
            this.txtSaveAs.Visible = false;
            this.txtSaveAs.WordWrap = false;
            // 
            // cmdSaveAs
            // 
            this.cmdSaveAs.Location = new System.Drawing.Point(545, 3);
            this.cmdSaveAs.Name = "cmdSaveAs";
            this.cmdSaveAs.Size = new System.Drawing.Size(68, 21);
            this.cmdSaveAs.TabIndex = 4;
            this.cmdSaveAs.Text = "Copy As...";
            this.cmdSaveAs.UseVisualStyleBackColor = true;
            this.cmdSaveAs.Visible = false;
            this.cmdSaveAs.Click += new System.EventHandler(this.cmdSaveAs_Click);
            // 
            // cmdEditor
            // 
            this.cmdEditor.Location = new System.Drawing.Point(752, 2);
            this.cmdEditor.Name = "cmdEditor";
            this.cmdEditor.Size = new System.Drawing.Size(73, 21);
            this.cmdEditor.TabIndex = 3;
            this.cmdEditor.Text = "Show Editor";
            this.cmdEditor.UseVisualStyleBackColor = true;
            this.cmdEditor.Visible = false;
            // 
            // rbXmlFinal
            // 
            this.rbXmlFinal.Location = new System.Drawing.Point(117, 5);
            this.rbXmlFinal.Name = "rbXmlFinal";
            this.rbXmlFinal.Size = new System.Drawing.Size(74, 17);
            this.rbXmlFinal.TabIndex = 2;
            this.rbXmlFinal.Text = "Enabled";
            this.rbXmlFinal.UseVisualStyleBackColor = true;
            this.rbXmlFinal.CheckedChanged += new System.EventHandler(this.rbXmlFinal_CheckedChanged);
            // 
            // rbXmlRaw
            // 
            this.rbXmlRaw.Checked = true;
            this.rbXmlRaw.Location = new System.Drawing.Point(63, 5);
            this.rbXmlRaw.Name = "rbXmlRaw";
            this.rbXmlRaw.Size = new System.Drawing.Size(74, 17);
            this.rbXmlRaw.TabIndex = 1;
            this.rbXmlRaw.TabStop = true;
            this.rbXmlRaw.Text = "Raw";
            this.rbXmlRaw.UseVisualStyleBackColor = true;
            this.rbXmlRaw.CheckedChanged += new System.EventHandler(this.rbXmlRaw_CheckedChanged);
            // 
            // label4
            // 
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.Location = new System.Drawing.Point(270, 5);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(42, 13);
            this.label4.TabIndex = 15;
            this.label4.Text = "In Date";
            // 
            // dtpJobInDate
            // 
            this.dtpJobInDate.CalendarFont = new System.Drawing.Font("Microsoft Sans Serif", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dtpJobInDate.CustomFormat = "MM/dd/yyy hh:mm:ss tt";
            this.dtpJobInDate.Enabled = false;
            this.dtpJobInDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dtpJobInDate.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
            this.dtpJobInDate.Location = new System.Drawing.Point(324, 2);
            this.dtpJobInDate.Name = "dtpJobInDate";
            this.dtpJobInDate.Size = new System.Drawing.Size(150, 20);
            this.dtpJobInDate.TabIndex = 14;
            this.dtpJobInDate.ValueChanged += new System.EventHandler(this.dtpJobInDate_ValueChanged);
            // 
            // xmlEditor
            // 
            this.xmlEditor.BackColor = System.Drawing.Color.LightGray;
            this.xmlEditor.Dock = System.Windows.Forms.DockStyle.Fill;
            this.xmlEditor.Location = new System.Drawing.Point(0, 0);
            this.xmlEditor.Name = "xmlEditor";
            this.xmlEditor.Size = new System.Drawing.Size(836, 148);
            this.xmlEditor.TabIndex = 11;
            // 
            // JobsEditor
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.splitContainer1);
            this.Name = "JobsEditor";
            this.Size = new System.Drawing.Size(840, 436);
            this.contextMenuStrip1.ResumeLayout(false);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.xmlViewer)).EndInit();
            this.pnlRunJob.ResumeLayout(false);
            this.pnlRunJob.PerformLayout();
            this.ResumeLayout(false);

        }
コード例 #16
0
ファイル: Form1.cs プロジェクト: yyangrns/winforms-demos
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1             = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.label1                   = new System.Windows.Forms.Label();
            this.controlLanguageSelector1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlLanguageSelector();
            this.button1                  = new Syncfusion.Windows.Forms.ButtonAdv();
            this.controlFormatsList1      = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsList();
            this.controlFormatsSettings1  = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsSettings();
            this.label2                   = new System.Windows.Forms.Label();
            this.label3                   = new System.Windows.Forms.Label();
            this.panel2                   = new System.Windows.Forms.Panel();
            this.mainFrameBarManager1     = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode              = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BorderStyle                 = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize              = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                = config1;
            this.editControl1.Dock                        = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor    = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont             = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                    = new System.Drawing.Point(10, 39);
            this.editControl1.Name                        = "editControl1";
            this.editControl1.OnlyHighlightMatchingBraces = true;
            this.editControl1.RenderRightToLeft           = false;
            this.editControl1.ScrollPosition              = new System.Drawing.Point(0, 0);
            this.editControl1.ShowHorizontalSplitters     = false;
            this.editControl1.ShowIndicatorMargin         = false;
            this.editControl1.ShowSelectionMargin         = false;
            this.editControl1.ShowVerticalSplitters       = false;
            this.editControl1.Size                        = new System.Drawing.Size(408, 394);

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

            //
            // button1
            //
            this.button1.Appearance     = Syncfusion.Windows.Forms.ButtonAppearance.Office2016White;
            this.button1.BackColor      = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.button1.Location       = new System.Drawing.Point(48, 344);
            this.button1.Name           = "button1";
            this.button1.Size           = new System.Drawing.Size(96, 23);
            this.button1.TabIndex       = 0;
            this.button1.Text           = "Show Dialog";
            this.button1.UseVisualStyle = true;
            this.button1.Click         += new System.EventHandler(this.button1_Click);
            //
            // controlFormatsList1
            //
            this.controlFormatsList1.Configuration    = config1;
            this.controlFormatsList1.EditControl      = this.editControl1;
            this.controlFormatsList1.LanguageSelector = this.controlLanguageSelector1;
            this.controlFormatsList1.Location         = new System.Drawing.Point(8, 32);
            this.controlFormatsList1.Name             = "controlFormatsList1";
            this.controlFormatsList1.SelectedFormats  = null;
            this.controlFormatsList1.Size             = new System.Drawing.Size(200, 224);
            this.controlFormatsList1.TabIndex         = 3;
            this.controlFormatsList1.Load            += new System.EventHandler(this.controlFormatsList1_Load);
            //
            // controlFormatsSettings1
            //
            this.controlFormatsSettings1.Formats         = null;
            this.controlFormatsSettings1.FormatsSelector = this.controlFormatsList1;
            this.controlFormatsSettings1.Location        = new System.Drawing.Point(224, 40);
            this.controlFormatsSettings1.Name            = "controlFormatsSettings1";
            this.controlFormatsSettings1.Size            = new System.Drawing.Size(336, 384);
            this.controlFormatsSettings1.TabIndex        = 4;
            //
            // label2
            //
            this.label2.Location  = new System.Drawing.Point(0, 0);
            this.label2.Name      = "label2";
            this.label2.Size      = new System.Drawing.Size(216, 23);
            this.label2.TabIndex  = 5;
            this.label2.Text      = "Control for selecting language\'s format(s):";
            this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // label3
            //
            this.label3.Location  = new System.Drawing.Point(248, 8);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(208, 23);
            this.label3.TabIndex  = 6;
            this.label3.Text      = "Control for editing selected formats:";
            this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // panel2
            //
            this.panel2.BackColor = System.Drawing.Color.White;
            this.panel2.Controls.Add(this.controlFormatsSettings1);
            this.panel2.Controls.Add(this.label3);
            this.panel2.Controls.Add(this.label2);
            this.panel2.Controls.Add(this.controlFormatsList1);
            this.panel2.Controls.Add(this.label1);
            this.panel2.Controls.Add(this.controlLanguageSelector1);
            this.panel2.Controls.Add(this.button1);
            this.panel2.Dock     = System.Windows.Forms.DockStyle.Right;
            this.panel2.Location = new System.Drawing.Point(418, 39);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new System.Drawing.Size(568, 394);
            this.panel2.TabIndex = 3;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("zoom");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2,
                this.parentBarItem3
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text       = "File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName            = "parentBarItem2";
            this.parentBarItem2.CategoryIndex      = 1;
            this.parentBarItem2.ID                 = "ShowFontDialog";
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text               = "ShowFontDialog";
            this.parentBarItem2.Click             += new System.EventHandler(this.ShowFormatsCustomizationDialog);
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 0;
            this.parentBarItem3.ID            = "Zoom Options";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem8,
                this.barItem9
            });
            this.parentBarItem3.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text       = "Zoom Options";
            this.parentBarItem3.WrapLength = 20;
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "Allow Zoom";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Enable Zoom";
            this.barItem7.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 0;
            this.barItem8.ID                 = "Zoom in";
            this.barItem8.Image              = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem8.Image")));
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Zoom in";
            this.barItem8.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 0;
            this.barItem9.ID                 = "Zoom out";
            this.barItem9.Image              = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem9.Image")));
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Zoom out";
            this.barItem9.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(996, 443);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(1008, 480);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Font Customization";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #17
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.barItem14            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem15            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem16            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1             = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "File");
            this.barItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.bar2             = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "EditMenu");
            this.barItem17        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.imageList1       = new System.Windows.Forms.ImageList(this.components);
            this.barItem18        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem19        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.dropDownBarItem  = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.undoPopup        = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.undoLabel        = new System.Windows.Forms.Label();
            this.undoList         = new Syncfusion.Windows.Forms.FocuslessListBox();
            this.barItem21        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem22        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem23        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem24        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.staticBarItem    = new Syncfusion.Windows.Forms.Tools.XPMenus.StaticBarItem();
            this.comboBoxBarItem  = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.TextBoxBarItem   = new Syncfusion.Windows.Forms.Tools.XPMenus.TextBoxBarItem();
            this.barItem3         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem5         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem9         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.sfComboBox1      = new Syncfusion.WinForms.ListView.SfComboBox();
            this.basePanel        = new System.Windows.Forms.Panel();
            this.editControlPanel = new System.Windows.Forms.Panel();
            this.editControl1     = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.rightSidePanel   = new System.Windows.Forms.Panel();
            this.barCB            = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
            this.customizeMenuCb  = new Syncfusion.Windows.Forms.Tools.CheckBoxAdv();
            this.label1           = new System.Windows.Forms.Label();
            this.textImageCmb     = new ComboBoxAdv();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.undoPopup.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).BeginInit();
            this.basePanel.SuspendLayout();
            this.editControlPanel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.rightSidePanel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.barCB)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.customizeMenuCb)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.textImageCmb)).BeginInit();
            this.SuspendLayout();
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            //
            // barItem15
            //
            this.barItem15.BarName            = "barItem15";
            this.barItem15.ShowToolTipInPopUp = false;
            this.barItem15.SizeToFit          = true;
            //
            // barItem16
            //
            this.barItem16.BarName            = "barItem16";
            this.barItem16.ID                 = "_3";
            this.barItem16.ShowToolTipInPopUp = false;
            this.barItem16.SizeToFit          = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Bars.Add(this.bar2);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Icons");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.WinForms.Controls.SfForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem9,
                this.barItem16,
                this.barItem17,
                this.barItem18,
                this.barItem19,
                this.dropDownBarItem,
                this.barItem21
            });
            this.mainFrameBarManager1.ResetCustomization      = false;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "File";
            this.bar1.Caption = "File";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // barItem1
            //
            this.barItem1.BarName        = "barItem1";
            this.barItem1.CategoryIndex  = 0;
            this.barItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
            this.barItem1.ID             = "&FILE";
            this.barItem1.SizeToFit      = true;
            this.barItem1.Text           = "&File";
            this.barItem1.WrapLength     = 20;
            //
            // barItem2
            //
            this.barItem2.BarName       = "barItem2";
            this.barItem2.CategoryIndex = 0;
            this.barItem2.ID            = "EDIT";
            this.barItem2.SizeToFit     = true;
            this.barItem2.Text          = "&Edit";
            this.barItem2.WrapLength    = 20;
            //
            // bar2
            //
            this.bar2.BarName = "EditMenu";
            this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem17,
                this.barItem18,
                this.barItem19,
                this.dropDownBarItem,
                this.barItem21,
                this.barItem22,
                this.barItem23,
                this.barItem24,
                this.staticBarItem,
                this.comboBoxBarItem,
                this.TextBoxBarItem
            });
            this.bar2.Manager = this.mainFrameBarManager1;
            this.bar2.SeparatorIndices.AddRange(new int[] {
                3,
                5,
                8
            });
            //
            // barItem17
            //
            this.barItem17.BarName            = "barItem17";
            this.barItem17.ID                 = "Open File";
            this.barItem17.ImageIndex         = 16;
            this.barItem17.ImageList          = this.imageList1;
            this.barItem17.ShowToolTipInPopUp = false;
            this.barItem17.SizeToFit          = true;
            this.barItem17.Text               = "Open File";
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "Open-file.png");
            this.imageList1.Images.SetKeyName(1, "save.jpg");
            this.imageList1.Images.SetKeyName(2, "save-all.png");
            this.imageList1.Images.SetKeyName(3, "undo-6.png");
            this.imageList1.Images.SetKeyName(4, "REDO1.png");
            this.imageList1.Images.SetKeyName(5, "cut.png");
            this.imageList1.Images.SetKeyName(6, "copy.png");
            this.imageList1.Images.SetKeyName(7, "paste.png");
            this.imageList1.Images.SetKeyName(8, "open-512.png");
            this.imageList1.Images.SetKeyName(9, "save.jpg");
            this.imageList1.Images.SetKeyName(10, "save-as.png");
            this.imageList1.Images.SetKeyName(11, "copy1.jpg");
            this.imageList1.Images.SetKeyName(12, "paste1.jpg");
            this.imageList1.Images.SetKeyName(13, "copy2.png");
            this.imageList1.Images.SetKeyName(14, "paste2.jpg");
            this.imageList1.Images.SetKeyName(15, "Paste (1).png");
            this.imageList1.Images.SetKeyName(16, "Open32.png");
            this.imageList1.Images.SetKeyName(17, "Save32.png");
            this.imageList1.Images.SetKeyName(18, "SaveAs32.png");
            this.imageList1.Images.SetKeyName(19, "Undo.ico");
            this.imageList1.Images.SetKeyName(20, "Redo_Big.ico");
            this.imageList1.Images.SetKeyName(21, "Cut16.png");
            this.imageList1.Images.SetKeyName(22, "Copy16.png");
            this.imageList1.Images.SetKeyName(23, "Paste32.png");
            //
            // barItem18
            //
            this.barItem18.BarName            = "barItem18";
            this.barItem18.ID                 = "Save File";
            this.barItem18.ImageIndex         = 17;
            this.barItem18.ImageList          = this.imageList1;
            this.barItem18.ShowToolTipInPopUp = false;
            this.barItem18.SizeToFit          = true;
            this.barItem18.Text               = "Save File";
            //
            // barItem19
            //
            this.barItem19.BarName            = "barItem19";
            this.barItem19.ID                 = "SaveAs";
            this.barItem19.ImageIndex         = 18;
            this.barItem19.ImageList          = this.imageList1;
            this.barItem19.ShowToolTipInPopUp = false;
            this.barItem19.SizeToFit          = true;
            this.barItem19.Text               = "SaveAs";
            //
            // dropDownBarItem
            //
            this.dropDownBarItem.BarName               = "dropDownBarItem";
            this.dropDownBarItem.ID                    = "Undo";
            this.dropDownBarItem.ImageIndex            = 19;
            this.dropDownBarItem.ImageList             = this.imageList1;
            this.dropDownBarItem.PopupControlContainer = this.undoPopup;
            this.dropDownBarItem.ShowToolTipInPopUp    = false;
            this.dropDownBarItem.SizeToFit             = true;
            this.dropDownBarItem.Text                  = "Undo";
            //
            // undoPopup
            //
            this.undoPopup.BackColor = System.Drawing.SystemColors.Window;
            this.undoPopup.Controls.Add(this.undoLabel);
            this.undoPopup.Controls.Add(this.undoList);
            this.undoPopup.Location = new System.Drawing.Point(24, 24);
            this.undoPopup.Name     = "undoPopup";
            this.undoPopup.Padding  = new System.Windows.Forms.Padding(1);
            this.undoPopup.Size     = new System.Drawing.Size(96, 195);
            this.undoPopup.TabIndex = 6;
            this.undoPopup.Visible  = false;
            //
            // undoLabel
            //
            this.undoLabel.BackColor = System.Drawing.Color.WhiteSmoke;
            this.undoLabel.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.undoLabel.Location  = new System.Drawing.Point(1, 118);
            this.undoLabel.Name      = "undoLabel";
            this.undoLabel.Size      = new System.Drawing.Size(94, 76);
            this.undoLabel.TabIndex  = 1;
            this.undoLabel.Text      = "label1";
            this.undoLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // undoList
            //
            this.undoList.BorderStyle      = System.Windows.Forms.BorderStyle.None;
            this.undoList.CausesValidation = false;
            this.undoList.Dock             = System.Windows.Forms.DockStyle.Top;
            this.undoList.Font             = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.undoList.Items.AddRange(new object[] {
                "One",
                "Two",
                "Three",
                "Four",
                "Five",
                "Six",
                "Seven",
                "Eight",
                "Nine",
                "Ten",
                "Eleven",
                "Twelve",
                "Thirteen"
            });
            this.undoList.Location      = new System.Drawing.Point(1, 1);
            this.undoList.Name          = "undoList";
            this.undoList.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
            this.undoList.Size          = new System.Drawing.Size(94, 117);
            this.undoList.TabIndex      = 0;
            //
            // barItem21
            //
            this.barItem21.BarName            = "barItem21";
            this.barItem21.ID                 = "Redo";
            this.barItem21.ImageIndex         = 20;
            this.barItem21.ImageList          = this.imageList1;
            this.barItem21.ShowToolTipInPopUp = false;
            this.barItem21.SizeToFit          = true;
            this.barItem21.Text               = "Redo";
            //
            // barItem22
            //
            this.barItem22.BarName            = "barItem22";
            this.barItem22.ID                 = "cut";
            this.barItem22.ImageIndex         = 21;
            this.barItem22.ImageList          = this.imageList1;
            this.barItem22.ShowToolTipInPopUp = false;
            this.barItem22.SizeToFit          = true;
            this.barItem22.Text               = "Cut";
            //
            // barItem23
            //
            this.barItem23.BarName            = "barItem23";
            this.barItem23.ID                 = "copy";
            this.barItem23.ImageIndex         = 22;
            this.barItem23.ImageList          = this.imageList1;
            this.barItem23.ShowToolTipInPopUp = false;
            this.barItem23.SizeToFit          = true;
            this.barItem23.Text               = "Copy";
            //
            // barItem24
            //
            this.barItem24.BarName            = "barItem24";
            this.barItem24.ID                 = "paste";
            this.barItem24.ImageIndex         = 23;
            this.barItem24.ImageList          = this.imageList1;
            this.barItem24.ShowToolTipInPopUp = false;
            this.barItem24.SizeToFit          = true;
            this.barItem24.Text               = "Paste";
            //
            // staticBarItem
            //
            this.staticBarItem.BarName            = "staticBarItem";
            this.staticBarItem.ID                 = "Launch";
            this.staticBarItem.ShowToolTipInPopUp = false;
            this.staticBarItem.SizeToFit          = true;
            this.staticBarItem.Text               = "Launch";
            //
            // comboBoxBarItem
            //
            this.comboBoxBarItem.BarName = "comboBoxBarItem";
            this.comboBoxBarItem.ChoiceList.AddRange(new string[] {
                "Debug",
                "Release",
                "Run"
            });
            this.comboBoxBarItem.ID                 = "Debug";
            this.comboBoxBarItem.MinWidth           = 55;
            this.comboBoxBarItem.ShowToolTipInPopUp = false;
            this.comboBoxBarItem.SizeToFit          = true;
            this.comboBoxBarItem.TextBoxValue       = "Run";
            //
            // TextBoxBarItem
            //
            this.TextBoxBarItem.BarName            = "TextBoxBarItem";
            this.TextBoxBarItem.ID                 = "TextBox";
            this.TextBoxBarItem.MinWidth           = 55;
            this.TextBoxBarItem.ShowToolTipInPopUp = false;
            this.TextBoxBarItem.SizeToFit          = true;
            this.TextBoxBarItem.TextBoxValue       = "Search";
            this.TextBoxBarItem.Value              = "Search";
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.ID                 = "_1";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "WINDOW";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "&Window";
            this.barItem4.WrapLength         = 20;
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.ID                 = "_2";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.WrapLength         = 20;
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Save All";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Save All";
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Open";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Open";
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Save";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Save";
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            //
            // sfComboBox1
            //
            this.sfComboBox1.AllowDropDownResize = false;
            this.sfComboBox1.AutoCompleteMode    = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.sfComboBox1.BackColor           = System.Drawing.Color.White;
            this.sfComboBox1.DropDownStyle       = Syncfusion.WinForms.ListView.Enums.DropDownStyle.DropDownList;
            this.sfComboBox1.Location            = new System.Drawing.Point(707, 5);
            this.sfComboBox1.Margin  = new System.Windows.Forms.Padding(2);
            this.sfComboBox1.Name    = "sfComboBox1";
            this.sfComboBox1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
            this.sfComboBox1.Size    = new System.Drawing.Size(121, 19);
            this.sfComboBox1.Style.EditorStyle.BackColor = System.Drawing.Color.White;
            this.sfComboBox1.TabIndex = 21;
            this.sfComboBox1.Text     = "CSharp";
            //
            // basePanel
            //
            this.basePanel.Controls.Add(this.editControlPanel);
            this.basePanel.Controls.Add(this.rightSidePanel);
            this.basePanel.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.basePanel.Location = new System.Drawing.Point(0, 32);
            this.basePanel.Name     = "basePanel";
            this.basePanel.Size     = new System.Drawing.Size(855, 658);
            this.basePanel.TabIndex = 23;
            //
            // editControlPanel
            //
            this.editControlPanel.Controls.Add(this.editControl1);
            this.editControlPanel.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.editControlPanel.Location = new System.Drawing.Point(0, 0);
            this.editControlPanel.Name     = "editControlPanel";
            this.editControlPanel.Size     = new System.Drawing.Size(555, 658);
            this.editControlPanel.TabIndex = 1;
            //
            // editControl1
            //
            this.editControl1.AllowZoom       = false;
            this.editControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98)))));
            this.editControl1.CodeSnipptSize                = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                  = config1;
            this.editControl1.ContextChoiceBackColor        = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.editControl1.ContextChoiceBorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(166)))), ((int)(((byte)(50)))));
            this.editControl1.ContextChoiceForeColor        = System.Drawing.SystemColors.InfoText;
            this.editControl1.ContextPromptBackgroundBrush  = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.editControl1.ContextTooltipBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(232)))), ((int)(((byte)(236))))));
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndentationBlockBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(61)))), ((int)(((byte)(139))))));
            this.editControl1.IndentationBlockBorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128)))));
            this.editControl1.IndentBlockHighlightingColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
            this.editControl1.IndentLineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
            this.editControl1.LineNumbersColor         = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location          = new System.Drawing.Point(0, 0);
            this.editControl1.MarkChangedLines  = true;
            this.editControl1.MarkerAreaWidth   = 24;
            this.editControl1.Name              = "editControl1";
            this.editControl1.RenderRightToLeft = false;
            this.editControl1.ScrollPosition    = new System.Drawing.Point(0, 404);
            this.editControl1.SelectionMarginBackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
            this.editControl1.SelectionMarginForegroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.editControl1.SelectionTextColor             = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
            this.editControl1.ShowHorizontalSplitters        = false;
            this.editControl1.ShowLineNumbers         = false;
            this.editControl1.ShowOutliningCollapsers = false;
            this.editControl1.ShowSelectionMargin     = false;
            this.editControl1.ShowVerticalSplitters   = false;
            this.editControl1.Size = new System.Drawing.Size(555, 658);
            this.editControl1.StatusBarSettings.CoordsPanel.Width   = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width   = 33;
            this.editControl1.StatusBarSettings.StatusPanel.Width   = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width     = 214;
            this.editControl1.TabIndex     = 21;
            this.editControl1.VisualColumn = 1;
            this.editControl1.VScrollMode  = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate;
            this.editControl1.ZoomFactor   = 1F;
            //
            // rightSidePanel
            //
            this.rightSidePanel.BackColor = System.Drawing.Color.White;
            this.rightSidePanel.Controls.Add(this.barCB);
            this.rightSidePanel.Controls.Add(this.customizeMenuCb);
            this.rightSidePanel.Controls.Add(this.label1);
            this.rightSidePanel.Controls.Add(this.textImageCmb);
            this.rightSidePanel.Dock     = System.Windows.Forms.DockStyle.Right;
            this.rightSidePanel.Location = new System.Drawing.Point(555, 0);
            this.rightSidePanel.Name     = "rightSidePanel";
            this.rightSidePanel.Size     = new System.Drawing.Size(300, 658);
            this.rightSidePanel.TabIndex = 0;
            //
            // barCB
            //
            this.barCB.BeforeTouchSize = new System.Drawing.Size(253, 21);
            this.barCB.Checked         = true;
            this.barCB.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.barCB.Location        = new System.Drawing.Point(22, 168);
            this.barCB.Name            = "barCB";
            this.barCB.Size            = new System.Drawing.Size(253, 21);
            this.barCB.TabIndex        = 5;
            this.barCB.Text            = "Show Menu";
            this.barCB.ThemeName       = "Office2019Colorful";
            //
            // customizeMenuCb
            //
            this.customizeMenuCb.BeforeTouchSize = new System.Drawing.Size(253, 21);
            this.customizeMenuCb.Checked         = true;
            this.customizeMenuCb.CheckState      = System.Windows.Forms.CheckState.Checked;
            this.customizeMenuCb.Location        = new System.Drawing.Point(22, 115);
            this.customizeMenuCb.Name            = "customizeMenuCb";
            this.customizeMenuCb.Size            = new System.Drawing.Size(253, 21);
            this.customizeMenuCb.TabIndex        = 4;
            this.customizeMenuCb.Text            = "Show Customize Menu";
            this.customizeMenuCb.ThemeName       = "Office2019Colorful";
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(19, 59);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(97, 13);
            this.label1.TabIndex = 1;
            this.label1.Text     = "Text Image Relation";
            //
            // textImageCmb
            //
            this.textImageCmb.DropDownStyle = ComboBoxStyle.DropDownList;
            this.textImageCmb.Location      = new System.Drawing.Point(135, 52);
            this.textImageCmb.Name          = "textImageCmb";
            this.textImageCmb.Size          = new System.Drawing.Size(143, 28);
            this.textImageCmb.TabIndex      = 0;
            this.textImageCmb.Text          = "Default";
            this.textImageCmb.ThemeName     = "Office2019Colorful";
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(219)))), ((int)(((byte)(233)))));
            this.ClientSize          = new System.Drawing.Size(855, 690);
            this.Controls.Add(this.basePanel);
            this.Controls.Add(this.sfComboBox1);
            this.Name            = "Form1";
            this.Padding         = new System.Windows.Forms.Padding(0);
            this.ShowIcon        = false;
            this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Style.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(219)))), ((int)(((byte)(233)))));
            this.Text            = "Customization";
            this.WindowState     = System.Windows.Forms.FormWindowState.Maximized;
            this.Load           += new System.EventHandler(this.Form1_Load);
            this.SizeChanged    += Form1_SizeChanged1;
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.undoPopup.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).EndInit();
            this.basePanel.ResumeLayout(false);
            this.editControlPanel.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.rightSidePanel.ResumeLayout(false);
            this.rightSidePanel.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.barCB)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.customizeMenuCb)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.textImageCmb)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #18
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config3   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor              = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle            = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize         = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator           = config3;
            this.editControl1.ContextChoiceForeColor = System.Drawing.SystemColors.InfoText;
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location            = new System.Drawing.Point(10, 42);
            this.editControl1.Name                = "editControl1";
            this.editControl1.RenderRightToLeft   = false;
            this.editControl1.SaveOnClose         = false;
            this.editControl1.ScrollPosition      = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle   = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowIndicatorMargin = false;
            this.editControl1.Size                = new System.Drawing.Size(522, 394);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 80;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
            this.editControl1.TabIndex                       = 0;
            this.editControl1.Text                           = "";
            this.editControl1.TransferFocusOnTab             = true;
            this.editControl1.UseXPStyleBorder               = true;
            this.editControl1.VisualColumn                   = 1;
            this.editControl1.WordWrap                       = true;
            this.editControl1.ContextChoiceBeforeOpen       += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen);
            this.editControl1.ContextChoiceOpen             += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen);
            this.editControl1.ContextChoiceClose            += new Syncfusion.Windows.Forms.Edit.ContextChoiceCloseEventHandler(this.editControl1_ContextChoiceClose);
            this.editControl1.ContextPromptBeforeOpen       += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextPromptBeforeOpen);
            this.editControl1.ContextPromptOpen             += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen);
            this.editControl1.ContextPromptClose            += new Syncfusion.Windows.Forms.Edit.ContextPromptCloseEventHandler(this.editControl1_ContextPromptClose);
            this.editControl1.ContextChoiceItemSelected     += new Syncfusion.Windows.Forms.Edit.ContextChoiceItemSelectedEventHandler(this.editControl1_ContextChoiceItemSelected);
            this.editControl1.ContextPromptSelectionChanged += new Syncfusion.Windows.Forms.Edit.ContextPromptSelectionChangedEventHandler(this.editControl1_ContextPromptSelectionChanged);
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            this.imageList1.Images.SetKeyName(3, "");
            this.imageList1.Images.SetKeyName(4, "");
            this.imageList1.Images.SetKeyName(5, "");
            this.imageList1.Images.SetKeyName(6, "");
            this.imageList1.Images.SetKeyName(7, "");
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("filter");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2,
                this.barItem7,
                this.barItem8
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text       = "File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "FilterAutoCompleteItems";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem8
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text       = "FilterAutoCompleteItems";
            this.parentBarItem2.WrapLength = 20;
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "True";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "True";
            this.barItem7.Click             += new System.EventHandler(this.menuItem11_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "False";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "False";
            this.barItem8.Click             += new System.EventHandler(this.menuItem12_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(542, 446);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Context Choices";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            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()
        {
            Syncfusion.Windows.Forms.Tools.TreeNavigator.HeaderCollection headerCollection1 = new Syncfusion.Windows.Forms.Tools.TreeNavigator.HeaderCollection();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config    config1           = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config    config2           = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config    config3           = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.sampleName      = new System.Windows.Forms.Label();
            this.tabPanel        = new System.Windows.Forms.FlowLayoutPanel();
            this.treeNavigator   = new Syncfusion.Windows.Forms.Tools.TreeNavigator();
            this.treeMenuItem    = new PMMLWFSampleBrowser.TreeMenuItemAdv();
            this.tabControl1     = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
            this.tabPage1        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            this.tabPage2        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            this.tabPage3        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            this.tabPage4        = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
            this.cSharpCode      = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.rCode           = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.pmmlCode        = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.PredictedResult = new Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl();
            ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit();
            this.tabControl1.SuspendLayout();
            this.tabPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.PredictedResult)).BeginInit();
            this.tabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cSharpCode)).BeginInit();
            this.tabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.rCode)).BeginInit();
            this.tabPage4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pmmlCode)).BeginInit();
            this.SuspendLayout();
            //
            // treeNavigator
            //
            this.treeNavigator.BackColor     = System.Drawing.Color.White;
            this.treeNavigator.Dock          = System.Windows.Forms.DockStyle.Left;
            this.treeNavigator.Font          = new System.Drawing.Font("Segoe UI", 11.5F);
            headerCollection1.Font           = new System.Drawing.Font("Segoe UI", 11.25F);
            this.treeNavigator.Header        = headerCollection1;
            this.treeNavigator.ImeMode       = System.Windows.Forms.ImeMode.On;
            this.treeNavigator.ItemBackColor = System.Drawing.SystemColors.Control;
            this.treeNavigator.Location      = new System.Drawing.Point(0, 0);
            this.treeNavigator.Margin        = new System.Windows.Forms.Padding(0);
            this.treeNavigator.MinimumSize   = new System.Drawing.Size(302, 150);
            this.treeNavigator.Name          = "treeNavigator";
            this.treeNavigator.RightToLeft   = System.Windows.Forms.RightToLeft.No;
            this.treeNavigator.Size          = new System.Drawing.Size(302, 479);
            this.treeNavigator.TabIndex      = 0;
            this.treeNavigator.ShowHeader    = false;
            this.treeNavigator.ItemBackColor = Color.White;
            this.treeNavigator.Resize       += treeNavigator_Resize;
            //
            // tabPanel
            //
            this.tabPanel.Controls.Add(sampleName);
            this.tabPanel.Controls.Add(tabControl1);
            this.tabPanel.Location      = new Point(302, 0);
            this.tabPanel.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.tabPanel.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
            //
            // sampleName
            //
            this.sampleName.Anchor    = AnchorStyles.Top | AnchorStyles.Left;
            this.sampleName.Location  = new Point(302, 0);
            this.sampleName.ForeColor = Color.DeepSkyBlue;
            this.sampleName.Margin    = new System.Windows.Forms.Padding(0, 10, 0, 0);
            this.sampleName.Font      = new System.Drawing.Font("Segoe UI", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.sampleName.Size      = new Size(SystemInformation.VirtualScreen.Width - 300, 40);
            //
            // tabControl1
            //
            this.tabControl1.BackColor       = System.Drawing.SystemColors.ButtonHighlight;
            this.tabControl1.BeforeTouchSize = new System.Drawing.Size(640, 479);
            this.tabControl1.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Controls.Add(this.tabPage2);
            this.tabControl1.Controls.Add(this.tabPage3);
            this.tabControl1.Controls.Add(this.tabPage4);
            this.tabControl1.FixedSingleBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(157)))), ((int)(((byte)(161)))));
            this.tabControl1.FocusOnTabClick        = false;
            this.tabControl1.Font              = new System.Drawing.Font("Segoe UI", 10.5F);
            this.tabControl1.InactiveTabColor  = System.Drawing.Color.White;
            this.tabControl1.Location          = new System.Drawing.Point(302, 50);
            this.tabControl1.Margin            = new System.Windows.Forms.Padding(0, 0, 0, 3);
            this.tabControl1.Name              = "tabControl1";
            this.tabControl1.Size              = new System.Drawing.Size(SystemInformation.VirtualScreen.Width - 300, SystemInformation.VirtualScreen.Height - 250);
            this.tabControl1.TabIndex          = 6;
            this.tabControl1.TabPanelBackColor = System.Drawing.Color.White;
            this.tabControl1.TabStyle          = typeof(Syncfusion.Windows.Forms.Tools.TabRendererMetro);
            //
            // tabPage1
            //
            this.tabPage1.Controls.Add(this.PredictedResult);
            this.tabPage1.Image           = null;
            this.tabPage1.ImageSize       = new System.Drawing.Size(16, 16);
            this.tabPage1.Location        = new System.Drawing.Point(1, 28);
            this.tabPage1.Margin          = new System.Windows.Forms.Padding(0);
            this.tabPage1.Name            = "tabPage1";
            this.tabPage1.ShowCloseButton = true;
            this.tabPage1.Size            = new System.Drawing.Size(638, 450);
            this.tabPage1.TabIndex        = 1;
            this.tabPage1.Text            = "Predicted Result";
            this.tabPage1.ThemesEnabled   = false;
            //
            // PredictedResult
            //
            this.PredictedResult.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.PredictedResult.Dock                 = System.Windows.Forms.DockStyle.Fill;
            this.PredictedResult.FreezeCaption        = false;
            this.PredictedResult.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
            this.PredictedResult.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
            this.PredictedResult.Location             = new System.Drawing.Point(0, 0);
            this.PredictedResult.Name                 = "PredictedResult";
            this.PredictedResult.Size                 = new System.Drawing.Size(638, 450);
            this.PredictedResult.TabIndex             = 13;
            this.PredictedResult.TableModel.ColWidths.ResizeToFitOptimized(GridRangeInfo.Table(), GridResizeToFitOptions.IncludeHeaders);
            this.PredictedResult.TableDescriptor.TableOptions.ColumnHeaderRowHeight = 25;
            this.PredictedResult.TableDescriptor.TableOptions.RecordRowHeight       = 25;
            this.PredictedResult.TopLevelGroupOptions.ShowCaption = false;
            this.PredictedResult.Appearance.AnyCell.TextColor     = Color.Black;
            this.PredictedResult.TopLevelGroupOptions.ShowAddNewRecordAfterDetails  = false;
            this.PredictedResult.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
            this.PredictedResult.TableOptions.GridVisualStyles = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
            this.PredictedResult.TableOptions.GridLineBorder   = new Syncfusion.Windows.Forms.Grid.GridBorder(GridBorderStyle.Solid, Color.FromArgb(173, 185, 209), GridBorderWeight.Thin);
            //
            // tabPage2
            //
            this.tabPage2.AutoScroll = true;
            this.tabPage2.Controls.Add(this.cSharpCode);
            this.tabPage2.Image           = null;
            this.tabPage2.ImageSize       = new System.Drawing.Size(16, 16);
            this.tabPage2.Location        = new System.Drawing.Point(1, 28);
            this.tabPage2.Margin          = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.tabPage2.Name            = "tabPage2";
            this.tabPage2.Padding         = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.tabPage2.ShowCloseButton = true;
            this.tabPage2.Size            = new System.Drawing.Size(638, 450);
            this.tabPage2.TabIndex        = 1;
            this.tabPage2.Text            = "C#";
            this.tabPage2.ThemesEnabled   = false;
            //
            // cSharpCode
            //
            this.cSharpCode.CodeSnipptSize                          = new System.Drawing.Size(100, 100);
            this.cSharpCode.Configurator                            = config1;
            this.cSharpCode.Dock                                    = System.Windows.Forms.DockStyle.Fill;
            this.cSharpCode.IndicatorMarginBackColor                = System.Drawing.Color.Empty;
            this.cSharpCode.LineNumbersFont                         = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.cSharpCode.Location                                = new System.Drawing.Point(0, 3);
            this.cSharpCode.Margin                                  = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.cSharpCode.Name                                    = "cSharpCode";
            this.cSharpCode.ReadOnly                                = true;
            this.cSharpCode.RenderRightToLeft                       = false;
            this.cSharpCode.SaveOnClose                             = false;
            this.cSharpCode.ScrollPosition                          = new System.Drawing.Point(0, 0);
            this.cSharpCode.ScrollVisualStyle                       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.cSharpCode.Size                                    = new System.Drawing.Size(638, 444);
            this.cSharpCode.StatusBarSettings.CoordsPanel.Width     = 30;
            this.cSharpCode.StatusBarSettings.EncodingPanel.Width   = 30;
            this.cSharpCode.StatusBarSettings.FileNamePanel.Width   = 30;
            this.cSharpCode.StatusBarSettings.InsertPanel.Width     = 20;
            this.cSharpCode.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.cSharpCode.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.cSharpCode.StatusBarSettings.StatusPanel.Width     = 20;
            this.cSharpCode.StatusBarSettings.TextPanel.Width       = 30;
            this.cSharpCode.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Metro;
            this.cSharpCode.TabIndex                                = 1;
            this.cSharpCode.Text                                    = "";
            this.cSharpCode.UseXPStyleBorder                        = true;
            this.cSharpCode.VisualColumn                            = 1;
            //
            // tabPage3
            //
            this.tabPage3.Controls.Add(this.rCode);
            this.tabPage3.Font            = new System.Drawing.Font("Segoe UI", 8.25F);
            this.tabPage3.Image           = null;
            this.tabPage3.ImageSize       = new System.Drawing.Size(16, 16);
            this.tabPage3.Location        = new System.Drawing.Point(1, 28);
            this.tabPage3.Margin          = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.tabPage3.Name            = "tabPage3";
            this.tabPage3.Padding         = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.tabPage3.ShowCloseButton = true;
            this.tabPage3.Size            = new System.Drawing.Size(638, 450);
            this.tabPage3.TabIndex        = 2;
            this.tabPage3.Text            = "R";
            this.tabPage3.ThemesEnabled   = false;
            //
            // rCode
            //
            this.rCode.CodeSnipptSize                          = new System.Drawing.Size(100, 100);
            this.rCode.Configurator                            = config2;
            this.rCode.Dock                                    = System.Windows.Forms.DockStyle.Fill;
            this.rCode.IndicatorMarginBackColor                = System.Drawing.Color.Empty;
            this.rCode.LineNumbersFont                         = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.rCode.Location                                = new System.Drawing.Point(0, 3);
            this.rCode.Margin                                  = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.rCode.Name                                    = "rCode";
            this.rCode.ReadOnly                                = true;
            this.rCode.RenderRightToLeft                       = false;
            this.rCode.SaveOnClose                             = false;
            this.rCode.ScrollPosition                          = new System.Drawing.Point(0, 0);
            this.rCode.ScrollVisualStyle                       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.rCode.Size                                    = new System.Drawing.Size(638, 444);
            this.rCode.StatusBarSettings.CoordsPanel.Width     = 30;
            this.rCode.StatusBarSettings.EncodingPanel.Width   = 30;
            this.rCode.StatusBarSettings.FileNamePanel.Width   = 30;
            this.rCode.StatusBarSettings.InsertPanel.Width     = 20;
            this.rCode.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.rCode.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.rCode.StatusBarSettings.StatusPanel.Width     = 20;
            this.rCode.StatusBarSettings.TextPanel.Width       = 30;
            this.rCode.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Metro;
            this.rCode.TabIndex                                = 1;
            this.rCode.Text                                    = "edtCode";
            this.rCode.UseXPStyleBorder                        = true;
            this.rCode.VisualColumn                            = 8;
            //
            // tabPage4
            //
            this.tabPage4.Controls.Add(this.pmmlCode);
            this.tabPage4.Image           = null;
            this.tabPage4.ImageSize       = new System.Drawing.Size(16, 16);
            this.tabPage4.Location        = new System.Drawing.Point(1, 28);
            this.tabPage4.Margin          = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.tabPage4.Name            = "tabPage4";
            this.tabPage4.Padding         = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.tabPage4.ShowCloseButton = true;
            this.tabPage4.Size            = new System.Drawing.Size(638, 450);
            this.tabPage4.TabIndex        = 2;
            this.tabPage4.Text            = "PMML";
            this.tabPage4.ThemesEnabled   = false;
            //
            // pmmlCode
            //
            this.pmmlCode.CodeSnipptSize                          = new System.Drawing.Size(100, 100);
            this.pmmlCode.Configurator                            = config3;
            this.pmmlCode.Dock                                    = System.Windows.Forms.DockStyle.Fill;
            this.pmmlCode.IndicatorMarginBackColor                = System.Drawing.Color.Empty;
            this.pmmlCode.LineNumbersFont                         = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.pmmlCode.Location                                = new System.Drawing.Point(0, 3);
            this.pmmlCode.Margin                                  = new System.Windows.Forms.Padding(0, 3, 0, 3);
            this.pmmlCode.Name                                    = "pmmlCode";
            this.pmmlCode.ReadOnly                                = true;
            this.pmmlCode.RenderRightToLeft                       = false;
            this.pmmlCode.SaveOnClose                             = false;
            this.pmmlCode.ScrollPosition                          = new System.Drawing.Point(0, 0);
            this.pmmlCode.ScrollVisualStyle                       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.pmmlCode.Size                                    = new System.Drawing.Size(638, 444);
            this.pmmlCode.StatusBarSettings.CoordsPanel.Width     = 30;
            this.pmmlCode.StatusBarSettings.EncodingPanel.Width   = 30;
            this.pmmlCode.StatusBarSettings.FileNamePanel.Width   = 30;
            this.pmmlCode.StatusBarSettings.InsertPanel.Width     = 20;
            this.pmmlCode.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.pmmlCode.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.pmmlCode.StatusBarSettings.StatusPanel.Width     = 20;
            this.pmmlCode.StatusBarSettings.TextPanel.Width       = 30;
            this.pmmlCode.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Metro;
            this.pmmlCode.TabIndex                                = 1;
            this.pmmlCode.Text                                    = "edtCode";
            this.pmmlCode.UseXPStyleBorder                        = true;
            this.pmmlCode.VisualColumn                            = 8;
            //
            // treeMenuItem
            //
            this.treeMenuItem.IsModel       = false;
            this.treeMenuItem.ItemBackColor = System.Drawing.SystemColors.Control;
            this.treeMenuItem.Location      = new System.Drawing.Point(0, 0);
            this.treeMenuItem.ModelName     = null;
            this.treeMenuItem.Name          = "treeMenuItem";
            this.treeMenuItem.SampleName    = null;
            this.treeMenuItem.SamplePath    = null;
            this.treeMenuItem.SelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(102)))), ((int)(((byte)(193)))), ((int)(((byte)(220)))));
            this.treeMenuItem.Size          = new System.Drawing.Size(0, 0);
            this.treeMenuItem.TabIndex      = 0;
            //
            // Form1
            //
            this.AutoScaleMode           = System.Windows.Forms.AutoScaleMode.None;
            this.BackColor               = System.Drawing.Color.WhiteSmoke;
            this.BackgroundImageLayout   = System.Windows.Forms.ImageLayout.Stretch;
            this.BorderColor             = System.Drawing.Color.DodgerBlue;
            this.BorderThickness         = 2;
            this.CaptionAlign            = System.Windows.Forms.HorizontalAlignment.Left;
            this.CaptionBarColor         = System.Drawing.Color.DodgerBlue;
            this.CaptionBarHeight        = 80;
            this.CaptionButtonColor      = System.Drawing.Color.White;
            this.CaptionButtonHoverColor = System.Drawing.Color.White;
            this.CaptionFont             = new System.Drawing.Font("Segoe UI", 25F);
            this.CaptionForeColor        = System.Drawing.Color.White;
            captionImage1           = new CaptionImage();
            captionImage1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(144)))), ((int)(((byte)(255)))));
            captionImage1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(144)))), ((int)(((byte)(255)))));
            captionImage1.Location  = new Point(30, 20);
            captionImage1.Name      = "captionImage1";
            captionImage1.Size      = new Size(32, 32);
            try
            {
                captionImage1.Image = Image.FromFile(GetIconFile(@"common\Images\Grid\Icon\sfgrid.ico"));
            }
            catch
            {
            }
            captionImage2           = new CaptionImage();
            captionImage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(144)))), ((int)(((byte)(255)))));
            captionImage2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(144)))), ((int)(((byte)(255)))));
            captionImage2.Location  = new Point(0, 0);
            captionImage2.Name      = "captionImage2";
            captionImage2.Size      = new Size(30, 70);
#if NETCORE
            captionImage2.Image = Image.FromFile("Icon.png");
#else
            captionImage2.Image = Image.FromFile("../../Icon.png");
#endif
            captionLabel1           = new CaptionLabel();
            captionLabel1.Font      = new System.Drawing.Font("Segoe UI", 25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            captionLabel1.ForeColor = System.Drawing.SystemColors.Window;
            captionLabel1.Location  = new Point(70, 25);
            captionLabel1.Name      = "captionLabel1";
            captionLabel1.Size      = new Size(300, 21);
            captionLabel1.Text      = "Predictive Analytics";
            this.CaptionLabels.Add(captionLabel1);
            this.CaptionImages.Add(captionImage1);
            this.CaptionImages.Add(captionImage2);
            this.Dock       = DockStyle.Fill;
            this.ClientSize = new System.Drawing.Size(942, 479);
            this.Controls.Add(this.tabPanel);
            this.Controls.Add(this.treeNavigator);
            this.Font      = new System.Drawing.Font("Segoe UI", 12.75F);
            this.ForeColor = System.Drawing.Color.Transparent;
            try
            {
                System.Drawing.Icon ico = new System.Drawing.Icon(GetIconFile(@"common\Images\Grid\Icon\sfgrid.ico"));
                this.Icon = ico;
            }
            catch { }
            this.ShowIcon      = true;
            this.KeyPreview    = true;
            this.MetroColor    = System.Drawing.Color.DodgerBlue;
            this.Name          = "Form1";
            this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Resize       += Form1_Resize;
            ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit();
            this.tabControl1.ResumeLayout(false);
            this.tabPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.PredictedResult)).EndInit();
            this.tabPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cSharpCode)).EndInit();
            this.tabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.rCode)).EndInit();
            this.tabPage4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pmmlCode)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #20
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this.editControl1.BackColor                 = System.Drawing.Color.Beige;
            this.editControl1.BorderStyle               = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator              = config1;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                = new System.Drawing.Point(22, 103);
            this.editControl1.Name                    = "editControl1";
            this.editControl1.RenderRightToLeft       = false;
            this.editControl1.SaveOnClose             = false;
            this.editControl1.ScrollPosition          = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SharedFileMode          = true;
            this.editControl1.ShowHorizontalSplitters = false;
            this.editControl1.ShowIndicatorMargin     = false;
            this.editControl1.ShowLineNumbers         = false;
            this.editControl1.ShowOutliningCollapsers = false;
            this.editControl1.ShowSelectionMargin     = false;
            this.editControl1.ShowVerticalSplitters   = false;
            this.editControl1.Size                    = new System.Drawing.Size(536, 182);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 5;
            this.editControl1.Text               = "editControl1";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 13;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem7
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem7
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.barItem5_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.barItem6_Click);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "&Tooggle Single LineMode";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "&Tooggle Single Line Mode";
            this.barItem7.Click             += new System.EventHandler(this.barItem7_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.BackColor         = System.Drawing.Color.White;
            this.ClientSize        = new System.Drawing.Size(580, 450);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(592, 341);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Single Line Mode ";
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #21
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.White;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.MarkLineWrapping         = false;
            this.editControl1.MarkWrappedLines         = false;
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.SaveOnClose              = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowOutliningCollapsers  = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(522, 396);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex                   = 0;
            this.editControl1.Text                       = "";
            this.editControl1.UseXPStyleBorder           = true;
            this.editControl1.VisualColumn               = 1;
            this.editControl1.WordWrap                   = true;
            this.editControl1.ContextChoiceBeforeOpen   += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen);
            this.editControl1.ContextChoiceOpen         += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen);
            this.editControl1.ContextChoiceClose        += new Syncfusion.Windows.Forms.Edit.ContextChoiceCloseEventHandler(this.editControl1_ContextChoiceClose);
            this.editControl1.ContextPromptBeforeOpen   += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextPromptBeforeOpen);
            this.editControl1.ContextPromptOpen         += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen);
            this.editControl1.ContextChoiceItemSelected += new Syncfusion.Windows.Forms.Edit.ContextChoiceItemSelectedEventHandler(this.editControl1_ContextChoiceItemSelected);
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            this.imageList1.Images.SetKeyName(3, "");
            this.imageList1.Images.SetKeyName(4, "");
            this.imageList1.Images.SetKeyName(5, "");
            this.imageList1.Images.SetKeyName(6, "");
            this.imageList1.Images.SetKeyName(7, "");
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(542, 445);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Intellisense from XML";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #22
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem13      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem14      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 42);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollVisualStyle        = ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowLineNumbers          = false;
            this.editControl1.ShowOutliningCollapsers  = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(518, 413);
            this.editControl1.StatusBarSettings.CoordsPanel.Visible   = false;
            this.editControl1.StatusBarSettings.EncodingPanel.Visible = false;

            this.editControl1.StatusBarSettings.InsertPanel.Visible = false;

            this.editControl1.StatusBarSettings.StatusPanel.Visible = false;
            this.editControl1.StatusBarSettings.TextPanel.AutoSize  = false;

            this.editControl1.StatusBarSettings.Visible = true;
            this.editControl1.TabIndex         = 0;
            this.editControl1.Text             = "";
            this.editControl1.UseXPStyleBorder = true;
            this.editControl1.VisualColumn     = 1;
            this.editControl1.WordWrap         = true;

            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("fiel");
            this.mainFrameBarManager1.Categories.Add("language");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14,
                this.parentBarItem2
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "Languages Menu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Languages Menu";
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Chinese";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Chinese";
            this.barItem8.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Greek";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Greek";
            this.barItem9.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Arabic";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Arabic";
            this.barItem10.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Russian";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Russian";
            this.barItem11.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 1;
            this.barItem12.ID                 = "Hindi";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "Hindi";
            this.barItem12.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem13
            //
            this.barItem13.BarName            = "barItem13";
            this.barItem13.CategoryIndex      = 1;
            this.barItem13.ID                 = "Japanese";
            this.barItem13.ShowToolTipInPopUp = false;
            this.barItem13.SizeToFit          = true;
            this.barItem13.Text               = "Japanese";
            this.barItem13.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CategoryIndex      = 1;
            this.barItem14.ID                 = "Hebrew";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "Hebrew";
            this.barItem14.Click             += new System.EventHandler(this.LanguageMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(538, 464);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(550, 501);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Unicode Demo";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #23
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.barItem14            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem15            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem16            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1            = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "File");
            this.barItem1        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem2        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.bar2            = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "EditMenu");
            this.barItem17       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.imageList2      = new System.Windows.Forms.ImageList(this.components);
            this.barItem18       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem19       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.dropDownBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.undoPopup       = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.undoLabel       = new System.Windows.Forms.Label();
            this.undoList        = new Syncfusion.Windows.Forms.FocuslessListBox();
            this.barItem21       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem22       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem23       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem24       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.staticBarItem   = new Syncfusion.Windows.Forms.Tools.XPMenus.StaticBarItem();
            this.comboBoxBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.TextBoxBarItem  = new Syncfusion.Windows.Forms.Tools.XPMenus.TextBoxBarItem();
            this.barItem3        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem5        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem9        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.editControl1    = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.sfComboBox1     = new Syncfusion.WinForms.ListView.SfComboBox();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.undoPopup.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).BeginInit();
            this.SuspendLayout();
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
            this.barItem14.ID                 = "Errors";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "从输出查看:";
            //
            // barItem15
            //
            this.barItem15.BarName            = "barItem15";
            this.barItem15.ShowToolTipInPopUp = false;
            this.barItem15.SizeToFit          = true;
            //
            // barItem16
            //
            this.barItem16.BarName            = "barItem16";
            this.barItem16.ShowToolTipInPopUp = false;
            this.barItem16.SizeToFit          = true;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.AutoLoadToolBarPositions = false;
            this.mainFrameBarManager1.AutoPersistCustomization = false;
            this.mainFrameBarManager1.BarPositionInfo          = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Bars.Add(this.bar2);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("EditMenu");
            this.mainFrameBarManager1.Categories.Add("Icons");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.WinForms.Controls.SfForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem9,
                this.barItem17,
                this.barItem18,
                this.barItem19,
                this.dropDownBarItem,
                this.barItem21,
                this.barItem22,
                this.barItem23,
                this.barItem24,
                this.staticBarItem,
                this.comboBoxBarItem,
                this.TextBoxBarItem
            });
            this.mainFrameBarManager1.MetroBackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(219)))), ((int)(((byte)(233)))));
            this.mainFrameBarManager1.MetroColor              = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.mainFrameBarManager1.ResetCustomization      = false;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "File";
            this.bar1.Caption = "File";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
            this.barItem1.ID                 = "&FILE";
            this.barItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "和文件";
            this.barItem1.WrapLength         = 20;
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "EDIT";
            this.barItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "编者";
            this.barItem2.WrapLength         = 20;
            //
            // bar2
            //
            this.bar2.BarName = "编辑菜单"; //EditMenu
            this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem17,
                this.barItem18,
                this.barItem19,
                this.dropDownBarItem,
                this.barItem21,
                this.barItem22,
                this.barItem23,
                this.barItem24,
                this.staticBarItem,
                this.comboBoxBarItem,
                this.TextBoxBarItem
            });
            this.bar2.Manager = this.mainFrameBarManager1;
            this.bar2.SeparatorIndices.AddRange(new int[] {
                3,
                5,
                8
            });
            //
            // barItem17
            //
            this.barItem17.BarName            = "barItem17";
            this.barItem17.ID                 = "Open File(Ctrl+O)";
            this.barItem17.ImageIndex         = 12;
            this.barItem17.ImageList          = this.imageList2;
            this.barItem17.ShowToolTipInPopUp = false;
            this.barItem17.SizeToFit          = true;
            this.barItem17.Text               = "打开文件";
            //
            // imageList2
            //
            this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
            this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList2.Images.SetKeyName(0, "Open-file.png");
            this.imageList2.Images.SetKeyName(1, "save.jpg");
            this.imageList2.Images.SetKeyName(2, "save-all.png");
            this.imageList2.Images.SetKeyName(3, "undo-6.png");
            this.imageList2.Images.SetKeyName(4, "REDO1.png");
            this.imageList2.Images.SetKeyName(5, "cut.png");
            this.imageList2.Images.SetKeyName(6, "copy.png");
            this.imageList2.Images.SetKeyName(7, "paste.png");
            this.imageList2.Images.SetKeyName(8, "open-512.png");
            this.imageList2.Images.SetKeyName(9, "save-as.png");
            this.imageList2.Images.SetKeyName(10, "copy2.png");
            this.imageList2.Images.SetKeyName(11, "Paste (1).png");
            this.imageList2.Images.SetKeyName(12, "Open32.png");
            this.imageList2.Images.SetKeyName(13, "Save32.png");
            this.imageList2.Images.SetKeyName(14, "SaveAs32.png");
            this.imageList2.Images.SetKeyName(15, "Undo_Big.ico");
            this.imageList2.Images.SetKeyName(16, "Redo_Big.ico");
            this.imageList2.Images.SetKeyName(17, "Cut16.png");
            this.imageList2.Images.SetKeyName(18, "Copy16.png");
            this.imageList2.Images.SetKeyName(19, "Paste32.png");
            //
            // barItem18
            //
            this.barItem18.BarName            = "barItem18";
            this.barItem18.ID                 = "Save File";
            this.barItem18.ImageIndex         = 13;
            this.barItem18.ImageList          = this.imageList2;
            this.barItem18.ShowToolTipInPopUp = false;
            this.barItem18.SizeToFit          = true;
            this.barItem18.Text               = "保存文件";
            //
            // barItem19
            //
            this.barItem19.BarName            = "barItem19";
            this.barItem19.ID                 = "SaveAs";
            this.barItem19.ImageIndex         = 14;
            this.barItem19.ImageList          = this.imageList2;
            this.barItem19.ShowToolTipInPopUp = false;
            this.barItem19.SizeToFit          = true;
            this.barItem19.Text               = "另存为";
            //
            // dropDownBarItem
            //
            this.dropDownBarItem.BarName               = "dropDownBarItem";
            this.dropDownBarItem.ID                    = "Undo";
            this.dropDownBarItem.ImageIndex            = 15;
            this.dropDownBarItem.ImageList             = this.imageList2;
            this.dropDownBarItem.PopupControlContainer = this.undoPopup;
            this.dropDownBarItem.ShowToolTipInPopUp    = false;
            this.dropDownBarItem.SizeToFit             = true;
            this.dropDownBarItem.Text                  = "颚";
            //
            // undoPopup
            //
            this.undoPopup.BackColor = System.Drawing.SystemColors.Window;
            this.undoPopup.Controls.Add(this.undoLabel);
            this.undoPopup.Controls.Add(this.undoList);
            this.undoPopup.Location     = new System.Drawing.Point(24, 24);
            this.undoPopup.Name         = "undoPopup";
            this.undoPopup.Padding      = new System.Windows.Forms.Padding(1);
            this.undoPopup.Size         = new System.Drawing.Size(96, 195);
            this.undoPopup.TabIndex     = 6;
            this.undoPopup.Visible      = false;
            this.undoPopup.CloseUp     += new Syncfusion.Windows.Forms.PopupClosedEventHandler(this.undoPopup_CloseUp);
            this.undoPopup.BeforePopup += new System.ComponentModel.CancelEventHandler(this.undoPopup_BeforePopup);
            //
            // undoLabel
            //
            this.undoLabel.BackColor  = System.Drawing.Color.WhiteSmoke;
            this.undoLabel.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.undoLabel.Location   = new System.Drawing.Point(1, 175);
            this.undoLabel.Name       = "undoLabel";
            this.undoLabel.Size       = new System.Drawing.Size(96, 20);
            this.undoLabel.TabIndex   = 1;
            this.undoLabel.Text       = "颚";
            this.undoLabel.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
            this.undoLabel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.undoLabel_MouseDown);
            //
            // undoList
            //
            this.undoList.BorderStyle      = System.Windows.Forms.BorderStyle.None;
            this.undoList.CausesValidation = false;
            this.undoList.Dock             = System.Windows.Forms.DockStyle.Top;
            this.undoList.Font             = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.undoList.ItemHeight       = 20;
            this.undoList.Items.AddRange(new object[] {
                "一",
                "两",
                "三",
                "四",
                "五",
                "六",
                "七",
                "八",
                "九",
                "十",
                "一个10",
                "十二",
                "十三"
            });
            this.undoList.Location      = new System.Drawing.Point(1, 1);
            this.undoList.Name          = "undoList";
            this.undoList.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
            this.undoList.Size          = new System.Drawing.Size(154, 120);
            this.undoList.TabIndex      = 0;
            this.undoList.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.undoList_MouseDown);
            this.undoList.MouseMove    += new System.Windows.Forms.MouseEventHandler(this.undoList_MouseMove);
            this.undoList.MouseUp      += new System.Windows.Forms.MouseEventHandler(this.undoList_MouseUp);
            //
            // barItem21
            //
            this.barItem21.BarName            = "barItem21";
            this.barItem21.ID                 = "Redo";
            this.barItem21.ImageIndex         = 16;
            this.barItem21.ImageList          = this.imageList2;
            this.barItem21.ShowToolTipInPopUp = false;
            this.barItem21.SizeToFit          = true;
            this.barItem21.Text               = "ف再次";
            //
            // barItem22
            //
            this.barItem22.BarName            = "barItem22";
            this.barItem22.ID                 = "cut";
            this.barItem22.ImageIndex         = 17;
            this.barItem22.ImageList          = this.imageList2;
            this.barItem22.ShowToolTipInPopUp = false;
            this.barItem22.SizeToFit          = true;
            this.barItem22.Text               = "ف再次";
            //
            // barItem23
            //
            this.barItem23.BarName            = "barItem23";
            this.barItem23.ID                 = "copy";
            this.barItem23.ImageIndex         = 18;
            this.barItem23.ImageList          = this.imageList2;
            this.barItem23.ShowToolTipInPopUp = false;
            this.barItem23.SizeToFit          = true;
            this.barItem23.Text               = "ف再次";
            //
            // barItem24
            //
            this.barItem24.BarName            = "barItem24";
            this.barItem24.ID                 = "paste";
            this.barItem24.ImageIndex         = 11;
            this.barItem24.ImageList          = this.imageList2;
            this.barItem24.ShowToolTipInPopUp = false;
            this.barItem24.SizeToFit          = true;
            this.barItem24.Text               = "ف再次";
            //
            // staticBarItem
            //
            this.staticBarItem.BarName            = "staticBarItem";
            this.staticBarItem.ID                 = "Launch";
            this.staticBarItem.ShowToolTipInPopUp = false;
            this.staticBarItem.SizeToFit          = true;
            this.staticBarItem.Text               = "开放和开放";
            //
            // comboBoxBarItem
            //
            this.comboBoxBarItem.BarName = "comboBoxBarItem";
            this.comboBoxBarItem.ChoiceList.AddRange(new string[] {
                "更正",
                "发布",
                "游"
            });
            this.comboBoxBarItem.ID = "Debug";
            this.comboBoxBarItem.ShowToolTipInPopUp = false;
            this.comboBoxBarItem.MinWidth           = 55;
            this.comboBoxBarItem.Text         = "二合一";
            this.comboBoxBarItem.TextBoxValue = "寻找";
            //
            // TextBoxBarItem
            //
            this.TextBoxBarItem.BarName            = "TextBoxBarItem";
            this.TextBoxBarItem.ID                 = "TextBox";
            this.TextBoxBarItem.ShowToolTipInPopUp = false;
            this.TextBoxBarItem.MinWidth           = 55;
            this.TextBoxBarItem.Text               = "مربع نص";
            this.TextBoxBarItem.TextBoxValue       = "去";
            this.TextBoxBarItem.Value              = "去";
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.ID                 = "_1";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "WINDOW";
            this.barItem4.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "窗口";
            this.barItem4.WrapLength         = 20;
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.ID                 = "_2";
            this.barItem5.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.WrapLength         = 20;
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Save All";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "全部保存";
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Save";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "发布";
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            //
            // editControl1
            //
            this.editControl1.AllowZoom       = false;
            this.editControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98)))));
            this.editControl1.CodeSnipptSize                = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                  = config1;
            this.editControl1.ContextChoiceBackColor        = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.editControl1.ContextChoiceBorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(166)))), ((int)(((byte)(50)))));
            this.editControl1.ContextChoiceForeColor        = System.Drawing.SystemColors.InfoText;
            this.editControl1.ContextPromptBackgroundBrush  = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.editControl1.ContextTooltipBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(232)))), ((int)(((byte)(236))))));
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndentationBlockBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(61)))), ((int)(((byte)(139))))));
            this.editControl1.IndentationBlockBorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128)))));
            this.editControl1.IndentBlockHighlightingColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
            this.editControl1.IndentLineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
            this.editControl1.LineNumbersColor         = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location          = new System.Drawing.Point(0, 34);
            this.editControl1.Margin            = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.editControl1.MarkChangedLines  = true;
            this.editControl1.MarkerAreaWidth   = 24;
            this.editControl1.Name              = "editControl1";
            this.editControl1.RenderRightToLeft = false;
            this.editControl1.ScrollPosition    = new System.Drawing.Point(0, 289);
            this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Office2016;
            this.editControl1.SelectionMarginBackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
            this.editControl1.SelectionMarginForegroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.editControl1.SelectionTextColor             = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
            this.editControl1.ShowHorizontalSplitters        = false;
            this.editControl1.ShowLineNumbers         = false;
            this.editControl1.ShowOutliningCollapsers = false;
            this.editControl1.ShowSelectionMargin     = false;
            this.editControl1.ShowVerticalSplitters   = false;
            this.editControl1.Size = new System.Drawing.Size(1264, 1033);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 224;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 149;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 149;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 48;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 104;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 320;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Office2016Colorful;
            this.editControl1.Style            = Syncfusion.Windows.Forms.Edit.EditControlStyle.Office2016Colorful;
            this.editControl1.TabIndex         = 20;
            this.editControl1.Text             = "editControl1\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
            this.editControl1.UseXPStyle       = false;
            this.editControl1.UseXPStyleBorder = true;
            this.editControl1.VisualColumn     = 1;
            this.editControl1.VScrollMode      = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate;
            this.editControl1.ZoomFactor       = 1F;
            //
            // sfComboBox1
            //
            this.sfComboBox1.AllowDropDownResize = false;
            this.sfComboBox1.AutoCompleteMode    = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.sfComboBox1.DropDownStyle       = Syncfusion.WinForms.ListView.Enums.DropDownStyle.DropDownList;
            List <string> programmingLanguages = new List <string>();

            programmingLanguages.Add("CSharp");
            programmingLanguages.Add("PowerShell");
            programmingLanguages.Add("HTML");
            programmingLanguages.Add("XML");
            programmingLanguages.Add("PASCAL");
            programmingLanguages.Add("HTML with Embeded JavaScript");
            programmingLanguages.Add("HTML with VBScript");
            programmingLanguages.Add("Delphi");
            programmingLanguages.Add("SQL");
            programmingLanguages.Add("Java");
            programmingLanguages.Add("VB.Net");
            programmingLanguages.Add("VBScript");
            programmingLanguages.Add("JScript");
            this.sfComboBox1.DataSource = programmingLanguages;
            this.sfComboBox1.Location   = new System.Drawing.Point(950, 5);
            this.sfComboBox1.Name       = "sfComboBox1";
            this.sfComboBox1.Size       = new System.Drawing.Size(121, 29);
            this.sfComboBox1.DropDownListView.Height = 200;
            this.sfComboBox1.TabIndex              = 21;
            this.sfComboBox1.Text                  = "CSharp";
            this.sfComboBox1.SelectedIndexChanged += SfComboBox1_SelectedIndexChanged;

            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(219)))), ((int)(((byte)(233)))));
            this.ClientSize          = new System.Drawing.Size(1264, 1067);
            this.Controls.Add(this.sfComboBox1);
            this.Controls.Add(this.editControl1);
            this.Load           += new EventHandler(Form1_Load);
            this.SizeChanged    += Form1_SizeChanged1;
            this.Margin          = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.Name            = "Form1";
            this.Padding         = new System.Windows.Forms.Padding(0);
            this.WindowState     = FormWindowState.Maximized;
            this.ShowIcon        = false;
            this.Style.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(219)))), ((int)(((byte)(233)))));
            this.Text            = "ا光纤";
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.undoPopup.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sfComboBox1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #24
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "File");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem13      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem14      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem15      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem16      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem17      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.parentBarItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.parentBarItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.parentBarItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.parentBarItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.parentBarItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem19      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem20      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem21      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.editControl1   = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.xpToolBar2     = new Syncfusion.Windows.Forms.Tools.XPMenus.XPToolBar();
            this.f1print        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.f2save         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.f3open         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.SuspendLayout();
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.WinForms.Controls.SfForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem7,
                this.barItem8,
                this.parentBarItem2,
                this.barItem9,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14,
                this.parentBarItem3,
                this.barItem15,
                this.barItem16,
                this.barItem17,
                this.parentBarItem4,
                this.barItem19,
                this.barItem20,
                this.parentBarItem5,
                this.parentBarItem6,
                this.parentBarItem7,
                this.parentBarItem8,
                this.parentBarItem9,
                this.barItem21
            });
            this.mainFrameBarManager1.MetroBackColor     = System.Drawing.Color.Transparent;
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.mainFrameBarManager1.Office2010Theme    = Syncfusion.Windows.Forms.Office2010Theme.Managed;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName  = "File";
            this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)(((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu)
                                                                                       | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                                      | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.UseWholeRow)
                                                                                     | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
            this.bar1.Caption = "File";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2,
                this.parentBarItem3,
                this.parentBarItem4,
                this.parentBarItem5,
                this.parentBarItem6,
                this.parentBarItem7,
                this.parentBarItem8,
                this.parentBarItem9
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem7,
                this.barItem8
            });
            this.parentBarItem1.MetroBackColor     = System.Drawing.Color.Transparent;
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem1.ShowTooltip        = false;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text       = "File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open...";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open...";
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "Print";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Print";
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 0;
            this.barItem8.ID                 = "Quit";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Quit";
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 0;
            this.parentBarItem2.ID            = "Edit";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem9,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem2.ShowTooltip        = false;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem2.Text       = "Edit";
            this.parentBarItem2.WrapLength = 20;
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 0;
            this.barItem9.ID                 = "Undo";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Undo";
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 0;
            this.barItem10.ID                 = "Redo";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Redo";
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 0;
            this.barItem11.ID                 = "Cut";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Cut";
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 0;
            this.barItem12.ID                 = "Copy";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "Copy";
            //
            // barItem13
            //
            this.barItem13.BarName            = "barItem13";
            this.barItem13.CategoryIndex      = 0;
            this.barItem13.ID                 = "Paste";
            this.barItem13.ShowToolTipInPopUp = false;
            this.barItem13.SizeToFit          = true;
            this.barItem13.Text               = "Paste";
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CategoryIndex      = 0;
            this.barItem14.ID                 = "Clear";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "Clear";
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 0;
            this.parentBarItem3.ID            = "Search";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem15,
                this.barItem16,
                this.barItem17
            });
            this.parentBarItem3.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem3.ShowTooltip        = false;
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem3.Text       = "Search";
            this.parentBarItem3.WrapLength = 20;
            //
            // barItem15
            //
            this.barItem15.BarName            = "barItem15";
            this.barItem15.CategoryIndex      = 0;
            this.barItem15.ID                 = "Find";
            this.barItem15.ShowToolTipInPopUp = false;
            this.barItem15.SizeToFit          = true;
            this.barItem15.Text               = "Find";
            //
            // barItem16
            //
            this.barItem16.BarName            = "barItem16";
            this.barItem16.CategoryIndex      = 0;
            this.barItem16.ID                 = "Replace..";
            this.barItem16.ShowToolTipInPopUp = false;
            this.barItem16.SizeToFit          = true;
            this.barItem16.Text               = "Replace..";
            //
            // barItem17
            //
            this.barItem17.BarName            = "barItem17";
            this.barItem17.CategoryIndex      = 0;
            this.barItem17.ID                 = "Go to line number..";
            this.barItem17.ShowToolTipInPopUp = false;
            this.barItem17.SizeToFit          = true;
            this.barItem17.Text               = "Go to line number..";
            //
            // parentBarItem4
            //
            this.parentBarItem4.BarName            = "parentBarItem4";
            this.parentBarItem4.CategoryIndex      = 0;
            this.parentBarItem4.ID                 = "Run";
            this.parentBarItem4.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem4.ShowTooltip        = false;
            this.parentBarItem4.ShowToolTipInPopUp = false;
            this.parentBarItem4.SizeToFit          = true;
            this.parentBarItem4.Style              = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem4.Text               = "Run";
            this.parentBarItem4.WrapLength         = 20;
            //
            // parentBarItem5
            //
            this.parentBarItem5.BarName            = "parentBarItem5";
            this.parentBarItem5.CategoryIndex      = 0;
            this.parentBarItem5.ID                 = "Compile";
            this.parentBarItem5.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem5.ShowTooltip        = false;
            this.parentBarItem5.ShowToolTipInPopUp = false;
            this.parentBarItem5.SizeToFit          = true;
            this.parentBarItem5.Style              = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem5.Text               = "Compile";
            this.parentBarItem5.WrapLength         = 20;
            //
            // parentBarItem6
            //
            this.parentBarItem6.BarName            = "parentBarItem6";
            this.parentBarItem6.CategoryIndex      = 0;
            this.parentBarItem6.ID                 = "Debug";
            this.parentBarItem6.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem6.ShowTooltip        = false;
            this.parentBarItem6.ShowToolTipInPopUp = false;
            this.parentBarItem6.SizeToFit          = true;
            this.parentBarItem6.Style              = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem6.Text               = "Debug";
            this.parentBarItem6.WrapLength         = 20;
            //
            // parentBarItem7
            //
            this.parentBarItem7.BarName            = "parentBarItem7";
            this.parentBarItem7.CategoryIndex      = 0;
            this.parentBarItem7.ID                 = "Project";
            this.parentBarItem7.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem7.ShowTooltip        = false;
            this.parentBarItem7.ShowToolTipInPopUp = false;
            this.parentBarItem7.SizeToFit          = true;
            this.parentBarItem7.Style              = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem7.Text               = "Project";
            this.parentBarItem7.WrapLength         = 20;
            //
            // parentBarItem8
            //
            this.parentBarItem8.BarName            = "parentBarItem8";
            this.parentBarItem8.CategoryIndex      = 0;
            this.parentBarItem8.ID                 = "Option";
            this.parentBarItem8.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem8.ShowTooltip        = false;
            this.parentBarItem8.ShowToolTipInPopUp = false;
            this.parentBarItem8.SizeToFit          = true;
            this.parentBarItem8.Style              = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem8.Text               = "Option";
            this.parentBarItem8.WrapLength         = 20;
            //
            // parentBarItem9
            //
            this.parentBarItem9.BarName            = "parentBarItem9";
            this.parentBarItem9.CategoryIndex      = 0;
            this.parentBarItem9.ID                 = "Window";
            this.parentBarItem9.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(176)))), ((int)(((byte)(0)))));
            this.parentBarItem9.ShowTooltip        = false;
            this.parentBarItem9.ShowToolTipInPopUp = false;
            this.parentBarItem9.SizeToFit          = true;
            this.parentBarItem9.Style              = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem9.Text               = "Window";
            this.parentBarItem9.WrapLength         = 20;
            //
            // barItem19
            //
            this.barItem19.BarName            = "barItem19";
            this.barItem19.CategoryIndex      = 0;
            this.barItem19.ID                 = "Program reset";
            this.barItem19.ShowToolTipInPopUp = false;
            this.barItem19.SizeToFit          = true;
            this.barItem19.Text               = "Program reset";
            //
            // barItem20
            //
            this.barItem20.BarName            = "barItem20";
            this.barItem20.CategoryIndex      = 0;
            this.barItem20.ID                 = "Go to cursor";
            this.barItem20.ShowToolTipInPopUp = false;
            this.barItem20.SizeToFit          = true;
            this.barItem20.Text               = "Go to cursor";
            //
            // barItem21
            //
            this.barItem21.BarName            = "barItem21";
            this.barItem21.CategoryIndex      = 0;
            this.barItem21.ID                 = "About Syncfusion";
            this.barItem21.ShowToolTipInPopUp = false;
            this.barItem21.SizeToFit          = true;
            this.barItem21.Text               = "About Syncfusion";
            //
            // editControl1
            //
            this.editControl1.CodeSnipptSize         = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator           = config1;
            this.editControl1.ContextChoiceForeColor = System.Drawing.SystemColors.InfoText;
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndentationBlockBorderColor = System.Drawing.SystemColors.GradientActiveCaption;
            this.editControl1.IndicatorMarginBackColor    = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont             = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                                = new System.Drawing.Point(2, 34);
            this.editControl1.Margin                                  = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.editControl1.Name                                    = "editControl1";
            this.editControl1.RenderRightToLeft                       = false;
            this.editControl1.ScrollColorScheme                       = Syncfusion.Windows.Forms.Office2007ColorScheme.Managed;
            this.editControl1.ScrollPosition                          = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle                       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Office2007;
            this.editControl1.ShowHorizontalSplitters                 = false;
            this.editControl1.ShowVerticalSplitters                   = false;
            this.editControl1.Size                                    = new System.Drawing.Size(1016, 671);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 224;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 149;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 149;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 48;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 104;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 320;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
            this.editControl1.TabIndex                                = 4;
            this.editControl1.Text                                    = "\n\n\n\n\n\n\n\n\n";
            this.editControl1.UseXPStyleBorder                        = true;
            this.editControl1.VisualColumn                            = 1;
            //
            // xpToolBar2
            //
            this.xpToolBar2.BackColor = System.Drawing.Color.White;
            //
            //
            //
            this.xpToolBar2.Bar.BarName = "";
            this.xpToolBar2.Bar.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.f1print,
                this.f2save,
                this.f3open
            });
            this.xpToolBar2.Bar.Manager = null;
            this.xpToolBar2.Dock        = System.Windows.Forms.DockStyle.Bottom;
            this.xpToolBar2.Location    = new System.Drawing.Point(2, 676);
            this.xpToolBar2.Margin      = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.xpToolBar2.MetroColor  = System.Drawing.Color.Transparent;
            this.xpToolBar2.Name        = "xpToolBar2";
            this.xpToolBar2.Size        = new System.Drawing.Size(1016, 31);
            this.xpToolBar2.Style       = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.xpToolBar2.TabIndex    = 6;
            this.xpToolBar2.Text        = "xpToolBar2";
            //
            // f1help
            //
            this.f1print.BarName            = "f1help";
            this.f1print.CustomTextFont     = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.f1print.ID                 = "F1 Help";
            this.f1print.MetroBackColor     = System.Drawing.Color.Gray;
            this.f1print.ShowTooltip        = false;
            this.f1print.ShowToolTipInPopUp = false;
            this.f1print.SizeToFit          = true;
            this.f1print.Text               = "F1 Print";
            //
            // f2save
            //
            this.f2save.BarName            = "f2save";
            this.f2save.CustomTextFont     = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.f2save.ID                 = "F2 Open";
            this.f2save.ShowTooltip        = false;
            this.f2save.ShowToolTipInPopUp = false;
            this.f2save.SizeToFit          = true;
            this.f2save.Text               = "F2 Save";
            //
            // f3open
            //
            this.f3open.BarName            = "f3open";
            this.f3open.CustomTextFont     = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.f3open.ID                 = "F3 Open";
            this.f3open.ShowTooltip        = false;
            this.f3open.ShowToolTipInPopUp = false;
            this.f3open.SizeToFit          = true;
            this.f3open.Text               = "F3 Open";
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1020, 707);
            this.Controls.Add(this.xpToolBar2);
            this.Controls.Add(this.editControl1);
            this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
            this.Name   = "Form1";
            this.Style.TitleBar.BackColor          = System.Drawing.Color.White;
            this.Style.TitleBar.CloseButtonSize    = new System.Drawing.Size(46, 22);
            this.Style.TitleBar.Height             = 22;
            this.Style.TitleBar.MaximizeButtonSize = new System.Drawing.Size(46, 22);
            this.Style.TitleBar.MinimizeButtonSize = new System.Drawing.Size(46, 22);
            this.Text = "Custom language configuration";
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #25
0
ファイル: Form2.cs プロジェクト: tzvis1/winforms-demos
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.Windows.Forms.TreeNode treeNode1  = new System.Windows.Forms.TreeNode("CSharp");
            System.Windows.Forms.TreeNode treeNode2  = new System.Windows.Forms.TreeNode("VB.NET");
            System.Windows.Forms.TreeNode treeNode3  = new System.Windows.Forms.TreeNode("HTML");
            System.Windows.Forms.TreeNode treeNode4  = new System.Windows.Forms.TreeNode("XML");
            System.Windows.Forms.TreeNode treeNode5  = new System.Windows.Forms.TreeNode("Pascal");
            System.Windows.Forms.TreeNode treeNode6  = new System.Windows.Forms.TreeNode("SQL");
            System.Windows.Forms.TreeNode treeNode7  = new System.Windows.Forms.TreeNode("Java");
            System.Windows.Forms.TreeNode treeNode8  = new System.Windows.Forms.TreeNode("VBScript");
            System.Windows.Forms.TreeNode treeNode9  = new System.Windows.Forms.TreeNode("JScript");
            System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("Default");
            System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Prebuilt Configurations", new System.Windows.Forms.TreeNode[] {
                treeNode1,
                treeNode2,
                treeNode3,
                treeNode4,
                treeNode5,
                treeNode6,
                treeNode7,
                treeNode8,
                treeNode9,
                treeNode10
            });
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
            this.treeView1    = new System.Windows.Forms.TreeView();
            this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.SuspendLayout();
            //
            // treeView1
            //
            this.treeView1.Dock       = System.Windows.Forms.DockStyle.Left;
            this.treeView1.Font       = new System.Drawing.Font("Segoe UI", 8.25F);
            this.treeView1.ItemHeight = 20;
            this.treeView1.Location   = new System.Drawing.Point(0, 0);
            this.treeView1.Name       = "treeView1";
            treeNode1.Name            = "";
            treeNode1.Text            = "CSharp";
            treeNode2.Name            = "";
            treeNode2.Text            = "VB.NET";
            treeNode3.Name            = "";
            treeNode3.Text            = "HTML";
            treeNode4.Name            = "";
            treeNode4.Text            = "XML";
            treeNode5.Name            = "";
            treeNode5.Text            = "Pascal";
            treeNode6.Name            = "";
            treeNode6.Text            = "SQL";
            treeNode7.Name            = "";
            treeNode7.Text            = "Java";
            treeNode8.Name            = "";
            treeNode8.Text            = "VBScript";
            treeNode9.Name            = "";
            treeNode9.Text            = "JScript";
            treeNode10.Name           = "";
            treeNode10.Text           = "Default";
            treeNode11.Name           = "";
            treeNode11.Text           = "Prebuilt Configurations";
            this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
                treeNode11
            });
            this.treeView1.Size         = new System.Drawing.Size(176, 430);
            this.treeView1.TabIndex     = 0;
            this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
            //
            // editControl1
            //
            this.editControl1.BorderStyle               = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator              = config1;
            this.editControl1.Dock                      = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                  = new System.Drawing.Point(176, 0);
            this.editControl1.Name                      = "editControl1";
            this.editControl1.RenderRightToLeft         = false;
            this.editControl1.ScrollPosition            = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle         = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SharedFileMode            = true;
            this.editControl1.ShowHorizontalSplitters   = false;
            this.editControl1.ShowIndicatorMargin       = false;
            this.editControl1.ShowSelectionMargin       = false;
            this.editControl1.ShowVerticalSplitters     = false;
            this.editControl1.Size                      = new System.Drawing.Size(528, 430);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 1;
            this.editControl1.Text               = "";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 1;
            //
            // Form2
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(704, 430);
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.treeView1);
            this.Font        = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MaximumSize = new System.Drawing.Size(716, 467);
            this.Name        = "Form2";
            this.Text        = "Configuration Settings Display";
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #26
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.WordWrap       = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem34      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem13      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem14      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem15      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem16      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem17      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem18      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem19      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem20      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem21      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem22      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem23      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem24      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem25      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem26      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem27      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem28      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem29      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem30      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem31      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem32      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem33      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 42);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowHorizontalSplitters  = false;
            this.editControl1.ShowSelectionMargin      = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(674, 372);
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "";
            this.editControl1.TransferFocusOnTab       = true;
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("wrap mode");
            this.mainFrameBarManager1.Categories.Add("wrap type");
            this.mainFrameBarManager1.Categories.Add("line style");
            this.mainFrameBarManager1.Categories.Add("line color");
            this.mainFrameBarManager1.Categories.Add("fore color");
            this.mainFrameBarManager1.Categories.Add("back color");
            this.mainFrameBarManager1.Categories.Add("gradient style");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.WordWrap,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.parentBarItem2,
                this.barItem6,
                this.barItem7,
                this.parentBarItem3,
                this.barItem8,
                this.barItem9,
                this.parentBarItem4,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14,
                this.parentBarItem5,
                this.barItem15,
                this.barItem16,
                this.barItem17,
                this.barItem18,
                this.barItem34
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.WordWrap,
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem34,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";

            //
            // WordWrap
            //
            this.WordWrap.BarName       = "WordWrap";
            this.WordWrap.CategoryIndex = 0;
            this.WordWrap.ID            = "&WordWrap";
            this.WordWrap.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem2,
                this.parentBarItem3,
                this.parentBarItem4,
                this.parentBarItem5
            });
            this.WordWrap.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.WordWrap.ShowToolTipInPopUp = false;
            this.WordWrap.SizeToFit          = true;
            this.WordWrap.Text = "&WordWrap Options";
            //
            // barItem34
            //
            this.barItem34.BarName            = "barItem34";
            this.barItem34.CategoryIndex      = 0;
            this.barItem34.ID                 = "&New";
            this.barItem34.ShowToolTipInPopUp = false;
            this.barItem34.SizeToFit          = true;
            this.barItem34.Text               = "&New";
            this.barItem34.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&Open";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&Open";
            this.barItem1.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Save";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Save";
            this.barItem2.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save&As";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save&As";
            this.barItem3.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "&Close";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "&Close";
            this.barItem4.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Exit";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Exit";
            this.barItem5.Click             += new System.EventHandler(this.MainMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "WrapMode";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem6,
                this.barItem7
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "WrapMode";
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 1;
            this.barItem6.ID                 = "Control";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Control";
            this.barItem6.Click             += new System.EventHandler(this.WrapModeClick);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "TextArea";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "TextArea";
            this.barItem7.Click             += new System.EventHandler(this.WrapModeClick);
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 2;
            this.parentBarItem3.ID            = "WrapType";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem8,
                this.barItem9
            });
            this.parentBarItem3.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text = "WrapType";
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 2;
            this.barItem8.ID                 = "Character";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Character";
            this.barItem8.Click             += new System.EventHandler(this.WrapTypeClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 2;
            this.barItem9.ID                 = "Word";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Word";
            this.barItem9.Click             += new System.EventHandler(this.WrapTypeClick);
            //
            // parentBarItem4
            //
            this.parentBarItem4.BarName       = "parentBarItem4";
            this.parentBarItem4.CategoryIndex = 3;
            this.parentBarItem4.ID            = "LineStyle";
            this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14
            });
            this.parentBarItem4.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem4.ShowToolTipInPopUp = false;
            this.parentBarItem4.SizeToFit          = true;
            this.parentBarItem4.Text = "LineStyle";
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 3;
            this.barItem10.ID                 = "Dash";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Dash";
            this.barItem10.Click             += new System.EventHandler(this.LineStyleClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 3;
            this.barItem11.ID                 = "DashDot";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "DashDot";
            this.barItem11.Click             += new System.EventHandler(this.LineStyleClick);
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 3;
            this.barItem12.ID                 = "DashDotDot";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "DashDotDot";
            this.barItem12.Click             += new System.EventHandler(this.LineStyleClick);
            //
            // barItem13
            //
            this.barItem13.BarName            = "barItem13";
            this.barItem13.CategoryIndex      = 3;
            this.barItem13.ID                 = "Dot";
            this.barItem13.ShowToolTipInPopUp = false;
            this.barItem13.SizeToFit          = true;
            this.barItem13.Text               = "Dot";
            this.barItem13.Click             += new System.EventHandler(this.LineStyleClick);
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CategoryIndex      = 3;
            this.barItem14.ID                 = "Solid";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "Solid";
            this.barItem14.Click             += new System.EventHandler(this.LineStyleClick);
            //
            // parentBarItem5
            //
            this.parentBarItem5.BarName       = "parentBarItem5";
            this.parentBarItem5.CategoryIndex = 4;
            this.parentBarItem5.ID            = "LineColor";
            this.parentBarItem5.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem15,
                this.barItem16,
                this.barItem17,
                this.barItem18
            });
            this.parentBarItem5.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem5.ShowToolTipInPopUp = false;
            this.parentBarItem5.SizeToFit          = true;
            this.parentBarItem5.Text = "LineColor";
            //
            // barItem15
            //
            this.barItem15.BarName            = "barItem15";
            this.barItem15.CategoryIndex      = 4;
            this.barItem15.ID                 = "Green";
            this.barItem15.ShowToolTipInPopUp = false;
            this.barItem15.SizeToFit          = true;
            this.barItem15.Text               = "Green";
            this.barItem15.Click             += new System.EventHandler(this.LineColorClick);
            //
            // barItem16
            //
            this.barItem16.BarName            = "barItem16";
            this.barItem16.CategoryIndex      = 4;
            this.barItem16.ID                 = "Navy";
            this.barItem16.ShowToolTipInPopUp = false;
            this.barItem16.SizeToFit          = true;
            this.barItem16.Text               = "Navy";
            this.barItem16.Click             += new System.EventHandler(this.LineColorClick);
            //
            // barItem17
            //
            this.barItem17.BarName            = "barItem17";
            this.barItem17.CategoryIndex      = 4;
            this.barItem17.ID                 = "IndianRed";
            this.barItem17.ShowToolTipInPopUp = false;
            this.barItem17.SizeToFit          = true;
            this.barItem17.Text               = "IndianRed";
            this.barItem17.Click             += new System.EventHandler(this.LineColorClick);
            //
            // barItem18
            //
            this.barItem18.BarName            = "barItem18";
            this.barItem18.CategoryIndex      = 4;
            this.barItem18.ID                 = "Aqua";
            this.barItem18.ShowToolTipInPopUp = false;
            this.barItem18.SizeToFit          = true;
            this.barItem18.Text               = "Aqua";
            this.barItem18.Click             += new System.EventHandler(this.LineColorClick);
            //
            // parentBarItem6
            //
            this.parentBarItem6.BarName       = "parentBarItem6";
            this.parentBarItem6.CategoryIndex = 5;
            this.parentBarItem6.ID            = "ForeColor";
            this.parentBarItem6.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem19,
                this.barItem20,
                this.barItem21,
                this.barItem22
            });
            this.parentBarItem6.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem6.ShowToolTipInPopUp = false;
            this.parentBarItem6.SizeToFit          = true;
            this.parentBarItem6.Text = "ForeColor";
            //
            // barItem19
            //
            this.barItem19.BarName            = "barItem19";
            this.barItem19.CategoryIndex      = 5;
            this.barItem19.ID                 = "Salmon";
            this.barItem19.ShowToolTipInPopUp = false;
            this.barItem19.SizeToFit          = true;
            this.barItem19.Text               = "Salmon";
            this.barItem19.Click             += new System.EventHandler(this.ForeColorClick);
            //
            // barItem20
            //
            this.barItem20.BarName            = "barItem20";
            this.barItem20.CategoryIndex      = 5;
            this.barItem20.ID                 = "Orange";
            this.barItem20.ShowToolTipInPopUp = false;
            this.barItem20.SizeToFit          = true;
            this.barItem20.Text               = "Orange";
            this.barItem20.Click             += new System.EventHandler(this.ForeColorClick);
            //
            // barItem21
            //
            this.barItem21.BarName            = "barItem21";
            this.barItem21.CategoryIndex      = 5;
            this.barItem21.ID                 = "Blue";
            this.barItem21.ShowToolTipInPopUp = false;
            this.barItem21.SizeToFit          = true;
            this.barItem21.Text               = "Blue";
            this.barItem21.Click             += new System.EventHandler(this.ForeColorClick);
            //
            // barItem22
            //
            this.barItem22.BarName            = "barItem22";
            this.barItem22.CategoryIndex      = 5;
            this.barItem22.ID                 = "Pink";
            this.barItem22.ShowToolTipInPopUp = false;
            this.barItem22.SizeToFit          = true;
            this.barItem22.Text               = "Pink";
            this.barItem22.Click             += new System.EventHandler(this.ForeColorClick);
            //
            // parentBarItem7
            //
            this.parentBarItem7.BarName       = "parentBarItem7";
            this.parentBarItem7.CategoryIndex = 6;
            this.parentBarItem7.ID            = "BackColor";
            this.parentBarItem7.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem23,
                this.barItem24,
                this.barItem25,
                this.barItem26
            });
            this.parentBarItem7.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem7.ShowToolTipInPopUp = false;
            this.parentBarItem7.SizeToFit          = true;
            this.parentBarItem7.Text = "BackColor";
            //
            // barItem23
            //
            this.barItem23.BarName            = "barItem23";
            this.barItem23.CategoryIndex      = 6;
            this.barItem23.ID                 = "Beige";
            this.barItem23.ShowToolTipInPopUp = false;
            this.barItem23.SizeToFit          = true;
            this.barItem23.Text               = "Beige";
            this.barItem23.Click             += new System.EventHandler(this.BackColorClick);
            //
            // barItem24
            //
            this.barItem24.BarName            = "barItem24";
            this.barItem24.CategoryIndex      = 6;
            this.barItem24.ID                 = "LightYellow";
            this.barItem24.ShowToolTipInPopUp = false;
            this.barItem24.SizeToFit          = true;
            this.barItem24.Text               = "LightYellow";
            this.barItem24.Click             += new System.EventHandler(this.BackColorClick);
            //
            // barItem25
            //
            this.barItem25.BarName            = "barItem25";
            this.barItem25.CategoryIndex      = 6;
            this.barItem25.ID                 = "LightSalmon";
            this.barItem25.ShowToolTipInPopUp = false;
            this.barItem25.SizeToFit          = true;
            this.barItem25.Text               = "LightSalmon";
            this.barItem25.Click             += new System.EventHandler(this.BackColorClick);
            //
            // barItem26
            //
            this.barItem26.BarName            = "barItem26";
            this.barItem26.CategoryIndex      = 6;
            this.barItem26.ID                 = "Silver";
            this.barItem26.ShowToolTipInPopUp = false;
            this.barItem26.SizeToFit          = true;
            this.barItem26.Text               = "Silver";
            this.barItem26.Click             += new System.EventHandler(this.BackColorClick);
            //
            // parentBarItem8
            //
            this.parentBarItem8.BarName       = "parentBarItem8";
            this.parentBarItem8.CategoryIndex = 7;
            this.parentBarItem8.ID            = "GradientStyle";
            this.parentBarItem8.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem27,
                this.barItem28,
                this.barItem29,
                this.barItem30,
                this.barItem31,
                this.barItem32,
                this.barItem33
            });
            this.parentBarItem8.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem8.ShowToolTipInPopUp = false;
            this.parentBarItem8.SizeToFit          = true;
            this.parentBarItem8.Text = "GradientStyle";
            //
            // barItem27
            //
            this.barItem27.BarName            = "barItem27";
            this.barItem27.CategoryIndex      = 7;
            this.barItem27.ID                 = "BackwardDiagonal";
            this.barItem27.ShowToolTipInPopUp = false;
            this.barItem27.SizeToFit          = true;
            this.barItem27.Text               = "BackwardDiagonal";
            this.barItem27.Click             += new System.EventHandler(this.GradientStyleClick);
            //
            // barItem28
            //
            this.barItem28.BarName            = "barItem28";
            this.barItem28.CategoryIndex      = 7;
            this.barItem28.ID                 = "ForwardDiagonal";
            this.barItem28.ShowToolTipInPopUp = false;
            this.barItem28.SizeToFit          = true;
            this.barItem28.Text               = "ForwardDiagonal";
            this.barItem28.Click             += new System.EventHandler(this.GradientStyleClick);
            //
            // barItem29
            //
            this.barItem29.BarName            = "barItem29";
            this.barItem29.CategoryIndex      = 7;
            this.barItem29.ID                 = "Horizontal";
            this.barItem29.ShowToolTipInPopUp = false;
            this.barItem29.SizeToFit          = true;
            this.barItem29.Text               = "Horizontal";
            this.barItem29.Click             += new System.EventHandler(this.GradientStyleClick);
            //
            // barItem30
            //
            this.barItem30.BarName            = "barItem30";
            this.barItem30.CategoryIndex      = 7;
            this.barItem30.ID                 = "None";
            this.barItem30.ShowToolTipInPopUp = false;
            this.barItem30.SizeToFit          = true;
            this.barItem30.Text               = "None";
            this.barItem30.Click             += new System.EventHandler(this.GradientStyleClick);
            //
            // barItem31
            //
            this.barItem31.BarName            = "barItem31";
            this.barItem31.CategoryIndex      = 7;
            this.barItem31.ID                 = "PathEllipse";
            this.barItem31.ShowToolTipInPopUp = false;
            this.barItem31.SizeToFit          = true;
            this.barItem31.Text               = "PathEllipse";
            this.barItem31.Click             += new System.EventHandler(this.GradientStyleClick);
            //
            // barItem32
            //
            this.barItem32.BarName            = "barItem32";
            this.barItem32.CategoryIndex      = 7;
            this.barItem32.ID                 = "PathRectangle";
            this.barItem32.ShowToolTipInPopUp = false;
            this.barItem32.SizeToFit          = true;
            this.barItem32.Text               = "PathRectangle";
            this.barItem32.Click             += new System.EventHandler(this.GradientStyleClick);
            //
            // barItem33
            //
            this.barItem33.BarName            = "barItem33";
            this.barItem33.CategoryIndex      = 7;
            this.barItem33.ID                 = "Vertical";
            this.barItem33.ShowToolTipInPopUp = false;
            this.barItem33.SizeToFit          = true;
            this.barItem33.Text               = "Vertical";
            this.barItem33.Click             += new System.EventHandler(this.GradientStyleClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(694, 423);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(706, 460);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Word Wrap";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #27
0
ファイル: Form1.cs プロジェクト: GitHub-Pan/winforms-demos
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowLineNumbers          = false;
            this.editControl1.Size                     = new System.Drawing.Size(522, 396);
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "";
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("print");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.parentBarItem2,
                this.barItem6,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.menuItem6_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Exit";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Exit";
            this.barItem5.Click             += new System.EventHandler(this.menuItem8_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "Print Menu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem6,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Print Options";
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 1;
            this.barItem6.ID                 = "Show Print Dialog";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Show Print Dialog";
            this.barItem6.Click             += new System.EventHandler(this.menuItem10_Click);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Print Preview";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Print Preview";
            this.barItem7.Click             += new System.EventHandler(this.menuItem14_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Print Current Page";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Print Current Page";
            this.barItem8.Click             += new System.EventHandler(this.menuItem11_Click);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Print Directly";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Print Directly";
            this.barItem9.Click             += new System.EventHandler(this.menuItem13_Click);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Print Selected Text";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Print Selected Text";
            this.barItem10.Click             += new System.EventHandler(this.menuItem15_Click);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Print To Document";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Print To Document";
            this.barItem11.Click             += new System.EventHandler(this.menuItem16_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(542, 445);
            this.Controls.Add(this.editControl1);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Print Demo";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Closing      += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #28
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.barItem14            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem15            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem16            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1        = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "File");
            this.barItem1    = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem2    = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.viewBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem3    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4    = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem5    = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem9    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))));
            this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98)))));
            this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator   = config1;
            this.editControl1.Dock           = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndentationBlockBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(61)))), ((int)(((byte)(139))))));
            this.editControl1.IndentationBlockBorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(128)))));
            this.editControl1.IndentBlockHighlightingColor    = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(0)))));
            this.editControl1.IndentLineColor          = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(216)))), ((int)(((byte)(216)))));
            this.editControl1.LineNumbersColor         = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location          = new System.Drawing.Point(2, 34);
            this.editControl1.MarkChangedLines  = true;
            this.editControl1.Name              = "editControl1";
            this.editControl1.RenderRightToLeft = false;
            this.editControl1.ScrollPosition    = new System.Drawing.Point(0, 396);
            this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Office2016;
            this.editControl1.SelectionMarginBackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
            this.editControl1.SelectionMarginForegroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
            this.editControl1.SelectionTextColor             = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
            this.editControl1.ShowHorizontalSplitters        = false;
            this.editControl1.ShowLineNumbers         = false;
            this.editControl1.ShowOutliningCollapsers = false;
            this.editControl1.ShowSelectionMargin     = false;
            this.editControl1.ShowVerticalSplitters   = false;
            this.editControl1.Size = new System.Drawing.Size(971, 666);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 214;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Office2016Colorful;
            this.editControl1.Style            = Syncfusion.Windows.Forms.Edit.EditControlStyle.Office2016Colorful;
            this.editControl1.TabIndex         = 20;
            this.editControl1.Text             = "editControl1\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n";
            this.editControl1.UseXPStyle       = false;
            this.editControl1.UseXPStyleBorder = true;
            this.editControl1.VisualColumn     = 1;
            this.editControl1.VScrollMode      = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.Categories.Add("Icons");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.WinForms.Controls.SfForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.viewBarItem,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem9
            });
            this.mainFrameBarManager1.MetroBackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(219)))), ((int)(((byte)(233)))));
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "File";
            this.bar1.Caption = "File";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.viewBarItem
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.5F);
            this.barItem1.ID                 = "&FILE";
            this.barItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&File";
            this.barItem1.WrapLength         = 20;
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "EDIT";
            this.barItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Edit";
            this.barItem2.WrapLength         = 20;
            //
            // viewBarItem
            //
            this.viewBarItem.BarName            = "viewBarItem";
            this.viewBarItem.CategoryIndex      = 0;
            this.viewBarItem.ID                 = "VIEW";
            this.viewBarItem.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.viewBarItem.ShowToolTipInPopUp = false;
            this.viewBarItem.SizeToFit          = true;
            this.viewBarItem.Text               = "&View";
            this.viewBarItem.WrapLength         = 20;
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "WINDOW";
            this.barItem4.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(244)))), ((int)(((byte)(191)))));
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "&Window";
            this.barItem4.WrapLength         = 20;
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Save All";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Save All";
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Open";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Open";
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Save";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Save";
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            //this.CaptionFont = new Font("Segoe UI", 9.5f, FontStyle.Regular);
            this.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(219)))), ((int)(((byte)(233)))));
            this.ClientSize = new System.Drawing.Size(1001, 725);
            this.Controls.Add(this.editControl1);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(0);
            this.ShowIcon      = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Getting Started";
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #29
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.panel1 = new System.Windows.Forms.Panel();
            this.multiColumnComboBox1 = new Syncfusion.Windows.Forms.Tools.MultiColumnComboBox();
            this.label1 = new System.Windows.Forms.Label();
            this.cmdRemove = new Syncfusion.Windows.Forms.ButtonAdv();
            this.cmdAdd = new Syncfusion.Windows.Forms.ButtonAdv();
            this.panelAssigned = new System.Windows.Forms.Panel();
            this.panelAvailable = new System.Windows.Forms.Panel();
            this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.multiColumnComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            this.SuspendLayout();
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.multiColumnComboBox1);
            this.panel1.Controls.Add(this.label1);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(780, 35);
            this.panel1.TabIndex = 8;
            // 
            // multiColumnComboBox1
            // 
            this.multiColumnComboBox1.IgnoreThemeBackground = true;
            this.multiColumnComboBox1.Location = new System.Drawing.Point(68, 6);
            this.multiColumnComboBox1.Name = "multiColumnComboBox1";
            this.multiColumnComboBox1.Size = new System.Drawing.Size(205, 21);
            this.multiColumnComboBox1.TabIndex = 4;
            this.multiColumnComboBox1.Text = "multiColumnComboBox1";
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(14, 10);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(43, 13);
            this.label1.TabIndex = 3;
            this.label1.Text = "Objects";
            // 
            // cmdRemove
            // 
            this.cmdRemove.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Office2007;
            this.cmdRemove.Location = new System.Drawing.Point(357, 130);
            this.cmdRemove.Name = "cmdRemove";
            this.cmdRemove.Size = new System.Drawing.Size(63, 21);
            this.cmdRemove.TabIndex = 12;
            this.cmdRemove.Text = "Remove";
            // 
            // cmdAdd
            // 
            this.cmdAdd.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Office2007;
            this.cmdAdd.Location = new System.Drawing.Point(357, 103);
            this.cmdAdd.Name = "cmdAdd";
            this.cmdAdd.Size = new System.Drawing.Size(63, 21);
            this.cmdAdd.TabIndex = 11;
            this.cmdAdd.Text = "Add";
            // 
            // panelAssigned
            // 
            this.panelAssigned.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelAssigned.Location = new System.Drawing.Point(427, 61);
            this.panelAssigned.Name = "panelAssigned";
            this.panelAssigned.Size = new System.Drawing.Size(210, 138);
            this.panelAssigned.TabIndex = 14;
            // 
            // panelAvailable
            // 
            this.panelAvailable.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.panelAvailable.Location = new System.Drawing.Point(139, 61);
            this.panelAvailable.Name = "panelAvailable";
            this.panelAvailable.Size = new System.Drawing.Size(210, 138);
            this.panelAvailable.TabIndex = 13;
            // 
            // editControl1
            // 
            this.editControl1.Configurator = config1;
            this.editControl1.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location = new System.Drawing.Point(17, 221);
            this.editControl1.Name = "editControl1";
            this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0);
            this.editControl1.Size = new System.Drawing.Size(743, 166);
            this.editControl1.StatusBarSettings.StatusPanel.MinWidth = 70;
            this.editControl1.StatusBarSettings.TextPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.editControl1.TabIndex = 15;
            this.editControl1.Text = "editControl1";
            this.editControl1.VisualColumn = 13;
            // 
            // PermissionEditorCtl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.cmdRemove);
            this.Controls.Add(this.cmdAdd);
            this.Controls.Add(this.panelAssigned);
            this.Controls.Add(this.panelAvailable);
            this.Controls.Add(this.panel1);
            this.MaximumSize = new System.Drawing.Size(780, 400);
            this.MinimumSize = new System.Drawing.Size(780, 400);
            this.Name = "PermissionEditorCtl";
            this.Size = new System.Drawing.Size(780, 400);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.multiColumnComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            this.ResumeLayout(false);

        }