private void colorPickerUIAdv1_Picked(object sender, ColorPickerUIAdv.ColorPickedEventArgs args) { //set the custom color to the form and RibbonControlAdv this.ColorScheme = ColorSchemeType.Managed; this.ribbonControlAdv1.OfficeColorScheme = ToolStripEx.ColorScheme.Managed; Office12ColorTable.ApplyManagedColors(this, args.Color); //Set the GradientLabel color this.gradientLabel1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, new System.Drawing.Color[] { Color.WhiteSmoke, args.Color, Color.WhiteSmoke }); // Ensures that the PopupControlContainer is closed after the selection of a color. ColorPickerUIAdv cc = sender as ColorPickerUIAdv; Syncfusion.Windows.Forms.PopupControlContainer pcc = cc.Parent as Syncfusion.Windows.Forms.PopupControlContainer; if (pcc != null) { pcc.HidePopup(Syncfusion.Windows.Forms.PopupCloseType.Done); } BrushInfo bInfo = new BrushInfo(Syncfusion.Drawing.GradientStyle.PathEllipse, args.Color, Color.FromArgb(237, 240, 247)); df.gradientLabel1.BackgroundColor = bInfo; df.gradientLabel2.BackgroundColor = bInfo; df.gradientLabel3.BackgroundColor = bInfo; df.gradientPanel1.BackgroundColor = bInfo; this.toolStripButton29.Checked = false; this.popupControlContainer1.Size = this.colorPickerUIAdv1.Size; }
private void colorPickerUIAdv7_Picked(object sender, ColorPickerUIAdv.ColorPickedEventArgs args) { for (int i = 0; i < 14; ++i) { for (int j = 0; j < 3; ++j) { sparkline[i, j].Markers.MarkerColor = new Syncfusion.Drawing.BrushInfo(args.Color); } } this.gridControl1.Refresh(); // Ensures that the PopupControlContainer is closed after the selection of a color. ColorPickerUIAdv cc = sender as ColorPickerUIAdv; Syncfusion.Windows.Forms.PopupControlContainer pcc = cc.Parent as Syncfusion.Windows.Forms.PopupControlContainer; pcc.HidePopup(Syncfusion.Windows.Forms.PopupCloseType.Done); }
/// <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(Form1)); Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbtextBox1 = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection(); Syncfusion.Windows.Forms.MetroColorTable metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable(); this.dockingManager1 = new Syncfusion.Windows.Forms.Tools.DockingManager(this.components); this.textBox1 = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Hauptmenu"); this.parentBarItem3 = 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.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); 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.dropDownBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.colorUIControl1 = new Syncfusion.Windows.Forms.ColorUIControl(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.windowItem = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.mdiListBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MdiListBarItem(); this.bar2 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Standard"); this.menuList = new System.Windows.Forms.ImageList(this.components); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); ((System.ComponentModel.ISupportInitialize)(this.dockingManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.popupControlContainer1.SuspendLayout(); this.SuspendLayout(); // // dockingManager1 // this.dockingManager1.ActiveCaptionFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.dockingManager1.DockLayoutStream = ((System.IO.MemoryStream)(resources.GetObject("dockingManager1.DockLayoutStream"))); this.dockingManager1.EnableAutoAdjustCaption = true; this.dockingManager1.HostControl = this; this.dockingManager1.InActiveCaptionBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(211)))), ((int)(((byte)(212)))))); this.dockingManager1.InActiveCaptionFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.dockingManager1.MetroButtonColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.dockingManager1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.dockingManager1.MetroSplitterBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(159)))), ((int)(((byte)(183))))); this.dockingManager1.ReduceFlickeringInRtl = false; this.dockingManager1.VisualStyle = Syncfusion.Windows.Forms.VisualStyle.Metro; this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Close, "CloseButton")); this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Pin, "PinButton")); this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Menu, "MenuButton")); this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Maximize, "MaximizeButton")); this.dockingManager1.SetDockLabel(this.textBox1, "Lokalisation"); this.dockingManager1.SetEnableDocking(this.textBox1, true); ccbtextBox1.MergeWith(this.dockingManager1.CaptionButtons, false); this.dockingManager1.SetCustomCaptionButtons(this.textBox1, ccbtextBox1); // // textBox1 // this.textBox1.BeforeTouchSize = new System.Drawing.Size(686, 124); this.textBox1.Location = new System.Drawing.Point(1, 24); this.textBox1.Metrocolor = System.Drawing.Color.Empty; this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(686, 124); this.textBox1.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Default; this.textBox1.TabIndex = 5; this.textBox1.Text = "This Sample shows the Localization of Syncfusion Menus, Docking Manager" + " and ColorUIPicker."; // // mainFrameBarManager1 // this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Bars.Add(this.bar2); this.mainFrameBarManager1.Categories.Add("File"); this.mainFrameBarManager1.Categories.Add("Edit"); this.mainFrameBarManager1.Categories.Add("Help"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.EnableMenuMerge = true; this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.ImageList = this.menuList; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem3, this.barItem1, this.barItem2, this.barItem3, this.barItem10, this.parentBarItem4, this.barItem4, this.barItem5, this.barItem6, this.barItem7, this.barItem8, this.parentBarItem5, this.barItem9, this.windowItem, this.mdiListBarItem1, this.dropDownBarItem1 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232))))); this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.mainFrameBarManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "Hauptmenu"; 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 = "Hauptmenu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem3, this.parentBarItem4, this.parentBarItem5, this.windowItem }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem3 // this.parentBarItem3.BarName = "parentBarItem3"; this.parentBarItem3.CategoryIndex = 0; 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 = "&File"; this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem10, this.barItem4 }); this.parentBarItem3.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232))))); this.parentBarItem3.SeparatorIndices.AddRange(new int[] { 2, 4 }); this.parentBarItem3.ShowToolTipInPopUp = false; this.parentBarItem3.SizeToFit = true; this.parentBarItem3.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem3.Text = "&Akte"; this.parentBarItem3.WrapLength = 20; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem1.ID = "&New"; this.barItem1.ImageIndex = 0; this.barItem1.PaintStyle = Syncfusion.Windows.Forms.Tools.XPMenus.PaintStyle.ImageAndText; this.barItem1.Shortcut = System.Windows.Forms.Shortcut.CtrlN; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "&Neu"; this.barItem1.Click += new System.EventHandler(this.barItem1_Click); // // barItem2 // this.barItem2.BarName = "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 = "&Open"; this.barItem2.ImageIndex = 1; this.barItem2.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Geoffnet"; // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; 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 = "&Save"; this.barItem3.ImageIndex = 2; this.barItem3.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Auber"; // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 0; this.barItem10.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem10.ID = "Save &As.."; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "Auber wie.."; // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem4.ID = "E&xit"; this.barItem4.ImageIndex = 3; this.barItem4.Shortcut = System.Windows.Forms.Shortcut.AltF4; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Ausgang"; this.barItem4.Click += new System.EventHandler(this.barItem4_Click); // // parentBarItem4 // this.parentBarItem4.BarName = "parentBarItem4"; this.parentBarItem4.CategoryIndex = 1; this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem4.ID = "&Edit"; this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem5, this.barItem6, this.barItem7, this.dropDownBarItem1, this.barItem8 }); this.parentBarItem4.MergeOrder = 1; this.parentBarItem4.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232))))); this.parentBarItem4.SeparatorIndices.AddRange(new int[] { 4 }); this.parentBarItem4.ShowToolTipInPopUp = false; this.parentBarItem4.SizeToFit = true; this.parentBarItem4.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem4.Text = "&Redigieren Sie"; this.parentBarItem4.WrapLength = 20; // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 1; 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 = "Cu&t"; this.barItem5.ImageIndex = 4; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "Redigieren"; // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 1; this.barItem6.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem6.ID = "&Copy"; this.barItem6.ImageIndex = 5; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "&Copy"; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem7.ID = "&Paste"; this.barItem7.ImageIndex = 6; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "&Paste"; // // dropDownBarItem1 // this.dropDownBarItem1.BarName = "dropDownBarItem1"; this.dropDownBarItem1.CategoryIndex = 1; 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 = "Choose Color:"; this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer1; this.dropDownBarItem1.ShowToolTipInPopUp = false; this.dropDownBarItem1.SizeToFit = true; this.dropDownBarItem1.Text = "Farbe wahlen:"; // // popupControlContainer1 // this.popupControlContainer1.Controls.Add(this.colorUIControl1); this.popupControlContainer1.Location = new System.Drawing.Point(272, 80); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(176, 176); this.popupControlContainer1.TabIndex = 9; this.popupControlContainer1.Visible = false; // // colorUIControl1 // this.colorUIControl1.BeforeTouchSize = new System.Drawing.Size(176, 176); this.colorUIControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.colorUIControl1.Flag = false; this.colorUIControl1.Location = new System.Drawing.Point(0, 0); this.colorUIControl1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.colorUIControl1.MetroForeColor = System.Drawing.Color.White; this.colorUIControl1.Name = "colorUIControl1"; metroColorTable1.ArrowChecked = System.Drawing.Color.Black; metroColorTable1.ArrowNormal = System.Drawing.Color.White; metroColorTable1.ArrowNormal = System.Drawing.Color.Gray; metroColorTable1.ArrowNormalBackGround = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198))))); metroColorTable1.ArrowPushed = System.Drawing.Color.Black; metroColorTable1.ArrowPushedBackGround = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90))))); metroColorTable1.ScrollerBackground = System.Drawing.Color.White; metroColorTable1.ThumbChecked = System.Drawing.Color.Black; metroColorTable1.ThumbNormal = System.Drawing.Color.White; metroColorTable1.ThumbNormal = System.Drawing.Color.Gray; metroColorTable1.ThumbPushed = System.Drawing.Color.Black; metroColorTable1.ThumbPushedBorder = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90))))); this.colorUIControl1.ScrollMetroColorTable = metroColorTable1; this.colorUIControl1.ShowUserSelectionColors = true; this.colorUIControl1.Size = new System.Drawing.Size(176, 176); this.colorUIControl1.TabIndex = 0; this.colorUIControl1.Text = "colorUIControl1"; this.colorUIControl1.VisualStyle = Syncfusion.Windows.Forms.ColorUIStyle.Metro; // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 1; this.barItem8.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem8.ID = "Select &All"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "Alle vorwahlen"; // // parentBarItem5 // this.parentBarItem5.BarName = "parentBarItem5"; this.parentBarItem5.CategoryIndex = 3; this.parentBarItem5.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem5.ID = "&Help"; this.parentBarItem5.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem9 }); this.parentBarItem5.MergeOrder = 3; this.parentBarItem5.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232))))); this.parentBarItem5.ShowToolTipInPopUp = false; this.parentBarItem5.SizeToFit = true; this.parentBarItem5.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem5.Text = "&Hilfe"; this.parentBarItem5.WrapLength = 20; // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 2; this.barItem9.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem9.ID = "A&bout..."; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "Uber..."; // // windowItem // this.windowItem.BarName = "windowItem"; this.windowItem.CategoryIndex = 2; this.windowItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.windowItem.ID = "&Window"; this.windowItem.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.mdiListBarItem1 }); this.windowItem.MergeOrder = 2; this.windowItem.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232))))); this.windowItem.ShowToolTipInPopUp = false; this.windowItem.SizeToFit = true; this.windowItem.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.windowItem.Text = "Fenster"; this.windowItem.WrapLength = 20; // // mdiListBarItem1 // this.mdiListBarItem1.BarName = "mdiListBarItem1"; this.mdiListBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mdiListBarItem1.ID = "Window List"; this.mdiListBarItem1.ShowToolTipInPopUp = false; this.mdiListBarItem1.SizeToFit = true; // // bar2 // this.bar2.BarName = "Standard"; this.bar2.Caption = "Standard"; this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3 }); this.bar2.Manager = this.mainFrameBarManager1; this.bar2.SeparatorIndices.AddRange(new int[] { 2 }); // // menuList // this.menuList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("menuList.ImageStream"))); this.menuList.TransparentColor = System.Drawing.Color.Transparent; this.menuList.Images.SetKeyName(0, ""); this.menuList.Images.SetKeyName(1, ""); this.menuList.Images.SetKeyName(2, ""); this.menuList.Images.SetKeyName(3, ""); this.menuList.Images.SetKeyName(4, ""); this.menuList.Images.SetKeyName(5, ""); this.menuList.Images.SetKeyName(6, ""); // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.ID = "Item"; this.parentBarItem1.MetroColor = System.Drawing.Color.LightSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Office2003; this.parentBarItem1.Text = "Item"; this.parentBarItem1.WrapLength = 20; // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.ID = "ParentBarItem"; this.parentBarItem2.MetroColor = System.Drawing.Color.LightSkyBlue; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Style = Syncfusion.Windows.Forms.VisualStyle.Office2003; this.parentBarItem2.Text = "Window"; this.parentBarItem2.WrapLength = 20; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(688, 478); this.Controls.Add(this.popupControlContainer1); 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.IsMdiContainer = true; this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Lokalisation-Demo "; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dockingManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).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(TextForm)); Syncfusion.Windows.Forms.MetroColorTable metroColorTabel1 = new Syncfusion.Windows.Forms.MetroColorTable(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.childFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Edit"); 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.bar2 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Format"); this.comboBoxBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem(); this.dropDownBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.colorUIControl1 = new Syncfusion.Windows.Forms.ColorUIControl(); this.comboBoxBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem(); this.bar3 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "MainMenu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.comboBoxBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem(); this.listBox1 = new System.Windows.Forms.ListBox(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.popupMenusManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenusManager(this.components); this.popupMenu2 = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components); ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).BeginInit(); this.popupControlContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem3)).BeginInit(); this.SuspendLayout(); // // richTextBox1 // this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBox1.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.richTextBox1.ForeColor = System.Drawing.Color.Crimson; this.richTextBox1.Location = new System.Drawing.Point(0, 0); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(442, 440); this.richTextBox1.TabIndex = 14; this.richTextBox1.Text = resources.GetString("richTextBox1.Text"); this.popupMenusManager1.SetXPContextMenu(this.richTextBox1, this.popupMenu2); // // 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("Edit"); this.childFrameBarManager1.Categories.Add("Format"); this.childFrameBarManager1.Categories.Add("Popups"); this.childFrameBarManager1.CategoriesToIgnoreInCustDialog.AddRange(new int[] { 0 }); this.childFrameBarManager1.CurrentBaseFormType = "System.Windows.Forms.Form"; this.childFrameBarManager1.Form = this; this.childFrameBarManager1.ImageList = this.imageList1; this.childFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem3, this.comboBoxBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.comboBoxBarItem2, this.dropDownBarItem1, this.parentBarItem1, this.parentBarItem2, this.comboBoxBarItem3 }); this.childFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "Edit"; this.bar1.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.bar1.Caption = "Edit"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5 }); this.bar1.Manager = this.childFrameBarManager1; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem1.ID = "biCut"; this.barItem1.ImageIndex = 3; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "Cu&t"; // // barItem2 // this.barItem2.BarName = "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 = "biCopy"; this.barItem2.ImageIndex = 4; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "&Copy"; // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; 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 = "biPaste"; this.barItem3.ImageIndex = 5; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "&Paste"; // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem4.ID = "biUndo"; this.barItem4.ImageIndex = 6; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "&Undo"; // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem5.ID = "biRedo"; this.barItem5.ImageIndex = 7; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "&Redo"; // // bar2 // this.bar2.BarName = "Format"; 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 = "Format"; this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.comboBoxBarItem1, this.dropDownBarItem1, this.comboBoxBarItem2 }); this.bar2.Manager = this.childFrameBarManager1; // // comboBoxBarItem1 // this.comboBoxBarItem1.BarName = "comboBoxBarItem1"; this.comboBoxBarItem1.CategoryIndex = 1; this.comboBoxBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxBarItem1.ID = "Editable"; this.comboBoxBarItem1.ShowToolTipInPopUp = false; this.comboBoxBarItem1.SizeToFit = true; this.comboBoxBarItem1.Text = "Editable"; // // dropDownBarItem1 // this.dropDownBarItem1.BarName = "dropDownBarItem1"; this.dropDownBarItem1.CategoryIndex = 1; 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 = "Font DropDown"; this.dropDownBarItem1.ImageIndex = 8; this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer1; this.dropDownBarItem1.ShowToolTipInPopUp = false; this.dropDownBarItem1.SizeToFit = true; this.dropDownBarItem1.Text = "Font DropDown"; // // popupControlContainer1 // this.popupControlContainer1.Controls.Add(this.colorUIControl1); this.popupControlContainer1.Location = new System.Drawing.Point(192, 120); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(208, 200); this.popupControlContainer1.TabIndex = 15; this.popupControlContainer1.Visible = false; // // colorUIControl1 // this.colorUIControl1.BackColor = System.Drawing.SystemColors.Control; this.colorUIControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.colorUIControl1.Flag = false; this.colorUIControl1.Font = new System.Drawing.Font("Calibri", 9.75F); this.colorUIControl1.Location = new System.Drawing.Point(0, 0); this.colorUIControl1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.colorUIControl1.MetroForeColor = System.Drawing.Color.White; this.colorUIControl1.Name = "colorUIControl1"; metroColorTabel1.ArrowChecked = System.Drawing.Color.Black; metroColorTabel1.ArrowNormal = System.Drawing.Color.Gray; metroColorTabel1.ArrowPushed = System.Drawing.Color.Black; metroColorTabel1.ScrollerBackground = System.Drawing.Color.White; metroColorTabel1.ThumbChecked = System.Drawing.Color.Black; metroColorTabel1.ThumbNormal = System.Drawing.Color.Gray; metroColorTabel1.ThumbPushed = System.Drawing.Color.Black; this.colorUIControl1.ScrollMetroColorTable = metroColorTabel1; this.colorUIControl1.SelectedColorGroup = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors; this.colorUIControl1.Size = new System.Drawing.Size(208, 200); this.colorUIControl1.TabIndex = 1; this.colorUIControl1.Text = "colorUIControl1"; // // comboBoxBarItem2 // this.comboBoxBarItem2.BarName = "comboBoxBarItem2"; this.comboBoxBarItem2.CategoryIndex = 1; this.comboBoxBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxBarItem2.ID = "ChoiceList"; this.comboBoxBarItem2.ShowToolTipInPopUp = false; this.comboBoxBarItem2.SizeToFit = true; this.comboBoxBarItem2.Text = "ChoiceList"; // // bar3 // this.bar3.BarName = "MainMenu"; this.bar3.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.bar3.Caption = "MainMenu"; this.bar3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2, this.comboBoxBarItem3 }); this.bar3.Manager = this.childFrameBarManager1; // // 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.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5 }); this.parentBarItem1.MergeOrder = 1; this.parentBarItem1.MetroColor = System.Drawing.Color.LightSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem1.Text = "Edit"; // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 2; 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 = "Format"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.comboBoxBarItem1, this.comboBoxBarItem2, this.dropDownBarItem1 }); this.parentBarItem2.MergeOrder = 3; this.parentBarItem2.MetroColor = System.Drawing.Color.LightSkyBlue; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem2.Text = "Format"; // // comboBoxBarItem3 // this.comboBoxBarItem3.BarName = "comboBoxBarItem3"; this.comboBoxBarItem3.CategoryIndex = 1; this.comboBoxBarItem3.ChoiceList.AddRange(new string[] { "Default", "Office2003", "VS2005", "Office2007Blue", "Office2007Black", "Office2007Silver", "Office2007Managed", "Offic2007Outlook", "Metro" }); this.comboBoxBarItem3.ID = "BarItem_1"; this.comboBoxBarItem3.ListBox = this.listBox1; this.comboBoxBarItem3.MinWidth = 120; this.comboBoxBarItem3.ShowToolTipInPopUp = false; this.comboBoxBarItem3.SizeToFit = true; this.comboBoxBarItem3.Text = "ContextMenuStyle"; // // listBox1 // this.listBox1.FormattingEnabled = true; this.listBox1.Items.AddRange(new object[] { "Default", "Office2003", "VS2005", "Office2007Blue", "Office2007Black", "Office2007Silver", "Office2007Managed", "Offic2007Outlook", "Metro" }); this.listBox1.Location = new System.Drawing.Point(0, 0); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(199, 95); this.listBox1.TabIndex = 20; // // 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, ""); // // parentBarItem3 // this.parentBarItem3.BarName = "parentBarItem3"; this.parentBarItem3.CategoryIndex = 0; this.parentBarItem3.ID = "BarItem"; this.parentBarItem3.MetroColor = System.Drawing.Color.LightSkyBlue; this.parentBarItem3.ShowToolTipInPopUp = false; this.parentBarItem3.SizeToFit = true; this.parentBarItem3.Text = "Edit"; // // popupMenusManager1 // this.popupMenusManager1.ParentForm = this; // // popupMenu2 // this.popupMenu2.ParentBarItem = this.parentBarItem1; this.popupMenu2.BeforePopup += new Syncfusion.Windows.Forms.CancelMouseEventHandler(this.popupMenu2_BeforePopup); // // TextForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(442, 440); this.Controls.Add(this.listBox1); this.Controls.Add(this.popupControlContainer1); this.Controls.Add(this.richTextBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "TextForm"; this.Text = "Textpad"; ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).EndInit(); this.popupControlContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem3)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.cancel = new Syncfusion.Windows.Forms.ButtonAdv(); this.OK = new Syncfusion.Windows.Forms.ButtonAdv(); this.popupTextBox = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.label1 = new System.Windows.Forms.Label(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.sourceTextBox = new Syncfusion.Windows.Forms.Tools.TextBoxExt(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.gradientPanel2 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); this.autoLabel1 = new Syncfusion.Windows.Forms.Tools.AutoLabel(); this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); this.dropDownBtn = new Syncfusion.Windows.Forms.ButtonAdv(); this.popupControlContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupTextBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sourceTextBox)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).BeginInit(); this.gradientPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit(); this.gradientPanel1.SuspendLayout(); this.SuspendLayout(); // // popupControlContainer1 // this.popupControlContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.popupControlContainer1.Controls.Add(this.cancel); this.popupControlContainer1.Controls.Add(this.OK); this.popupControlContainer1.Controls.Add(this.popupTextBox); this.popupControlContainer1.Location = new System.Drawing.Point(32, 156); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(120, 128); this.popupControlContainer1.TabIndex = 0; this.popupControlContainer1.Visible = false; this.popupControlContainer1.CloseUp += new Syncfusion.Windows.Forms.PopupClosedEventHandler(this.popupControlContainer1_CloseUp); this.popupControlContainer1.BeforePopup += new System.ComponentModel.CancelEventHandler(this.popupControlContainer1_BeforePopup); this.popupControlContainer1.Popup += new System.EventHandler(this.popupControlContainer1_Popup); // // cancel // this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.cancel.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.cancel.BackColor = System.Drawing.SystemColors.Highlight; this.cancel.ForeColor = System.Drawing.Color.White; this.cancel.Location = new System.Drawing.Point(56, 96); this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(56, 24); this.cancel.TabIndex = 2; this.cancel.Text = "Cancel"; this.cancel.UseVisualStyle = true; this.cancel.Click += new System.EventHandler(this.cancelButton_Click); // // OK // this.OK.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.OK.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.OK.BackColor = System.Drawing.SystemColors.Highlight; this.OK.ForeColor = System.Drawing.Color.White; this.OK.Location = new System.Drawing.Point(8, 96); this.OK.Name = "OK"; this.OK.Size = new System.Drawing.Size(48, 24); this.OK.TabIndex = 1; this.OK.Text = "OK"; this.OK.UseVisualStyle = true; this.OK.Click += new System.EventHandler(this.OK_Click); // // popupTextBox // this.popupTextBox.BorderColor = System.Drawing.Color.Gray; this.popupTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.popupTextBox.Cursor = System.Windows.Forms.Cursors.IBeam; this.popupTextBox.Location = new System.Drawing.Point(0, 0); this.popupTextBox.Metrocolor = System.Drawing.Color.Gray; this.popupTextBox.Multiline = true; this.popupTextBox.Name = "popupTextBox"; this.popupTextBox.Size = new System.Drawing.Size(118, 90); this.popupTextBox.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro; this.popupTextBox.TabIndex = 0; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.SystemColors.ControlText; this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.label1.ImageList = this.imageList1; this.label1.Location = new System.Drawing.Point(31, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(267, 70); this.label1.TabIndex = 1; this.label1.Text = "Associate a PopupControlContainer with this TextBox. And also transfer data back " + "and forth between the popup and the TextBox."; // // 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, ""); // // sourceTextBox // this.sourceTextBox.BorderColor = System.Drawing.Color.Gray; this.sourceTextBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.sourceTextBox.Cursor = System.Windows.Forms.Cursors.IBeam; this.sourceTextBox.Location = new System.Drawing.Point(32, 40); this.sourceTextBox.Metrocolor = System.Drawing.Color.Gray; this.sourceTextBox.Name = "sourceTextBox"; this.sourceTextBox.Size = new System.Drawing.Size(176, 22); this.sourceTextBox.Style = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Metro; this.sourceTextBox.TabIndex = 2; this.sourceTextBox.Text = "Alt+DownArrow for popup"; this.sourceTextBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBoxPopupParent_KeyDown); // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Controls.Add(this.gradientPanel2); this.groupBox1.Controls.Add(this.gradientPanel1); this.groupBox1.Controls.Add(this.popupControlContainer1); this.groupBox1.Controls.Add(this.dropDownBtn); this.groupBox1.Controls.Add(this.sourceTextBox); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(23, 14); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(673, 325); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "PopupControlContainer demo"; // // gradientPanel2 // this.gradientPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gradientPanel2.BorderColor = System.Drawing.Color.Silver; this.gradientPanel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel2.Controls.Add(this.autoLabel1); this.gradientPanel2.Location = new System.Drawing.Point(270, 156); this.gradientPanel2.Name = "gradientPanel2"; this.gradientPanel2.Size = new System.Drawing.Size(361, 113); this.gradientPanel2.TabIndex = 5; // // autoLabel1 // this.autoLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.autoLabel1.AutoSize = false; this.autoLabel1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.autoLabel1.Location = new System.Drawing.Point(35, 2); this.autoLabel1.Name = "autoLabel1"; this.autoLabel1.Size = new System.Drawing.Size(295, 84); this.autoLabel1.TabIndex = 3; this.autoLabel1.Text = resources.GetString("autoLabel1.Text"); this.autoLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // gradientPanel1 // this.gradientPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gradientPanel1.BorderColor = System.Drawing.Color.Silver; this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel1.Controls.Add(this.label1); this.gradientPanel1.Location = new System.Drawing.Point(270, 40); this.gradientPanel1.Name = "gradientPanel1"; this.gradientPanel1.Size = new System.Drawing.Size(361, 88); this.gradientPanel1.TabIndex = 4; // // dropDownBtn // this.dropDownBtn.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.dropDownBtn.BackColor = System.Drawing.SystemColors.Highlight; this.dropDownBtn.Image = ((System.Drawing.Image)(resources.GetObject("dropDownBtn.Image"))); this.dropDownBtn.Location = new System.Drawing.Point(216, 40); this.dropDownBtn.Name = "dropDownBtn"; this.dropDownBtn.Size = new System.Drawing.Size(26, 20); this.dropDownBtn.TabIndex = 0; this.dropDownBtn.UseVisualStyle = true; this.dropDownBtn.Click += new System.EventHandler(this.dropDownBtn_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 18); this.BackColor = System.Drawing.Color.White; this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.ClientSize = new System.Drawing.Size(739, 374); this.Controls.Add(this.groupBox1); 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.MinimumSize = new System.Drawing.Size(751, 411); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(20); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Popup Container Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.popupControlContainer1.ResumeLayout(false); this.popupControlContainer1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupTextBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sourceTextBox)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel2)).EndInit(); this.gradientPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit(); this.gradientPanel1.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)); 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(MainForm)); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.listBox1 = new System.Windows.Forms.ListBox(); this.barManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "MainMenu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.openBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.closeBarItem = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.toolbarListBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ToolbarListBarItem(); this.mdiListBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MdiListBarItem(); this.parentBarItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.bar2 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.barManager1, "Standard"); this.dropDownBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupControlContainer2 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.colorPickerUIAdv1 = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv(); this.largeImageList = new System.Windows.Forms.ImageList(this.components); this.mdiClient1 = new System.Windows.Forms.MdiClient(); this.barItem12 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.dropDownBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupMenu2 = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); this.popupControlContainer2.SuspendLayout(); this.SuspendLayout(); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 0; this.barItem8.ID = "Test4"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "Test4"; // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 0; this.barItem9.ID = "Test5"; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "Test5"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); this.imageList1.Images.SetKeyName(10, ""); this.imageList1.Images.SetKeyName(11, ""); this.imageList1.Images.SetKeyName(12, ""); this.imageList1.Images.SetKeyName(13, ""); this.imageList1.Images.SetKeyName(14, ""); this.imageList1.Images.SetKeyName(15, "architecture_info_16.png"); this.imageList1.Images.SetKeyName(16, "ballon_fav_16.png"); // // popupControlContainer1 // this.popupControlContainer1.Location = new System.Drawing.Point(384, 80); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(96, 96); this.popupControlContainer1.TabIndex = 5; this.popupControlContainer1.Visible = false; // // listBox1 // this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.listBox1.Location = new System.Drawing.Point(0, 0); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(96, 95); this.listBox1.TabIndex = 0; // // barManager1 // this.barManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("barManager1.BarPositionInfo"))); this.barManager1.ThemeName = "Office2019Colorful"; this.barManager1.Bars.Add(this.bar1); //this.barManager1.Bars.Add(this.bar2); this.barManager1.Categories.Add("File"); this.barManager1.Categories.Add("View"); this.barManager1.Categories.Add("Window"); this.barManager1.Categories.Add("&Help"); this.barManager1.Categories.Add("StatusBar"); this.barManager1.EnableMenuMerge = true; this.barManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); //this.barManager1.Form = this; this.barManager1.ImageList = this.imageList1; this.barManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.openBarItem, this.closeBarItem, this.parentBarItem4, this.mdiListBarItem1, this.toolbarListBarItem1, this.dropDownBarItem2, this.parentBarItem6 }); this.barManager1.LargeImageList = this.largeImageList; this.barManager1.ResetCustomization = false; this.barManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "MainMenu"; this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu) | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.RotateWhenVertical) | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible))); this.bar1.Caption = "MainMenu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem4, this.parentBarItem6 }); this.bar1.Manager = this.barManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem1.ID = "&File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.openBarItem, this.closeBarItem }); this.parentBarItem1.MergeOrder = 1; this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.SeparatorIndices.AddRange(new int[] { 2, 3 }); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem1.Text = "&File"; this.parentBarItem1.WrapLength = 20; // // openBarItem // this.openBarItem.BarName = "openBarItem"; this.openBarItem.CategoryIndex = 0; this.openBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.openBarItem.ID = "&Open"; this.openBarItem.ImageIndex = 0; this.openBarItem.MergeOrder = 1; this.openBarItem.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.openBarItem.ShowToolTipInPopUp = false; this.openBarItem.SizeToFit = true; this.openBarItem.Text = "&Open"; this.openBarItem.Click += new System.EventHandler(this.openBarItem_Click); // // closeBarItem // this.closeBarItem.BarName = "closeBarItem"; this.closeBarItem.CategoryIndex = 0; this.closeBarItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.closeBarItem.ID = "&Close"; this.closeBarItem.ImageIndex = 4; this.closeBarItem.MergeOrder = 3; this.closeBarItem.Shortcut = System.Windows.Forms.Shortcut.CtrlShiftO; this.closeBarItem.ShowToolTipInPopUp = false; this.closeBarItem.SizeToFit = true; this.closeBarItem.Text = "&Close"; this.closeBarItem.Click += new System.EventHandler(this.closeBarItem_Click); // // parentBarItem4 // this.parentBarItem4.BarName = "parentBarItem4"; this.parentBarItem4.CategoryIndex = 1; this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem4.ID = "&View"; this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.toolbarListBarItem1 }); this.parentBarItem4.MergeOrder = 5; this.parentBarItem4.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem4.ShowToolTipInPopUp = false; this.parentBarItem4.SizeToFit = true; this.parentBarItem4.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem4.Text = "&View"; this.parentBarItem4.WrapLength = 20; // // toolbarListBarItem1 // this.toolbarListBarItem1.BarName = "toolbarListBarItem1"; this.toolbarListBarItem1.CategoryIndex = 1; this.toolbarListBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolbarListBarItem1.ID = "&Toolbars"; this.toolbarListBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.toolbarListBarItem1.ShowToolTipInPopUp = false; this.toolbarListBarItem1.SizeToFit = true; this.toolbarListBarItem1.Text = "&Toolbars"; this.toolbarListBarItem1.WrapLength = 20; // // mdiListBarItem1 // this.mdiListBarItem1.BarName = "mdiListBarItem1"; this.mdiListBarItem1.CategoryIndex = 2; this.mdiListBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mdiListBarItem1.ID = "Window List"; this.mdiListBarItem1.ShowToolTipInPopUp = false; this.mdiListBarItem1.SizeToFit = true; // // parentBarItem6 // this.parentBarItem6.BarName = "parentBarItem6"; this.parentBarItem6.CategoryIndex = 5; this.parentBarItem6.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.parentBarItem6.ID = "&Help"; this.parentBarItem6.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { }); this.parentBarItem6.MergeOrder = 21; this.parentBarItem6.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem6.ShowToolTipInPopUp = false; this.parentBarItem6.SizeToFit = true; this.parentBarItem6.Text = "&Help"; this.parentBarItem6.WrapLength = 20; // // dropDownBarItem2 // this.dropDownBarItem2.BarName = "dropDownBarItem2"; this.dropDownBarItem2.CategoryIndex = 0; this.dropDownBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.dropDownBarItem2.ID = "Custom Colors"; this.dropDownBarItem2.PopupControlContainer = this.popupControlContainer2; this.dropDownBarItem2.ShowToolTipInPopUp = false; this.dropDownBarItem2.SizeToFit = true; this.dropDownBarItem2.Text = "Custom Colors"; // // popupControlContainer2 // this.popupControlContainer2.Controls.Add(this.colorPickerUIAdv1); this.popupControlContainer2.Location = new System.Drawing.Point(277, 241); this.popupControlContainer2.Name = "popupControlContainer2"; this.popupControlContainer2.Size = new System.Drawing.Size(275, 294); this.popupControlContainer2.TabIndex = 10002; this.popupControlContainer2.Visible = false; // // colorPickerUIAdv1.RecentGroup // this.colorPickerUIAdv1.RecentGroup.HeaderHeight = 23; this.colorPickerUIAdv1.RecentGroup.Name = "Recent Colors"; this.colorPickerUIAdv1.RecentGroup.Visible = false; // // colorPickerUIAdv1.StandardGroup // this.colorPickerUIAdv1.StandardGroup.HeaderHeight = 23; this.colorPickerUIAdv1.StandardGroup.Name = "Standard Colors"; // // colorPickerUIAdv1.ThemeGroup // this.colorPickerUIAdv1.ThemeGroup.HeaderHeight = 23; this.colorPickerUIAdv1.ThemeGroup.IsSubItemsVisible = true; this.colorPickerUIAdv1.ThemeGroup.Name = "Theme Colors"; // // colorPickerUIAdv1 // this.colorPickerUIAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.colorPickerUIAdv1.ButtonsHeight = 31; this.colorPickerUIAdv1.ColorItemSize = new System.Drawing.Size(21, 21); this.colorPickerUIAdv1.Dock = System.Windows.Forms.DockStyle.Fill; this.colorPickerUIAdv1.Location = new System.Drawing.Point(0, 0); this.colorPickerUIAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.colorPickerUIAdv1.MinimumSize = new System.Drawing.Size(136, 217); this.colorPickerUIAdv1.Name = "colorPickerUIAdv1"; this.colorPickerUIAdv1.Size = new System.Drawing.Size(275, 294); this.colorPickerUIAdv1.ThemeName = "Office2019Colorful"; this.colorPickerUIAdv1.TabIndex = 10003; this.colorPickerUIAdv1.Text = "colorPickerUIAdv1"; this.colorPickerUIAdv1.VerticalItemsSpacing = 1; // // largeImageList // this.largeImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("largeImageList.ImageStream"))); this.largeImageList.TransparentColor = System.Drawing.Color.Transparent; this.largeImageList.Images.SetKeyName(0, ""); this.largeImageList.Images.SetKeyName(1, ""); this.largeImageList.Images.SetKeyName(2, ""); this.largeImageList.Images.SetKeyName(3, ""); this.largeImageList.Images.SetKeyName(4, ""); this.largeImageList.Images.SetKeyName(5, ""); this.largeImageList.Images.SetKeyName(6, ""); // // mdiClient1 // this.mdiClient1.Dock = System.Windows.Forms.DockStyle.Fill; this.mdiClient1.Location = new System.Drawing.Point(0, 50); this.mdiClient1.Name = "mdiClient1"; this.mdiClient1.Size = new System.Drawing.Size(0, 0); this.mdiClient1.TabIndex = 4; // // barItem12 // this.barItem12.BarName = "barItem12"; this.barItem12.CategoryIndex = 0; this.barItem12.ID = "dummy"; this.barItem12.ShowToolTipInPopUp = false; this.barItem12.SizeToFit = true; this.barItem12.Text = "dummy"; // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 2; this.barItem11.ID = "Tseting"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Tseting"; // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 0; this.barItem10.ID = "Test"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "Test"; // // dropDownBarItem1 // this.dropDownBarItem1.BarName = "dropDownBarItem1"; this.dropDownBarItem1.CategoryIndex = 1; this.dropDownBarItem1.ID = "DropDown"; this.dropDownBarItem1.ShowToolTipInPopUp = false; this.dropDownBarItem1.SizeToFit = true; this.dropDownBarItem1.Text = "DropDown"; // // popupMenu2 // this.popupMenu2.ParentBarItem = this.parentBarItem1; // // openFileDialog1 // this.openFileDialog1.Filter = "txt files (*.txt)|*.txt|Image Files (*.bmp; *.ico)|*.bmp;*.ico"; this.openFileDialog1.FilterIndex = 0; this.openFileDialog1.Title = "Text or Image File Selection Dialog"; // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem4.ID = "Custom Colors"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Custom Colors"; // // MainForm // this.AccessibleName = ""; this.AutoScaleBaseSize = new System.Drawing.Size(4, 19); this.ClientSize = new System.Drawing.Size(600, 600); this.WindowState = FormWindowState.Normal; this.Controls.Add(this.popupControlContainer2); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = new System.Drawing.Icon(GetIconFile(@"..\\..\\\logo.ico")); this.IsMdiContainer = true; this.Name = "MainForm"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "MDI Merge"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); this.popupControlContainer2.ResumeLayout(false); this.ResumeLayout(false); }
/// <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); }
/// <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.MetroColorTable metroColorTabel1 = new Syncfusion.Windows.Forms.MetroColorTable(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextForm)); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.childFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Edit"); 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.bar2 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Format"); this.comboBoxBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem(); this.dropDownBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(this.components); this.colorUIControl1 = new Syncfusion.Windows.Forms.ColorUIControl(); this.comboBoxBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem(); this.bar3 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "MainMenu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).BeginInit(); this.popupControlContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).BeginInit(); this.SuspendLayout(); // // richTextBox1 // this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBox1.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.richTextBox1.ForeColor = System.Drawing.Color.Crimson; this.richTextBox1.Location = new System.Drawing.Point(0, 0); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(442, 440); this.richTextBox1.TabIndex = 14; this.richTextBox1.Text = "Essential Tools Lokalisierung Demo"; // // childFrameBarManager1 // this.childFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("childFrameBarManager1.BarPositionInfo"))); this.childFrameBarManager1.Bars.Add(this.bar1); this.childFrameBarManager1.Bars.Add(this.bar2); this.childFrameBarManager1.Bars.Add(this.bar3); this.childFrameBarManager1.Categories.Add("Edit"); this.childFrameBarManager1.Categories.Add("Format"); this.childFrameBarManager1.Categories.Add("Popups"); this.childFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.childFrameBarManager1.Form = this; this.childFrameBarManager1.ImageList = this.imageList1; this.childFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.comboBoxBarItem1, this.comboBoxBarItem2, this.dropDownBarItem1, this.parentBarItem1, this.parentBarItem2 }); this.childFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "Edit"; this.bar1.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.bar1.Caption = "Bearbeiten"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5 }); this.bar1.Manager = this.childFrameBarManager1; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem1.ID = "biCut"; this.barItem1.ImageIndex = 3; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "Schnitt"; // // barItem2 // this.barItem2.BarName = "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 = "biCopy"; this.barItem2.ImageIndex = 4; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "&Kopieren"; // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; 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 = "biPaste"; this.barItem3.ImageIndex = 5; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "&Einf�gen"; // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem4.ID = "biUndo"; this.barItem4.ImageIndex = 6; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "&R�ckg�ngig machen"; // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.barItem5.ID = "biRedo"; this.barItem5.ImageIndex = 7; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "&Redo"; // // bar2 // this.bar2.BarName = "Format"; 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 = "Format"; this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.comboBoxBarItem1, this.dropDownBarItem1, this.comboBoxBarItem2 }); this.bar2.Manager = this.childFrameBarManager1; // // comboBoxBarItem1 // this.comboBoxBarItem1.BarName = "comboBoxBarItem1"; this.comboBoxBarItem1.CategoryIndex = 1; this.comboBoxBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxBarItem1.ID = "Editable"; this.comboBoxBarItem1.ShowToolTipInPopUp = false; this.comboBoxBarItem1.SizeToFit = true; this.comboBoxBarItem1.Text = "Editierbare"; // // dropDownBarItem1 // this.dropDownBarItem1.BarName = "dropDownBarItem1"; this.dropDownBarItem1.CategoryIndex = 1; 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 = "Font DropDown"; this.dropDownBarItem1.ImageIndex = 8; this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer1; this.dropDownBarItem1.ShowToolTipInPopUp = false; this.dropDownBarItem1.SizeToFit = true; this.dropDownBarItem1.Text = "Font DropDown"; // // popupControlContainer1 // this.popupControlContainer1.Controls.Add(this.colorUIControl1); this.popupControlContainer1.Location = new System.Drawing.Point(192, 120); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(208, 200); this.popupControlContainer1.TabIndex = 15; this.popupControlContainer1.Visible = false; // // colorUIControl1 // this.colorUIControl1.BackColor = System.Drawing.SystemColors.Control; this.colorUIControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.colorUIControl1.Flag = false; this.colorUIControl1.Font = new System.Drawing.Font("Calibri", 9.75F); this.colorUIControl1.Location = new System.Drawing.Point(0, 0); this.colorUIControl1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.colorUIControl1.MetroForeColor = System.Drawing.Color.White; this.colorUIControl1.Name = "colorUIControl1"; metroColorTabel1.ArrowChecked = System.Drawing.Color.Black; metroColorTabel1.ArrowNormal = System.Drawing.Color.White; metroColorTabel1.ArrowNormal = System.Drawing.Color.Gray; metroColorTabel1.ArrowPushed = System.Drawing.Color.Black; metroColorTabel1.ScrollerBackground = System.Drawing.Color.White; metroColorTabel1.ThumbChecked = System.Drawing.Color.Black; metroColorTabel1.ThumbNormal = System.Drawing.Color.White; metroColorTabel1.ThumbNormal = System.Drawing.Color.Gray; metroColorTabel1.ThumbPushed = System.Drawing.Color.Black; this.colorUIControl1.ScrollMetroColorTable = metroColorTabel1; this.colorUIControl1.SelectedColorGroup = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors; this.colorUIControl1.Size = new System.Drawing.Size(208, 200); this.colorUIControl1.TabIndex = 1; this.colorUIControl1.Text = "colorUIControl1"; this.colorUIControl1.UserTabName = "User Farben"; this.colorUIControl1.VisualStyle = Syncfusion.Windows.Forms.ColorUIStyle.Metro; // // comboBoxBarItem2 // this.comboBoxBarItem2.BarName = "comboBoxBarItem2"; this.comboBoxBarItem2.CategoryIndex = 1; this.comboBoxBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBoxBarItem2.ID = "ChoiceList"; this.comboBoxBarItem2.ShowToolTipInPopUp = false; this.comboBoxBarItem2.SizeToFit = true; this.comboBoxBarItem2.Text = "Auswahlliste"; // // bar3 // this.bar3.BarName = "MainMenu"; this.bar3.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.bar3.Caption = "Hauptmen�"; this.bar3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2 }); this.bar3.Manager = this.childFrameBarManager1; // // 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.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5 }); this.parentBarItem1.MergeOrder = 1; this.parentBarItem1.MetroColor = System.Drawing.Color.LightSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem1.Text = "Bearbeiten"; // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 2; 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 = "Format"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.comboBoxBarItem1, this.comboBoxBarItem2, this.dropDownBarItem1 }); this.parentBarItem2.MergeOrder = 3; this.parentBarItem2.MetroColor = System.Drawing.Color.LightSkyBlue; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem2.Text = "Format"; // // 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, ""); // // TextForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(442, 440); this.Controls.Add(this.popupControlContainer1); this.Controls.Add(this.richTextBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "TextForm"; this.Text = "Textpad"; ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).EndInit(); this.popupControlContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).EndInit(); this.ResumeLayout(false); }