/// <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.MetroColorTable metroColorTable1 = new Syncfusion.Windows.Forms.MetroColorTable(); this.htmluiControl1 = new Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl(); this.fontListBox1 = new Syncfusion.Windows.Forms.Tools.FontListBox(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.monthCalendar1 = new Syncfusion.Windows.Forms.Tools.MonthCalendarAdv(); this.calculatorControl1 = new Syncfusion.Windows.Forms.Tools.CalculatorControl(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.button2 = new Syncfusion.Windows.Forms.ButtonAdv(); this.button1 = new Syncfusion.Windows.Forms.ButtonAdv(); 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.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel(); ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).BeginInit(); this.htmluiControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.monthCalendar1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit(); this.gradientPanel1.SuspendLayout(); this.SuspendLayout(); // // htmluiControl1 // this.htmluiControl1.AutoScroll = true; this.htmluiControl1.AutoScrollMinSize = new System.Drawing.Size(603, 301); this.htmluiControl1.BackColor = System.Drawing.Color.White; this.htmluiControl1.Controls.Add(this.fontListBox1); this.htmluiControl1.Controls.Add(this.dataGrid1); this.htmluiControl1.Controls.Add(this.monthCalendar1); this.htmluiControl1.DefaultFormat.BackgroundColor = System.Drawing.SystemColors.Control; this.htmluiControl1.DefaultFormat.ForeColor = System.Drawing.SystemColors.ControlText; this.htmluiControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.htmluiControl1.ForeColor = System.Drawing.Color.Black; this.htmluiControl1.Location = new System.Drawing.Point(0, 0); this.htmluiControl1.Name = "htmluiControl1"; this.htmluiControl1.ShowTitle = false; this.htmluiControl1.Size = new System.Drawing.Size(637, 316); this.htmluiControl1.TabIndex = 0; this.htmluiControl1.Text = resources.GetString("htmluiControl1.Text"); this.htmluiControl1.PreRenderDocument += new Syncfusion.Windows.Forms.HTMLUI.PreRenderDocumentEventHandler(this.htmluiControl1_PreRenderDocument); this.htmluiControl1.LoadFinished += new System.EventHandler(this.htmluiControl1_LoadFinished); // // fontListBox1 // this.fontListBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.fontListBox1.ItemHeight = 15; this.fontListBox1.Location = new System.Drawing.Point(248, 80); this.fontListBox1.MetroColor = System.Drawing.Color.Empty; this.fontListBox1.Name = "fontListBox1"; metroColorTable1.ArrowChecked = System.Drawing.Color.Black; metroColorTable1.ArrowNormal = System.Drawing.Color.White; metroColorTable1.ArrowNormal = System.Drawing.Color.Gray; metroColorTable1.ArrowPushed = System.Drawing.Color.Black; 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; this.fontListBox1.ScrollMetroColorTable = metroColorTable1; this.fontListBox1.Size = new System.Drawing.Size(120, 92); this.fontListBox1.TabIndex = 4; this.fontListBox1.VisualStyle = Syncfusion.Windows.Forms.Tools.FontListBox.FontListBoxStyle.Metro; // // dataGrid1 // this.dataGrid1.AccessibleName = "DataGrid"; this.dataGrid1.AccessibleRole = System.Windows.Forms.AccessibleRole.Table; this.dataGrid1.DataMember = ""; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(8, 176); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(204, 144); this.dataGrid1.TabIndex = 2; this.toolTip1.SetToolTip(this.dataGrid1, "This is a DataGrid control inside HTMLUI"); // // monthCalendar1 // this.monthCalendar1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(211)))), ((int)(((byte)(212))))); this.monthCalendar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.monthCalendar1.BottomHeight = 25; this.monthCalendar1.Culture = new System.Globalization.CultureInfo(""); this.monthCalendar1.DayNamesColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.monthCalendar1.DayNamesFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); this.monthCalendar1.DaysFont = new System.Drawing.Font("Verdana", 8F); this.monthCalendar1.DaysHeaderInterior = new Syncfusion.Drawing.BrushInfo(System.Drawing.SystemColors.Window); this.monthCalendar1.GridLines = Syncfusion.Windows.Forms.Grid.GridBorderStyle.None; this.monthCalendar1.HeaderHeight = 34; this.monthCalendar1.HeaderStartColor = System.Drawing.Color.White; this.monthCalendar1.HighlightColor = System.Drawing.Color.Black; this.monthCalendar1.Iso8601CalenderFormat = false; this.monthCalendar1.Location = new System.Drawing.Point(56, 8); this.monthCalendar1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.ScrollButtonSize = new System.Drawing.Size(24, 24); this.monthCalendar1.SelectedDates = new System.DateTime[] { new System.DateTime(2013, 12, 9, 0, 0, 0, 0), new System.DateTime(2013, 12, 9, 0, 0, 0, 0) }; this.monthCalendar1.Size = new System.Drawing.Size(213, 183); this.monthCalendar1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; this.monthCalendar1.TabIndex = 1; this.monthCalendar1.WeekFont = new System.Drawing.Font("Verdana", 8F); this.monthCalendar1.WeekInterior = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Vertical, System.Drawing.Color.PeachPuff, System.Drawing.Color.AntiqueWhite); // // // this.monthCalendar1.NoneButton.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.monthCalendar1.NoneButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.monthCalendar1.NoneButton.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.monthCalendar1.NoneButton.ForeColor = System.Drawing.Color.White; this.monthCalendar1.NoneButton.IsBackStageButton = false; this.monthCalendar1.NoneButton.Location = new System.Drawing.Point(141, 0); this.monthCalendar1.NoneButton.Size = new System.Drawing.Size(72, 25); this.monthCalendar1.NoneButton.Text = "None"; this.monthCalendar1.NoneButton.UseVisualStyle = true; // // // this.monthCalendar1.TodayButton.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.monthCalendar1.TodayButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220))))); this.monthCalendar1.TodayButton.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.monthCalendar1.TodayButton.ForeColor = System.Drawing.Color.White; this.monthCalendar1.TodayButton.IsBackStageButton = false; this.monthCalendar1.TodayButton.Location = new System.Drawing.Point(0, 0); this.monthCalendar1.TodayButton.Size = new System.Drawing.Size(141, 25); this.monthCalendar1.TodayButton.Text = "Today"; this.monthCalendar1.TodayButton.UseVisualStyle = true; // // calculatorControl1 // this.calculatorControl1.AccessibleDescription = "Calculator control"; this.calculatorControl1.AccessibleName = "Calculator Control"; this.calculatorControl1.BorderStyle = System.Windows.Forms.Border3DStyle.Flat; this.calculatorControl1.ButtonStyle = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.calculatorControl1.Culture = new System.Globalization.CultureInfo("en-US"); this.calculatorControl1.DoubleValue = 0; this.calculatorControl1.ForeColor = System.Drawing.SystemColors.ControlText; this.calculatorControl1.Location = new System.Drawing.Point(208, 0); this.calculatorControl1.MetroColor = System.Drawing.SystemColors.Control; this.calculatorControl1.Name = "calculatorControl1"; this.calculatorControl1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.calculatorControl1.Size = new System.Drawing.Size(250, 300); this.calculatorControl1.TabIndex = 3; this.calculatorControl1.Text = "calculatorControl1"; this.calculatorControl1.UseVisualStyle = true; // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // panel1 // this.panel1.BackColor = System.Drawing.Color.White; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(10, 42); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(639, 48); this.panel1.TabIndex = 1; // // button2 // this.button2.Anchor = System.Windows.Forms.AnchorStyles.None; this.button2.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button2.ForeColor = System.Drawing.Color.White; this.button2.IsBackStageButton = false; this.button2.Location = new System.Drawing.Point(378, 6); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(138, 30); this.button2.TabIndex = 1; this.button2.Text = "Load Custom Page2"; this.button2.UseVisualStyle = true; this.button2.UseVisualStyleBackColor = false; this.button2.Click += new System.EventHandler(this.button2_Click); // // button1 // this.button1.Anchor = System.Windows.Forms.AnchorStyles.None; this.button1.Appearance = Syncfusion.Windows.Forms.ButtonAppearance.Metro; this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218))))); this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.ForeColor = System.Drawing.Color.White; this.button1.IsBackStageButton = false; this.button1.Location = new System.Drawing.Point(114, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(152, 31); this.button1.TabIndex = 0; this.button1.Text = "Load Custom Page1"; this.button1.UseVisualStyle = true; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // 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("View"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; 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.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.parentBarItem2, this.barItem2 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1 }); this.parentBarItem1.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218))))); this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "File"; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "Exit"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "Exit"; this.barItem1.Click += new System.EventHandler(this.menuItem3_Click); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "View"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem2 }); 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 = "View"; // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 1; this.barItem2.ID = "HTML"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "HTML"; this.barItem2.Click += new System.EventHandler(this.menuItem5_Click); // // gradientPanel1 // this.gradientPanel1.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.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.gradientPanel1.Controls.Add(this.htmluiControl1); this.gradientPanel1.Location = new System.Drawing.Point(10, 93); this.gradientPanel1.Name = "gradientPanel1"; this.gradientPanel1.Size = new System.Drawing.Size(639, 318); this.gradientPanel1.TabIndex = 4; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); 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(659, 415); this.Controls.Add(this.gradientPanel1); this.Controls.Add(this.panel1); this.DropShadow = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(671, 451); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Custom Controls"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.htmluiControl1)).EndInit(); this.htmluiControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.monthCalendar1)).EndInit(); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); ((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)); 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); }