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; }
/// <summary> /// Method used to set the DropDownItems. /// </summary> private void SetDropDownItems() { foreach (FontFamily oneFontFamily in FontFamily.Families) { this.toolStripComboBox1.Items.Add(oneFontFamily.Name); } this.colorpicker1 = new ColorPickerUIAdv(); this.toolStripSplitButtonEx1.DropDown = new CustomDropDown(this.colorpicker1); this.colorpicker2 = new ColorPickerUIAdv(); this.toolStripSplitButtonEx3.DropDown = new CustomDropDown(this.colorpicker2); }
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); }
public ColorGroup(ColorPickerUIAdv colorPickerUIAdv) { // // Required for Windows Form Designer support // InitializeComponent(); this.colorPickerUIAdv = colorPickerUIAdv; FillInListBox(); this.listBox1.SelectedIndex = 0; this.propertyGrid1.SelectedObject = this.colorPickerUIAdv.ThemeGroup; foreach (object o in this.colorPickerUIAdv.CustomGroups) { tempCollectionList.Add(o); } // // TODO: Add any constructor code after InitializeComponent call // }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.dropDownBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupControlContainer2 = new Syncfusion.Windows.Forms.PopupControlContainer(this.components); this.colorPickerUIAdv2 = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv(); this.dropDownBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem(); this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(); this.colorPickerUIAdv1 = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.popupControlContainer2.SuspendLayout(); this.popupControlContainer1.SuspendLayout(); this.SuspendLayout(); // // editControl1 // this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.Beige, System.Drawing.Color.IndianRed); this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98))))); this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.ContextChoiceBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))); this.editControl1.ContextChoiceForeColor = System.Drawing.SystemColors.InfoText; this.editControl1.ContextPromptBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))))); this.editControl1.ContextTooltipBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(232)))), ((int)(((byte)(236)))))); this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(128))))); this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F); this.editControl1.Location = new System.Drawing.Point(10, 40); this.editControl1.MarkChangedLines = true; this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.SelectionTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255))))); this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(546, 411); this.editControl1.StatusBarSettings.CoordsPanel.Width = 150; this.editControl1.StatusBarSettings.EncodingPanel.Width = 100; this.editControl1.StatusBarSettings.FileNamePanel.Width = 100; this.editControl1.StatusBarSettings.InsertPanel.Width = 33; this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue; this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue; this.editControl1.StatusBarSettings.StatusPanel.Width = 70; this.editControl1.StatusBarSettings.TextPanel.Width = 80; this.editControl1.StatusBarSettings.VisualStyle = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default; this.editControl1.TabIndex = 0; this.editControl1.Text = "editControl1\n\n\n"; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.VScrollMode = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate; this.editControl1.WordWrap = true; // // mainFrameBarManager1 // #if !NETCORE this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); #endif this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("File"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.EnableMenuMerge = true; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6, this.parentBarItem2, this.dropDownBarItem1, this.dropDownBarItem2 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.mainFrameBarManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "Menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "&File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "&File"; this.parentBarItem1.WrapLength = 20; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "&New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "&New"; this.barItem1.Click += new System.EventHandler(this.barItem1_Click); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "&Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "&Open"; this.barItem2.Click += new System.EventHandler(this.barItem2_Click); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "&Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "&Save"; this.barItem3.Click += new System.EventHandler(this.barItem3_Click); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "Save&As"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Save&As"; this.barItem4.Click += new System.EventHandler(this.barItem4_Click); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "&Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "&Close"; this.barItem5.Click += new System.EventHandler(this.barItem5_Click); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "&Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "&Exit"; this.barItem6.Click += new System.EventHandler(this.barItem6_Click); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 0; this.parentBarItem2.ID = "Choose Background Color"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.dropDownBarItem1, this.dropDownBarItem2 }); this.parentBarItem2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "Choose Background Color"; this.parentBarItem2.WrapLength = 20; // // dropDownBarItem1 // this.dropDownBarItem1.BarName = "dropDownBarItem1"; this.dropDownBarItem1.CategoryIndex = 0; this.dropDownBarItem1.ID = "Start Color"; this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer2; this.dropDownBarItem1.ShowToolTipInPopUp = false; this.dropDownBarItem1.SizeToFit = true; this.dropDownBarItem1.Text = "Start Color"; // // popupControlContainer2 // this.popupControlContainer2.Controls.Add(this.colorPickerUIAdv2); this.popupControlContainer2.Location = new System.Drawing.Point(173, 164); this.popupControlContainer2.Name = "popupControlContainer2"; this.popupControlContainer2.Size = new System.Drawing.Size(220, 250); this.popupControlContainer2.TabIndex = 10002; this.popupControlContainer2.Visible = false; // // colorPickerUIAdv2.RecentGroup // // // colorPickerUIAdv2.StandardGroup // // // colorPickerUIAdv2.ThemeGroup // // // colorPickerUIAdv2 // this.colorPickerUIAdv2.BeforeTouchSize = new System.Drawing.Size(13, 13); this.colorPickerUIAdv2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.colorPickerUIAdv2.ColorItemSize = new System.Drawing.Size(17, 41); this.colorPickerUIAdv2.Dock = System.Windows.Forms.DockStyle.Fill; this.colorPickerUIAdv2.Location = new System.Drawing.Point(0, 0); this.colorPickerUIAdv2.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.colorPickerUIAdv2.MinimumSize = new System.Drawing.Size(136, 163); this.colorPickerUIAdv2.Name = "colorPickerUIAdv2"; this.colorPickerUIAdv2.SelectedColor = System.Drawing.Color.Empty; this.colorPickerUIAdv2.Size = new System.Drawing.Size(220, 250); this.colorPickerUIAdv2.Style = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro; this.colorPickerUIAdv2.TabIndex = 10003; this.colorPickerUIAdv2.Text = "colorPickerUIAdv2"; this.colorPickerUIAdv2.UseOffice2007Style = false; this.colorPickerUIAdv2.VerticalItemsSpacing = 1; this.colorPickerUIAdv2.Picked += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv2_Picked); // // dropDownBarItem2 // this.dropDownBarItem2.BarName = "dropDownBarItem2"; this.dropDownBarItem2.CategoryIndex = 0; this.dropDownBarItem2.ID = "End Color"; this.dropDownBarItem2.PopupControlContainer = this.popupControlContainer1; this.dropDownBarItem2.ShowToolTipInPopUp = false; this.dropDownBarItem2.SizeToFit = true; this.dropDownBarItem2.Text = "End Color"; // // popupControlContainer1 // this.popupControlContainer1.Controls.Add(this.colorPickerUIAdv1); this.popupControlContainer1.Location = new System.Drawing.Point(173, 164); this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(220, 250); this.popupControlContainer1.TabIndex = 10002; this.popupControlContainer1.Visible = false; // // colorPickerUIAdv1.RecentGroup // // // colorPickerUIAdv1.StandardGroup // // // colorPickerUIAdv1.ThemeGroup // // // colorPickerUIAdv1 // this.colorPickerUIAdv1.BeforeTouchSize = new System.Drawing.Size(13, 13); this.colorPickerUIAdv1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.colorPickerUIAdv1.ColorItemSize = new System.Drawing.Size(17, 41); this.colorPickerUIAdv1.Dock = System.Windows.Forms.DockStyle.Fill; this.colorPickerUIAdv1.Location = new System.Drawing.Point(0, 0); this.colorPickerUIAdv1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.colorPickerUIAdv1.MinimumSize = new System.Drawing.Size(136, 163); this.colorPickerUIAdv1.Name = "colorPickerUIAdv1"; this.colorPickerUIAdv1.SelectedColor = System.Drawing.Color.Empty; this.colorPickerUIAdv1.Size = new System.Drawing.Size(220, 250); this.colorPickerUIAdv1.Style = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro; this.colorPickerUIAdv1.TabIndex = 10003; this.colorPickerUIAdv1.Text = "colorPickerUIAdv1"; this.colorPickerUIAdv1.UseOffice2007Style = false; this.colorPickerUIAdv1.VerticalItemsSpacing = 1; this.colorPickerUIAdv1.Picked += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv1_Picked); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(566, 461); this.Controls.Add(this.editControl1); this.MinimumSize = new System.Drawing.Size(552, 434); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Gradient Background"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.popupControlContainer2.ResumeLayout(false); this.popupControlContainer1.ResumeLayout(false); this.ResumeLayout(false); }
public CustomDropDown(ColorPickerUIAdv colorpicker) { this.Height = colorpicker.Height; this.Items.Add(new ToolStripControlHost(colorpicker)); }
public CustomDropDown(ColorPickerUIAdv colorPic) { this.Items.Add(new ToolStripControlHost(colorPic)); }
public CustomDropdown(ColorPickerUIAdv controls) { Items.Add(new ToolStripControlHost(controls)); }
/// <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); }