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