Exemple #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();
            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
            //
#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("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.ClientSize        = new System.Drawing.Size(540, 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(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);
        }
Exemple #2
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
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            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.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(538, 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(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);
        }
Exemple #3
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            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();
            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.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, "");
            //
            // 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("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.ClientSize        = new System.Drawing.Size(542, 445);
            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(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.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Exemple #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     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
     //
     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("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.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.ClientSize        = new System.Drawing.Size(542, 446);
     this.Controls.Add(this.editControl1);
     this.MetroColor    = Color.White;
     this.DropShadow    = true;
     this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(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);
 }
Exemple #5
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.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = 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.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.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.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.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.ShowIndicatorMargin      = false;
            this.editControl1.ShowOutliningCollapsers  = false;
            this.editControl1.ShowVerticalSplitters    = false;
            this.editControl1.Size                     = new System.Drawing.Size(518, 374);

            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.MenuFill          += new System.EventHandler(this.editControl1_MenuFill);
            //
            // 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("Configuration");
            this.mainFrameBarManager1.Categories.Add("CodeSamples");
            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.barItem8,
                this.barItem9,
                this.parentBarItem2,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14,
                this.barItem15,
                this.barItem16,
                this.barItem17,
                this.barItem18,
                this.barItem19,
                this.barItem20,
                this.barItem21,
                this.barItem7
            });
            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.FileMenuClick);
            //
            // 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.FileMenuClick);
            //
            // 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.FileMenuClick);
            //
            // 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.FileMenuClick);
            //
            // 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.FileMenuClick);
            //
            // 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.FileMenuClick);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Launch Configuration Editor";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Visible            = false;
            this.barItem8.Text               = "Launch Configuration Editor";
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Launch Configuration Display Utility";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Launch Configuration Display Utility";
            this.barItem9.Click             += new System.EventHandler(this.ConfigurationMenuClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 2;
            this.parentBarItem2.ID            = "Code &Samples";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.barItem14,
                this.barItem15,
                this.barItem16,
                this.barItem17,
                this.barItem18,
                this.barItem19,
                this.barItem20,
                this.barItem21,
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Code &Samples";
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 2;
            this.barItem10.ID                 = "CSharp";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "CSharp";
            this.barItem10.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            this.barItem10.Checked            = true;
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 2;
            this.barItem11.ID                 = "HTML";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "HTML";
            this.barItem11.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 2;
            this.barItem12.ID                 = "XML";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "XML";
            this.barItem12.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem13
            //
            this.barItem13.BarName            = "barItem13";
            this.barItem13.CategoryIndex      = 2;
            this.barItem13.ID                 = "Pascal";
            this.barItem13.ShowToolTipInPopUp = false;
            this.barItem13.SizeToFit          = true;
            this.barItem13.Text               = "Pascal";
            this.barItem13.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CategoryIndex      = 2;
            this.barItem14.ID                 = "HTML with embedded JScript";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "HTML with embedded JScript";
            this.barItem14.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem15
            //
            this.barItem15.BarName            = "barItem15";
            this.barItem15.CategoryIndex      = 2;
            this.barItem15.ID                 = "HTML embedded with VBScript";
            this.barItem15.ShowToolTipInPopUp = false;
            this.barItem15.SizeToFit          = true;
            this.barItem15.Text               = "HTML embedded with VBScript";
            this.barItem15.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem16
            //
            this.barItem16.BarName            = "barItem16";
            this.barItem16.CategoryIndex      = 2;
            this.barItem16.ID                 = "Delphi";
            this.barItem16.ShowToolTipInPopUp = false;
            this.barItem16.SizeToFit          = true;
            this.barItem16.Text               = "Delphi";
            this.barItem16.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem17
            //
            this.barItem17.BarName            = "barItem17";
            this.barItem17.CategoryIndex      = 2;
            this.barItem17.ID                 = "VB.NET";
            this.barItem17.ShowToolTipInPopUp = false;
            this.barItem17.SizeToFit          = true;
            this.barItem17.Text               = "VB.NET";
            this.barItem17.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem18
            //
            this.barItem18.BarName            = "barItem18";
            this.barItem18.CategoryIndex      = 2;
            this.barItem18.ID                 = "SQL";
            this.barItem18.ShowToolTipInPopUp = false;
            this.barItem18.SizeToFit          = true;
            this.barItem18.Text               = "SQL";
            this.barItem18.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem19
            //
            this.barItem19.BarName            = "barItem19";
            this.barItem19.CategoryIndex      = 2;
            this.barItem19.ID                 = "Java";
            this.barItem19.ShowToolTipInPopUp = false;
            this.barItem19.SizeToFit          = true;
            this.barItem19.Text               = "Java";
            this.barItem19.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem20
            //
            this.barItem20.BarName            = "barItem20";
            this.barItem20.CategoryIndex      = 2;
            this.barItem20.ID                 = "VBScript";
            this.barItem20.ShowToolTipInPopUp = false;
            this.barItem20.SizeToFit          = true;
            this.barItem20.Text               = "VBScript";
            this.barItem20.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem21
            //
            this.barItem21.BarName            = "barItem21";
            this.barItem21.CategoryIndex      = 2;
            this.barItem21.ID                 = "JScript";
            this.barItem21.ShowToolTipInPopUp = false;
            this.barItem21.SizeToFit          = true;
            this.barItem21.Text               = "JScript";
            this.barItem21.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 2;
            this.barItem7.ID                 = "PowerShell";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "PowerShell";
            this.barItem7.Click             += new System.EventHandler(this.CodeSamplesMenuClick);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(538, 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(550, 460);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Syntax Coloring";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Exemple #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.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
            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.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, 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);
        }
        /// <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(TextEditorForm));
            Syncfusion.Windows.Forms.MetroColorTable       metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable();
            this.imageList1             = new System.Windows.Forms.ImageList(this.components);
            this.barManager1            = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this);
            this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "MainMenu");
            this.parentBarItem4         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.saveItem               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.editMenu               = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.cutBarItem             = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.copyBarItem            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.pasteBarItem           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.findItem               = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.fontColorBarItem       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.colorUIControl1        = new Syncfusion.Windows.Forms.ColorUIControl();
            this.selAllBarItem          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3               = 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.parentBarItem3         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.largeImageList         = new System.Windows.Forms.ImageList(this.components);
            this.popupMenu1             = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components);
            this.toolTip1               = new System.Windows.Forms.ToolTip(this.components);
            this.barItem4               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.richTextBox1           = new System.Windows.Forms.RichTextBox();
            this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.popupMenusManager1     = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenusManager(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.findItem)).BeginInit();
            this.popupControlContainer1.SuspendLayout();
            this.SuspendLayout();
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            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, "");
            this.imageList1.Images.SetKeyName(8, "");
            this.imageList1.Images.SetKeyName(9, "");
            //
            // barManager1
            //
#if !NETCORE
            this.barManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("barManager1.BarPositionInfo")));
#endif
            this.barManager1.Bars.Add(this.bar1);
            this.barManager1.Categories.Add("Edit");
            this.barManager1.Categories.Add("Standard");
            this.barManager1.CurrentBaseFormType = "Syncfusion.WinForms.Controls.SfForm";
            this.barManager1.EnableMenuMerge     = true;
            this.barManager1.Form      = this;
            this.barManager1.FormName  = "Text Editor";
            this.barManager1.ImageList = this.imageList1;
            this.barManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem4,
                this.editMenu,
                this.cutBarItem,
                this.copyBarItem,
                this.pasteBarItem,
                this.fontColorBarItem,
                this.selAllBarItem,
                this.findItem,
                this.barItem3,
                this.barItem5,
                this.parentBarItem2,
                this.parentBarItem3,
                this.saveItem
            });
            this.barManager1.LargeImageList          = this.largeImageList;
            this.barManager1.MetroColor              = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
            this.barManager1.ThemeName               = "Office2019Colorful";
            this.barManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName  = "MainMenu";
            this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu)
                                                                                      | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                                     | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
            this.bar1.Caption = "MainMenu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem4,
                this.editMenu
            });
            this.bar1.Manager = this.barManager1;
            //
            // parentBarItem4
            //
            this.parentBarItem4.BarName        = "parentBarItem4";
            this.parentBarItem4.CategoryIndex  = 0;
            this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem4.ID             = "&File";
            this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.saveItem
            });
            this.parentBarItem4.MergeOrder         = 1;
            this.parentBarItem4.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
            this.parentBarItem4.ShowToolTipInPopUp = false;
            this.parentBarItem4.SizeToFit          = true;
            this.parentBarItem4.Text       = "&File";
            this.parentBarItem4.WrapLength = 20;
            //
            // saveItem
            //
            this.saveItem.BarName            = "saveItem";
            this.saveItem.CategoryIndex      = 1;
            this.saveItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.saveItem.ID                 = "&Save";
            this.saveItem.ImageIndex         = 6;
            this.saveItem.MergeOrder         = 2;
            this.saveItem.Shortcut           = System.Windows.Forms.Shortcut.CtrlS;
            this.saveItem.ShowToolTipInPopUp = false;
            this.saveItem.SizeToFit          = true;
            this.saveItem.Text               = "&Save";
            this.saveItem.Tooltip            = "Save Text (Ctrl + S)";
            this.saveItem.Click             += new System.EventHandler(this.saveItem_Click);
            //
            // editMenu
            //
            this.editMenu.BarName        = "editMenu";
            this.editMenu.CategoryIndex  = 0;
            this.editMenu.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.editMenu.ID             = "&Edit";
            this.editMenu.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.cutBarItem,
                this.copyBarItem,
                this.pasteBarItem,
                this.findItem,
                this.fontColorBarItem,
                this.selAllBarItem
            });
            this.editMenu.MergeOrder = 2;
            this.editMenu.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
            this.editMenu.SeparatorIndices.AddRange(new int[] {
                2,
                5
            });
            this.editMenu.ShowToolTipInPopUp = false;
            this.editMenu.SizeToFit          = true;
            this.editMenu.Text       = "&Edit";
            this.editMenu.WrapLength = 20;
            //
            // cutBarItem
            //
            this.cutBarItem.BarName            = "cutBarItem";
            this.cutBarItem.CategoryIndex      = 0;
            this.cutBarItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cutBarItem.ID                 = "Cu&t";
            this.cutBarItem.ImageIndex         = 1;
            this.cutBarItem.ShowToolTipInPopUp = false;
            this.cutBarItem.SizeToFit          = true;
            this.cutBarItem.Text               = "Cu&t";
            this.cutBarItem.Click             += new System.EventHandler(this.cutBarItem_Click);
            //
            // copyBarItem
            //
            this.copyBarItem.BarName            = "copyBarItem";
            this.copyBarItem.CategoryIndex      = 0;
            this.copyBarItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.copyBarItem.ID                 = "&Copy";
            this.copyBarItem.ImageIndex         = 0;
            this.copyBarItem.ShowToolTipInPopUp = false;
            this.copyBarItem.SizeToFit          = true;
            this.copyBarItem.Text               = "&Copy";
            this.copyBarItem.Click             += new System.EventHandler(this.copyBarItem_Click);
            //
            // pasteBarItem
            //
            this.pasteBarItem.BarName            = "pasteBarItem";
            this.pasteBarItem.CategoryIndex      = 0;
            this.pasteBarItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.pasteBarItem.ID                 = "&Paste";
            this.pasteBarItem.ImageIndex         = 2;
            this.pasteBarItem.ShowToolTipInPopUp = false;
            this.pasteBarItem.SizeToFit          = true;
            this.pasteBarItem.Text               = "&Paste";
            this.pasteBarItem.Click             += new System.EventHandler(this.pasteBarItem_Click);
            //
            // findItem
            //
            this.findItem.AutoAppend         = true;
            this.findItem.BarName            = "findItem";
            this.findItem.CategoryIndex      = 0;
            this.findItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.findItem.ID                 = "Find";
            this.findItem.MinWidth           = 80;
            this.findItem.ShowToolTipInPopUp = false;
            this.findItem.SizeToFit          = true;
            this.findItem.Text               = "Find";
            this.findItem.Click             += new System.EventHandler(this.findItem_Click);
            //
            // fontColorBarItem
            //
            this.fontColorBarItem.BarName               = "fontColorBarItem";
            this.fontColorBarItem.CategoryIndex         = 0;
            this.fontColorBarItem.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.fontColorBarItem.ID                    = "&Font Color";
            this.fontColorBarItem.ImageIndex            = 3;
            this.fontColorBarItem.PopupControlContainer = this.popupControlContainer1;
            this.fontColorBarItem.ShowToolTipInPopUp    = false;
            this.fontColorBarItem.SizeToFit             = true;
            this.fontColorBarItem.Text                  = "&Font Color";
            this.fontColorBarItem.Click                += new System.EventHandler(this.fontColorBarItem_Click);
            //
            // popupControlContainer1
            //
            this.popupControlContainer1.BackColor = System.Drawing.SystemColors.ControlDark;
            this.popupControlContainer1.Controls.Add(this.colorUIControl1);
            this.popupControlContainer1.Location = new System.Drawing.Point(176, 32);
            this.popupControlContainer1.Name     = "popupControlContainer1";
            this.popupControlContainer1.Padding  = new System.Windows.Forms.Padding(1);
            this.popupControlContainer1.Size     = new System.Drawing.Size(208, 200);
            this.popupControlContainer1.TabIndex = 5;
            this.popupControlContainer1.Visible  = false;
            this.popupControlContainer1.Popup   += new System.EventHandler(this.popupControlContainer1_Popup);
            //
            // colorUIControl1
            //
            this.colorUIControl1.BackColor             = System.Drawing.SystemColors.Control;
            this.colorUIControl1.BeforeTouchSize       = new System.Drawing.Size(206, 198);
            this.colorUIControl1.Dock                  = System.Windows.Forms.DockStyle.Fill;
            this.colorUIControl1.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colorUIControl1.ForeColor             = System.Drawing.SystemColors.ControlText;
            this.colorUIControl1.Location              = new System.Drawing.Point(1, 1);
            this.colorUIControl1.Name                  = "colorUIControl1";
            this.colorUIControl1.ScrollMetroColorTable = metroColorTable1;
            this.colorUIControl1.Size                  = new System.Drawing.Size(206, 198);
            this.colorUIControl1.TabIndex              = 0;
            this.colorUIControl1.Text                  = "colorUIControl1";
            this.colorUIControl1.ThemeName             = "Office2019Colorful";
            this.colorUIControl1.ColorSelected        += new System.EventHandler(this.colorUIControl1_ColorSelected);
            //
            // selAllBarItem
            //
            this.selAllBarItem.BarName            = "selAllBarItem";
            this.selAllBarItem.CategoryIndex      = 0;
            this.selAllBarItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.selAllBarItem.ID                 = "Select &All";
            this.selAllBarItem.IsRecentlyUsedItem = false;
            this.selAllBarItem.ShowToolTipInPopUp = false;
            this.selAllBarItem.SizeToFit          = true;
            this.selAllBarItem.Text               = "Select &All";
            this.selAllBarItem.Click             += new System.EventHandler(this.selAllBarItem_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barItem3.ID                 = "Item 1";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Item 1";
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barItem5.ID                 = "Item 2";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Item 2";
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName        = "parentBarItem2";
            this.parentBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem2.ID             = "Parent Item 1";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem3
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text       = "Parent Item 1";
            this.parentBarItem2.WrapLength = 20;
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName            = "parentBarItem3";
            this.parentBarItem3.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem3.ID                 = "Parent 2";
            this.parentBarItem3.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text               = "Parent 2";
            this.parentBarItem3.WrapLength         = 20;
            //
            // largeImageList
            //
            this.largeImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeImageList.ImageStream")));
            this.largeImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.largeImageList.Images.SetKeyName(0, "");
            this.largeImageList.Images.SetKeyName(1, "");
            this.largeImageList.Images.SetKeyName(2, "");
            this.largeImageList.Images.SetKeyName(3, "");
            this.largeImageList.Images.SetKeyName(4, "");
            this.largeImageList.Images.SetKeyName(5, "");
            this.largeImageList.Images.SetKeyName(6, "");
            //
            // popupMenu1
            //
            this.popupMenu1.ParentBarItem = this.editMenu;
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Test";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Test";
            //
            // richTextBox1
            //
            this.richTextBox1.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.richTextBox1.HideSelection = false;
            this.richTextBox1.Location      = new System.Drawing.Point(2, 2);
            this.richTextBox1.Name          = "richTextBox1";
            this.richTextBox1.Size          = new System.Drawing.Size(540, 388);
            this.richTextBox1.TabIndex      = 4;
            this.richTextBox1.Text          = "";
            this.popupMenusManager1.SetXPContextMenu(this.richTextBox1, this.popupMenu1);
            this.richTextBox1.SelectionChanged += new System.EventHandler(this.richTextBox1_SelectionChanged);
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName = "parentBarItem1";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem3,
                this.barItem5,
                this.parentBarItem2
            });
            this.parentBarItem1.MetroColor = System.Drawing.Color.LightSkyBlue;
            this.parentBarItem1.SeparatorIndices.AddRange(new int[] {
                1
            });
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.WrapLength         = 20;
            //
            // TextEditorForm
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize        = new System.Drawing.Size(544, 392);
            this.Controls.Add(this.popupControlContainer1);
            this.Controls.Add(this.richTextBox1);
            this.Font          = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name          = "TextEditorForm";
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
            this.Text          = "Child Form2";
            this.Load         += new System.EventHandler(this.ClientForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.findItem)).EndInit();
            this.popupControlContainer1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Exemple #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.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);
        }
Exemple #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.barItem8               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem9               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.imageList1             = new System.Windows.Forms.ImageList(this.components);
     this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
     this.listBox1               = new System.Windows.Forms.ListBox();
     this.barManager1            = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
     this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "MainMenu");
     this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.openBarItem            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.closeBarItem           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem4         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.toolbarListBarItem1    = new Syncfusion.Windows.Forms.Tools.XPMenus.ToolbarListBarItem();
     this.mdiListBarItem1        = new Syncfusion.Windows.Forms.Tools.XPMenus.MdiListBarItem();
     this.parentBarItem6         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.bar2                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "Standard");
     this.dropDownBarItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
     this.popupControlContainer2 = new Syncfusion.Windows.Forms.PopupControlContainer();
     this.colorPickerUIAdv1      = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
     this.largeImageList         = new System.Windows.Forms.ImageList(this.components);
     this.mdiClient1             = new System.Windows.Forms.MdiClient();
     this.barItem12              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem11              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem10              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
     this.popupMenu2             = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components);
     this.openFileDialog1        = new System.Windows.Forms.OpenFileDialog();
     this.barItem4               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     this.popupControlContainer2.SuspendLayout();
     this.SuspendLayout();
     //
     // barItem8
     //
     this.barItem8.BarName            = "barItem8";
     this.barItem8.CategoryIndex      = 0;
     this.barItem8.ID                 = "Test4";
     this.barItem8.ShowToolTipInPopUp = false;
     this.barItem8.SizeToFit          = true;
     this.barItem8.Text               = "Test4";
     //
     // barItem9
     //
     this.barItem9.BarName            = "barItem9";
     this.barItem9.CategoryIndex      = 0;
     this.barItem9.ID                 = "Test5";
     this.barItem9.ShowToolTipInPopUp = false;
     this.barItem9.SizeToFit          = true;
     this.barItem9.Text               = "Test5";
     //
     // 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, "");
     this.imageList1.Images.SetKeyName(8, "");
     this.imageList1.Images.SetKeyName(9, "");
     this.imageList1.Images.SetKeyName(10, "");
     this.imageList1.Images.SetKeyName(11, "");
     this.imageList1.Images.SetKeyName(12, "");
     this.imageList1.Images.SetKeyName(13, "");
     this.imageList1.Images.SetKeyName(14, "");
     this.imageList1.Images.SetKeyName(15, "architecture_info_16.png");
     this.imageList1.Images.SetKeyName(16, "ballon_fav_16.png");
     //
     // popupControlContainer1
     //
     this.popupControlContainer1.Location = new System.Drawing.Point(384, 80);
     this.popupControlContainer1.Name     = "popupControlContainer1";
     this.popupControlContainer1.Size     = new System.Drawing.Size(96, 96);
     this.popupControlContainer1.TabIndex = 5;
     this.popupControlContainer1.Visible  = false;
     //
     // listBox1
     //
     this.listBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.listBox1.Location = new System.Drawing.Point(0, 0);
     this.listBox1.Name     = "listBox1";
     this.listBox1.Size     = new System.Drawing.Size(96, 95);
     this.listBox1.TabIndex = 0;
     //
     // barManager1
     //
     this.barManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("barManager1.BarPositionInfo")));
     this.barManager1.ThemeName       = "Office2019Colorful";
     this.barManager1.Bars.Add(this.bar1);
     //this.barManager1.Bars.Add(this.bar2);
     this.barManager1.Categories.Add("File");
     this.barManager1.Categories.Add("View");
     this.barManager1.Categories.Add("Window");
     this.barManager1.Categories.Add("&Help");
     this.barManager1.Categories.Add("StatusBar");
     this.barManager1.EnableMenuMerge = true;
     this.barManager1.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     //this.barManager1.Form = this;
     this.barManager1.ImageList = this.imageList1;
     this.barManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.openBarItem,
         this.closeBarItem,
         this.parentBarItem4,
         this.mdiListBarItem1,
         this.toolbarListBarItem1,
         this.dropDownBarItem2,
         this.parentBarItem6
     });
     this.barManager1.LargeImageList          = this.largeImageList;
     this.barManager1.ResetCustomization      = false;
     this.barManager1.UseBackwardCompatiblity = false;
     //
     // bar1
     //
     this.bar1.BarName  = "MainMenu";
     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.RotateWhenVertical)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)));
     this.bar1.Caption = "MainMenu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem4,
         this.parentBarItem6
     });
     this.bar1.Manager = this.barManager1;
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName        = "parentBarItem1";
     this.parentBarItem1.CategoryIndex  = 0;
     this.parentBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem1.ID             = "&File";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.openBarItem,
         this.closeBarItem
     });
     this.parentBarItem1.MergeOrder = 1;
     this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem1.SeparatorIndices.AddRange(new int[] {
         2,
         3
     });
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem1.Text       = "&File";
     this.parentBarItem1.WrapLength = 20;
     //
     // openBarItem
     //
     this.openBarItem.BarName            = "openBarItem";
     this.openBarItem.CategoryIndex      = 0;
     this.openBarItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.openBarItem.ID                 = "&Open";
     this.openBarItem.ImageIndex         = 0;
     this.openBarItem.MergeOrder         = 1;
     this.openBarItem.Shortcut           = System.Windows.Forms.Shortcut.CtrlO;
     this.openBarItem.ShowToolTipInPopUp = false;
     this.openBarItem.SizeToFit          = true;
     this.openBarItem.Text               = "&Open";
     this.openBarItem.Click             += new System.EventHandler(this.openBarItem_Click);
     //
     // closeBarItem
     //
     this.closeBarItem.BarName            = "closeBarItem";
     this.closeBarItem.CategoryIndex      = 0;
     this.closeBarItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.closeBarItem.ID                 = "&Close";
     this.closeBarItem.ImageIndex         = 4;
     this.closeBarItem.MergeOrder         = 3;
     this.closeBarItem.Shortcut           = System.Windows.Forms.Shortcut.CtrlShiftO;
     this.closeBarItem.ShowToolTipInPopUp = false;
     this.closeBarItem.SizeToFit          = true;
     this.closeBarItem.Text               = "&Close";
     this.closeBarItem.Click             += new System.EventHandler(this.closeBarItem_Click);
     //
     // parentBarItem4
     //
     this.parentBarItem4.BarName        = "parentBarItem4";
     this.parentBarItem4.CategoryIndex  = 1;
     this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem4.ID             = "&View";
     this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.toolbarListBarItem1
     });
     this.parentBarItem4.MergeOrder         = 5;
     this.parentBarItem4.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem4.ShowToolTipInPopUp = false;
     this.parentBarItem4.SizeToFit          = true;
     this.parentBarItem4.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem4.Text       = "&View";
     this.parentBarItem4.WrapLength = 20;
     //
     // toolbarListBarItem1
     //
     this.toolbarListBarItem1.BarName            = "toolbarListBarItem1";
     this.toolbarListBarItem1.CategoryIndex      = 1;
     this.toolbarListBarItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.toolbarListBarItem1.ID                 = "&Toolbars";
     this.toolbarListBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.toolbarListBarItem1.ShowToolTipInPopUp = false;
     this.toolbarListBarItem1.SizeToFit          = true;
     this.toolbarListBarItem1.Text               = "&Toolbars";
     this.toolbarListBarItem1.WrapLength         = 20;
     //
     // mdiListBarItem1
     //
     this.mdiListBarItem1.BarName            = "mdiListBarItem1";
     this.mdiListBarItem1.CategoryIndex      = 2;
     this.mdiListBarItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mdiListBarItem1.ID                 = "Window List";
     this.mdiListBarItem1.ShowToolTipInPopUp = false;
     this.mdiListBarItem1.SizeToFit          = true;
     //
     // parentBarItem6
     //
     this.parentBarItem6.BarName        = "parentBarItem6";
     this.parentBarItem6.CategoryIndex  = 5;
     this.parentBarItem6.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem6.ID             = "&Help";
     this.parentBarItem6.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { });
     this.parentBarItem6.MergeOrder         = 21;
     this.parentBarItem6.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem6.ShowToolTipInPopUp = false;
     this.parentBarItem6.SizeToFit          = true;
     this.parentBarItem6.Text       = "&Help";
     this.parentBarItem6.WrapLength = 20;
     //
     // dropDownBarItem2
     //
     this.dropDownBarItem2.BarName               = "dropDownBarItem2";
     this.dropDownBarItem2.CategoryIndex         = 0;
     this.dropDownBarItem2.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dropDownBarItem2.ID                    = "Custom Colors";
     this.dropDownBarItem2.PopupControlContainer = this.popupControlContainer2;
     this.dropDownBarItem2.ShowToolTipInPopUp    = false;
     this.dropDownBarItem2.SizeToFit             = true;
     this.dropDownBarItem2.Text                  = "Custom Colors";
     //
     // popupControlContainer2
     //
     this.popupControlContainer2.Controls.Add(this.colorPickerUIAdv1);
     this.popupControlContainer2.Location = new System.Drawing.Point(277, 241);
     this.popupControlContainer2.Name     = "popupControlContainer2";
     this.popupControlContainer2.Size     = new System.Drawing.Size(275, 294);
     this.popupControlContainer2.TabIndex = 10002;
     this.popupControlContainer2.Visible  = false;
     //
     // colorPickerUIAdv1.RecentGroup
     //
     this.colorPickerUIAdv1.RecentGroup.HeaderHeight = 23;
     this.colorPickerUIAdv1.RecentGroup.Name         = "Recent Colors";
     this.colorPickerUIAdv1.RecentGroup.Visible      = false;
     //
     // colorPickerUIAdv1.StandardGroup
     //
     this.colorPickerUIAdv1.StandardGroup.HeaderHeight = 23;
     this.colorPickerUIAdv1.StandardGroup.Name         = "Standard Colors";
     //
     // colorPickerUIAdv1.ThemeGroup
     //
     this.colorPickerUIAdv1.ThemeGroup.HeaderHeight      = 23;
     this.colorPickerUIAdv1.ThemeGroup.IsSubItemsVisible = true;
     this.colorPickerUIAdv1.ThemeGroup.Name = "Theme Colors";
     //
     // colorPickerUIAdv1
     //
     this.colorPickerUIAdv1.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
     this.colorPickerUIAdv1.ButtonsHeight        = 31;
     this.colorPickerUIAdv1.ColorItemSize        = new System.Drawing.Size(21, 21);
     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, 217);
     this.colorPickerUIAdv1.Name                 = "colorPickerUIAdv1";
     this.colorPickerUIAdv1.Size                 = new System.Drawing.Size(275, 294);
     this.colorPickerUIAdv1.ThemeName            = "Office2019Colorful";
     this.colorPickerUIAdv1.TabIndex             = 10003;
     this.colorPickerUIAdv1.Text                 = "colorPickerUIAdv1";
     this.colorPickerUIAdv1.VerticalItemsSpacing = 1;
     //
     // largeImageList
     //
     this.largeImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeImageList.ImageStream")));
     this.largeImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.largeImageList.Images.SetKeyName(0, "");
     this.largeImageList.Images.SetKeyName(1, "");
     this.largeImageList.Images.SetKeyName(2, "");
     this.largeImageList.Images.SetKeyName(3, "");
     this.largeImageList.Images.SetKeyName(4, "");
     this.largeImageList.Images.SetKeyName(5, "");
     this.largeImageList.Images.SetKeyName(6, "");
     //
     // mdiClient1
     //
     this.mdiClient1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.mdiClient1.Location = new System.Drawing.Point(0, 50);
     this.mdiClient1.Name     = "mdiClient1";
     this.mdiClient1.Size     = new System.Drawing.Size(0, 0);
     this.mdiClient1.TabIndex = 4;
     //
     // barItem12
     //
     this.barItem12.BarName            = "barItem12";
     this.barItem12.CategoryIndex      = 0;
     this.barItem12.ID                 = "dummy";
     this.barItem12.ShowToolTipInPopUp = false;
     this.barItem12.SizeToFit          = true;
     this.barItem12.Text               = "dummy";
     //
     // barItem11
     //
     this.barItem11.BarName            = "barItem11";
     this.barItem11.CategoryIndex      = 2;
     this.barItem11.ID                 = "Tseting";
     this.barItem11.ShowToolTipInPopUp = false;
     this.barItem11.SizeToFit          = true;
     this.barItem11.Text               = "Tseting";
     //
     // barItem10
     //
     this.barItem10.BarName            = "barItem10";
     this.barItem10.CategoryIndex      = 0;
     this.barItem10.ID                 = "Test";
     this.barItem10.ShowToolTipInPopUp = false;
     this.barItem10.SizeToFit          = true;
     this.barItem10.Text               = "Test";
     //
     // dropDownBarItem1
     //
     this.dropDownBarItem1.BarName            = "dropDownBarItem1";
     this.dropDownBarItem1.CategoryIndex      = 1;
     this.dropDownBarItem1.ID                 = "DropDown";
     this.dropDownBarItem1.ShowToolTipInPopUp = false;
     this.dropDownBarItem1.SizeToFit          = true;
     this.dropDownBarItem1.Text               = "DropDown";
     //
     // popupMenu2
     //
     this.popupMenu2.ParentBarItem = this.parentBarItem1;
     //
     // openFileDialog1
     //
     this.openFileDialog1.Filter      = "txt files (*.txt)|*.txt|Image Files (*.bmp; *.ico)|*.bmp;*.ico";
     this.openFileDialog1.FilterIndex = 0;
     this.openFileDialog1.Title       = "Text or Image File Selection Dialog";
     //
     // barItem4
     //
     this.barItem4.BarName            = "barItem4";
     this.barItem4.CategoryIndex      = 0;
     this.barItem4.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem4.ID                 = "Custom Colors";
     this.barItem4.ShowToolTipInPopUp = false;
     this.barItem4.SizeToFit          = true;
     this.barItem4.Text               = "Custom Colors";
     //
     // MainForm
     //
     this.AccessibleName    = "";
     this.AutoScaleBaseSize = new System.Drawing.Size(4, 19);
     this.ClientSize        = new System.Drawing.Size(600, 600);
     this.WindowState       = FormWindowState.Normal;
     this.Controls.Add(this.popupControlContainer2);
     this.Font           = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon           = new System.Drawing.Icon(GetIconFile(@"..\\..\\\logo.ico"));
     this.IsMdiContainer = true;
     this.Name           = "MainForm";
     this.SizeGripStyle  = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "MDI Merge";
     this.Load          += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     this.popupControlContainer2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #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();
            ((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);
        }
        private void AddMenus()
        {
            BarItem bItem;

            #region ViewMenu
            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Code");
            bItem.Shortcut = Shortcut.F7;
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 4;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnBarItemClick"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Designer");
            bItem.Shortcut = Shortcut.ShiftF7;
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 4;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnBarItemClick"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Object Browser");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 42;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnShowObjectBrowser"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Class View");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 38;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnShowClassView"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Output Window");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 32;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnShowOutputWindow"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Error List");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 34;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnShowErrorList"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Task List");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 30;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnShowTaskList"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("ToolBox");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 0;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
            this.controller.WorkItem.Commands["OnShowToolBox"].AddInvoker(bItem, "Click");

            bItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem("Solution Explorer");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 31;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.View].Add(bItem);
              //  this.controller.WorkItem.Commands["OnShowSolutionExplorer"].AddInvoker(bItem, "Click");
            this.controller.WorkItem.Commands["OnShowNhapThongTinBenhNhan"].AddInvoker(bItem, "Click");
            #endregion

            #region Project Menu Add
            bItem = new BarItem("Add Windows Form");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 5;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnAddWindowsForm"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Add UserControl");
            this.controller.WorkItem.Commands["OnAddWindowsForm"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Add Component");
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnAddComponent"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Add Class");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 2;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnAddCode"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Add NewItem");
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnAddNewItem"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Add Existing Item");
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnAddExistingItem"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Show All Files");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 7;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnShowAllFiles"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Add Reference");
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnAddReference"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Project Properties");
            bItem.ImageList = this.dockingImageList;
            bItem.ImageIndex = 8;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Project].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnShowProjectProperties"].AddInvoker(bItem, "Click");
            #endregion

            #region Build MenuItems

            bItem = new BarItem("Build Solution");
            bItem.Shortcut = Shortcut.CtrlShiftB;
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Build].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnBuildSolution"].AddInvoker(bItem, "Click");

            bItem = new BarItem("ReBuild Solution");
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Build].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnRebuildSolution"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Clean Solution");
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Build].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnCleanSolution"].AddInvoker(bItem, "Click");

            bItem = new BarItem("Configuration Manager");
            this.controller.WorkItem.UIExtensionSites[VSDemoCommon.UIElements.Build].Add<BarItem>(bItem);
            this.controller.WorkItem.Commands["OnConfigurationManager"].AddInvoker(bItem, "Click");

            #endregion
        }
 /// <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(ImageEditorForm));
     this.pictureBox1           = new System.Windows.Forms.PictureBox();
     this.childFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this);
     this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "MainMenu");
     this.parentBarItem4         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.saveItem               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.horzFilpItem           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.vertFlipItem           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.rotate90Item           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem3         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
     this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
     this.button9                = new System.Windows.Forms.Button();
     this.button8                = new System.Windows.Forms.Button();
     this.button7                = new System.Windows.Forms.Button();
     this.button6                = new System.Windows.Forms.Button();
     this.button5                = new System.Windows.Forms.Button();
     this.button4                = new System.Windows.Forms.Button();
     this.button3                = new System.Windows.Forms.Button();
     this.button2                = new System.Windows.Forms.Button();
     this.button1                = new System.Windows.Forms.Button();
     this.dummyLabel             = new System.Windows.Forms.Label();
     this.parentBarItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.autoSizeItem           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.centerImageItem        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.normalItem             = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.stretchItem            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.bar2                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Image Edit");
     this.bar3                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Standard");
     this.bar4                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "StatusBar");
     this.staticBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.StaticBarItem();
     this.imageList1             = new System.Windows.Forms.ImageList(this.components);
     this.contextMenuItem        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.largeImageList         = new System.Windows.Forms.ImageList(this.components);
     this.popupMenu1             = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components);
     this.popupMenusManager1     = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenusManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).BeginInit();
     this.popupControlContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.BackColor = System.Drawing.Color.White;
     this.pictureBox1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox1.Location  = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name      = "pictureBox1";
     this.pictureBox1.Size      = new System.Drawing.Size(554, 351);
     this.pictureBox1.TabIndex  = 0;
     this.pictureBox1.TabStop   = false;
     this.popupMenusManager1.SetXPContextMenu(this.pictureBox1, this.popupMenu1);
     //
     // childFrameBarManager1
     //
     this.childFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("childFrameBarManager1.BarPositionInfo")));
     this.childFrameBarManager1.Bars.Add(this.bar1);
     this.childFrameBarManager1.Bars.Add(this.bar2);
     this.childFrameBarManager1.Bars.Add(this.bar3);
     this.childFrameBarManager1.Bars.Add(this.bar4);
     this.childFrameBarManager1.Categories.Add("File");
     this.childFrameBarManager1.Categories.Add("Standard");
     this.childFrameBarManager1.Categories.Add("Edit");
     this.childFrameBarManager1.Categories.Add("Format");
     this.childFrameBarManager1.Categories.Add("StatusBar");
     this.childFrameBarManager1.Categories.Add("ContextMenu");
     this.childFrameBarManager1.CategoriesToIgnoreInCustDialog.AddRange(new int[] {
         6
     });
     this.childFrameBarManager1.CurrentBaseFormType = "System.Windows.Forms.Form";
     this.childFrameBarManager1.Form      = this;
     this.childFrameBarManager1.FormName  = "Image Editor";
     this.childFrameBarManager1.ImageList = this.imageList1;
     this.childFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem4,
         this.horzFilpItem,
         this.vertFlipItem,
         this.rotate90Item,
         this.parentBarItem3,
         this.contextMenuItem,
         this.dropDownBarItem1,
         this.parentBarItem2,
         this.autoSizeItem,
         this.centerImageItem,
         this.normalItem,
         this.stretchItem,
         this.saveItem,
         this.staticBarItem1
     });
     this.childFrameBarManager1.LargeImageList = this.largeImageList;
     this.childFrameBarManager1.Style          = Syncfusion.Windows.Forms.VisualStyle.Office2007;
     //
     // bar1
     //
     this.bar1.BarName  = "MainMenu";
     this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu)
                                                                               | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
     this.bar1.Caption = "MainMenu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem4,
         this.parentBarItem1,
         this.parentBarItem3
     });
     this.bar1.Manager = this.childFrameBarManager1;
     //
     // parentBarItem4
     //
     this.parentBarItem4.CategoryIndex  = 0;
     this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem4.ID             = "&File";
     this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.saveItem
     });
     this.parentBarItem4.MergeOrder = 1;
     this.parentBarItem4.Text       = "&File";
     this.parentBarItem4.Selected  += new System.EventHandler(this.Bar_Selected);
     //
     // saveItem
     //
     this.saveItem.CategoryIndex  = 1;
     this.saveItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.saveItem.ID             = "&Save";
     this.saveItem.ImageIndex     = 5;
     this.saveItem.MergeOrder     = 2;
     this.saveItem.Shortcut       = System.Windows.Forms.Shortcut.CtrlS;
     this.saveItem.Text           = "&Save";
     this.saveItem.Tooltip        = "Save Image (Ctrl + S)";
     this.saveItem.Selected      += new System.EventHandler(this.Bar_Selected);
     this.saveItem.Click         += new System.EventHandler(this.saveItem_Click);
     //
     // parentBarItem1
     //
     this.parentBarItem1.CategoryIndex  = 2;
     this.parentBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem1.ID             = "&Edit";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.horzFilpItem,
         this.vertFlipItem,
         this.rotate90Item
     });
     this.parentBarItem1.MergeOrder = 2;
     this.parentBarItem1.Text       = "&Edit";
     this.parentBarItem1.Selected  += new System.EventHandler(this.Bar_Selected);
     //
     // horzFilpItem
     //
     this.horzFilpItem.CategoryIndex  = 2;
     this.horzFilpItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.horzFilpItem.ID             = "&Horizontal Flip";
     this.horzFilpItem.ImageIndex     = 0;
     this.horzFilpItem.Text           = "&Horizontal Flip";
     this.horzFilpItem.Selected      += new System.EventHandler(this.Bar_Selected);
     this.horzFilpItem.Click         += new System.EventHandler(this.horzFilpItem_Click);
     //
     // vertFlipItem
     //
     this.vertFlipItem.CategoryIndex  = 2;
     this.vertFlipItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.vertFlipItem.ID             = "&Vertical Flip";
     this.vertFlipItem.ImageIndex     = 1;
     this.vertFlipItem.Text           = "&Vertical Flip";
     this.vertFlipItem.Selected      += new System.EventHandler(this.Bar_Selected);
     this.vertFlipItem.Click         += new System.EventHandler(this.vertFlipItem_Click);
     //
     // rotate90Item
     //
     this.rotate90Item.CategoryIndex  = 2;
     this.rotate90Item.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rotate90Item.ID             = "&Rotate by 90";
     this.rotate90Item.ImageIndex     = 2;
     this.rotate90Item.Text           = "&Rotate by 90";
     this.rotate90Item.Selected      += new System.EventHandler(this.Bar_Selected);
     this.rotate90Item.Click         += new System.EventHandler(this.rotate90Item_Click);
     //
     // parentBarItem3
     //
     this.parentBarItem3.CategoryIndex  = 3;
     this.parentBarItem3.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem3.ID             = "Forma&t";
     this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.dropDownBarItem1,
         this.parentBarItem2
     });
     this.parentBarItem3.MergeOrder = 3;
     this.parentBarItem3.Text       = "Forma&t";
     this.parentBarItem3.Selected  += new System.EventHandler(this.Bar_Selected);
     //
     // dropDownBarItem1
     //
     this.dropDownBarItem1.CategoryIndex         = 3;
     this.dropDownBarItem1.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dropDownBarItem1.ID                    = "Alignment";
     this.dropDownBarItem1.ImageIndex            = 3;
     this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer1;
     this.dropDownBarItem1.Text                  = "Alignment";
     this.dropDownBarItem1.Selected             += new System.EventHandler(this.Bar_Selected);
     //
     // popupControlContainer1
     //
     this.popupControlContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.popupControlContainer1.Controls.Add(this.button9);
     this.popupControlContainer1.Controls.Add(this.button8);
     this.popupControlContainer1.Controls.Add(this.button7);
     this.popupControlContainer1.Controls.Add(this.button6);
     this.popupControlContainer1.Controls.Add(this.button5);
     this.popupControlContainer1.Controls.Add(this.button4);
     this.popupControlContainer1.Controls.Add(this.button3);
     this.popupControlContainer1.Controls.Add(this.button2);
     this.popupControlContainer1.Controls.Add(this.button1);
     this.popupControlContainer1.Controls.Add(this.dummyLabel);
     this.popupControlContainer1.Location = new System.Drawing.Point(264, 72);
     this.popupControlContainer1.Name     = "popupControlContainer1";
     this.popupControlContainer1.Size     = new System.Drawing.Size(128, 128);
     this.popupControlContainer1.TabIndex = 4;
     this.popupControlContainer1.Visible  = false;
     //
     // button9
     //
     this.button9.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button9.Location  = new System.Drawing.Point(88, 88);
     this.button9.Name      = "button9";
     this.button9.Size      = new System.Drawing.Size(32, 32);
     this.button9.TabIndex  = 8;
     this.button9.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button8
     //
     this.button8.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button8.Location  = new System.Drawing.Point(48, 88);
     this.button8.Name      = "button8";
     this.button8.Size      = new System.Drawing.Size(32, 32);
     this.button8.TabIndex  = 7;
     this.button8.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button7
     //
     this.button7.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button7.Location  = new System.Drawing.Point(8, 88);
     this.button7.Name      = "button7";
     this.button7.Size      = new System.Drawing.Size(32, 32);
     this.button7.TabIndex  = 6;
     this.button7.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button6
     //
     this.button6.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button6.Location  = new System.Drawing.Point(88, 48);
     this.button6.Name      = "button6";
     this.button6.Size      = new System.Drawing.Size(32, 32);
     this.button6.TabIndex  = 5;
     this.button6.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button5
     //
     this.button5.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button5.Location  = new System.Drawing.Point(48, 48);
     this.button5.Name      = "button5";
     this.button5.Size      = new System.Drawing.Size(32, 32);
     this.button5.TabIndex  = 4;
     this.button5.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button4
     //
     this.button4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button4.Location  = new System.Drawing.Point(8, 48);
     this.button4.Name      = "button4";
     this.button4.Size      = new System.Drawing.Size(32, 32);
     this.button4.TabIndex  = 3;
     this.button4.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button3
     //
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button3.Location  = new System.Drawing.Point(88, 8);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(32, 32);
     this.button3.TabIndex  = 2;
     this.button3.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button2
     //
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button2.Location  = new System.Drawing.Point(48, 8);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(32, 32);
     this.button2.TabIndex  = 1;
     this.button2.Click    += new System.EventHandler(this.AlignSelected);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.button1.Location  = new System.Drawing.Point(8, 8);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(32, 32);
     this.button1.TabIndex  = 0;
     this.button1.Click    += new System.EventHandler(this.AlignSelected);
     //
     // dummyLabel
     //
     this.dummyLabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.dummyLabel.Location    = new System.Drawing.Point(8, 8);
     this.dummyLabel.Name        = "dummyLabel";
     this.dummyLabel.Size        = new System.Drawing.Size(32, 32);
     this.dummyLabel.TabIndex    = 9;
     //
     // parentBarItem2
     //
     this.parentBarItem2.CategoryIndex  = 3;
     this.parentBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem2.ID             = "SizeMode";
     this.parentBarItem2.ImageIndex     = 4;
     this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.autoSizeItem,
         this.centerImageItem,
         this.normalItem,
         this.stretchItem
     });
     this.parentBarItem2.ParentStyle = Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItemStyle.DropDown;
     this.parentBarItem2.Style       = Syncfusion.Windows.Forms.VisualStyle.Office2007;
     this.parentBarItem2.Text        = "SizeMode";
     this.parentBarItem2.Selected   += new System.EventHandler(this.Bar_Selected);
     //
     // autoSizeItem
     //
     this.autoSizeItem.CategoryIndex  = 3;
     this.autoSizeItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.autoSizeItem.ID             = "Auto Size";
     this.autoSizeItem.Text           = "Auto Size";
     this.autoSizeItem.Click         += new System.EventHandler(this.SizeModeChanged);
     //
     // centerImageItem
     //
     this.centerImageItem.CategoryIndex  = 3;
     this.centerImageItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.centerImageItem.ID             = "Center Image";
     this.centerImageItem.Text           = "Center Image";
     this.centerImageItem.Click         += new System.EventHandler(this.SizeModeChanged);
     //
     // normalItem
     //
     this.normalItem.CategoryIndex  = 3;
     this.normalItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.normalItem.ID             = "Normal";
     this.normalItem.Text           = "Normal";
     this.normalItem.Click         += new System.EventHandler(this.SizeModeChanged);
     //
     // stretchItem
     //
     this.stretchItem.CategoryIndex  = 3;
     this.stretchItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.stretchItem.ID             = "Stretch Image";
     this.stretchItem.Text           = "Stretch Image";
     this.stretchItem.Click         += new System.EventHandler(this.SizeModeChanged);
     //
     // bar2
     //
     this.bar2.BarName = "Image Edit";
     this.bar2.Caption = "Image Edit";
     this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.horzFilpItem,
         this.vertFlipItem,
         this.rotate90Item,
         this.dropDownBarItem1,
         this.parentBarItem2
     });
     this.bar2.Manager = this.childFrameBarManager1;
     this.bar2.SeparatorIndices.AddRange(new int[] {
         3
     });
     //
     // bar3
     //
     this.bar3.BarName = "Standard";
     this.bar3.Caption = "Standard";
     this.bar3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.saveItem
     });
     this.bar3.Manager = this.childFrameBarManager1;
     //
     // bar4
     //
     this.bar4.BarName  = "StatusBar";
     this.bar4.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                               | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsStatusBar)));
     this.bar4.Caption = "StatusBar";
     this.bar4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.staticBarItem1
     });
     this.bar4.Manager = this.childFrameBarManager1;
     //
     // staticBarItem1
     //
     this.staticBarItem1.CategoryIndex   = 4;
     this.staticBarItem1.CustomTextFont  = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.staticBarItem1.FlatBorderColor = System.Drawing.SystemColors.GrayText;
     this.staticBarItem1.ID   = "Image Status";
     this.staticBarItem1.Text = "Image Status";
     //
     // 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, "");
     //
     // contextMenuItem
     //
     this.contextMenuItem.CategoryIndex  = 5;
     this.contextMenuItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.contextMenuItem.ID             = "ContextMenu";
     this.contextMenuItem.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem3
     });
     this.contextMenuItem.Text = "ContextMenu";
     //
     // largeImageList
     //
     this.largeImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeImageList.ImageStream")));
     this.largeImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.largeImageList.Images.SetKeyName(0, "");
     this.largeImageList.Images.SetKeyName(1, "");
     this.largeImageList.Images.SetKeyName(2, "");
     this.largeImageList.Images.SetKeyName(3, "");
     this.largeImageList.Images.SetKeyName(4, "");
     this.largeImageList.Images.SetKeyName(5, "");
     //
     // popupMenu1
     //
     this.popupMenu1.ParentBarItem = this.contextMenuItem;
     //
     // ImageEditorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(554, 351);
     this.Controls.Add(this.popupControlContainer1);
     this.Controls.Add(this.pictureBox1);
     this.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "ImageEditorForm";
     this.Text = "Image Editor";
     this.popupMenusManager1.SetXPContextMenu(this, this.popupMenu1);
     this.Resize += new System.EventHandler(this.ImageEditorForm_Resize);
     this.Load   += new System.EventHandler(this.ImageEditor_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).EndInit();
     this.popupControlContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemple #13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextEditorForm));
            this.imageList1             = new System.Windows.Forms.ImageList(this.components);
            this.barManager1            = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this);
            this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "MainMenu");
            this.parentBarItem4         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.saveItem               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.editMenu               = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.dropDownBarItem1       = 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.barItem2               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.cutBarItem             = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.copyBarItem            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.pasteBarItem           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.findItem               = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.fontColorBarItem       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.colorUIControl1        = new Syncfusion.Windows.Forms.ColorUIControl();
            this.selAllBarItem          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.bar2                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "Text Edit");
            this.fontcomboBoxBarItem1   = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.fontListBox1           = new Syncfusion.Windows.Forms.Tools.FontListBox();
            this.bar3                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "Standard");
            this.barItem3               = 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.parentBarItem3         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.largeImageList         = new System.Windows.Forms.ImageList(this.components);
            this.popupMenu1             = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components);
            this.toolTip1               = new System.Windows.Forms.ToolTip(this.components);
            this.barItem4               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.richTextBox1           = new System.Windows.Forms.RichTextBox();
            this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.popupMenusManager1     = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenusManager(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
            this.undoPopup.SuspendLayout();
            this.popupControlContainer1.SuspendLayout();
            this.SuspendLayout();
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            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, "");
            this.imageList1.Images.SetKeyName(8, "");
            this.imageList1.Images.SetKeyName(9, "");
            //
            // barManager1
            //
            this.barManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("barManager1.BarPositionInfo")));
            this.barManager1.Bars.Add(this.bar1);
            this.barManager1.Bars.Add(this.bar2);
            this.barManager1.Bars.Add(this.bar3);
            this.barManager1.Categories.Add("Edit");
            this.barManager1.Categories.Add("Standard");
            this.barManager1.CurrentBaseFormType = "System.Windows.Forms.Form";
            this.barManager1.Form      = this;
            this.barManager1.FormName  = "Text Editor";
            this.barManager1.ImageList = this.imageList1;
            this.barManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem4,
                this.dropDownBarItem1,
                this.editMenu,
                this.barItem2,
                this.cutBarItem,
                this.copyBarItem,
                this.pasteBarItem,
                this.fontColorBarItem,
                this.selAllBarItem,
                this.findItem,
                this.barItem3,
                this.barItem5,
                this.parentBarItem2,
                this.parentBarItem3,
                this.saveItem,
                this.fontcomboBoxBarItem1
            });
            this.barManager1.LargeImageList = this.largeImageList;
            this.barManager1.Style          = Syncfusion.Windows.Forms.VisualStyle.Office2007;
            //
            // bar1
            //
            this.bar1.BarName  = "MainMenu";
            this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu)
                                                                                      | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                                     | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
            this.bar1.Caption = "MainMenu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem4,
                this.editMenu
            });
            this.bar1.Manager = this.barManager1;
            //
            // parentBarItem4
            //
            this.parentBarItem4.CategoryIndex  = 0;
            this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem4.ID             = "&File";
            this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.saveItem
            });
            this.parentBarItem4.MergeOrder = 1;
            this.parentBarItem4.Text       = "&File";
            this.parentBarItem4.Selected  += new System.EventHandler(this.Bar_Selected);
            //
            // saveItem
            //
            this.saveItem.CategoryIndex  = 1;
            this.saveItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.saveItem.ID             = "&Save";
            this.saveItem.ImageIndex     = 6;
            this.saveItem.MergeOrder     = 2;
            this.saveItem.Shortcut       = System.Windows.Forms.Shortcut.CtrlS;
            this.saveItem.Text           = "&Save";
            this.saveItem.Tooltip        = "Save Text (Ctrl + S)";
            this.saveItem.Selected      += new System.EventHandler(this.Bar_Selected);
            this.saveItem.Click         += new System.EventHandler(this.saveItem_Click);
            //
            // editMenu
            //
            this.editMenu.CategoryIndex  = 0;
            this.editMenu.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.editMenu.ID             = "&Edit";
            this.editMenu.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.dropDownBarItem1,
                this.barItem2,
                this.cutBarItem,
                this.copyBarItem,
                this.pasteBarItem,
                this.findItem,
                this.fontColorBarItem,
                this.selAllBarItem
            });
            this.editMenu.MergeOrder = 2;
            this.editMenu.SeparatorIndices.AddRange(new int[] {
                2,
                5
            });
            this.editMenu.Text      = "&Edit";
            this.editMenu.Selected += new System.EventHandler(this.Bar_Selected);
            //
            // dropDownBarItem1
            //
            this.dropDownBarItem1.CategoryIndex         = 0;
            this.dropDownBarItem1.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dropDownBarItem1.ID                    = "&Undo";
            this.dropDownBarItem1.ImageIndex            = 4;
            this.dropDownBarItem1.MergeType             = System.Windows.Forms.MenuMerge.Replace;
            this.dropDownBarItem1.PopupControlContainer = this.undoPopup;
            this.dropDownBarItem1.Text                  = "&Undo";
            this.dropDownBarItem1.Selected             += new System.EventHandler(this.Bar_Selected);
            //
            // 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(16, 16);
            this.undoPopup.Name         = "undoPopup";
            this.undoPopup.Padding      = new System.Windows.Forms.Padding(1);
            this.undoPopup.Size         = new System.Drawing.Size(104, 130);
            this.undoPopup.TabIndex     = 6;
            this.undoPopup.Visible      = false;
            this.undoPopup.BeforePopup += new System.ComponentModel.CancelEventHandler(this.undoPopup_BeforePopup);
            this.undoPopup.CloseUp     += new Syncfusion.Windows.Forms.PopupClosedEventHandler(this.undoPopup_CloseUp);
            //
            // undoLabel
            //
            this.undoLabel.BackColor  = System.Drawing.Color.WhiteSmoke;
            this.undoLabel.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.undoLabel.Location   = new System.Drawing.Point(1, 92);
            this.undoLabel.Name       = "undoLabel";
            this.undoLabel.Size       = new System.Drawing.Size(102, 37);
            this.undoLabel.TabIndex   = 1;
            this.undoLabel.Text       = "label1";
            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.Items.AddRange(new object[] {
                "One",
                "Two",
                "Three",
                "Four",
                "Five",
                "Six",
                "Seven",
                "Eight",
                "Nine",
                "Ten",
                "Eleven",
                "Twelve",
                "Thirteen",
                "Fourteen",
                "Fifteen",
                "Sixteen",
                "Seventeen"
            });
            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(102, 91);
            this.undoList.TabIndex      = 0;
            this.undoList.MouseUp      += new System.Windows.Forms.MouseEventHandler(this.undoList_MouseUp);
            this.undoList.MouseMove    += new System.Windows.Forms.MouseEventHandler(this.undoList_MouseMove);
            this.undoList.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.undoList_MouseDown);
            //
            // barItem2
            //
            this.barItem2.CategoryIndex  = 0;
            this.barItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barItem2.ID             = "Re&do";
            this.barItem2.ImageIndex     = 5;
            this.barItem2.Text           = "Re&do";
            this.barItem2.Selected      += new System.EventHandler(this.Bar_Selected);
            this.barItem2.Click         += new System.EventHandler(this.barItem2_Click);
            //
            // cutBarItem
            //
            this.cutBarItem.CategoryIndex  = 0;
            this.cutBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.cutBarItem.ID             = "Cu&t";
            this.cutBarItem.ImageIndex     = 1;
            this.cutBarItem.Text           = "Cu&t";
            this.cutBarItem.Selected      += new System.EventHandler(this.Bar_Selected);
            this.cutBarItem.Click         += new System.EventHandler(this.cutBarItem_Click);
            //
            // copyBarItem
            //
            this.copyBarItem.CategoryIndex  = 0;
            this.copyBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.copyBarItem.ID             = "&Copy";
            this.copyBarItem.ImageIndex     = 0;
            this.copyBarItem.Text           = "&Copy";
            this.copyBarItem.Selected      += new System.EventHandler(this.Bar_Selected);
            this.copyBarItem.Click         += new System.EventHandler(this.copyBarItem_Click);
            //
            // pasteBarItem
            //
            this.pasteBarItem.CategoryIndex  = 0;
            this.pasteBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.pasteBarItem.ID             = "&Paste";
            this.pasteBarItem.ImageIndex     = 2;
            this.pasteBarItem.Text           = "&Paste";
            this.pasteBarItem.Selected      += new System.EventHandler(this.Bar_Selected);
            this.pasteBarItem.Click         += new System.EventHandler(this.pasteBarItem_Click);
            //
            // findItem
            //
            this.findItem.AutoAppend     = true;
            this.findItem.CategoryIndex  = 0;
            this.findItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.findItem.ID             = "Find";
            this.findItem.MinWidth       = 80;
            this.findItem.Text           = "Find";
            this.findItem.Selected      += new System.EventHandler(this.Bar_Selected);
            this.findItem.Click         += new System.EventHandler(this.findItem_Click);
            //
            // fontColorBarItem
            //
            this.fontColorBarItem.CategoryIndex         = 0;
            this.fontColorBarItem.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.fontColorBarItem.ID                    = "&Font Color";
            this.fontColorBarItem.ImageIndex            = 3;
            this.fontColorBarItem.PopupControlContainer = this.popupControlContainer1;
            this.fontColorBarItem.Text                  = "&Font Color";
            this.fontColorBarItem.Selected             += new System.EventHandler(this.Bar_Selected);
            this.fontColorBarItem.Click                += new System.EventHandler(this.fontColorBarItem_Click);
            //
            // popupControlContainer1
            //
            this.popupControlContainer1.BackColor = System.Drawing.SystemColors.ControlDark;
            this.popupControlContainer1.Controls.Add(this.colorUIControl1);
            this.popupControlContainer1.Location = new System.Drawing.Point(176, 32);
            this.popupControlContainer1.Name     = "popupControlContainer1";
            this.popupControlContainer1.Padding  = new System.Windows.Forms.Padding(1);
            this.popupControlContainer1.Size     = new System.Drawing.Size(208, 200);
            this.popupControlContainer1.TabIndex = 5;
            this.popupControlContainer1.Visible  = false;
            this.popupControlContainer1.Popup   += new System.EventHandler(this.popupControlContainer1_Popup);
            //
            // colorUIControl1
            //
            this.colorUIControl1.BackColor          = System.Drawing.SystemColors.Control;
            this.colorUIControl1.Dock               = System.Windows.Forms.DockStyle.Fill;
            this.colorUIControl1.Font               = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.colorUIControl1.Location           = new System.Drawing.Point(1, 1);
            this.colorUIControl1.Name               = "colorUIControl1";
            this.colorUIControl1.SelectedColorGroup = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
            this.colorUIControl1.Size               = new System.Drawing.Size(206, 198);
            this.colorUIControl1.TabIndex           = 0;
            this.colorUIControl1.Text               = "colorUIControl1";
            this.colorUIControl1.UserTabName        = "User Colors";
            this.colorUIControl1.ColorSelected     += new System.EventHandler(this.colorUIControl1_ColorSelected);
            //
            // selAllBarItem
            //
            this.selAllBarItem.CategoryIndex      = 0;
            this.selAllBarItem.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.selAllBarItem.ID                 = "Select &All";
            this.selAllBarItem.IsRecentlyUsedItem = false;
            this.selAllBarItem.Text               = "Select &All";
            this.selAllBarItem.Selected          += new System.EventHandler(this.Bar_Selected);
            this.selAllBarItem.Click             += new System.EventHandler(this.selAllBarItem_Click);
            //
            // bar2
            //
            this.bar2.BarName  = "Text Edit";
            this.bar2.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.RotateWhenVertical)
                                                                                      | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                                     | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
            this.bar2.Caption = "Text Edit";
            this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.cutBarItem,
                this.copyBarItem,
                this.pasteBarItem,
                this.fontColorBarItem,
                this.findItem,
                this.dropDownBarItem1,
                this.barItem2,
                this.fontcomboBoxBarItem1
            });
            this.bar2.Manager = this.barManager1;
            //
            // fontcomboBoxBarItem1
            //
            this.fontcomboBoxBarItem1.CategoryIndex  = 0;
            this.fontcomboBoxBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.fontcomboBoxBarItem1.Editable       = false;
            this.fontcomboBoxBarItem1.ID             = "fontCombo";
            this.fontcomboBoxBarItem1.ListBox        = this.fontListBox1;
            this.fontcomboBoxBarItem1.MinWidth       = 100;
            this.fontcomboBoxBarItem1.Text           = "Font Selection";
            this.fontcomboBoxBarItem1.Click         += new System.EventHandler(this.fontComboBoxBarItem1_Click);
            //
            // fontListBox1
            //
            this.fontListBox1.ItemHeight = 15;
            this.fontListBox1.Location   = new System.Drawing.Point(24, 96);
            this.fontListBox1.Name       = "fontListBox1";
            this.fontListBox1.Size       = new System.Drawing.Size(128, 124);
            this.fontListBox1.TabIndex   = 7;
            //
            // bar3
            //
            this.bar3.BarName = "Standard";
            this.bar3.Caption = "Standard";
            this.bar3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.saveItem
            });
            this.bar3.Manager = this.barManager1;
            //
            // barItem3
            //
            this.barItem3.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barItem3.ID             = "Item 1";
            this.barItem3.Text           = "Item 1";
            //
            // barItem5
            //
            this.barItem5.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barItem5.ID             = "Item 2";
            this.barItem5.Text           = "Item 2";
            //
            // parentBarItem2
            //
            this.parentBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem2.ID             = "Parent Item 1";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem3
            });
            this.parentBarItem2.Text = "Parent Item 1";
            //
            // parentBarItem3
            //
            this.parentBarItem3.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem3.ID             = "Parent 2";
            this.parentBarItem3.Text           = "Parent 2";
            //
            // largeImageList
            //
            this.largeImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeImageList.ImageStream")));
            this.largeImageList.TransparentColor = System.Drawing.Color.Transparent;
            this.largeImageList.Images.SetKeyName(0, "");
            this.largeImageList.Images.SetKeyName(1, "");
            this.largeImageList.Images.SetKeyName(2, "");
            this.largeImageList.Images.SetKeyName(3, "");
            this.largeImageList.Images.SetKeyName(4, "");
            this.largeImageList.Images.SetKeyName(5, "");
            this.largeImageList.Images.SetKeyName(6, "");
            //
            // popupMenu1
            //
            this.popupMenu1.ParentBarItem = this.editMenu;
            //
            // barItem4
            //
            this.barItem4.CategoryIndex = 0;
            this.barItem4.ID            = "Test";
            this.barItem4.Text          = "Test";
            //
            // richTextBox1
            //
            this.richTextBox1.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.richTextBox1.HideSelection = false;
            this.richTextBox1.Location      = new System.Drawing.Point(0, 0);
            this.richTextBox1.Name          = "richTextBox1";
            this.richTextBox1.Size          = new System.Drawing.Size(532, 358);
            this.richTextBox1.TabIndex      = 4;
            this.richTextBox1.Text          = "";
            this.popupMenusManager1.SetXPContextMenu(this.richTextBox1, this.popupMenu1);
            this.richTextBox1.SelectionChanged += new System.EventHandler(this.richTextBox1_SelectionChanged);

            //
            // parentBarItem1
            //
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem3,
                this.barItem5,
                this.parentBarItem2
            });
            this.parentBarItem1.SeparatorIndices.AddRange(new int[] {
                1
            });
            //
            // TextEditorForm
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize        = new System.Drawing.Size(532, 358);
            this.Controls.Add(this.fontListBox1);
            this.Controls.Add(this.undoPopup);
            this.Controls.Add(this.popupControlContainer1);
            this.Controls.Add(this.richTextBox1);
            this.Font          = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name          = "TextEditorForm";
            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
            this.Text          = "Text Editor";
            this.Load         += new System.EventHandler(this.ClientForm_Load);
            ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
            this.undoPopup.ResumeLayout(false);
            this.popupControlContainer1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Exemple #14
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);
        }
Exemple #15
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
     //
     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.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.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(538, 443);
     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(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);
 }
Exemple #16
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.parentBarItem3 = 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.parentBarItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            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.barItem17      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem18      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            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.panel1         = new System.Windows.Forms.Panel();
            this.label4         = new System.Windows.Forms.Label();
            this.checkBox1      = new System.Windows.Forms.CheckBox();
            this.groupBox1      = new System.Windows.Forms.GroupBox();
            this.button1        = new ButtonAdv();
            this.comboBox2      = new System.Windows.Forms.ComboBox();
            this.label3         = new System.Windows.Forms.Label();
            this.comboBox1      = new System.Windows.Forms.ComboBox();
            this.label1         = new System.Windows.Forms.Label();
            this.label2         = new System.Windows.Forms.Label();
            this.textBox1       = new System.Windows.Forms.TextBox();
            this.panel2         = new System.Windows.Forms.Panel();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.panel1.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.panel2.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(0, 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.ShowIndicatorMargin      = false;
            this.editControl1.ShowLineNumbers          = false;
            this.editControl1.ShowOutliningCollapsers  = false;
            this.editControl1.Size                     = new System.Drawing.Size(460, 396);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex         = 0;
            this.editControl1.Text             = "";
            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("launch");
            this.mainFrameBarManager1.Categories.Add("find history");
            this.mainFrameBarManager1.Categories.Add("replace history");
            this.mainFrameBarManager1.Categories.Add("replace");
            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.parentBarItem3,
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13,
                this.parentBarItem4,
                this.barItem14,
                this.barItem15,
                this.barItem16,
                this.barItem17,
                this.parentBarItem5,
                this.barItem18,
                this.barItem19,
                this.barItem20,
                this.barItem21
            });
            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.parentBarItem3,
                this.parentBarItem4,
                this.parentBarItem5
            });
            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.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                 = "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            = "Launch Menu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem8,
                this.barItem9
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem2.Text  = "Launch Menu";
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Find Dialog";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Find Dialog";
            this.barItem7.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Replace Dialog";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Replace Dialog";
            this.barItem8.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "GoTo Dialog";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "GoTo Dialog";
            this.barItem9.Click             += new System.EventHandler(this.menuItem4_Click);
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName       = "parentBarItem3";
            this.parentBarItem3.CategoryIndex = 2;
            this.parentBarItem3.ID            = "Find History";
            this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem10,
                this.barItem11,
                this.barItem12,
                this.barItem13
            });
            this.parentBarItem3.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem3.Text  = "Find History";
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 2;
            this.barItem10.ID                 = "Add To History";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Add To History";
            this.barItem10.Click             += new System.EventHandler(this.FindHistoryMenu_Click);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 2;
            this.barItem11.ID                 = "Remove From History";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Remove From History";
            this.barItem11.Click             += new System.EventHandler(this.FindHistoryMenu_Click);
            //
            // barItem12
            //
            this.barItem12.BarName            = "barItem12";
            this.barItem12.CategoryIndex      = 2;
            this.barItem12.ID                 = "Sort History";
            this.barItem12.ShowToolTipInPopUp = false;
            this.barItem12.SizeToFit          = true;
            this.barItem12.Text               = "Sort History";
            this.barItem12.Click             += new System.EventHandler(this.FindHistoryMenu_Click);
            //
            // barItem13
            //
            this.barItem13.BarName            = "barItem13";
            this.barItem13.CategoryIndex      = 2;
            this.barItem13.ID                 = "Clear History";
            this.barItem13.ShowToolTipInPopUp = false;
            this.barItem13.SizeToFit          = true;
            this.barItem13.Text               = "Clear History";
            this.barItem13.Click             += new System.EventHandler(this.FindHistoryMenu_Click);
            //
            // parentBarItem4
            //
            this.parentBarItem4.BarName       = "parentBarItem4";
            this.parentBarItem4.CategoryIndex = 3;
            this.parentBarItem4.ID            = "Replace History";
            this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem14,
                this.barItem15,
                this.barItem16,
                this.barItem17
            });
            this.parentBarItem4.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem4.ShowToolTipInPopUp = false;
            this.parentBarItem4.SizeToFit          = true;
            this.parentBarItem4.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem4.Text  = "Replace History";
            //
            // barItem14
            //
            this.barItem14.BarName            = "barItem14";
            this.barItem14.CategoryIndex      = 3;
            this.barItem14.ID                 = "Add To History_1";
            this.barItem14.ShowToolTipInPopUp = false;
            this.barItem14.SizeToFit          = true;
            this.barItem14.Text               = "Add To History";
            this.barItem14.Click             += new System.EventHandler(this.ReplaceHistory_Click);
            //
            // barItem15
            //
            this.barItem15.BarName            = "barItem15";
            this.barItem15.CategoryIndex      = 3;
            this.barItem15.ID                 = "Remove From History_1";
            this.barItem15.ShowToolTipInPopUp = false;
            this.barItem15.SizeToFit          = true;
            this.barItem15.Text               = "Remove From History";
            this.barItem15.Click             += new System.EventHandler(this.ReplaceHistory_Click);
            //
            // barItem16
            //
            this.barItem16.BarName            = "barItem16";
            this.barItem16.CategoryIndex      = 3;
            this.barItem16.ID                 = "Sort History_1";
            this.barItem16.ShowToolTipInPopUp = false;
            this.barItem16.SizeToFit          = true;
            this.barItem16.Text               = "Sort History";
            this.barItem16.Click             += new System.EventHandler(this.ReplaceHistory_Click);
            //
            // barItem17
            //
            this.barItem17.BarName            = "barItem17";
            this.barItem17.CategoryIndex      = 3;
            this.barItem17.ID                 = "Clear History_1";
            this.barItem17.ShowToolTipInPopUp = false;
            this.barItem17.SizeToFit          = true;
            this.barItem17.Text               = "Clear History";
            this.barItem17.Click             += new System.EventHandler(this.ReplaceHistory_Click);
            //
            // parentBarItem5
            //
            this.parentBarItem5.BarName       = "parentBarItem5";
            this.parentBarItem5.CategoryIndex = 4;
            this.parentBarItem5.ID            = "Replace Search History";
            this.parentBarItem5.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem18,
                this.barItem19,
                this.barItem20,
                this.barItem21
            });
            this.parentBarItem5.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem5.ShowToolTipInPopUp = false;
            this.parentBarItem5.SizeToFit          = true;
            this.parentBarItem5.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem5.Text  = "Replace Search History";
            //
            // barItem18
            //
            this.barItem18.BarName            = "barItem18";
            this.barItem18.CategoryIndex      = 4;
            this.barItem18.ID                 = "Add To History_2";
            this.barItem18.ShowToolTipInPopUp = false;
            this.barItem18.SizeToFit          = true;
            this.barItem18.Text               = "Add To History";
            //
            // barItem19
            //
            this.barItem19.BarName            = "barItem19";
            this.barItem19.CategoryIndex      = 4;
            this.barItem19.ID                 = "Remove From History_2";
            this.barItem19.ShowToolTipInPopUp = false;
            this.barItem19.SizeToFit          = true;
            this.barItem19.Text               = "Remove From History";
            //
            // barItem20
            //
            this.barItem20.BarName            = "barItem20";
            this.barItem20.CategoryIndex      = 4;
            this.barItem20.ID                 = "Sort History_2";
            this.barItem20.ShowToolTipInPopUp = false;
            this.barItem20.SizeToFit          = true;
            this.barItem20.Text               = "Sort History";
            //
            // barItem21
            //
            this.barItem21.BarName            = "barItem21";
            this.barItem21.CategoryIndex      = 4;
            this.barItem21.ID                 = "Clear History_2";
            this.barItem21.ShowToolTipInPopUp = false;
            this.barItem21.SizeToFit          = true;
            this.barItem21.Text               = "Clear History";
            //
            // panel1
            //
            this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel1.Controls.Add(this.label4);
            this.panel1.Controls.Add(this.checkBox1);
            this.panel1.Controls.Add(this.groupBox1);
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Left;
            this.panel1.Location = new System.Drawing.Point(10, 39);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(187, 396);
            this.panel1.TabIndex = 4;
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(20, 84);
            this.label4.Name     = "label4";
            this.label4.Size     = new System.Drawing.Size(155, 13);
            this.label4.TabIndex = 3;
            this.label4.Text     = "Set Properties of Find Dialog";
            //
            // checkBox1
            //
            this.checkBox1.AutoSize = true;
            this.checkBox1.Location = new System.Drawing.Point(12, 44);
            this.checkBox1.Name     = "checkBox1";
            this.checkBox1.Size     = new System.Drawing.Size(171, 17);
            this.checkBox1.TabIndex = 2;
            this.checkBox1.Text     = "Use Customized Find Dialog";
            this.checkBox1.UseVisualStyleBackColor = true;
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.button1);
            this.groupBox1.Controls.Add(this.comboBox2);
            this.groupBox1.Controls.Add(this.label3);
            this.groupBox1.Controls.Add(this.comboBox1);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.textBox1);
            this.groupBox1.Location = new System.Drawing.Point(10, 100);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(168, 240);
            this.groupBox1.TabIndex = 0;
            this.groupBox1.TabStop  = false;
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(19, 186);
            this.button1.Name     = "button1";
            this.button1.Size     = new System.Drawing.Size(84, 30);
            this.button1.TabIndex = 6;
            this.button1.Text     = "Set";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.UseVisualStyle          = true;
            this.button1.Appearance = ButtonAppearance.Office2016White;
            this.button1.Click     += new System.EventHandler(this.button1_Click);
            //
            // comboBox2
            //
            this.comboBox2.AutoCompleteCustomSource.AddRange(new string[] {
                "Grey",
                "Green"
            });
            this.comboBox2.Text = "Gray";
            this.comboBox2.FormattingEnabled = true;
            this.comboBox2.Items.AddRange(new object[] {
                "Gray",
                "DarkGray"
            });
            this.comboBox2.Location = new System.Drawing.Point(19, 152);
            this.comboBox2.Name     = "comboBox2";
            this.comboBox2.Size     = new System.Drawing.Size(130, 21);
            this.comboBox2.TabIndex = 5;
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(19, 131);
            this.label3.Name     = "label3";
            this.label3.Size     = new System.Drawing.Size(115, 13);
            this.label3.TabIndex = 4;
            this.label3.Text     = "CheckBox Back Color";
            //
            // comboBox1
            //
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Items.AddRange(new object[] {
                "Gray",
                "LightGray",
                "Dark Gray"
            });
            this.comboBox1.Location = new System.Drawing.Point(19, 100);
            this.comboBox1.Text     = "Gray";
            this.comboBox1.Name     = "comboBox1";
            this.comboBox1.Size     = new System.Drawing.Size(130, 21);
            this.comboBox1.TabIndex = 3;
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(19, 79);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(106, 13);
            this.label1.TabIndex = 2;
            this.label1.Text     = "Buttons Back Color";
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(19, 28);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(120, 13);
            this.label2.TabIndex = 1;
            this.label2.Text     = "Type Custom Message";
            //
            // textBox1
            //
            this.textBox1.Location = new System.Drawing.Point(19, 48);
            this.textBox1.Name     = "textBox1";
            this.textBox1.Size     = new System.Drawing.Size(132, 22);
            this.textBox1.TabIndex = 0;
            this.textBox1.Text     = "Type Custom message..";
            //
            // panel2
            //
            this.panel2.Controls.Add(this.editControl1);
            this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(197, 39);
            this.panel2.Name     = "panel2";
            this.panel2.Size     = new System.Drawing.Size(460, 396);
            this.panel2.TabIndex = 5;
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(667, 445);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.panel1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.MinimumSize   = new System.Drawing.Size(679, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Find and Replace";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Exemple #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(MainForm));
            this.calculatorControl1   = new Syncfusion.Windows.Forms.Tools.CalculatorControl();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            this.textBox2             = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
            this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
            this.gradientPanel1       = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            this.label2               = new System.Windows.Forms.Label();
            this.label1               = new System.Windows.Forms.Label();
            this.calculatorControl2   = new Syncfusion.Windows.Forms.Tools.CalculatorControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "MainMenu");
            this.visualStyleParentBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.office2016ParentBarItem = 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.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = 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.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.blueBarItem    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.blackBarItem   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.silverBarItem  = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.panel1         = new System.Windows.Forms.Panel();
            ((System.ComponentModel.ISupportInitialize)(this.textBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
            this.gradientPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // calculatorControl1
            //
            this.calculatorControl1.AccessibleDescription = "Calculator control";
            this.calculatorControl1.AccessibleName        = "Calculator Control";
            this.calculatorControl1.AutoScroll            = true;
            this.calculatorControl1.BeforeTouchSize       = new System.Drawing.Size(292, 250);
            this.calculatorControl1.BorderStyle           = System.Windows.Forms.Border3DStyle.Flat;
            this.calculatorControl1.ButtonStyle           = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.calculatorControl1.Culture           = new System.Globalization.CultureInfo("en-US");
            this.calculatorControl1.DoubleValue       = 0D;
            this.calculatorControl1.FlatStyle         = System.Windows.Forms.FlatStyle.Standard;
            this.calculatorControl1.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.calculatorControl1.ForeColor         = System.Drawing.SystemColors.ControlText;
            this.calculatorControl1.HorizontalSpacing = 3;
            this.calculatorControl1.Location          = new System.Drawing.Point(77, 72);
            this.calculatorControl1.MetroColor        = System.Drawing.SystemColors.Control;
            this.calculatorControl1.Name              = "calculatorControl1";
            this.calculatorControl1.RightToLeft       = System.Windows.Forms.RightToLeft.No;
            this.calculatorControl1.Size              = new System.Drawing.Size(292, 250);
            this.calculatorControl1.TabIndex          = 0;
            this.calculatorControl1.ThemeName         = "Metro";
            this.calculatorControl1.ThemesEnabled     = false;
            this.calculatorControl1.UseVerticalAndHorizontalSpacing = true;
            this.calculatorControl1.UseVisualStyle   = true;
            this.calculatorControl1.VerticalSpacing  = 3;
            this.calculatorControl1.ValueCalculated += new Syncfusion.Windows.Forms.Tools.CalculatorValueCalculatedEventHandler(this.calculatorControl1_ValueCalculated);
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            //
            // textBox2
            //
            this.textBox2.BeforeTouchSize = new System.Drawing.Size(718, 105);
            this.textBox2.BorderColor     = System.Drawing.Color.Gray;
            this.textBox2.BorderStyle     = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBox2.Cursor          = System.Windows.Forms.Cursors.IBeam;
            this.textBox2.Dock            = System.Windows.Forms.DockStyle.Bottom;
            this.textBox2.Location        = new System.Drawing.Point(10, 403);
            this.textBox2.Metrocolor      = System.Drawing.Color.Gray;
            this.textBox2.Multiline       = true;
            this.textBox2.Name            = "textBox2";
            this.textBox2.ScrollBars      = System.Windows.Forms.ScrollBars.Vertical;
            this.textBox2.Size            = new System.Drawing.Size(718, 105);
            this.textBox2.Style           = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro;
            this.textBox2.TabIndex        = 4;
            this.textBox2.ThemeName       = "Metro";
            //
            // toolTip1
            //
            this.toolTip1.ShowAlways = true;
            //
            // gradientPanel1
            //
            this.gradientPanel1.BorderColor = System.Drawing.Color.Silver;
            this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.gradientPanel1.Controls.Add(this.label2);
            this.gradientPanel1.Controls.Add(this.label1);
            this.gradientPanel1.Controls.Add(this.calculatorControl2);
            this.gradientPanel1.Controls.Add(this.calculatorControl1);
            this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.gradientPanel1.Location = new System.Drawing.Point(10, 42);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(718, 353);
            this.gradientPanel1.TabIndex = 18;
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(400, 44);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(53, 13);
            this.label2.TabIndex = 22;
            this.label2.Text     = "Financial";
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(79, 44);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(103, 13);
            this.label1.TabIndex = 21;
            this.label1.Text     = "WindowsStandard";
            //
            // calculatorControl2
            //
            this.calculatorControl2.AccessibleDescription = "Calculator control";
            this.calculatorControl2.AccessibleName        = "Calculator Control";
            this.calculatorControl2.AutoScroll            = true;
            this.calculatorControl2.BeforeTouchSize       = new System.Drawing.Size(292, 250);
            this.calculatorControl2.BorderStyle           = System.Windows.Forms.Border3DStyle.Flat;
            this.calculatorControl2.ButtonStyle           = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.calculatorControl2.Culture           = new System.Globalization.CultureInfo("en-US");
            this.calculatorControl2.DoubleValue       = 0D;
            this.calculatorControl2.FlatStyle         = System.Windows.Forms.FlatStyle.Standard;
            this.calculatorControl2.Font              = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.calculatorControl2.ForeColor         = System.Drawing.SystemColors.ControlText;
            this.calculatorControl2.HorizontalSpacing = 3;
            this.calculatorControl2.LayoutType        = Syncfusion.Windows.Forms.Tools.CalculatorLayoutTypes.Financial;
            this.calculatorControl2.Location          = new System.Drawing.Point(398, 72);
            this.calculatorControl2.MetroColor        = System.Drawing.SystemColors.Control;
            this.calculatorControl2.Name              = "calculatorControl2";
            this.calculatorControl2.RightToLeft       = System.Windows.Forms.RightToLeft.No;
            this.calculatorControl2.Size              = new System.Drawing.Size(292, 250);
            this.calculatorControl2.TabIndex          = 20;
            this.calculatorControl2.Text              = "calculatorControl2";
            this.calculatorControl2.ThemeName         = "Metro";
            this.calculatorControl2.ThemesEnabled     = false;
            this.calculatorControl2.UseVerticalAndHorizontalSpacing = true;
            this.calculatorControl2.UseVisualStyle   = true;
            this.calculatorControl2.VerticalSpacing  = 3;
            this.calculatorControl2.ValueCalculated += new Syncfusion.Windows.Forms.Tools.CalculatorValueCalculatedEventHandler(this.calculatorControl2_ValueCalculated);
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("VisualStyles");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.WinForms.Controls.SfForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            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.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.visualStyleParentBarItem,
                this.barItem7,
                this.barItem5,
                this.office2016ParentBarItem,
                this.blueBarItem,
                this.blackBarItem,
                this.silverBarItem,
                this.barItem6,
                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;
            this.mainFrameBarManager1.ThemeName = "Metro";
            this.mainFrameBarManager1.ThemeStyle.ComboBoxBarItemStyle.ArrowBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName  = "MainMenu";
            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)));
            this.bar1.Caption = "MainMenu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.visualStyleParentBarItem,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // visualStyleParentBarItem
            //
            this.visualStyleParentBarItem.BarName        = "visualStyleParentBarItem";
            this.visualStyleParentBarItem.CategoryIndex  = 0;
            this.visualStyleParentBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.visualStyleParentBarItem.ID             = "&Visual Styles";
            this.visualStyleParentBarItem.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem5,
                this.office2016ParentBarItem,
                this.barItem6
            });
            this.visualStyleParentBarItem.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.visualStyleParentBarItem.ShowToolTipInPopUp = false;
            this.visualStyleParentBarItem.SizeToFit          = true;
            this.visualStyleParentBarItem.Text       = "&Visual Styles";
            this.visualStyleParentBarItem.WrapLength = 20;
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barItem5.ID                 = "Office2019Colorful";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Office2019";
            this.barItem5.Click             += new System.EventHandler(this.OnBarItemClick);
            //
            // office2016ParentBarItem
            //
            this.office2016ParentBarItem.BarName        = "office2016ParentBarItem";
            this.office2016ParentBarItem.CategoryIndex  = 0;
            this.office2016ParentBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.office2016ParentBarItem.ID             = "Office2016";
            this.office2016ParentBarItem.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.office2016ParentBarItem.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.office2016ParentBarItem.ShowToolTipInPopUp = false;
            this.office2016ParentBarItem.SizeToFit          = true;
            this.office2016ParentBarItem.Style      = Syncfusion.Windows.Forms.VisualStyle.Office2016Colorful;
            this.office2016ParentBarItem.Text       = "Office2016";
            this.office2016ParentBarItem.WrapLength = 20;
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 0;
            this.barItem8.ID                 = "Office2016White";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Office2016White";
            this.barItem8.Click             += new System.EventHandler(this.OnBarItemClick);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 0;
            this.barItem9.ID                 = "Office2016Colorful";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Office2016Colorful";
            this.barItem9.Click             += new System.EventHandler(this.OnBarItemClick);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 0;
            this.barItem10.ID                 = "Office2016Black";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Office2016Black";
            this.barItem10.Click             += new System.EventHandler(this.OnBarItemClick);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 0;
            this.barItem11.ID                 = "Office2016DarkGray";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Office2016DarkGray";
            this.barItem11.Click             += new System.EventHandler(this.OnBarItemClick);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Metro";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Metro";
            this.barItem6.Click             += new System.EventHandler(this.OnBarItemClick);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName            = "parentBarItem2";
            this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.WrapLength         = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.ID                 = "_1";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.ID                 = "_2";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.ID                 = "_3";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.ID                 = "_4";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.barItem7.ID                 = "AboutSyncfusion";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "About Syncfusion";
            this.barItem7.Click             += new System.EventHandler(this.OnBarItemClick);
            //
            // blueBarItem
            //
            this.blueBarItem.BarName            = "blueBarItem";
            this.blueBarItem.ID                 = "_5";
            this.blueBarItem.ShowToolTipInPopUp = false;
            this.blueBarItem.SizeToFit          = true;
            //
            // blackBarItem
            //
            this.blackBarItem.BarName            = "blackBarItem";
            this.blackBarItem.ID                 = "_6";
            this.blackBarItem.ShowToolTipInPopUp = false;
            this.blackBarItem.SizeToFit          = true;
            //
            // silverBarItem
            //
            this.silverBarItem.BarName            = "silverBarItem";
            this.silverBarItem.ID                 = "_7";
            this.silverBarItem.ShowToolTipInPopUp = false;
            this.silverBarItem.SizeToFit          = true;
            //
            // panel1
            //
            this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(10, 395);
            this.panel1.Name     = "panel1";
            this.panel1.Size     = new System.Drawing.Size(718, 8);
            this.panel1.TabIndex = 19;
            //
            // MainForm
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(738, 518);
            this.Controls.Add(this.gradientPanel1);
            this.Controls.Add(this.panel1);
            this.Controls.Add(this.textBox2);
            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.Name          = "MainForm";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Calculator Control";
            ((System.ComponentModel.ISupportInitialize)(this.textBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
            this.gradientPanel1.ResumeLayout(false);
            this.gradientPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Exemple #18
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            this.imageList1           = new System.Windows.Forms.ImageList(this.components);
            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();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            //
            // editControl1
            //
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.ColumnGuidesMeasuringFont = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Configurator              = config1;
            this.editControl1.Dock                      = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.FilterAutoCompleteItems   = false;
            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, 39);
            this.editControl1.Name                      = "editControl1";
            this.editControl1.RenderRightToLeft         = false;
            this.editControl1.SaveOnClose               = false;
            this.editControl1.ScrollPosition            = new System.Drawing.Point(0, 0);
            this.editControl1.ShowIndicatorMargin       = false;
            this.editControl1.ShowSelectionMargin       = false;
            this.editControl1.Size                      = new System.Drawing.Size(524, 408);

            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.ContextChoiceBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen);
            this.editControl1.ContextChoiceOpen       += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen);
            this.editControl1.ContextPromptBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen);
            this.editControl1.ContextPromptOpen       += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen);
            this.editControl1.ContextPromptUpdate     += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptUpdate);
            this.editControl1.UpdateContextToolTip    += new Syncfusion.Windows.Forms.Edit.UpdateTooltipEventHandler(this.editControl1_UpdateContextToolTip);
            //
            // 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(544, 457);
            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(556, 494);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Advanced Intellisense";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Load         += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Exemple #19
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.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
            //
            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.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.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, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
            this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
            this.MetroColor       = System.Drawing.Color.White;
            this.MinimumSize      = new System.Drawing.Size(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);
        }