protected override Task OnInitializedAsync() { // link to the parent component ParentBarItem?.Hook(this); return(base.OnInitializedAsync()); }
protected override IDropDownMenuItem AddDropDown(string text, string key, Bitmap icon, PluginIdentity identity) { var item = new ParentBarItem(text) { Padding = new Point(TOOLBAR_ITEM_PADDING_X, TOOLBAR_ITEM_PADDING_Y) };; var menuItem = AddItem(item, identity, key) as IDropDownMenuItem; MenuIcon.AssignIcon(menuItem, icon); return(menuItem); }
private void SetCheckedState(BarItem item, ParentBarItem parentBarItem) { foreach (BarItem i in parentBarItem.Items) { if (i.ID == item.ID) { i.Checked = true; } else { i.Checked = false; } } }
internal DropDownMenuItem(ParentBarItem item, IMenuIndex menuIndex) : base(item) { if (menuIndex == null) { throw new ArgumentNullException("menuIndex"); } _menuIndex = menuIndex; // TODO: add handlers only when external handlers are attached, // otherwise it will preven GC of this wrapper item.Popup += (s, e) => FireDropDownOpening(); item.PopupClosed += (s, e) => FireDropDownClosed(); }
protected override IDropDownMenuItem AddDropDown(string text, string key, Bitmap icon, PluginIdentity identity, bool isFirst = false) { if (!isFirst) { var item = new ParentBarItem(text) { Padding = new Point(TOOLBAR_ITEM_PADDING_X, TOOLBAR_ITEM_PADDING_Y) }; var menuItem = AddItem(item, identity, key) as IDropDownMenuItem; MenuIcon.AssignIcon(menuItem, icon); return(menuItem); } else { var item = new ToolStripTabItem() { Text = text, Name = key, Image = icon, }; var menuItem = AddItem(item, identity, key) as IDropDownMenuItem; MenuIcon.AssignIcon(menuItem, icon); return(menuItem); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem15 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem16 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem12 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem13 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem14 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F); this.editControl1.Location = new System.Drawing.Point(0, 29); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.Size = new System.Drawing.Size(542, 394); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = "editControl1"; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; this.editControl1.ContextChoiceOpen += new Syncfusion.Windows.Forms.Edit.ContextChoiceEventHandler(this.editControl1_ContextChoiceOpen); this.editControl1.ContextChoiceClose += new Syncfusion.Windows.Forms.Edit.ContextChoiceCloseEventHandler(this.editControl1_ContextChoiceClose); this.editControl1.ContextPromptOpen += new Syncfusion.Windows.Forms.Edit.ContextPromptUpdateEventHandler(this.editControl1_ContextPromptOpen); this.editControl1.UpdateContextToolTip += new Syncfusion.Windows.Forms.Edit.UpdateTooltipEventHandler(this.editControl1_UpdateContextToolTip); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); // // statusBarPanel1 // this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 525; // // mainFrameBarManager1 // this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("File"); this.mainFrameBarManager1.Categories.Add("Intellisense"); this.mainFrameBarManager1.Categories.Add("VisualStyle"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6, this.barItem9, this.barItem10, this.barItem11, this.parentBarItem3, this.barItem15, this.barItem16, this.barItem12, this.barItem13, this.barItem14 }); this.mainFrameBarManager1.MetroColor = System.Drawing.SystemColors.Highlight; this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "Menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem3, }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "&File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.SystemColors.Highlight; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.parentBarItem1.Text = "&File"; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "&New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "&New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "&Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "&Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "&Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "&Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "Save&As"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "Save&As"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "&Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "&Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "&Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "&Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 0; this.barItem7.ID = "ToogleXPThemes"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "ToogleXPThemes"; this.barItem7.Click += new System.EventHandler(this.menuItem10_Click); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "IntellisensePopups"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem9, this.barItem10, this.barItem11 }); this.parentBarItem2.MetroColor = System.Drawing.SystemColors.Highlight; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "IntellisensePopups"; // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 1; this.barItem9.ID = "Context Tooltip"; this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "Context Tooltip"; this.barItem9.Click += new System.EventHandler(this.IntellisensePopupsClick); // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 1; this.barItem10.ID = "Context Prompt"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "Context Prompt"; this.barItem10.Click += new System.EventHandler(this.IntellisensePopupsClick); // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 1; this.barItem11.ID = "Context Choice"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Context Choice"; this.barItem11.Click += new System.EventHandler(this.IntellisensePopupsClick); // // parentBarItem3 // this.parentBarItem3.BarName = "parentBarItem3"; this.parentBarItem3.CategoryIndex = 2; this.parentBarItem3.ID = "VisualStyle"; this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem15, this.barItem16, this.barItem12, this.barItem13, this.barItem14 }); this.parentBarItem3.MetroColor = System.Drawing.SystemColors.Highlight; this.parentBarItem3.ShowToolTipInPopUp = false; this.parentBarItem3.SizeToFit = true; this.parentBarItem3.Text = "VisualStyle"; this.barItem15.BarName = "barItem10"; this.barItem15.CategoryIndex = 2; this.barItem15.ID = "Default"; this.barItem15.ShowToolTipInPopUp = false; this.barItem15.SizeToFit = true; this.barItem15.Text = "Default"; this.barItem15.Click += new System.EventHandler(this.SplittersMenuClick); this.barItem16.BarName = "barItem11"; this.barItem16.CategoryIndex = 2; this.barItem16.ID = "Office2016White"; this.barItem16.ShowToolTipInPopUp = false; this.barItem16.SizeToFit = true; this.barItem16.Text = "Office2016White"; this.barItem16.Click += new System.EventHandler(this.SplittersMenuClick); this.barItem16.Checked = true; // // barItem12 // this.barItem12.BarName = "barItem12"; this.barItem12.CategoryIndex = 2; this.barItem12.ID = "Office2016Colorful"; this.barItem12.ShowToolTipInPopUp = false; this.barItem12.SizeToFit = true; this.barItem12.Text = "Office2016Colorful"; this.barItem12.Click += new System.EventHandler(this.SplittersMenuClick); // // barItem13 // this.barItem13.BarName = "barItem13"; this.barItem13.CategoryIndex = 2; this.barItem13.ID = "Office2016DarkGray"; this.barItem13.ShowToolTipInPopUp = false; this.barItem13.SizeToFit = true; this.barItem13.Text = "Office2016DarkGray"; this.barItem13.Click += new System.EventHandler(this.SplittersMenuClick); // // barItem14 // this.barItem14.BarName = "barItem14"; this.barItem14.CategoryIndex = 2; this.barItem14.ID = "Office2016Black"; this.barItem14.ShowToolTipInPopUp = false; this.barItem14.SizeToFit = true; this.barItem14.Text = "Office2016Black"; this.barItem14.Click += new System.EventHandler(this.SplittersMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.CaptionAlign = System.Windows.Forms.HorizontalAlignment.Center; this.ClientSize = new System.Drawing.Size(542, 445); this.Controls.Add(this.editControl1); this.DropShadow = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IconAlign = System.Windows.Forms.HorizontalAlignment.Left; this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left; this.MetroColor = System.Drawing.Color.White; this.MinimumSize = new System.Drawing.Size(554, 482); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Themes Support"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.label1 = new System.Windows.Forms.Label(); this.controlLanguageSelector1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlLanguageSelector(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); this.controlFormatsList1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsList(); this.controlFormatsSettings1 = new Syncfusion.Windows.Forms.Edit.Dialogs.ControlFormatsSettings(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem9 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.AutoIndentMode = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.editControl1.Location = new System.Drawing.Point(10, 39); this.editControl1.Name = "editControl1"; this.editControl1.OnlyHighlightMatchingBraces = true; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ShowHorizontalSplitters = false; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowSelectionMargin = false; this.editControl1.ShowVerticalSplitters = false; this.editControl1.Size = new System.Drawing.Size(408, 394); this.editControl1.StatusBarSettings.TextPanel.AutoSize = false; this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; // // label1 // this.label1.Location = new System.Drawing.Point(8, 272); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(192, 32); this.label1.TabIndex = 2; this.label1.Text = "Control used for selecting language:"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // controlLanguageSelector1 // this.controlLanguageSelector1.Configuration = config1; this.controlLanguageSelector1.EditControl = this.editControl1; this.controlLanguageSelector1.Location = new System.Drawing.Point(16, 304); this.controlLanguageSelector1.Name = "controlLanguageSelector1"; this.controlLanguageSelector1.Size = new System.Drawing.Size(176, 21); this.controlLanguageSelector1.TabIndex = 1; this.controlLanguageSelector1.SelectedLanguageChanged += new System.EventHandler(this.controlLanguageSelector1_SelectedLanguageChanged); this.controlLanguageSelector1.Load += new System.EventHandler(this.controlLanguageSelector1_Load); // // button1 // this.button1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Office2016White; this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.button1.Location = new System.Drawing.Point(48, 344); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(96, 23); this.button1.TabIndex = 0; this.button1.Text = "Show Dialog"; this.button1.UseVisualStyle = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // controlFormatsList1 // this.controlFormatsList1.Configuration = config1; this.controlFormatsList1.EditControl = this.editControl1; this.controlFormatsList1.LanguageSelector = this.controlLanguageSelector1; this.controlFormatsList1.Location = new System.Drawing.Point(8, 32); this.controlFormatsList1.Name = "controlFormatsList1"; this.controlFormatsList1.SelectedFormats = null; this.controlFormatsList1.Size = new System.Drawing.Size(200, 224); this.controlFormatsList1.TabIndex = 3; this.controlFormatsList1.Load += new System.EventHandler(this.controlFormatsList1_Load); // // controlFormatsSettings1 // this.controlFormatsSettings1.Formats = null; this.controlFormatsSettings1.FormatsSelector = this.controlFormatsList1; this.controlFormatsSettings1.Location = new System.Drawing.Point(224, 40); this.controlFormatsSettings1.Name = "controlFormatsSettings1"; this.controlFormatsSettings1.Size = new System.Drawing.Size(336, 384); this.controlFormatsSettings1.TabIndex = 4; // // label2 // this.label2.Location = new System.Drawing.Point(0, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(216, 23); this.label2.TabIndex = 5; this.label2.Text = "Control for selecting language\'s format(s):"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.Location = new System.Drawing.Point(248, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(208, 23); this.label3.TabIndex = 6; this.label3.Text = "Control for editing selected formats:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel2 // this.panel2.BackColor = System.Drawing.Color.White; this.panel2.Controls.Add(this.controlFormatsSettings1); this.panel2.Controls.Add(this.label3); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.controlFormatsList1); this.panel2.Controls.Add(this.label1); this.panel2.Controls.Add(this.controlLanguageSelector1); this.panel2.Controls.Add(this.button1); this.panel2.Dock = System.Windows.Forms.DockStyle.Right; this.panel2.Location = new System.Drawing.Point(418, 39); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(568, 394); this.panel2.TabIndex = 3; // // mainFrameBarManager1 // #if !NETCORE this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); #endif this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("file"); this.mainFrameBarManager1.Categories.Add("zoom"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.EnableMenuMerge = true; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.mainFrameBarManager1.UseBackwardCompatiblity = false; // // bar1 // this.bar1.BarName = "menu"; this.bar1.Caption = "menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2, this.parentBarItem3 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem5, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "File"; this.parentBarItem1.WrapLength = 20; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "New"; this.barItem1.Click += new System.EventHandler(this.MainMenuClick); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.MainMenuClick); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.MainMenuClick); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.MainMenuClick); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 0; this.barItem5.ID = "Close"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "Close"; this.barItem5.Click += new System.EventHandler(this.MainMenuClick); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "Exit"; this.barItem6.Click += new System.EventHandler(this.MainMenuClick); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "ShowFontDialog"; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "ShowFontDialog"; this.parentBarItem2.Click += new System.EventHandler(this.ShowFormatsCustomizationDialog); // // parentBarItem3 // this.parentBarItem3.BarName = "parentBarItem3"; this.parentBarItem3.CategoryIndex = 0; this.parentBarItem3.ID = "Zoom Options"; this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem8, this.barItem9 }); this.parentBarItem3.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem3.ShowToolTipInPopUp = false; this.parentBarItem3.SizeToFit = true; this.parentBarItem3.Text = "Zoom Options"; this.parentBarItem3.WrapLength = 20; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 0; this.barItem7.ID = "Allow Zoom"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "Enable Zoom"; this.barItem7.Click += new System.EventHandler(this.MainMenuClick); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 0; this.barItem8.ID = "Zoom in"; this.barItem8.Image = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem8.Image"))); this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "Zoom in"; this.barItem8.Click += new System.EventHandler(this.MainMenuClick); // // barItem9 // this.barItem9.BarName = "barItem9"; this.barItem9.CategoryIndex = 0; this.barItem9.ID = "Zoom out"; this.barItem9.Image = ((Syncfusion.Windows.Forms.Tools.XPMenus.ImageExt)(resources.GetObject("barItem9.Image"))); this.barItem9.ShowToolTipInPopUp = false; this.barItem9.SizeToFit = true; this.barItem9.Text = "Zoom out"; this.barItem9.Click += new System.EventHandler(this.MainMenuClick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(996, 443); this.Controls.Add(this.editControl1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(1008, 480); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Font Customization"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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); }