private void InitializeEditControl() { this.SuspendLayout(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RegexEditor)); this.txtRegex = new Syncfusion.Windows.Forms.Edit.EditControl(); // // txtRegex // this.txtRegex.BackColor = System.Drawing.Color.White; this.txtRegex.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtRegex.ContextChoiceChar = new char[] { '.' }; this.txtRegex.CopyWithoutSelection = false; this.txtRegex.Font = new System.Drawing.Font("Courier New", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtRegex.Location = new System.Drawing.Point(-15, 47); this.txtRegex.Name = "txtRegex"; this.txtRegex.RightMarginLineColumn = 80; this.txtRegex.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtRegex.SelectionMarginVisible = true; this.txtRegex.Size = new System.Drawing.Size(320, 168); this.txtRegex.StartWithNewFile = true; this.txtRegex.TabIndex = 1; this.txtRegex.TextEncoding = ((System.Text.Encoding)(resources.GetObject("txtRegex.TextEncoding"))); this.txtRegex.ContextChoicePopup += new Syncfusion.Windows.Forms.Edit.ContextChoicePopupEventHandler(this.txtRegex_ContextChoicePopup); this.txtRegex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtRegex_KeyDown); this.Controls.Add(this.txtRegex); 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() { Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 10); this.editControl1.Name = "editControl1"; this.editControl1.ParsingMode = Syncfusion.Windows.Forms.Edit.Enums.TextParsingMode.PartialParsingNoFallback; this.editControl1.RenderRightToLeft = false; this.editControl1.SaveOnClose = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowColumnGuides = false; this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndentationGuidelines = false; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowLineNumbers = false; this.editControl1.ShowOutliningCollapsers = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(522, 446); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; // // Form2 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(542, 466); this.MetroColor = Color.White; this.Controls.Add(this.editControl1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "Form2"; this.Padding = new System.Windows.Forms.Padding(10); this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.Text = "Form2"; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); this.ResumeLayout(false); }
public FindDialogExt(Syncfusion.Windows.Forms.Edit.EditControl editControl) : base(editControl) { // Handle the FindComplete event. this.FindComplete += new EventHandler <FindCompleteEventArgs>(FindDialogExt_FindComplete); this.btnClose.FlatStyle = FlatStyle.Standard; this.btnFind.FlatStyle = FlatStyle.Standard; this.btnMarkAll.FlatStyle = FlatStyle.Standard; this.BackColor = editControl.Parent.BackColor; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu"); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 39); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.SaveOnClose = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.Size = new System.Drawing.Size(522, 417); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; // // mainFrameBarManager1 // this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("file"); this.mainFrameBarManager1.Categories.Add("language"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem2, this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.parentBarItem3, this.barItem6, this.barItem7 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "menu"; this.bar1.Caption = "menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem2, this.parentBarItem3 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 0; this.parentBarItem2.ID = "File"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5 }); this.parentBarItem2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "File"; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "New"; this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem1.Text = "New"; this.parentBarItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "Open"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "Open"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Save"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Save"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "SaveAs"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "SaveAs"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "Close"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Close"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "Exit"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "Exit"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // parentBarItem3 // this.parentBarItem3.BarName = "parentBarItem3"; this.parentBarItem3.CategoryIndex = 1; this.parentBarItem3.ID = "Language"; this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem6, this.barItem7 }); this.parentBarItem3.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem3.ShowToolTipInPopUp = false; this.parentBarItem3.SizeToFit = true; this.parentBarItem3.Text = "Language"; // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 1; this.barItem6.ID = "C# Snippets"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "C# Snippets"; this.barItem6.Click += new System.EventHandler(this.CSharpCodeSnippets_Click); // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.ID = "Vb Snippets"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "Vb Snippets"; this.barItem7.Click += new System.EventHandler(this.VBCodeSnippets_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(542, 466); this.Controls.Add(this.editControl1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MinimumSize = new System.Drawing.Size(554, 503); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Code Snippets"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem12 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F); this.editControl1.Location = new System.Drawing.Point(10, 39); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndentationGuidelines = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(520, 415); this.editControl1.TabIndex = 0; this.editControl1.Text = "editControl1"; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; this.editControl1.ConfigurationChanged += new System.EventHandler(this.editControl1_ConfigurationChanged); // // mainFrameBarManager1 // this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("File"); this.mainFrameBarManager1.Categories.Add("Intent Mode"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6, this.parentBarItem2, this.barItem7, this.barItem8, this.barItem9, this.barItem10, this.barItem11, this.barItem12 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "Menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2, this.barItem10, this.barItem11, this.barItem12 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "&File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "&File"; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "&New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "&New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "&Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "&Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "&Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "&Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "Save&As"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Save&As"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "&Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "&Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "&Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "&Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "&IntentMode"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem8, this.barItem9 }); this.parentBarItem2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "&IntentMode"; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.ID = "&None"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "&None"; this.barItem7.Click += new System.EventHandler(this.IndentMenuClick); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 1; this.barItem8.ID = "&Block"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "&Block"; this.barItem8.Click += new System.EventHandler(this.IndentMenuClick); // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 1; this.barItem9.ID = "&Smart"; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "&Smart"; this.barItem9.Click += new System.EventHandler(this.IndentMenuClick); // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 1; this.barItem10.ID = "Content Dividers"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "Content Dividers"; this.barItem10.Click += new System.EventHandler(this.barItem10_Click); // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 1; this.barItem11.ID = "Custom Outlining"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Custom Outlining"; this.barItem11.Click += new System.EventHandler(this.barItem11_Click); // // barItem12 // this.barItem12.BarName = "barItem12"; this.barItem12.CategoryIndex = 1; this.barItem12.ID = "KeyWord Formating"; this.barItem12.ShowToolTipInPopUp = false; this.barItem12.SizeToFit = true; this.barItem12.Text = "KeyWord Formating"; this.barItem12.Click += new System.EventHandler(this.barItem12_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem15 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem16 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem12 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem13 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem14 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F); this.editControl1.Location = new System.Drawing.Point(0, 29); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.Size = new System.Drawing.Size(542, 394); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = "editControl1"; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; this.editControl1.ContextChoiceOpen += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen); this.editControl1.ContextChoiceClose += new Syncfusion.Windows.Forms.Edit.ContextChoiceCloseEventHandler(this.editControl1_ContextChoiceClose); this.editControl1.ContextPromptOpen += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen); this.editControl1.UpdateContextToolTip += new Syncfusion.Windows.Forms.Edit.UpdateTooltipEventHandler(this.editControl1_UpdateContextToolTip); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); // // statusBarPanel1 // this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 525; // // mainFrameBarManager1 // this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("File"); this.mainFrameBarManager1.Categories.Add("Intellisense"); this.mainFrameBarManager1.Categories.Add("VisualStyle"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6, this.barItem9, this.barItem10, this.barItem11, this.parentBarItem3, this.barItem15, this.barItem16, this.barItem12, this.barItem13, this.barItem14 }); this.mainFrameBarManager1.MetroColor = System.Drawing.SystemColors.Highlight; this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "Menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem3, }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "&File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.SystemColors.Highlight; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem1.Text = "&File"; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "&New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "&New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "&Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "&Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "&Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "&Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "Save&As"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Save&As"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "&Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "&Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "&Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "&Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 0; this.barItem7.ID = "ToogleXPThemes"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "ToogleXPThemes"; this.barItem7.Click += new System.EventHandler(this.menuItem10_Click); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "IntellisensePopups"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem9, this.barItem10, this.barItem11 }); this.parentBarItem2.MetroColor = System.Drawing.SystemColors.Highlight; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "IntellisensePopups"; // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 1; this.barItem9.ID = "Context Tooltip"; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "Context Tooltip"; this.barItem9.Click += new System.EventHandler(this.IntellisensePopupsClick); // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 1; this.barItem10.ID = "Context Prompt"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "Context Prompt"; this.barItem10.Click += new System.EventHandler(this.IntellisensePopupsClick); // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 1; this.barItem11.ID = "Context Choice"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Context Choice"; this.barItem11.Click += new System.EventHandler(this.IntellisensePopupsClick); // // parentBarItem3 // this.parentBarItem3.BarName = "parentBarItem3"; this.parentBarItem3.CategoryIndex = 2; this.parentBarItem3.ID = "VisualStyle"; this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem15, this.barItem16, this.barItem12, this.barItem13, this.barItem14 }); this.parentBarItem3.MetroColor = System.Drawing.SystemColors.Highlight; this.parentBarItem3.ShowToolTipInPopUp = false; this.parentBarItem3.SizeToFit = true; this.parentBarItem3.Text = "VisualStyle"; this.barItem15.BarName = "barItem10"; this.barItem15.CategoryIndex = 2; this.barItem15.ID = "Default"; this.barItem15.ShowToolTipInPopUp = false; this.barItem15.SizeToFit = true; this.barItem15.Text = "Default"; this.barItem15.Click += new System.EventHandler(this.SplittersMenuClick); this.barItem16.BarName = "barItem11"; this.barItem16.CategoryIndex = 2; this.barItem16.ID = "Office2016White"; this.barItem16.ShowToolTipInPopUp = false; this.barItem16.SizeToFit = true; this.barItem16.Text = "Office2016White"; this.barItem16.Click += new System.EventHandler(this.SplittersMenuClick); this.barItem16.Checked = true; // // barItem12 // this.barItem12.BarName = "barItem12"; this.barItem12.CategoryIndex = 2; this.barItem12.ID = "Office2016Colorful"; this.barItem12.ShowToolTipInPopUp = false; this.barItem12.SizeToFit = true; this.barItem12.Text = "Office2016Colorful"; this.barItem12.Click += new System.EventHandler(this.SplittersMenuClick); // // barItem13 // this.barItem13.BarName = "barItem13"; this.barItem13.CategoryIndex = 2; this.barItem13.ID = "Office2016DarkGray"; this.barItem13.ShowToolTipInPopUp = false; this.barItem13.SizeToFit = true; this.barItem13.Text = "Office2016DarkGray"; this.barItem13.Click += new System.EventHandler(this.SplittersMenuClick); // // barItem14 // this.barItem14.BarName = "barItem14"; this.barItem14.CategoryIndex = 2; this.barItem14.ID = "Office2016Black"; this.barItem14.ShowToolTipInPopUp = false; this.barItem14.SizeToFit = true; this.barItem14.Text = "Office2016Black"; this.barItem14.Click += new System.EventHandler(this.SplittersMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.CaptionAlign = System.Windows.Forms.HorizontalAlignment.Center; this.ClientSize = new System.Drawing.Size(542, 445); this.Controls.Add(this.editControl1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IconAlign = System.Windows.Forms.HorizontalAlignment.Left; this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left; this.MetroColor = System.Drawing.Color.White; this.MinimumSize = new System.Drawing.Size(554, 482); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Themes Support"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config3 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config3; this.editControl1.ContextChoiceForeColor = System.Drawing.SystemColors.InfoText; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 42); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.SaveOnClose = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowIndicatorMargin = false; this.editControl1.Size = new System.Drawing.Size(522, 394); this.editControl1.StatusBarSettings.CoordsPanel.Width = 150; this.editControl1.StatusBarSettings.EncodingPanel.Width = 100; this.editControl1.StatusBarSettings.FileNamePanel.Width = 100; this.editControl1.StatusBarSettings.InsertPanel.Width = 33; this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue; this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue; this.editControl1.StatusBarSettings.StatusPanel.Width = 70; this.editControl1.StatusBarSettings.TextPanel.Width = 80; this.editControl1.StatusBarSettings.VisualStyle = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default; this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; this.editControl1.ContextChoiceBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen); this.editControl1.ContextChoiceOpen += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen); this.editControl1.ContextChoiceClose += new Syncfusion.Windows.Forms.Edit.ContextChoiceCloseEventHandler(this.editControl1_ContextChoiceClose); this.editControl1.ContextPromptBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextPromptBeforeOpen); this.editControl1.ContextPromptOpen += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen); this.editControl1.ContextPromptClose += new Syncfusion.Windows.Forms.Edit.ContextPromptCloseEventHandler(this.editControl1_ContextPromptClose); this.editControl1.ContextChoiceItemSelected += new Syncfusion.Windows.Forms.Edit.ContextChoiceItemSelectedEventHandler(this.editControl1_ContextChoiceItemSelected); this.editControl1.ContextPromptSelectionChanged += new Syncfusion.Windows.Forms.Edit.ContextPromptSelectionChangedEventHandler(this.editControl1_ContextPromptSelectionChanged); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); // // mainFrameBarManager1 // #if !NETCORE this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); #endif this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("file"); this.mainFrameBarManager1.Categories.Add("filter"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.EnableMenuMerge = true; this.mainFrameBarManager1.Font = this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6, this.parentBarItem2, this.barItem7, this.barItem8 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.mainFrameBarManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "menu"; this.bar1.Caption = "menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "File"; this.parentBarItem1.WrapLength = 20; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "FilterAutoCompleteItems"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem8 }); this.parentBarItem2.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "FilterAutoCompleteItems"; this.parentBarItem2.WrapLength = 20; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.ID = "True"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "True"; this.barItem7.Click += new System.EventHandler(this.menuItem11_Click); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 1; this.barItem8.ID = "False"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "False"; this.barItem8.Click += new System.EventHandler(this.menuItem12_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(542, 446); this.Controls.Add(this.editControl1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(554, 482); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Context Choices"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <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 config3 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.edtProperties = new System.Windows.Forms.PropertyGrid(); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.MainStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.propertyGridItem = new System.Windows.Forms.ToolStripMenuItem(); this.featuresStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.indentationBtn = new System.Windows.Forms.ToolStripButton(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); this.scrollbarBtn = new System.Windows.Forms.ToolStripButton(); this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); this.featuresStrip2 = new System.Windows.Forms.ToolStrip(); this.splittersBtn = new System.Windows.Forms.ToolStripButton(); this.propertygribtn = new System.Windows.Forms.ToolStripButton(); this.RTLbtn = new System.Windows.Forms.ToolStripButton(); this.statusBarBtn = new System.Windows.Forms.ToolStripButton(); this.toolStripButton10 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton11 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton12 = new System.Windows.Forms.ToolStripButton(); this.wordwrapbtnItem = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton14 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton15 = new System.Windows.Forms.ToolStripButton(); this.rightToLeftToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); this.MainStrip.SuspendLayout(); this.featuresStrip1.SuspendLayout(); this.featuresStrip2.SuspendLayout(); this.SuspendLayout(); // // edtProperties // this.edtProperties.BackColor = System.Drawing.Color.White; this.edtProperties.CommandsBackColor = System.Drawing.SystemColors.Window; this.edtProperties.Dock = System.Windows.Forms.DockStyle.Right; this.edtProperties.HelpBackColor = System.Drawing.Color.White; this.edtProperties.LineColor = System.Drawing.SystemColors.Menu; this.edtProperties.Location = new System.Drawing.Point(574, 84); this.edtProperties.Name = "edtProperties"; this.edtProperties.SelectedObject = this.editControl1; this.edtProperties.Size = new System.Drawing.Size(232, 372); this.edtProperties.TabIndex = 25; this.edtProperties.Visible = false; // // editControl1 // this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config3; 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, 84); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.SharedFileMode = true; this.editControl1.Size = new System.Drawing.Size(564, 372); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 27; this.editControl1.Text = ""; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; // // MainStrip // this.MainStrip.BackColor = System.Drawing.Color.White; this.MainStrip.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MainStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { }); this.MainStrip.Location = new System.Drawing.Point(10, 10); this.MainStrip.Name = "MainStrip"; this.MainStrip.Size = new System.Drawing.Size(796, 24); this.MainStrip.TabIndex = 28; this.MainStrip.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.optnToolStripMenuItem, this.toolStripSeparator1, this.saveToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator2, this.closeToolStripMenuItem, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // newToolStripMenuItem // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // optnToolStripMenuItem // this.optnToolStripMenuItem.Name = "optnToolStripMenuItem"; this.optnToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.optnToolStripMenuItem.Text = "Open..."; this.optnToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(118, 6); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.saveAsToolStripMenuItem.Text = "Save As..."; this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(118, 6); // // closeToolStripMenuItem // this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.closeToolStripMenuItem.Text = "Close"; this.closeToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(121, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // propertyGridItem // this.propertyGridItem.CheckOnClick = true; this.propertyGridItem.Name = "propertyGridItem"; this.propertyGridItem.Size = new System.Drawing.Size(87, 20); this.propertyGridItem.Text = "Property Grid"; this.propertyGridItem.Click += new System.EventHandler(this.propertyGridToolStripMenuItem_Click); // // featuresStrip1 // this.featuresStrip1.BackColor = System.Drawing.Color.White; this.featuresStrip1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.featuresStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripButton1, this.propertygribtn, this.RTLbtn, this.indentationBtn, this.toolStripButton3, this.toolStripSeparator5, this.toolStripButton4, this.toolStripButton5, this.scrollbarBtn, this.toolStripButton7 }); this.featuresStrip1.Location = new System.Drawing.Point(10, 34); this.featuresStrip1.Name = "featuresStrip1"; this.featuresStrip1.Size = new System.Drawing.Size(796, 25); this.featuresStrip1.TabIndex = 29; this.featuresStrip1.Text = "ToolStrip"; this.featuresStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked); // // toolStripButton1 // this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(63, 22); this.toolStripButton1.Text = "Bookmark"; // // indentationBtn // this.indentationBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.indentationBtn.Image = ((System.Drawing.Image)(resources.GetObject("indentationBtn.Image"))); this.indentationBtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.indentationBtn.Name = "indentationBtn"; this.indentationBtn.Size = new System.Drawing.Size(130, 22); this.indentationBtn.Text = "Indentation Guidelines"; // // toolStripButton3 // this.toolStripButton3.Checked = true; this.toolStripButton3.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new System.Drawing.Size(97, 22); this.toolStripButton3.Text = "Indicator Margin"; // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // toolStripButton4 // this.toolStripButton4.Checked = true; this.toolStripButton4.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton4.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton4.Name = "toolStripButton4"; this.toolStripButton4.Size = new System.Drawing.Size(49, 22); this.toolStripButton4.Text = "Line no"; // // toolStripButton5 // this.toolStripButton5.Checked = true; this.toolStripButton5.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton5.Name = "toolStripButton5"; this.toolStripButton5.Size = new System.Drawing.Size(117, 22); this.toolStripButton5.Text = "Outlining Collapsers"; // // scrollbarBtn // this.scrollbarBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.scrollbarBtn.Image = ((System.Drawing.Image)(resources.GetObject("scrollbarBtn.Image"))); this.scrollbarBtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.scrollbarBtn.Name = "scrollbarBtn"; this.scrollbarBtn.Size = new System.Drawing.Size(61, 22); this.scrollbarBtn.Text = "Scrollbars"; // // toolStripButton7 // this.toolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image"))); this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton7.Name = "toolStripButton7"; this.toolStripButton7.Size = new System.Drawing.Size(98, 22); this.toolStripButton7.Text = "Selection Margin"; // // featuresStrip2 // this.featuresStrip2.BackColor = System.Drawing.Color.White; this.featuresStrip2.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.featuresStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.splittersBtn, this.statusBarBtn, this.toolStripButton10, this.toolStripButton11, this.toolStripSeparator4, this.toolStripButton12, this.wordwrapbtnItem, this.toolStripSeparator3, this.toolStripButton14, this.toolStripButton15 }); this.featuresStrip2.Location = new System.Drawing.Point(10, 59); this.featuresStrip2.Name = "featuresStrip2"; this.featuresStrip2.Size = new System.Drawing.Size(796, 25); this.featuresStrip2.TabIndex = 30; this.featuresStrip2.Text = "toolStrip2"; this.featuresStrip2.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip2_ItemClicked); // // splittersBtn // this.splittersBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.splittersBtn.Image = ((System.Drawing.Image)(resources.GetObject("splittersBtn.Image"))); this.splittersBtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.splittersBtn.Name = "splittersBtn"; this.splittersBtn.Size = new System.Drawing.Size(53, 22); this.splittersBtn.Text = "Splitters"; // // propertygribtn // this.propertygribtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.propertygribtn.Image = ((System.Drawing.Image)(resources.GetObject("splittersBtn.Image"))); this.propertygribtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.propertygribtn.Name = "splittersBtn"; this.propertygribtn.Size = new System.Drawing.Size(53, 22); this.propertygribtn.Text = "Property Grid"; // // splittersBtn // this.RTLbtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.RTLbtn.Image = ((System.Drawing.Image)(resources.GetObject("splittersBtn.Image"))); this.RTLbtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.RTLbtn.Name = "splittersBtn"; this.RTLbtn.Size = new System.Drawing.Size(53, 22); this.RTLbtn.Text = "RightToLeft"; // // statusBarBtn // this.statusBarBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.statusBarBtn.Image = ((System.Drawing.Image)(resources.GetObject("statusBarBtn.Image"))); this.statusBarBtn.ImageTransparentColor = System.Drawing.Color.Magenta; this.statusBarBtn.Name = "statusBarBtn"; this.statusBarBtn.Size = new System.Drawing.Size(60, 22); this.statusBarBtn.Text = "StatusBar"; // // toolStripButton10 // this.toolStripButton10.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image"))); this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton10.Name = "toolStripButton10"; this.toolStripButton10.Size = new System.Drawing.Size(74, 22); this.toolStripButton10.Text = "User Margin"; // // toolStripButton11 // this.toolStripButton11.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image"))); this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton11.Name = "toolStripButton11"; this.toolStripButton11.Size = new System.Drawing.Size(80, 22); this.toolStripButton11.Text = "White Spaces"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // toolStripButton12 // this.toolStripButton12.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image"))); this.toolStripButton12.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton12.Name = "toolStripButton12"; this.toolStripButton12.Size = new System.Drawing.Size(110, 22); this.toolStripButton12.Text = "Wordwrap Markers"; // // wordwrapbtnItem // this.wordwrapbtnItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.wordwrapbtnItem.Image = ((System.Drawing.Image)(resources.GetObject("wordwrapbtnItem.Image"))); this.wordwrapbtnItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.wordwrapbtnItem.Name = "wordwrapbtnItem"; this.wordwrapbtnItem.Size = new System.Drawing.Size(69, 22); this.wordwrapbtnItem.Text = "Word wrap"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // toolStripButton14 // this.toolStripButton14.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton14.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton14.Image"))); this.toolStripButton14.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton14.Name = "toolStripButton14"; this.toolStripButton14.Size = new System.Drawing.Size(71, 22); this.toolStripButton14.Text = "Collapse All"; // // toolStripButton15 // this.toolStripButton15.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton15.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton15.Image"))); this.toolStripButton15.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton15.Name = "toolStripButton15"; this.toolStripButton15.Size = new System.Drawing.Size(65, 22); this.toolStripButton15.Text = "Expand All"; // // rightToLeftToolStripMenuItem // this.rightToLeftToolStripMenuItem.Name = "rightToLeftToolStripMenuItem"; this.rightToLeftToolStripMenuItem.Size = new System.Drawing.Size(84, 20); this.rightToLeftToolStripMenuItem.Text = "Right To Left"; this.rightToLeftToolStripMenuItem.Click += new System.EventHandler(this.rightToLeftToolStripMenuItem_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(816, 466); this.Controls.Add(this.editControl1); this.Controls.Add(this.edtProperties); this.Controls.Add(this.featuresStrip2); this.Controls.Add(this.featuresStrip1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IconAlign = System.Windows.Forms.HorizontalAlignment.Left; this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left; this.MainMenuStrip = this.MainStrip; this.MetroColor = System.Drawing.Color.White; this.MinimumSize = new System.Drawing.Size(828, 503); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Edit Features"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); this.MainStrip.ResumeLayout(false); this.MainStrip.PerformLayout(); this.featuresStrip1.ResumeLayout(false); this.featuresStrip1.PerformLayout(); this.featuresStrip2.ResumeLayout(false); this.featuresStrip2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.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.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.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.ShowIndicatorMargin = false; this.editControl1.ShowLineNumbers = false; this.editControl1.Size = new System.Drawing.Size(540, 383); this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(10, 422); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(540, 22); this.statusBar1.SizingGrip = false; this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 540; // // 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("position"); 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.barItem6, this.parentBarItem2, this.barItem7, this.barItem10, this.barItem11, this.barItem5, 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.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.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.menuItem2_Click); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.menuItem3_Click); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.menuItem4_Click); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.menuItem5_Click); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "Exit"; this.barItem6.Click += new System.EventHandler(this.menuItem8_Click); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "PositionMenu"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem5, this.barItem8, this.barItem10, this.barItem11 }); this.parentBarItem2.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "Position Options"; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.ID = "MousePosition To VirtualPosition"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "MousePosition To VirtualPosition"; this.barItem7.Click += new System.EventHandler(this.menuItem10_Click); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 1; this.barItem5.ID = "MousePosition To PhysicalPosition"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "MousePosition To PhysicalPosition"; this.barItem5.Click += new System.EventHandler(this.menuItem11_Click); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 1; this.barItem8.ID = "CursorPosition To PhysicalPosition"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "CursorPosition To PhysicalPosition"; this.barItem8.Click += new System.EventHandler(this.menuItem13_Click); // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 1; this.barItem10.ID = "VirtualPosition To Offset"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "VirtualPosition To Offset"; this.barItem10.Click += new System.EventHandler(this.menuItem16_Click); // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 1; this.barItem11.ID = "Offset To VirtualPosition"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Offset To VirtualPosition"; this.barItem11.Click += new System.EventHandler(this.menuItem14_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(560, 454); this.Controls.Add(this.editControl1); this.Controls.Add(this.statusBar1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.MinimumSize = new System.Drawing.Size(572, 491); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Positions and Offsets"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).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(); Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.White; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 39); this.editControl1.MarkLineWrapping = false; this.editControl1.MarkWrappedLines = false; this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.SaveOnClose = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowOutliningCollapsers = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(522, 396); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; this.editControl1.ContextChoiceBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextChoiceBeforeOpen); this.editControl1.ContextChoiceOpen += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen); this.editControl1.ContextChoiceClose += new Syncfusion.Windows.Forms.Edit.ContextChoiceCloseEventHandler(this.editControl1_ContextChoiceClose); this.editControl1.ContextPromptBeforeOpen += new System.ComponentModel.CancelEventHandler(this.editControl1_ContextPromptBeforeOpen); this.editControl1.ContextPromptOpen += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen); this.editControl1.ContextChoiceItemSelected += new Syncfusion.Windows.Forms.Edit.ContextChoiceItemSelectedEventHandler(this.editControl1_ContextChoiceItemSelected); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); // // mainFrameBarManager1 // #if !NETCORE this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); #endif this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("file"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "menu"; this.bar1.Caption = "menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "File"; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(542, 445); this.Controls.Add(this.editControl1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(554, 482); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Intellisense from XML"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <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.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.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 42); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowIndicatorMargin = true; this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowLineNumbers = false; this.editControl1.ShowOutliningCollapsers = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(522, 394); this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; this.editControl1.UpdateContextToolTip += new Syncfusion.Windows.Forms.Edit.UpdateTooltipEventHandler(this.editControl1_UpdateContextToolTip); // // 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 = 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.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.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.menuItem2_Click); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.menuItem3_Click); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.menuItem5_Click); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.menuItem6_Click); // // 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.menuItem8_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(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 = "Context Tooltip"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <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(); this.barItem13 = 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.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("Segoe UI", 8.25F); 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.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(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; // // 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("Edit"); 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.barItem13, 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; this.mainFrameBarManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "Menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "&File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "&File"; this.parentBarItem1.WrapLength = 20; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "&New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "&New"; this.barItem1.Click += new System.EventHandler(this.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 = "&Edit"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem8, this.barItem9, this.barItem10, this.barItem11, this.barItem12, this.barItem13 }); 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 = "&Edit"; this.parentBarItem2.WrapLength = 20; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.ID = "&Undo"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "&Undo"; this.barItem7.Click += new System.EventHandler(this.EditMenuClick); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 1; this.barItem8.ID = "&Redo"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "&Redo"; this.barItem8.Click += new System.EventHandler(this.EditMenuClick); // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 1; this.barItem9.ID = "&Cut"; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "&Cut"; this.barItem9.Click += new System.EventHandler(this.EditMenuClick); // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 1; this.barItem10.ID = "C&opy"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "C&opy"; this.barItem10.Click += new System.EventHandler(this.EditMenuClick); // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 1; this.barItem11.ID = "&Paste"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "&Paste"; this.barItem11.Click += new System.EventHandler(this.EditMenuClick); // // barItem12 // this.barItem12.BarName = "barItem12"; this.barItem12.CategoryIndex = 1; this.barItem12.ID = "&Select All"; this.barItem12.ShowToolTipInPopUp = false; this.barItem12.SizeToFit = true; this.barItem12.Text = "&Select All"; this.barItem12.Click += new System.EventHandler(this.EditMenuClick); // // barItem13 // this.barItem13.BarName = "barItem13"; this.barItem13.CategoryIndex = 1; this.barItem13.ID = "Ca&ncel Selection"; this.barItem13.ShowToolTipInPopUp = false; this.barItem13.SizeToFit = true; this.barItem13.Text = "Ca&ncel Selection"; this.barItem13.Click += new System.EventHandler(this.EditMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(542, 446); this.Controls.Add(this.editControl1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F); 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 = "Clipboard Functions"; 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() { Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem12 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 42); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowOutliningCollapsers = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(572, 431); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = "edtCode"; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; // // mainFrameBarManager1 // 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("export"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6, this.parentBarItem2, this.barItem7, this.barItem8, this.barItem9, }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "Menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "File"; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "ExportMenu"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem8, this.barItem9, }); this.parentBarItem2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "Export Options"; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.ID = "Save as RTF"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "RTF"; this.barItem7.Click += new System.EventHandler(this.ExportMenuClick); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 1; this.barItem8.ID = "Save as HTML"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "HTML"; this.barItem8.Click += new System.EventHandler(this.ExportMenuClick); // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 1; this.barItem9.ID = "Save as XML"; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "XML"; this.barItem9.Click += new System.EventHandler(this.ExportMenuClick); // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 1; this.barItem10.ID = "Get RTF Source"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "Get RTF Source"; this.barItem10.Click += new System.EventHandler(this.ExportMenuClick); // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 1; this.barItem11.ID = "Get HTML Source"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Get HTML Source"; this.barItem11.Click += new System.EventHandler(this.ExportMenuClick); // // barItem12 // this.barItem12.BarName = "barItem12"; this.barItem12.CategoryIndex = 1; this.barItem12.ID = "Get XML Source"; this.barItem12.ShowToolTipInPopUp = false; this.barItem12.SizeToFit = true; this.barItem12.Text = "Get XML Source"; this.barItem12.Click += new System.EventHandler(this.ExportMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.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(572, 460); 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(584, 497); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Export Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <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 // 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("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.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, 423); 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, 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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.label1 = new System.Windows.Forms.Label(); this.controlLanguageSelector1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlLanguageSelector(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.controlFormatsList1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsList(); this.controlFormatsSettings1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsSettings(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.AutoIndentMode = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 39); this.editControl1.Name = "editControl1"; this.editControl1.OnlyHighlightMatchingBraces = true; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(408, 394); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; // // label1 // this.label1.Location = new System.Drawing.Point(8, 272); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(192, 32); this.label1.TabIndex = 2; this.label1.Text = "Control used for selecting language:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // controlLanguageSelector1 // this.controlLanguageSelector1.Configuration = config1; this.controlLanguageSelector1.EditControl = this.editControl1; this.controlLanguageSelector1.Location = new System.Drawing.Point(16, 304); this.controlLanguageSelector1.Name = "controlLanguageSelector1"; this.controlLanguageSelector1.Size = new System.Drawing.Size(176, 21); this.controlLanguageSelector1.TabIndex = 1; this.controlLanguageSelector1.SelectedLanguageChanged += new System.EventHandler(this.controlLanguageSelector1_SelectedLanguageChanged); this.controlLanguageSelector1.Load += new System.EventHandler(this.controlLanguageSelector1_Load); // // button1 // this.button1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Office2016White; this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.button1.Location = new System.Drawing.Point(48, 344); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(96, 23); this.button1.TabIndex = 0; this.button1.Text = "Show Dialog"; this.button1.UseVisualStyle = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // controlFormatsList1 // this.controlFormatsList1.Configuration = config1; this.controlFormatsList1.EditControl = this.editControl1; this.controlFormatsList1.LanguageSelector = this.controlLanguageSelector1; this.controlFormatsList1.Location = new System.Drawing.Point(8, 32); this.controlFormatsList1.Name = "controlFormatsList1"; this.controlFormatsList1.SelectedFormats = null; this.controlFormatsList1.Size = new System.Drawing.Size(200, 224); this.controlFormatsList1.TabIndex = 3; this.controlFormatsList1.Load += new System.EventHandler(this.controlFormatsList1_Load); // // controlFormatsSettings1 // this.controlFormatsSettings1.Formats = null; this.controlFormatsSettings1.FormatsSelector = this.controlFormatsList1; this.controlFormatsSettings1.Location = new System.Drawing.Point(224, 40); this.controlFormatsSettings1.Name = "controlFormatsSettings1"; this.controlFormatsSettings1.Size = new System.Drawing.Size(336, 384); this.controlFormatsSettings1.TabIndex = 4; // // label2 // this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(216, 23); this.label2.TabIndex = 5; this.label2.Text = "Control for selecting language\'s format(s):"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.Location = new System.Drawing.Point(248, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(208, 23); this.label3.TabIndex = 6; this.label3.Text = "Control for editing selected formats:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Controls.Add(this.controlFormatsSettings1); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.controlFormatsList1); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.controlLanguageSelector1); this.panel2.Controls.Add(this.button1); this.panel2.Dock = System.Windows.Forms.DockStyle.Right; this.panel2.Location = new System.Drawing.Point(418, 39); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(568, 394); this.panel2.TabIndex = 3; // // mainFrameBarManager1 // #if !NETCORE this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); #endif this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("file"); this.mainFrameBarManager1.Categories.Add("zoom"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.EnableMenuMerge = true; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.mainFrameBarManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "menu"; this.bar1.Caption = "menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2, this.parentBarItem3 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "File"; this.parentBarItem1.WrapLength = 20; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "ShowFontDialog"; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "ShowFontDialog"; this.parentBarItem2.Click += new System.EventHandler(this.ShowFormatsCustomizationDialog); // // parentBarItem3 // this.parentBarItem3.BarName = "parentBarItem3"; this.parentBarItem3.CategoryIndex = 0; this.parentBarItem3.ID = "Zoom Options"; this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem8, this.barItem9 }); this.parentBarItem3.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem3.ShowToolTipInPopUp = false; this.parentBarItem3.SizeToFit = true; this.parentBarItem3.Text = "Zoom Options"; this.parentBarItem3.WrapLength = 20; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 0; this.barItem7.ID = "Allow Zoom"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "Enable Zoom"; this.barItem7.Click += new System.EventHandler(this.MainMenuClick); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 0; this.barItem8.ID = "Zoom in"; this.barItem8.Image = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem8.Image"))); this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "Zoom in"; this.barItem8.Click += new System.EventHandler(this.MainMenuClick); // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 0; this.barItem9.ID = "Zoom out"; this.barItem9.Image = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem9.Image"))); this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "Zoom out"; this.barItem9.Click += new System.EventHandler(this.MainMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(996, 443); this.Controls.Add(this.editControl1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(1008, 480); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Font Customization"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fielToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.setTextToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.textPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fileNamePanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.encodngPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.positToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.insertPanelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); this.toolStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // editControl1 // this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 59); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(522, 376); this.editControl1.StatusBarSettings.GripVisibility = Syncfusion.Windows.Forms.Edit.Enums.SizingGripVisibility.Visible; this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.StatusBarSettings.StatusPanel.Width = 100; this.editControl1.StatusBarSettings.Visible = true; this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; // // toolStrip1 // this.toolStrip1.BackColor = System.Drawing.Color.White; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.toolStripButton1, this.toolStripSeparator1, this.toolStripButton2, this.toolStripSeparator2, this.toolStripButton3, this.toolStripSeparator3, this.toolStripButton4, this.toolStripSeparator4, this.toolStripButton5, this.toolStripSeparator5, this.toolStripButton6, this.toolStripSeparator8, this.toolStripButton7 }); this.toolStrip1.Location = new System.Drawing.Point(10, 34); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(522, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.VisibilityMenuClick); // // toolStripLabel1 // this.toolStripLabel1.Name = "toolStripLabel1"; this.toolStripLabel1.Size = new System.Drawing.Size(99, 22); this.toolStripLabel1.Text = "Status Bar Panels:"; // // toolStripButton1 // this.toolStripButton1.Checked = true; this.toolStripButton1.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(33, 22); this.toolStripButton1.Text = "Text"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // toolStripButton2 // this.toolStripButton2.Checked = true; this.toolStripButton2.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new System.Drawing.Size(61, 22); this.toolStripButton2.Text = "FileName"; // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // toolStripButton3 // this.toolStripButton3.Checked = true; this.toolStripButton3.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new System.Drawing.Size(43, 22); this.toolStripButton3.Text = "Status"; // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // toolStripButton4 // this.toolStripButton4.Checked = true; this.toolStripButton4.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton4.Name = "toolStripButton4"; this.toolStripButton4.Size = new System.Drawing.Size(61, 22); this.toolStripButton4.Text = "Encoding"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // toolStripButton5 // this.toolStripButton5.Checked = true; this.toolStripButton5.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton5.Name = "toolStripButton5"; this.toolStripButton5.Size = new System.Drawing.Size(54, 22); this.toolStripButton5.Text = "Position"; // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(6, 25); // // toolStripButton6 // this.toolStripButton6.Checked = true; this.toolStripButton6.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton6.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton6.Name = "toolStripButton6"; this.toolStripButton6.Size = new System.Drawing.Size(40, 22); this.toolStripButton6.Text = "Insert"; // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(6, 25); // // toolStripButton7 // this.toolStripButton7.Checked = true; this.toolStripButton7.CheckState = System.Windows.Forms.CheckState.Checked; this.toolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image"))); this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton7.Name = "toolStripButton7"; this.toolStripButton7.Size = new System.Drawing.Size(83, 22); this.toolStripButton7.Text = "Sizing gripper"; // // menuStrip1 // this.menuStrip1.BackColor = System.Drawing.Color.White; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fielToolStripMenuItem, this.setTextToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(10, 10); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(522, 24); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // // fielToolStripMenuItem // this.fielToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.openToolStripMenuItem, this.toolStripSeparator6, this.saveToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripSeparator7, this.closeToolStripMenuItem, this.exitToolStripMenuItem }); this.fielToolStripMenuItem.Name = "fielToolStripMenuItem"; this.fielToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fielToolStripMenuItem.Text = "File"; // // newToolStripMenuItem // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(123, 22); this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Size = new System.Drawing.Size(123, 22); this.openToolStripMenuItem.Text = "Open..."; this.openToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(120, 6); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(123, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(123, 22); this.saveAsToolStripMenuItem.Text = "Save As..."; this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(120, 6); // // closeToolStripMenuItem // this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.Size = new System.Drawing.Size(123, 22); this.closeToolStripMenuItem.Text = "Close"; this.closeToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(123, 22); this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.MainMenuClick); // // setTextToolStripMenuItem // this.setTextToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.textPanelToolStripMenuItem, this.fileNamePanelToolStripMenuItem, this.statusPanelToolStripMenuItem, this.encodngPanelToolStripMenuItem, this.positToolStripMenuItem, this.insertPanelToolStripMenuItem }); this.setTextToolStripMenuItem.Name = "setTextToolStripMenuItem"; this.setTextToolStripMenuItem.Size = new System.Drawing.Size(63, 20); this.setTextToolStripMenuItem.Text = "Set Text "; // // textPanelToolStripMenuItem // this.textPanelToolStripMenuItem.Name = "textPanelToolStripMenuItem"; this.textPanelToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.textPanelToolStripMenuItem.Text = "Text Panel"; this.textPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick); // // fileNamePanelToolStripMenuItem // this.fileNamePanelToolStripMenuItem.Name = "fileNamePanelToolStripMenuItem"; this.fileNamePanelToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.fileNamePanelToolStripMenuItem.Text = "FileName Panel"; this.fileNamePanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick); // // statusPanelToolStripMenuItem // this.statusPanelToolStripMenuItem.Name = "statusPanelToolStripMenuItem"; this.statusPanelToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.statusPanelToolStripMenuItem.Text = "Status Panel"; this.statusPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick); // // encodngPanelToolStripMenuItem // this.encodngPanelToolStripMenuItem.Name = "encodngPanelToolStripMenuItem"; this.encodngPanelToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.encodngPanelToolStripMenuItem.Text = "Encoding Panel"; this.encodngPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick); // // positToolStripMenuItem // this.positToolStripMenuItem.Name = "positToolStripMenuItem"; this.positToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.positToolStripMenuItem.Text = "Position Panel"; this.positToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick); // // insertPanelToolStripMenuItem // this.insertPanelToolStripMenuItem.Name = "insertPanelToolStripMenuItem"; this.insertPanelToolStripMenuItem.Size = new System.Drawing.Size(156, 22); this.insertPanelToolStripMenuItem.Text = "Insert Panel"; this.insertPanelToolStripMenuItem.Click += new System.EventHandler(this.SetTextMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(542, 445); this.Controls.Add(this.editControl1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.menuStrip1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.MinimumSize = new System.Drawing.Size(554, 482); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "StatusBar"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.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(667, 445); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F); 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(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); }
private void InitializeEditControl() { this.SuspendLayout(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RegexEditor)); this.txtRegex = new Syncfusion.Windows.Forms.Edit.EditControl(); // // txtRegex // this.txtRegex.BackColor = System.Drawing.Color.White; this.txtRegex.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtRegex.ContextChoiceChar = new char[] { '.'}; this.txtRegex.CopyWithoutSelection = false; this.txtRegex.Font = new System.Drawing.Font("Courier New", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtRegex.Location = new System.Drawing.Point(-15, 47); this.txtRegex.Name = "txtRegex"; this.txtRegex.RightMarginLineColumn = 80; this.txtRegex.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtRegex.SelectionMarginVisible = true; this.txtRegex.Size = new System.Drawing.Size(320, 168); this.txtRegex.StartWithNewFile = true; this.txtRegex.TabIndex = 1; this.txtRegex.TextEncoding = ((System.Text.Encoding)(resources.GetObject("txtRegex.TextEncoding"))); this.txtRegex.ContextChoicePopup += new Syncfusion.Windows.Forms.Edit.ContextChoicePopupEventHandler(this.txtRegex_ContextChoicePopup); this.txtRegex.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtRegex_KeyDown); this.Controls.Add(this.txtRegex); this.ResumeLayout(false); }