public CheckBox() { InitializeComponent(); var icon = new C1.Framework.C1PathIcon(); icon.Data = "M33.346664,11 L35.346718,11 L34.654114,14.000002 L32.654057,14.000002 z M21.346333,11 L23.34639,11 L22.653784,14.000002 L20.653728,14.000002 z M9.3460064,11 L11.34606,11 L10.653455,14.000002 L8.6534014,14.000002 z M32.50095,6.000001 L31.808344,8.999999 L29.808191,8.999999 L29.346455,11 L31.346607,11 L30.654003,14.000002 L28.653849,14.000002 L28.192112,16.000002 L30.192266,16.000002 L29.499662,19 L31.499718,19 L32.192322,16.000002 L34.192375,16.000002 L33.499771,19 L35.499825,19 L36.192429,16.000002 L38.062393,16.000002 L38.598293,14.000002 L36.654163,14.000002 L37.346771,11 L39.402138,11 L39.938038,8.999999 L37.808506,8.999999 L38.50111,6.000001 L36.501057,6.000001 L35.808453,8.999999 L33.808399,8.999999 L34.501003,6.000001 z M20.50062,6.000001 L19.808016,8.999999 L17.808113,8.999999 L17.346376,11 L19.346279,11 L18.653675,14.000002 L16.653772,14.000002 L16.192036,16.000002 L18.191938,16.000002 L17.499334,19 L19.499388,19 L20.191992,16.000002 L22.192049,16.000002 L21.499443,19 L23.499498,19 L24.192102,16.000002 L26.192101,16.000002 L26.653837,14.000002 L24.653839,14.000002 L25.346445,11 L27.346441,11 L27.808178,8.999999 L25.80818,8.999999 L26.500786,6.000001 L24.500731,6.000001 L23.808126,8.999999 L21.808069,8.999999 L22.500673,6.000001 z M8.5002918,6.000001 L7.8076887,8.999999 L5.8080373,8.999999 L5.3463006,11 L7.3459516,11 L6.653347,14.000002 L4.6536956,14.000002 L4.1919594,16.000002 L6.1916108,16.000002 L5.4990058,19 L7.4990602,19 L8.1916647,16.000002 L10.191718,16.000002 L9.499114,19 L11.499168,19 L12.191772,16.000002 L14.192022,16.000002 L14.653759,14.000002 L12.65351,14.000002 L13.346115,11 L15.346364,11 L15.808101,8.999999 L13.807851,8.999999 L14.500455,6.000001 L12.500401,6.000001 L11.807796,8.999999 L9.8077421,8.999999 L10.500346,6.000001 z M2.9999998,0 L42,0 C43.656853,-7.4505806E-08 45,1.3431456 45,3 L45,22 C45,23.656855 43.656853,25 42,25 L2.9999998,25 C1.3431457,25 0,23.656855 0,22 L0,3 C0,1.3431456 1.3431457,-7.4505806E-08 2.9999998,0 z"; icon.Size = new Size(24, 24); this.c1CheckBox4.Icon = icon; this.c1CheckBox1.Focus(); foreach (Control control in Controls) { if (control is C1CheckBox) { control.GotFocus += Control_GotFocus; } } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { C1.Framework.C1FontIcon c1FontIcon1 = new C1.Framework.C1FontIcon(); C1.Framework.C1FontIcon c1FontIcon2 = new C1.Framework.C1FontIcon(); C1.Framework.C1FontIcon c1FontIcon3 = new C1.Framework.C1FontIcon(); C1.Framework.C1CompositeIcon c1CompositeIcon1 = new C1.Framework.C1CompositeIcon(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Framework.C1PathIcon c1PathIcon1 = new C1.Framework.C1PathIcon(); C1.Framework.C1CompositeIcon c1CompositeIcon2 = new C1.Framework.C1CompositeIcon(); C1.Framework.C1PathIcon c1PathIcon2 = new C1.Framework.C1PathIcon(); this.c1Ribbon1 = new C1.Win.Ribbon.C1Ribbon(); this.ribbonApplicationMenu1 = new C1.Win.Ribbon.RibbonApplicationMenu(); this.ribbonBottomToolBar1 = new C1.Win.Ribbon.RibbonBottomToolBar(); this.ribbonConfigToolBar1 = new C1.Win.Ribbon.RibbonConfigToolBar(); this.ribbonStyleCombo = new C1.Win.Ribbon.RibbonComboBox(); this.F1HelpButton = new C1.Win.Ribbon.RibbonButton(); this.ribbonQat1 = new C1.Win.Ribbon.RibbonQat(); this.SaveDocumentButton = new C1.Win.Ribbon.RibbonButton(); this.UndoButton = new C1.Win.Ribbon.RibbonButton(); this.RedoButton = new C1.Win.Ribbon.RibbonButton(); this.HomeTab = new C1.Win.Ribbon.RibbonTab(); this.ClipboardGroup = new C1.Win.Ribbon.RibbonGroup(); this.PasteSplitButton = new C1.Win.Ribbon.RibbonSplitButton(); this.PasteButton = new C1.Win.Ribbon.RibbonButton(); this.PasteAsTextButton = new C1.Win.Ribbon.RibbonButton(); this.CutButton = new C1.Win.Ribbon.RibbonButton(); this.CopyButton = new C1.Win.Ribbon.RibbonButton(); this.FormatPainterButton = new C1.Win.Ribbon.RibbonButton(); this.FontGroup = new C1.Win.Ribbon.RibbonGroup(); this.ribbonToolBar1 = new C1.Win.Ribbon.RibbonToolBar(); this.FontFaceComboBox = new C1.Win.Ribbon.RibbonComboBox(); this.FontSizeComboBox = new C1.Win.Ribbon.RibbonComboBox(); this.ribbonToolBar2 = new C1.Win.Ribbon.RibbonToolBar(); this.FontBoldButton = new C1.Win.Ribbon.RibbonToggleButton(); this.FontItalicButton = new C1.Win.Ribbon.RibbonToggleButton(); this.FontUnderlineButton = new C1.Win.Ribbon.RibbonToggleButton(); this.FontStrikeoutButton = new C1.Win.Ribbon.RibbonToggleButton(); this.ribbonSeparator1 = new C1.Win.Ribbon.RibbonSeparator(); this.FontColorPicker = new C1.Win.Ribbon.RibbonColorPicker(); this.BackColorPicker = new C1.Win.Ribbon.RibbonColorPicker(); this.ParagraphGroup = new C1.Win.Ribbon.RibbonGroup(); this.ribbonToolBar3 = new C1.Win.Ribbon.RibbonToolBar(); this.DecreaseIndentButton = new C1.Win.Ribbon.RibbonButton(); this.IncreaseIndentButton = new C1.Win.Ribbon.RibbonButton(); this.ribbonToolBar4 = new C1.Win.Ribbon.RibbonToolBar(); this.ribbonToggleGroup1 = new C1.Win.Ribbon.RibbonToggleGroup(); this.ParagraphAlignLeftButton = new C1.Win.Ribbon.RibbonToggleButton(); this.ParagraphAlignCenterButton = new C1.Win.Ribbon.RibbonToggleButton(); this.ParagraphAlignRightButton = new C1.Win.Ribbon.RibbonToggleButton(); this.ribbonGroup1 = new C1.Win.Ribbon.RibbonGroup(); this.styleGallery = new C1.Win.Ribbon.RibbonGallery(); this.ribbonGalleryItem1 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem2 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem3 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem4 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem5 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem6 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem7 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem8 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem9 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem10 = new C1.Win.Ribbon.RibbonGalleryItem(); this.ribbonGalleryItem11 = new C1.Win.Ribbon.RibbonGalleryItem(); this.clearFormatButton = new C1.Win.Ribbon.RibbonButton(); this.ViewTab = new C1.Win.Ribbon.RibbonTab(); this.ViewZoomGroup = new C1.Win.Ribbon.RibbonGroup(); this.ViewZoomCombobox = new C1.Win.Ribbon.RibbonComboBox(); this.NormalSizeButton = new C1.Win.Ribbon.RibbonButton(); this.ribbonTopToolBar1 = new C1.Win.Ribbon.RibbonTopToolBar(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.c1StatusBar1 = new C1.Win.Ribbon.C1StatusBar(); this.DocumentModifiedLabel = new C1.Win.Ribbon.RibbonLabel(); this.c1ThemeController1 = new C1.Win.Themes.C1ThemeController(); this.c1BackstageView1 = new C1.Win.Ribbon.C1BackstageView(); this.NewDocumentButton = new C1.Win.Ribbon.RibbonButton(); this.OpenDocumentTab = new C1.Win.Ribbon.BackstageViewTab(); this.SaveDocumentAsTab = new C1.Win.Ribbon.BackstageViewTab(); this.ribbonSeparator2 = new C1.Win.Ribbon.RibbonSeparator(); this.ExitButton = new C1.Win.Ribbon.RibbonButton(); ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1StatusBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit(); this.SuspendLayout(); // // c1Ribbon1 // this.c1Ribbon1.ApplicationMenuHolder = this.ribbonApplicationMenu1; this.c1BackstageView1.SetBackstageView(this.c1Ribbon1, this.c1BackstageView1); this.c1Ribbon1.BottomToolBarHolder = this.ribbonBottomToolBar1; this.c1Ribbon1.ConfigToolBarHolder = this.ribbonConfigToolBar1; this.c1Ribbon1.Location = new System.Drawing.Point(0, 0); this.c1Ribbon1.Name = "c1Ribbon1"; this.c1Ribbon1.QatHolder = this.ribbonQat1; this.c1Ribbon1.QatItemsHolder.Add(this.UndoButton); this.c1Ribbon1.QatItemsHolder.Add(this.RedoButton); this.c1Ribbon1.Size = new System.Drawing.Size(900, 161); this.c1Ribbon1.Tabs.Add(this.HomeTab); this.c1Ribbon1.Tabs.Add(this.ViewTab); this.c1Ribbon1.TopToolBarHolder = this.ribbonTopToolBar1; this.c1Ribbon1.ViewChanged += new System.EventHandler(this.c1Ribbon1_ViewChanged); // // ribbonApplicationMenu1 // this.ribbonApplicationMenu1.DropDownWidth = 370; this.ribbonApplicationMenu1.Name = "ribbonApplicationMenu1"; this.ribbonApplicationMenu1.Text = "File"; this.ribbonApplicationMenu1.DoubleClick += new System.EventHandler(this.ExitButton_Click); // // ribbonBottomToolBar1 // this.ribbonBottomToolBar1.Name = "ribbonBottomToolBar1"; // // ribbonConfigToolBar1 // this.ribbonConfigToolBar1.Items.Add(this.ribbonStyleCombo); this.ribbonConfigToolBar1.Items.Add(this.F1HelpButton); this.ribbonConfigToolBar1.Name = "ribbonConfigToolBar1"; // // ribbonStyleCombo // this.ribbonStyleCombo.DropDownStyle = C1.Win.Ribbon.RibbonComboBoxStyle.DropDownList; this.ribbonStyleCombo.Label = "Theme"; this.ribbonStyleCombo.Name = "ribbonStyleCombo"; this.ribbonStyleCombo.TextAreaWidth = 120; this.ribbonStyleCombo.ChangeCommitted += new System.EventHandler(this.ribbonStyleCombo_ChangeCommitted); // // F1HelpButton // this.F1HelpButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Help2", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 178)); this.F1HelpButton.Name = "F1HelpButton"; this.F1HelpButton.ShortcutKeys = System.Windows.Forms.Keys.F1; this.F1HelpButton.ToolTip = "Help"; // // ribbonQat1 // this.ribbonQat1.HotItemLinks.Add(this.SaveDocumentButton); this.ribbonQat1.HotItemLinks.Add(this.UndoButton); this.ribbonQat1.HotItemLinks.Add(this.RedoButton); this.ribbonQat1.ItemLinks.Add(this.SaveDocumentButton); this.ribbonQat1.ItemLinks.Add(this.UndoButton); this.ribbonQat1.ItemLinks.Add(this.RedoButton); this.ribbonQat1.Name = "ribbonQat1"; // // SaveDocumentButton // this.SaveDocumentButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Save", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 318)); this.SaveDocumentButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Save", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 244)); this.SaveDocumentButton.Name = "SaveDocumentButton"; this.SaveDocumentButton.Text = "&Save"; this.SaveDocumentButton.Click += new System.EventHandler(this.SaveDocumentButton_Click); // // UndoButton // this.UndoButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Undo", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 413)); this.UndoButton.Name = "UndoButton"; this.UndoButton.ToolTip = "Undo"; this.UndoButton.Click += new System.EventHandler(this.UndoButton_Click); // // RedoButton // this.RedoButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Redo", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 293)); this.RedoButton.Name = "RedoButton"; this.RedoButton.ToolTip = "Redo"; this.RedoButton.Click += new System.EventHandler(this.RedoButton_Click); // // HomeTab // this.HomeTab.Groups.Add(this.ClipboardGroup); this.HomeTab.Groups.Add(this.FontGroup); this.HomeTab.Groups.Add(this.ParagraphGroup); this.HomeTab.Groups.Add(this.ribbonGroup1); this.HomeTab.Name = "HomeTab"; this.HomeTab.Text = "&Home"; // // ClipboardGroup // this.ClipboardGroup.Items.Add(this.PasteSplitButton); this.ClipboardGroup.Items.Add(this.CutButton); this.ClipboardGroup.Items.Add(this.CopyButton); this.ClipboardGroup.Items.Add(this.FormatPainterButton); this.ClipboardGroup.Name = "ClipboardGroup"; this.ClipboardGroup.Text = "Clipboard"; // // PasteSplitButton // this.PasteSplitButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Paste", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 200)); this.PasteSplitButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Paste", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 260)); this.PasteSplitButton.Items.Add(this.PasteButton); this.PasteSplitButton.Items.Add(this.PasteAsTextButton); this.PasteSplitButton.Name = "PasteSplitButton"; this.PasteSplitButton.Text = "Paste"; this.PasteSplitButton.TextImageRelation = C1.Win.Ribbon.TextImageRelation.ImageAboveText; this.PasteSplitButton.Click += new System.EventHandler(this.PasteSplitButton_Click); // // PasteButton // this.PasteButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Paste", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 200)); this.PasteButton.Name = "PasteButton"; this.PasteButton.Text = "Paste"; // // PasteAsTextButton // this.PasteAsTextButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Paste", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 200)); this.PasteAsTextButton.Name = "PasteAsTextButton"; this.PasteAsTextButton.Text = "Paste As Text"; // // CutButton // this.CutButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Cut", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 86)); this.CutButton.Name = "CutButton"; this.CutButton.Text = "Cut"; this.CutButton.ToolTip = "Cut (Ctrl-X)"; this.CutButton.Click += new System.EventHandler(this.CutButton_Click); // // CopyButton // this.CopyButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Copy", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 80)); this.CopyButton.Name = "CopyButton"; this.CopyButton.Text = "Copy"; this.CopyButton.ToolTip = "Copy (Ctrl-C)"; this.CopyButton.Click += new System.EventHandler(this.CopyButton_Click); // // FormatPainterButton // this.FormatPainterButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Brush", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 38)); this.FormatPainterButton.Name = "FormatPainterButton"; this.FormatPainterButton.Text = "Format Painter"; this.FormatPainterButton.ToolTip = "Format Painter"; // // FontGroup // this.FontGroup.HasLauncherButton = true; this.FontGroup.IconSet.Add(new C1.Framework.C1BitmapIcon("FontColor", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 163)); this.FontGroup.Items.Add(this.ribbonToolBar1); this.FontGroup.Items.Add(this.ribbonToolBar2); this.FontGroup.Name = "FontGroup"; this.FontGroup.Text = "Font"; this.FontGroup.DialogLauncherClick += new System.EventHandler(this.FontGroup_ClickDialogLauncher); // // ribbonToolBar1 // this.ribbonToolBar1.Items.Add(this.FontFaceComboBox); this.ribbonToolBar1.Items.Add(this.FontSizeComboBox); this.ribbonToolBar1.Name = "ribbonToolBar1"; // // FontFaceComboBox // this.FontFaceComboBox.GripHandleVisible = true; this.FontFaceComboBox.MaxDropDownItems = 20; this.FontFaceComboBox.Name = "FontFaceComboBox"; this.FontFaceComboBox.Text = "Arial"; this.FontFaceComboBox.TextAreaWidth = 120; this.FontFaceComboBox.ChangeCommitted += new System.EventHandler(this.FontFaceComboBox_ChangeCommitted); // // FontSizeComboBox // this.FontSizeComboBox.GripHandleVisible = true; this.FontSizeComboBox.MaxDropDownItems = 100; this.FontSizeComboBox.MaxLength = 3; this.FontSizeComboBox.Name = "FontSizeComboBox"; this.FontSizeComboBox.Text = "12"; this.FontSizeComboBox.TextAreaWidth = 40; this.FontSizeComboBox.ChangeCommitted += new System.EventHandler(this.FontSizeComboBox_ChangeCommitted); // // ribbonToolBar2 // this.ribbonToolBar2.Items.Add(this.FontBoldButton); this.ribbonToolBar2.Items.Add(this.FontItalicButton); this.ribbonToolBar2.Items.Add(this.FontUnderlineButton); this.ribbonToolBar2.Items.Add(this.FontStrikeoutButton); this.ribbonToolBar2.Items.Add(this.ribbonSeparator1); this.ribbonToolBar2.Items.Add(this.FontColorPicker); this.ribbonToolBar2.Items.Add(this.BackColorPicker); this.ribbonToolBar2.Name = "ribbonToolBar2"; // // FontBoldButton // c1FontIcon1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); c1FontIcon1.Padding = new C1.Framework.Thickness(2, 0, 0, 0); c1FontIcon1.Size = new System.Drawing.Size(16, 16); c1FontIcon1.Text = "B"; this.FontBoldButton.IconSet.Add(c1FontIcon1); this.FontBoldButton.Name = "FontBoldButton"; this.FontBoldButton.ToolTip = "Bold (Ctrl-B)"; this.FontBoldButton.Click += new System.EventHandler(this.FontBoldButton_Click); // // FontItalicButton // c1FontIcon2.Font = new System.Drawing.Font("Arial", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(204))); c1FontIcon2.Padding = new C1.Framework.Thickness(2, 0, 0, 0); c1FontIcon2.Size = new System.Drawing.Size(16, 16); c1FontIcon2.Text = "I"; this.FontItalicButton.IconSet.Add(c1FontIcon2); this.FontItalicButton.Name = "FontItalicButton"; this.FontItalicButton.ToolTip = "Italic (Ctrl-I)"; this.FontItalicButton.Click += new System.EventHandler(this.FontItalicButton_Click); // // FontUnderlineButton // c1FontIcon3.Font = new System.Drawing.Font("Arial", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(204))); c1FontIcon3.Padding = new C1.Framework.Thickness(2, 0, 0, 0); c1FontIcon3.Size = new System.Drawing.Size(16, 16); c1FontIcon3.Text = "U"; this.FontUnderlineButton.IconSet.Add(c1FontIcon3); this.FontUnderlineButton.Name = "FontUnderlineButton"; this.FontUnderlineButton.ToolTip = "Underline (Ctrl-U)"; this.FontUnderlineButton.Click += new System.EventHandler(this.FontUnderlineButton_Click); // // FontStrikeoutButton // this.FontStrikeoutButton.IconSet.Add(new C1.Framework.C1FontIcon(null, new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "abc", new System.Drawing.Font("Arial Narrow", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Strikeout))), System.Drawing.GraphicsUnit.Point, ((byte)(204))))); this.FontStrikeoutButton.IconSet.Add(new C1.Framework.C1FontIcon(null, new System.Drawing.Size(20, 20), System.Drawing.Color.Transparent, "abc", new System.Drawing.Font("Arial Narrow", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Strikeout))), System.Drawing.GraphicsUnit.Point, ((byte)(204))))); this.FontStrikeoutButton.Name = "FontStrikeoutButton"; this.FontStrikeoutButton.ToolTip = "Strikeout"; this.FontStrikeoutButton.Click += new System.EventHandler(this.FontStrikeoutButton_Click); // // ribbonSeparator1 // this.ribbonSeparator1.Name = "ribbonSeparator1"; // // FontColorPicker // c1PathIcon1.Color = System.Drawing.Color.Red; c1PathIcon1.Data = "M-2.7755575615628892e-17,18.89795939167988 h24 v5.142857098579968 h-24 z"; c1PathIcon1.Size = new System.Drawing.Size(16, 16); c1PathIcon1.Stroke = System.Drawing.Color.Empty; c1PathIcon1.ViewBox = new System.Drawing.Rectangle(0, 0, 24, 24); c1CompositeIcon1.Icons.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("c1CompositeIcon1.Icons"))))); c1CompositeIcon1.Icons.Add(c1PathIcon1); c1CompositeIcon1.Size = new System.Drawing.Size(16, 16); this.FontColorPicker.IconSet.Add(c1CompositeIcon1); this.FontColorPicker.Name = "FontColorPicker"; this.FontColorPicker.SelectedColorChanged += new System.EventHandler(this.FontColorPicker_SelectedColorChanged); this.FontColorPicker.Click += new System.EventHandler(this.FontColorPicker_Click); // // BackColorPicker // this.BackColorPicker.Color = System.Drawing.Color.Yellow; this.BackColorPicker.DefaultColor = System.Drawing.Color.Yellow; c1PathIcon2.Color = System.Drawing.Color.Yellow; c1PathIcon2.Data = "M-2.7755575615628892e-17,18.89795939167988 h24 v5.142857098579968 h-24 z"; c1PathIcon2.Size = new System.Drawing.Size(16, 16); c1PathIcon2.Stroke = System.Drawing.Color.Empty; c1PathIcon2.ViewBox = new System.Drawing.Rectangle(0, 0, 24, 24); c1CompositeIcon2.Icons.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("c1CompositeIcon2.Icons"))))); c1CompositeIcon2.Icons.Add(c1PathIcon2); c1CompositeIcon2.Size = new System.Drawing.Size(16, 16); this.BackColorPicker.IconSet.Add(c1CompositeIcon2); this.BackColorPicker.Name = "BackColorPicker"; this.BackColorPicker.SelectedColorChanged += new System.EventHandler(this.BackColorPicker_SelectedColorChanged); this.BackColorPicker.Click += new System.EventHandler(this.BackColorPicker_Click); // // ParagraphGroup // this.ParagraphGroup.IconSet.Add(new C1.Framework.C1BitmapIcon("AlignTextCenter", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 15)); this.ParagraphGroup.Items.Add(this.ribbonToolBar3); this.ParagraphGroup.Items.Add(this.ribbonToolBar4); this.ParagraphGroup.Name = "ParagraphGroup"; this.ParagraphGroup.Text = "Paragraph"; // // ribbonToolBar3 // this.ribbonToolBar3.Items.Add(this.DecreaseIndentButton); this.ribbonToolBar3.Items.Add(this.IncreaseIndentButton); this.ribbonToolBar3.Name = "ribbonToolBar3"; // // DecreaseIndentButton // this.DecreaseIndentButton.IconSet.Add(new C1.Framework.C1BitmapIcon("DecreaseIndent", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 95)); this.DecreaseIndentButton.Name = "DecreaseIndentButton"; this.DecreaseIndentButton.ToolTip = "Decrease Indent"; this.DecreaseIndentButton.Click += new System.EventHandler(this.DecreaseIndentButton_Click); // // IncreaseIndentButton // this.IncreaseIndentButton.IconSet.Add(new C1.Framework.C1BitmapIcon("IncreaseIndent", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 188)); this.IncreaseIndentButton.Name = "IncreaseIndentButton"; this.IncreaseIndentButton.ToolTip = "Increase Indent"; this.IncreaseIndentButton.Click += new System.EventHandler(this.IncreaseIndentButton_Click); // // ribbonToolBar4 // this.ribbonToolBar4.Items.Add(this.ribbonToggleGroup1); this.ribbonToolBar4.Name = "ribbonToolBar4"; // // ribbonToggleGroup1 // this.ribbonToggleGroup1.Items.Add(this.ParagraphAlignLeftButton); this.ribbonToggleGroup1.Items.Add(this.ParagraphAlignCenterButton); this.ribbonToggleGroup1.Items.Add(this.ParagraphAlignRightButton); this.ribbonToggleGroup1.Name = "ribbonToggleGroup1"; // // ParagraphAlignLeftButton // this.ParagraphAlignLeftButton.IconSet.Add(new C1.Framework.C1BitmapIcon("AlignTextLeftJustify", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 14)); this.ParagraphAlignLeftButton.Name = "ParagraphAlignLeftButton"; this.ParagraphAlignLeftButton.ToolTip = "Align Left"; this.ParagraphAlignLeftButton.Click += new System.EventHandler(this.ParagraphAlignLeftButton_Click); // // ParagraphAlignCenterButton // this.ParagraphAlignCenterButton.IconSet.Add(new C1.Framework.C1BitmapIcon("AlignTextCenter", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 12)); this.ParagraphAlignCenterButton.Name = "ParagraphAlignCenterButton"; this.ParagraphAlignCenterButton.ToolTip = "Align Center"; this.ParagraphAlignCenterButton.Click += new System.EventHandler(this.ParagraphAlignCenterButton_Click); // // ParagraphAlignRightButton // this.ParagraphAlignRightButton.IconSet.Add(new C1.Framework.C1BitmapIcon("AlignTextRightJustify", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 15)); this.ParagraphAlignRightButton.Name = "ParagraphAlignRightButton"; this.ParagraphAlignRightButton.ToolTip = "Align Right"; this.ParagraphAlignRightButton.Click += new System.EventHandler(this.ParagraphAlignRightButton_Click); // // ribbonGroup1 // this.ribbonGroup1.Items.Add(this.styleGallery); this.ribbonGroup1.Name = "ribbonGroup1"; this.ribbonGroup1.Text = "Styles"; // // styleGallery // this.styleGallery.AllowGroupFiltering = true; this.styleGallery.AllowZooming = true; this.styleGallery.IconSet.Add(new C1.Framework.C1BitmapIcon("Styles", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 304)); this.styleGallery.IconSet.Add(new C1.Framework.C1BitmapIcon("Styles", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 385)); this.styleGallery.Items.Add(this.ribbonGalleryItem1); this.styleGallery.Items.Add(this.ribbonGalleryItem2); this.styleGallery.Items.Add(this.ribbonGalleryItem3); this.styleGallery.Items.Add(this.ribbonGalleryItem4); this.styleGallery.Items.Add(this.ribbonGalleryItem5); this.styleGallery.Items.Add(this.ribbonGalleryItem6); this.styleGallery.Items.Add(this.ribbonGalleryItem7); this.styleGallery.Items.Add(this.ribbonGalleryItem8); this.styleGallery.Items.Add(this.ribbonGalleryItem9); this.styleGallery.Items.Add(this.ribbonGalleryItem10); this.styleGallery.Items.Add(this.ribbonGalleryItem11); this.styleGallery.ItemSize = new System.Drawing.Size(100, 60); this.styleGallery.MenuItems.Add(this.clearFormatButton); this.styleGallery.Name = "styleGallery"; this.styleGallery.Text = "Styles"; this.styleGallery.ToolTip = "Change Selection Style"; this.styleGallery.SelectedIndexChanged += new System.EventHandler(this.StyleGallery_SelectedIndexChanged); this.styleGallery.HighlightedItemChanged += new System.EventHandler <C1.Win.Ribbon.GalleryEventArgs>(this.StyleGallery_HighlightedItemChanged); // // ribbonGalleryItem1 // this.ribbonGalleryItem1.Description = "Normal"; this.ribbonGalleryItem1.GroupName = "Common"; this.ribbonGalleryItem1.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem1.IconSet"))))); this.ribbonGalleryItem1.Name = "ribbonGalleryItem1"; // // ribbonGalleryItem2 // this.ribbonGalleryItem2.Description = "Heading 1"; this.ribbonGalleryItem2.GroupName = "Common"; this.ribbonGalleryItem2.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem2.IconSet"))))); this.ribbonGalleryItem2.Name = "ribbonGalleryItem2"; // // ribbonGalleryItem3 // this.ribbonGalleryItem3.Description = "Heading 2"; this.ribbonGalleryItem3.GroupName = "Common"; this.ribbonGalleryItem3.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem3.IconSet"))))); this.ribbonGalleryItem3.Name = "ribbonGalleryItem3"; // // ribbonGalleryItem4 // this.ribbonGalleryItem4.Description = "Title"; this.ribbonGalleryItem4.GroupName = "Common"; this.ribbonGalleryItem4.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem4.IconSet"))))); this.ribbonGalleryItem4.Name = "ribbonGalleryItem4"; // // ribbonGalleryItem5 // this.ribbonGalleryItem5.Description = "Subtitle"; this.ribbonGalleryItem5.GroupName = "Common"; this.ribbonGalleryItem5.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem5.IconSet"))))); this.ribbonGalleryItem5.Name = "ribbonGalleryItem5"; // // ribbonGalleryItem6 // this.ribbonGalleryItem6.Description = "Emphasis"; this.ribbonGalleryItem6.GroupName = "Extended"; this.ribbonGalleryItem6.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem6.IconSet"))))); this.ribbonGalleryItem6.Name = "ribbonGalleryItem6"; // // ribbonGalleryItem7 // this.ribbonGalleryItem7.Description = "Intense Emphasis"; this.ribbonGalleryItem7.GroupName = "Extended"; this.ribbonGalleryItem7.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem7.IconSet"))))); this.ribbonGalleryItem7.Name = "ribbonGalleryItem7"; // // ribbonGalleryItem8 // this.ribbonGalleryItem8.Description = "Strong"; this.ribbonGalleryItem8.GroupName = "Extended"; this.ribbonGalleryItem8.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem8.IconSet"))))); this.ribbonGalleryItem8.Name = "ribbonGalleryItem8"; // // ribbonGalleryItem9 // this.ribbonGalleryItem9.Description = "Quote"; this.ribbonGalleryItem9.GroupName = "Extended"; this.ribbonGalleryItem9.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem9.IconSet"))))); this.ribbonGalleryItem9.Name = "ribbonGalleryItem9"; // // ribbonGalleryItem10 // this.ribbonGalleryItem10.Description = "Intense Quote"; this.ribbonGalleryItem10.GroupName = "Extended"; this.ribbonGalleryItem10.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem10.IconSet"))))); this.ribbonGalleryItem10.Name = "ribbonGalleryItem10"; // // ribbonGalleryItem11 // this.ribbonGalleryItem11.Description = "Bullet List"; this.ribbonGalleryItem11.GroupName = "Extended"; this.ribbonGalleryItem11.IconSet.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(126, 56), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("ribbonGalleryItem11.IconSet"))))); this.ribbonGalleryItem11.Name = "ribbonGalleryItem11"; // // clearFormatButton // this.clearFormatButton.IconSet.Add(new C1.Framework.C1BitmapIcon("Eraser", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 116)); this.clearFormatButton.Name = "clearFormatButton"; this.clearFormatButton.Text = "Clear Formatting"; this.clearFormatButton.ToolTip = "Clear All Formatting"; this.clearFormatButton.Click += new System.EventHandler(this.ClearFormatButton_Click); // // ViewTab // this.ViewTab.Groups.Add(this.ViewZoomGroup); this.ViewTab.Name = "ViewTab"; this.ViewTab.Text = "View"; // // ViewZoomGroup // this.ViewZoomGroup.Items.Add(this.ViewZoomCombobox); this.ViewZoomGroup.Items.Add(this.NormalSizeButton); this.ViewZoomGroup.Name = "ViewZoomGroup"; this.ViewZoomGroup.Text = "Zoom"; // // ViewZoomCombobox // this.ViewZoomCombobox.MaxLength = 4; this.ViewZoomCombobox.Name = "ViewZoomCombobox"; this.ViewZoomCombobox.ChangeCommitted += new System.EventHandler(this.ViewZoomCombobox_ChangeCommitted); // // NormalSizeButton // this.NormalSizeButton.IconSet.Add(new C1.Framework.C1BitmapIcon("NormalView", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 238)); this.NormalSizeButton.Name = "NormalSizeButton"; this.NormalSizeButton.Text = "100%"; this.NormalSizeButton.Click += new System.EventHandler(this.NormalSizeButton_Click); // // ribbonTopToolBar1 // this.ribbonTopToolBar1.Name = "ribbonTopToolBar1"; // // richTextBox1 // this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBox1.HideSelection = false; this.richTextBox1.Location = new System.Drawing.Point(0, 161); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(900, 282); this.richTextBox1.TabIndex = 1; this.richTextBox1.Text = ""; // // c1StatusBar1 // this.c1StatusBar1.LeftPaneItems.Add(this.DocumentModifiedLabel); this.c1StatusBar1.Location = new System.Drawing.Point(0, 443); this.c1StatusBar1.Name = "c1StatusBar1"; this.c1StatusBar1.RightPaneWidth = 100; this.c1StatusBar1.Size = new System.Drawing.Size(900, 22); this.c1StatusBar1.Text = "Ready"; // // DocumentModifiedLabel // this.DocumentModifiedLabel.IconSet.Add(new C1.Framework.C1BitmapIcon("Edit", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 110)); this.DocumentModifiedLabel.Name = "DocumentModifiedLabel"; // // c1BackstageView1 // this.c1BackstageView1.IconSet.Add(new C1.Framework.C1FontIcon(null, new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "", new System.Drawing.Font("Segoe MDL2 Assets", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))))); this.c1BackstageView1.LeftPaneItems.Add(this.NewDocumentButton); this.c1BackstageView1.LeftPaneItems.Add(this.OpenDocumentTab); this.c1BackstageView1.LeftPaneItems.Add(this.SaveDocumentButton); this.c1BackstageView1.LeftPaneItems.Add(this.SaveDocumentAsTab); this.c1BackstageView1.LeftPaneItems.Add(this.ribbonSeparator2); this.c1BackstageView1.LeftPaneItems.Add(this.ExitButton); this.c1BackstageView1.LeftWidth = 200; this.c1BackstageView1.Name = "c1BackstageView1"; this.c1BackstageView1.Text = "File"; this.c1BackstageView1.DropDown += new System.EventHandler(this.c1BackstageView1_DropDown); // // NewDocumentButton // this.NewDocumentButton.IconSet.Add(new C1.Framework.C1BitmapIcon("New", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 174)); this.NewDocumentButton.Name = "NewDocumentButton"; this.NewDocumentButton.Text = "&New"; this.NewDocumentButton.Click += new System.EventHandler(this.NewDocumentButton_Click); // // OpenDocumentTab // this.OpenDocumentTab.IconSet.Add(new C1.Framework.C1BitmapIcon("Open", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 185)); this.OpenDocumentTab.Name = "OpenDocumentTab"; this.OpenDocumentTab.Text = "&Open"; // // SaveDocumentAsTab // this.SaveDocumentAsTab.IconSet.Add(new C1.Framework.C1BitmapIcon("SaveAs", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 245)); this.SaveDocumentAsTab.Name = "SaveDocumentAsTab"; this.SaveDocumentAsTab.Text = "Save &As"; // // ribbonSeparator2 // this.ribbonSeparator2.Name = "ribbonSeparator2"; // // ExitButton // this.ExitButton.Name = "ExitButton"; this.ExitButton.Text = "E&xit WordPad Sample"; this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(900, 465); this.Controls.Add(this.richTextBox1); this.Controls.Add(this.c1StatusBar1); this.Controls.Add(this.c1Ribbon1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "C1Ribbon WordPad"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1StatusBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Framework.C1CompositeIcon c1CompositeIcon1 = new C1.Framework.C1CompositeIcon(); C1.Framework.C1PathIcon c1PathIcon1 = new C1.Framework.C1PathIcon(); C1.Framework.C1CompositeIcon c1CompositeIcon2 = new C1.Framework.C1CompositeIcon(); C1.Framework.C1PathIcon c1PathIcon2 = new C1.Framework.C1PathIcon(); this.c1Ribbon1 = new C1.Win.Ribbon.C1Ribbon(); this.ribbonApplicationMenu1 = new C1.Win.Ribbon.RibbonApplicationMenu(); this.ribbonBottomToolBar1 = new C1.Win.Ribbon.RibbonBottomToolBar(); this.ribbonConfigToolBar1 = new C1.Win.Ribbon.RibbonConfigToolBar(); this.ribbonQat1 = new C1.Win.Ribbon.RibbonQat(); this.tabHome = new C1.Win.Ribbon.RibbonTab(); this.groupView = new C1.Win.Ribbon.RibbonGroup(); this.btnVectorIcons = new C1.Win.Ribbon.RibbonToggleButton(); this.btnTemplatedIcons = new C1.Win.Ribbon.RibbonToggleButton(); this.btnFontIcons = new C1.Win.Ribbon.RibbonToggleButton(); this.btnBitmapIcons = new C1.Win.Ribbon.RibbonToggleButton(); this.btnComposite = new C1.Win.Ribbon.RibbonToggleButton(); this.groupIconSize = new C1.Win.Ribbon.RibbonGroup(); this.btnStretch = new C1.Win.Ribbon.RibbonToggleButton(); this.btn16x16 = new C1.Win.Ribbon.RibbonToggleButton(); this.btn32x32 = new C1.Win.Ribbon.RibbonToggleButton(); this.btn48x48 = new C1.Win.Ribbon.RibbonToggleButton(); this.tabEdit = new C1.Win.Ribbon.RibbonTab(); this.groupCommonProps = new C1.Win.Ribbon.RibbonGroup(); this.cpColor = new C1.Win.Ribbon.RibbonColorPicker(); this.groupVector = new C1.Win.Ribbon.RibbonGroup(); this.chkAllowSmoothing = new C1.Win.Ribbon.RibbonCheckBox(); this.cpStroke = new C1.Win.Ribbon.RibbonColorPicker(); this.nbStrokeThickness = new C1.Win.Ribbon.RibbonNumericBox(); this.ribbonGroup1 = new C1.Win.Ribbon.RibbonGroup(); this.chkShowAsMonochrome = new C1.Win.Ribbon.RibbonCheckBox(); this.ribbonGroup3 = new C1.Win.Ribbon.RibbonGroup(); this.cmbFonts = new C1.Win.Ribbon.RibbonComboBox(); this.ribbonButton6 = new C1.Win.Ribbon.RibbonButton(); this.ribbonButton7 = new C1.Win.Ribbon.RibbonButton(); this.cmbFontSize = new C1.Win.Ribbon.RibbonComboBox(); this.ribbonButton1 = new C1.Win.Ribbon.RibbonButton(); this.ribbonButton2 = new C1.Win.Ribbon.RibbonButton(); this.ribbonButton3 = new C1.Win.Ribbon.RibbonButton(); this.ribbonButton4 = new C1.Win.Ribbon.RibbonButton(); this.ribbonButton5 = new C1.Win.Ribbon.RibbonButton(); this.tabOptions = new C1.Win.Ribbon.RibbonTab(); this.ribbonGroup2 = new C1.Win.Ribbon.RibbonGroup(); this.cpBackground = new C1.Win.Ribbon.RibbonColorPicker(); this.cpForeground = new C1.Win.Ribbon.RibbonColorPicker(); this.ribbonTopToolBar1 = new C1.Win.Ribbon.RibbonTopToolBar(); this.c1StatusBar1 = new C1.Win.Ribbon.C1StatusBar(); this.statusLabel = new C1.Win.Ribbon.RibbonLabel(); this.ribbonLabel1 = new C1.Win.Ribbon.RibbonLabel(); this.ugridVectorIcons = new C1IconDemo.UniformGridView(); this.ugridTemplatedIcons = new C1IconDemo.UniformGridView(); this.ugridFontIcons = new C1IconDemo.UniformGridView(); this.ugridBitmapIcons = new C1IconDemo.UniformGridView(); this.ugridCompositeIcons = new C1IconDemo.UniformGridView(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1StatusBar1)).BeginInit(); this.SuspendLayout(); // // c1Ribbon1 // this.c1Ribbon1.ApplicationMenuHolder = this.ribbonApplicationMenu1; this.c1Ribbon1.BottomToolBarHolder = this.ribbonBottomToolBar1; this.c1Ribbon1.ConfigToolBarHolder = this.ribbonConfigToolBar1; this.c1Ribbon1.Location = new System.Drawing.Point(0, 0); this.c1Ribbon1.Name = "c1Ribbon1"; this.c1Ribbon1.QatHolder = this.ribbonQat1; this.c1Ribbon1.Size = new System.Drawing.Size(792, 161); this.c1Ribbon1.Tabs.Add(this.tabHome); this.c1Ribbon1.Tabs.Add(this.tabEdit); this.c1Ribbon1.Tabs.Add(this.tabOptions); this.c1Ribbon1.TopToolBarHolder = this.ribbonTopToolBar1; // // ribbonApplicationMenu1 // this.ribbonApplicationMenu1.Name = "ribbonApplicationMenu1"; // // ribbonBottomToolBar1 // this.ribbonBottomToolBar1.Name = "ribbonBottomToolBar1"; // // ribbonConfigToolBar1 // this.ribbonConfigToolBar1.Name = "ribbonConfigToolBar1"; // // ribbonQat1 // this.ribbonQat1.Name = "ribbonQat1"; // // tabHome // this.tabHome.Groups.Add(this.groupView); this.tabHome.Groups.Add(this.groupIconSize); this.tabHome.Name = "tabHome"; this.tabHome.Text = "Home"; // // groupView // this.groupView.Items.Add(this.btnVectorIcons); this.groupView.Items.Add(this.btnTemplatedIcons); this.groupView.Items.Add(this.btnFontIcons); this.groupView.Items.Add(this.btnBitmapIcons); this.groupView.Items.Add(this.btnComposite); this.groupView.Name = "groupView"; this.groupView.Text = "View"; // // btnVectorIcons // this.btnVectorIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("WordArt", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 350)); this.btnVectorIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("WordArt", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 436)); this.btnVectorIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("WordArt", new System.Drawing.Size(20, 20), System.Drawing.Color.Transparent, "Preset_MediumImages", 503)); this.btnVectorIcons.Name = "btnVectorIcons"; this.btnVectorIcons.Pressed = true; this.btnVectorIcons.Text = "Vector Icons"; this.btnVectorIcons.ToggleGroupName = "View"; this.btnVectorIcons.PressedChanged += new System.EventHandler(this.View_Changed); // // btnTemplatedIcons // this.btnTemplatedIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Shapes", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 283)); this.btnTemplatedIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Shapes", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 359)); this.btnTemplatedIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Shapes", new System.Drawing.Size(20, 20), System.Drawing.Color.Transparent, "Preset_MediumImages", 417)); this.btnTemplatedIcons.Name = "btnTemplatedIcons"; this.btnTemplatedIcons.Text = "Templated icons"; this.btnTemplatedIcons.ToggleGroupName = "View"; this.btnTemplatedIcons.PressedChanged += new System.EventHandler(this.View_Changed); // // btnFontIcons // this.btnFontIcons.IconSet.Add(new C1.Framework.C1PathIcon(null, new System.Drawing.Size(60, 60), System.Drawing.Color.Transparent, resources.GetString("btnFontIcons.IconSet"))); this.btnFontIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Symbol", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 308)); this.btnFontIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Symbol", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 391)); this.btnFontIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Symbol", new System.Drawing.Size(20, 20), System.Drawing.Color.Transparent, "Preset_MediumImages", 451)); this.btnFontIcons.Name = "btnFontIcons"; this.btnFontIcons.Text = "Font Icons"; this.btnFontIcons.ToggleGroupName = "View"; this.btnFontIcons.PressedChanged += new System.EventHandler(this.View_Changed); // // btnBitmapIcons // this.btnBitmapIcons.IconSet.Add(new C1.Framework.C1PathIcon(null, new System.Drawing.Size(60, 60), System.Drawing.Color.Transparent, resources.GetString("btnBitmapIcons.IconSet"))); this.btnBitmapIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Picture", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 206)); this.btnBitmapIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Picture", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 267)); this.btnBitmapIcons.IconSet.Add(new C1.Framework.C1BitmapIcon("Picture", new System.Drawing.Size(20, 20), System.Drawing.Color.Transparent, "Preset_MediumImages", 314)); this.btnBitmapIcons.Name = "btnBitmapIcons"; this.btnBitmapIcons.Text = "Bitmap Icons"; this.btnBitmapIcons.ToggleGroupName = "View"; this.btnBitmapIcons.PressedChanged += new System.EventHandler(this.View_Changed); // // btnComposite // this.btnComposite.IconSet.Add(new C1.Framework.C1BitmapIcon("BringToFront", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, "Preset_LargeImages", 18)); this.btnComposite.IconSet.Add(new C1.Framework.C1BitmapIcon("BringForward", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 43)); this.btnComposite.IconSet.Add(new C1.Framework.C1BitmapIcon("BringForward", new System.Drawing.Size(20, 20), System.Drawing.Color.Transparent, "Preset_MediumImages", 43)); this.btnComposite.Name = "btnComposite"; this.btnComposite.Text = "Composite Icons"; this.btnComposite.ToggleGroupName = "View"; // // groupIconSize // this.groupIconSize.Items.Add(this.btnStretch); this.groupIconSize.Items.Add(this.btn16x16); this.groupIconSize.Items.Add(this.btn32x32); this.groupIconSize.Items.Add(this.btn48x48); this.groupIconSize.Name = "groupIconSize"; this.groupIconSize.Text = "Icon Size"; // // btnStretch // this.btnStretch.IconSet.Add(new C1.Framework.C1BitmapIcon("Zoom", new System.Drawing.Size(32, 32), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("btnStretch.IconSet"))))); this.btnStretch.Name = "btnStretch"; this.btnStretch.Pressed = true; this.btnStretch.Text = "Stretch"; this.btnStretch.ToggleGroupName = "IconSize"; this.btnStretch.ToolTip = "Stretch to Fill Available Space"; this.btnStretch.PressedChanged += new System.EventHandler(this.IconSize_Changed); // // btn16x16 // this.btn16x16.Name = "btn16x16"; this.btn16x16.Text = "16 X 16"; this.btn16x16.ToggleGroupName = "IconSize"; this.btn16x16.PressedChanged += new System.EventHandler(this.IconSize_Changed); // // btn32x32 // this.btn32x32.Name = "btn32x32"; this.btn32x32.Text = "32 X 32"; this.btn32x32.ToggleGroupName = "IconSize"; this.btn32x32.PressedChanged += new System.EventHandler(this.IconSize_Changed); // // btn48x48 // this.btn48x48.Name = "btn48x48"; this.btn48x48.Text = "48 X 48"; this.btn48x48.ToggleGroupName = "IconSize"; this.btn48x48.PressedChanged += new System.EventHandler(this.IconSize_Changed); // // tabEdit // this.tabEdit.Groups.Add(this.groupCommonProps); this.tabEdit.Groups.Add(this.groupVector); this.tabEdit.Groups.Add(this.ribbonGroup1); this.tabEdit.Groups.Add(this.ribbonGroup3); this.tabEdit.Name = "tabEdit"; this.tabEdit.Text = "Edit"; this.tabEdit.ToolTip = "Edit Icon Properties"; // // groupCommonProps // this.groupCommonProps.Items.Add(this.cpColor); this.groupCommonProps.Name = "groupCommonProps"; this.groupCommonProps.Text = "Icon Color"; // // cpColor // this.cpColor.AutomaticColor = System.Drawing.Color.Transparent; this.cpColor.DefaultColor = System.Drawing.Color.Black; this.cpColor.IconSet.Add(new C1.Framework.C1BitmapIcon("Colors", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 66)); this.cpColor.Name = "cpColor"; this.cpColor.ShowAutomaticColor = true; this.cpColor.ToolTip = resources.GetString("cpColor.ToolTip"); this.cpColor.SelectedColorChanged += new System.EventHandler(this.cpColor_SelectedColorChanged); // // groupVector // this.groupVector.Items.Add(this.chkAllowSmoothing); this.groupVector.Items.Add(this.cpStroke); this.groupVector.Items.Add(this.nbStrokeThickness); this.groupVector.Name = "groupVector"; this.groupVector.Text = "Vector Icons"; // // chkAllowSmoothing // this.chkAllowSmoothing.Checked = true; this.chkAllowSmoothing.Name = "chkAllowSmoothing"; this.chkAllowSmoothing.Text = "Allow Smoothing"; this.chkAllowSmoothing.ToolTip = resources.GetString("chkAllowSmoothing.ToolTip"); this.chkAllowSmoothing.CheckedChanged += new System.EventHandler(this.chkAllowSmoothing_CheckedChanged); // // cpStroke // this.cpStroke.AutomaticColor = System.Drawing.Color.Transparent; this.cpStroke.DefaultColor = System.Drawing.Color.Transparent; this.cpStroke.IconSet.Add(new C1.Framework.C1BitmapIcon("Edit", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 110)); this.cpStroke.Name = "cpStroke"; this.cpStroke.ShowAutomaticColor = true; this.cpStroke.Text = "Stroke"; this.cpStroke.ToolTip = resources.GetString("cpStroke.ToolTip"); this.cpStroke.SelectedColorChanged += new System.EventHandler(this.cpStroke_SelectedColorChanged); // // nbStrokeThickness // this.nbStrokeThickness.DecimalPlaces = 2; this.nbStrokeThickness.Increment = new decimal(new int[] { 5, 0, 0, 65536 }); this.nbStrokeThickness.Label = "Stroke Thickness"; this.nbStrokeThickness.Maximum = new decimal(new int[] { 3, 0, 0, 0 }); this.nbStrokeThickness.Name = "nbStrokeThickness"; this.nbStrokeThickness.TextAreaWidth = 20; this.nbStrokeThickness.ToolTip = resources.GetString("nbStrokeThickness.ToolTip"); this.nbStrokeThickness.Value = new decimal(new int[] { 0, 0, 0, 0 }); this.nbStrokeThickness.ValueChanged += new System.EventHandler(this.nbStrokeThickness_ValueChanged); // // ribbonGroup1 // this.ribbonGroup1.Items.Add(this.chkShowAsMonochrome); this.ribbonGroup1.Name = "ribbonGroup1"; this.ribbonGroup1.Text = "Bitmap Icons"; // // chkShowAsMonochrome // this.chkShowAsMonochrome.Name = "chkShowAsMonochrome"; this.chkShowAsMonochrome.Text = "Show As Monochrome"; this.chkShowAsMonochrome.CheckedChanged += new System.EventHandler(this.chkShowAsMonochrome_CheckedChanged); // // ribbonGroup3 // this.ribbonGroup3.Items.Add(this.cmbFonts); this.ribbonGroup3.Items.Add(this.cmbFontSize); this.ribbonGroup3.Name = "ribbonGroup3"; this.ribbonGroup3.Text = "Font Icons"; // // cmbFonts // this.cmbFonts.Items.Add(this.ribbonButton6); this.cmbFonts.Items.Add(this.ribbonButton7); this.cmbFonts.Name = "cmbFonts"; this.cmbFonts.TextAreaWidth = 100; this.cmbFonts.SelectedIndexChanged += new System.EventHandler(this.cmbFont_SelectedIndexChanged); // // ribbonButton6 // this.ribbonButton6.Name = "ribbonButton6"; this.ribbonButton6.Text = "Segoe UI Symbol"; // // ribbonButton7 // this.ribbonButton7.Name = "ribbonButton7"; this.ribbonButton7.Text = "Segoe MDL Assets"; // // cmbFontSize // this.cmbFontSize.Items.Add(this.ribbonButton1); this.cmbFontSize.Items.Add(this.ribbonButton2); this.cmbFontSize.Items.Add(this.ribbonButton3); this.cmbFontSize.Items.Add(this.ribbonButton4); this.cmbFontSize.Items.Add(this.ribbonButton5); this.cmbFontSize.Label = "Font Size"; this.cmbFontSize.Name = "cmbFontSize"; this.cmbFontSize.TextAreaWidth = 24; this.cmbFontSize.ToolTip = "Font Size"; this.cmbFontSize.SelectedIndexChanged += new System.EventHandler(this.cmbFontSize_SelectedIndexChanged); // // ribbonButton1 // this.ribbonButton1.Name = "ribbonButton1"; this.ribbonButton1.Text = "12"; // // ribbonButton2 // this.ribbonButton2.Name = "ribbonButton2"; this.ribbonButton2.Text = "18"; // // ribbonButton3 // this.ribbonButton3.Name = "ribbonButton3"; this.ribbonButton3.Text = "24"; // // ribbonButton4 // this.ribbonButton4.Name = "ribbonButton4"; this.ribbonButton4.Text = "32"; // // ribbonButton5 // this.ribbonButton5.Name = "ribbonButton5"; this.ribbonButton5.Text = "48"; // // tabOptions // this.tabOptions.Groups.Add(this.ribbonGroup2); this.tabOptions.Name = "tabOptions"; this.tabOptions.Text = "Options"; this.tabOptions.ToolTip = "Main Window Setting"; // // ribbonGroup2 // this.ribbonGroup2.Items.Add(this.cpBackground); this.ribbonGroup2.Items.Add(this.cpForeground); this.ribbonGroup2.Name = "ribbonGroup2"; this.ribbonGroup2.Text = "Main Window Settings"; // // cpBackground // this.cpBackground.DefaultColor = System.Drawing.Color.White; c1PathIcon1.Color = System.Drawing.Color.White; c1PathIcon1.Data = "M-2.7755575615628892e-17,18.89795939167988 h24 v5.142857098579968 h-24 z"; c1PathIcon1.Size = new System.Drawing.Size(16, 16); c1PathIcon1.Stroke = System.Drawing.Color.Empty; c1PathIcon1.ViewBox = new System.Drawing.Rectangle(0, 0, 24, 24); c1CompositeIcon1.Icons.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("c1CompositeIcon1.Icons"))))); c1CompositeIcon1.Icons.Add(c1PathIcon1); c1CompositeIcon1.Size = new System.Drawing.Size(16, 16); this.cpBackground.IconSet.Add(c1CompositeIcon1); this.cpBackground.Name = "cpBackground"; this.cpBackground.Text = "Background"; this.cpBackground.ToolTip = "Change Main Window Background"; this.cpBackground.SelectedColorChanged += new System.EventHandler(this.cpBackground_SelectedColorChanged); // // cpForeground // this.cpForeground.DefaultColor = System.Drawing.Color.DarkSlateBlue; c1PathIcon2.Color = System.Drawing.Color.DarkSlateBlue; c1PathIcon2.Data = "M-2.7755575615628892e-17,18.89795939167988 h24 v5.142857098579968 h-24 z"; c1PathIcon2.Size = new System.Drawing.Size(16, 16); c1PathIcon2.Stroke = System.Drawing.Color.Empty; c1PathIcon2.ViewBox = new System.Drawing.Rectangle(0, 0, 24, 24); c1CompositeIcon2.Icons.Add(new C1.Framework.C1BitmapIcon(null, new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, ((System.Drawing.Image)(resources.GetObject("c1CompositeIcon2.Icons"))))); c1CompositeIcon2.Icons.Add(c1PathIcon2); c1CompositeIcon2.Size = new System.Drawing.Size(16, 16); this.cpForeground.IconSet.Add(c1CompositeIcon2); this.cpForeground.Name = "cpForeground"; this.cpForeground.Text = "Fore Color"; this.cpForeground.ToolTip = "Change Main Window Fore Color"; this.cpForeground.SelectedColorChanged += new System.EventHandler(this.cpForeground_SelectedColorChanged); // // ribbonTopToolBar1 // this.ribbonTopToolBar1.Name = "ribbonTopToolBar1"; // // c1StatusBar1 // this.c1StatusBar1.LeftPaneItems.Add(this.statusLabel); this.c1StatusBar1.Location = new System.Drawing.Point(0, 770); this.c1StatusBar1.Name = "c1StatusBar1"; this.c1StatusBar1.Size = new System.Drawing.Size(792, 22); // // statusLabel // this.statusLabel.Name = "statusLabel"; this.statusLabel.Text = "Label"; // // ribbonLabel1 // this.ribbonLabel1.Name = "ribbonLabel1"; this.ribbonLabel1.Text = "Label"; // // panel1 // this.panel1.AutoScroll = true; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.panel1.Controls.Add(this.ugridVectorIcons); this.panel1.Controls.Add(this.ugridTemplatedIcons); this.panel1.Controls.Add(this.ugridFontIcons); this.panel1.Controls.Add(this.ugridBitmapIcons); this.panel1.Controls.Add(this.ugridCompositeIcons); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 161); this.panel1.Name = "panel1"; this.panel1.Resize += new System.EventHandler(this.panel1_Resize); this.panel1.Size = new System.Drawing.Size(792, 609); // // ugridVectorIcons // this.ugridVectorIcons.BackColor = System.Drawing.Color.White; this.ugridVectorIcons.Location = new System.Drawing.Point(0, 0); this.ugridVectorIcons.Name = "ugridVectorIcons"; this.ugridVectorIcons.Size = new System.Drawing.Size(792, 609); this.ugridVectorIcons.TabIndex = 0; // // ugridTemplatedIcons // this.ugridTemplatedIcons.Location = new System.Drawing.Point(0, 0); this.ugridTemplatedIcons.Name = "ugridTemplatedIcons"; this.ugridTemplatedIcons.Size = new System.Drawing.Size(792, 609); this.ugridTemplatedIcons.TabIndex = 0; // // ugridFontIcons // this.ugridFontIcons.Location = new System.Drawing.Point(0, 0); this.ugridFontIcons.Name = "ugridFontIcons"; this.ugridFontIcons.Size = new System.Drawing.Size(792, 609); this.ugridFontIcons.TabIndex = 0; // // ugridBitmapIcons // this.ugridBitmapIcons.Location = new System.Drawing.Point(0, 0); this.ugridBitmapIcons.Name = "ugridBitmapIcons"; this.ugridBitmapIcons.Size = new System.Drawing.Size(792, 609); this.ugridBitmapIcons.TabIndex = 0; // // ugridCompositeIcons // this.ugridCompositeIcons.Location = new System.Drawing.Point(0, 0); this.ugridCompositeIcons.Name = "ugridCompositeIcons"; this.ugridCompositeIcons.Size = new System.Drawing.Size(792, 609); this.ugridCompositeIcons.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.BackgroundColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(792, 792); this.Controls.Add(this.panel1); this.Controls.Add(this.c1Ribbon1); this.Controls.Add(this.c1StatusBar1); this.ForeColor = System.Drawing.Color.DarkSlateBlue; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "C1Icon Demo"; ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1StatusBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(Themes3)); C1.Framework.C1PathIcon c1PathIcon10 = new C1.Framework.C1PathIcon(); C1.Framework.C1CompositeIcon c1CompositeIcon5 = new C1.Framework.C1CompositeIcon(); this.c1FlexGrid1 = new C1.Win.C1FlexGrid.C1FlexGrid(); this.employeesBindingSource = new System.Windows.Forms.BindingSource(this.components); this.c1DemoDataSet = new ControlExplorer.C1DemoDataSet(); this.employeesTableAdapter = new ControlExplorer.C1DemoDataSetTableAdapters.EmployeesTableAdapter(); this.c1ThemeController1 = new C1.Win.C1Themes.C1ThemeController(); this.c1Ribbon1 = new C1.Win.Ribbon.C1Ribbon(); this.ribbonApplicationMenu1 = new C1.Win.Ribbon.RibbonApplicationMenu(); this.ribbonBottomToolBar1 = new C1.Win.Ribbon.RibbonBottomToolBar(); this.ribbonConfigToolBar1 = new C1.Win.Ribbon.RibbonConfigToolBar(); this.ribbonQat1 = new C1.Win.Ribbon.RibbonQat(); this.tab1 = new C1.Win.Ribbon.RibbonTab(); this.ribbonGroup1 = new C1.Win.Ribbon.RibbonGroup(); this.ribbonButton2 = new C1.Win.Ribbon.RibbonButton(); this.ribbonButton1 = new C1.Win.Ribbon.RibbonButton(); this.ribbonGroup3 = new C1.Win.Ribbon.RibbonGroup(); this.ribbonComboBox1 = new C1.Win.Ribbon.RibbonComboBox(); this.ribbonGroup4 = new C1.Win.Ribbon.RibbonGroup(); this.ribbonToolBar1 = new C1.Win.Ribbon.RibbonToolBar(); this.ribbonComboBox2 = new C1.Win.Ribbon.RibbonComboBox(); this.rbtnClearFilter1 = new C1.Win.Ribbon.RibbonButton(); this.ribbonToolBar2 = new C1.Win.Ribbon.RibbonToolBar(); this.ribbonDatePicker1 = new C1.Win.Ribbon.RibbonDatePicker(); this.rbtnClearFilter2 = new C1.Win.Ribbon.RibbonButton(); this.ribbonToolBar3 = new C1.Win.Ribbon.RibbonToolBar(); this.ribbonNumericBox1 = new C1.Win.Ribbon.RibbonNumericBox(); this.rbtnClearFilter3 = new C1.Win.Ribbon.RibbonButton(); this.ribbonTab2 = new C1.Win.Ribbon.RibbonTab(); this.ribbonGroup2 = new C1.Win.Ribbon.RibbonGroup(); this.ribbonColorPicker1 = new C1.Win.Ribbon.RibbonColorPicker(); this.ribbonFontComboBox1 = new C1.Win.Ribbon.RibbonFontComboBox(); this.ribbonTopToolBar1 = new C1.Win.Ribbon.RibbonTopToolBar(); ((System.ComponentModel.ISupportInitialize)(this.c1FlexGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1DemoDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).BeginInit(); this.SuspendLayout(); // // c1FlexGrid1 // this.c1FlexGrid1.ColumnInfo = resources.GetString("c1FlexGrid1.ColumnInfo"); this.c1FlexGrid1.DataSource = this.employeesBindingSource; this.c1FlexGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.c1FlexGrid1.Font = new System.Drawing.Font("Segoe UI", 8F); this.c1FlexGrid1.Location = new System.Drawing.Point(0, 0); this.c1FlexGrid1.Name = "c1FlexGrid1"; this.c1FlexGrid1.Rows.Count = 1; this.c1FlexGrid1.ShowThemedHeaders = C1.Win.C1FlexGrid.ShowThemedHeadersEnum.None; this.c1FlexGrid1.Size = new System.Drawing.Size(1036, 503); this.c1FlexGrid1.TabIndex = 0; this.c1ThemeController1.SetTheme(this.c1FlexGrid1, "(default)"); this.c1FlexGrid1.Tree.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(43)))), ((int)(((byte)(43)))), ((int)(((byte)(43))))); // // employeesBindingSource // this.employeesBindingSource.DataMember = "Employees"; this.employeesBindingSource.DataSource = this.c1DemoDataSet; // // c1DemoDataSet // this.c1DemoDataSet.DataSetName = "C1DemoDataSet"; this.c1DemoDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // employeesTableAdapter // this.employeesTableAdapter.ClearBeforeFill = true; // // c1Ribbon1 // this.c1Ribbon1.ApplicationMenuHolder = this.ribbonApplicationMenu1; this.c1Ribbon1.AutoSizeElement = C1.Framework.AutoSizeElement.Width; this.c1Ribbon1.BottomToolBarHolder = this.ribbonBottomToolBar1; this.c1Ribbon1.ConfigToolBarHolder = this.ribbonConfigToolBar1; this.c1Ribbon1.Location = new System.Drawing.Point(0, 0); this.c1Ribbon1.Name = "c1Ribbon1"; this.c1Ribbon1.QatHolder = this.ribbonQat1; this.c1Ribbon1.Size = new System.Drawing.Size(1036, 157); this.c1Ribbon1.Tabs.Add(this.tab1); this.c1Ribbon1.Tabs.Add(this.ribbonTab2); this.c1ThemeController1.SetTheme(this.c1Ribbon1, "(default)"); this.c1Ribbon1.TopToolBarHolder = this.ribbonTopToolBar1; // // ribbonApplicationMenu1 // this.ribbonApplicationMenu1.Name = "ribbonApplicationMenu1"; this.ribbonApplicationMenu1.Visible = false; // // ribbonBottomToolBar1 // this.ribbonBottomToolBar1.Name = "ribbonBottomToolBar1"; // // ribbonConfigToolBar1 // this.ribbonConfigToolBar1.Name = "ribbonConfigToolBar1"; // // ribbonQat1 // this.ribbonQat1.Name = "ribbonQat1"; this.ribbonQat1.Visible = false; // // tab1 // this.tab1.Groups.Add(this.ribbonGroup1); this.tab1.Groups.Add(this.ribbonGroup3); this.tab1.Groups.Add(this.ribbonGroup4); this.tab1.Name = "tab1"; this.tab1.Text = "Home"; // // ribbonGroup1 // this.ribbonGroup1.Items.Add(this.ribbonButton2); this.ribbonGroup1.Items.Add(this.ribbonButton1); this.ribbonGroup1.Name = "ribbonGroup1"; this.ribbonGroup1.Text = "Zoom"; // // ribbonButton2 // this.ribbonButton2.IconSet.Add(new C1.Framework.C1BitmapIcon("ZoomOut", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 510)); this.ribbonButton2.Name = "ribbonButton2"; this.ribbonButton2.Text = "Zoom Out"; this.ribbonButton2.Click += new System.EventHandler(this.ribbonButton2_Click); // // ribbonButton1 // this.ribbonButton1.IconSet.Add(new C1.Framework.C1BitmapIcon("ZoomIn", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 509)); this.ribbonButton1.Name = "ribbonButton1"; this.ribbonButton1.Text = "Zoom In"; this.ribbonButton1.Click += new System.EventHandler(this.ribbonButton1_Click); // // ribbonGroup3 // this.ribbonGroup3.IconSet.Add(new C1.Framework.C1BitmapIcon("Themes", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 462)); this.ribbonGroup3.Items.Add(this.ribbonComboBox1); this.ribbonGroup3.Name = "ribbonGroup3"; this.ribbonGroup3.Text = "Theme"; // // ribbonComboBox1 // this.ribbonComboBox1.Label = "Theme:"; this.ribbonComboBox1.Name = "ribbonComboBox1"; this.ribbonComboBox1.TextAreaWidth = 180; this.ribbonComboBox1.SelectedIndexChanged += new System.EventHandler(this.ribbonComboBox1_SelectedIndexChanged); // // ribbonGroup4 // this.ribbonGroup4.IconSet.Add(new C1.Framework.C1BitmapIcon("AdvancedFilter", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 4)); this.ribbonGroup4.Items.Add(this.ribbonToolBar1); this.ribbonGroup4.Items.Add(this.ribbonToolBar2); this.ribbonGroup4.Items.Add(this.ribbonToolBar3); this.ribbonGroup4.Name = "ribbonGroup4"; this.ribbonGroup4.Text = "Filters"; // // ribbonToolBar1 // this.ribbonToolBar1.Items.Add(this.ribbonComboBox2); this.ribbonToolBar1.Items.Add(this.rbtnClearFilter1); this.ribbonToolBar1.MarginBottom = 1; this.ribbonToolBar1.MarginTop = 0; this.ribbonToolBar1.Name = "ribbonToolBar1"; // // ribbonComboBox2 // this.ribbonComboBox2.Label = "Last name:"; this.ribbonComboBox2.LabelWidth = 78; this.ribbonComboBox2.Name = "ribbonComboBox2"; this.ribbonComboBox2.TextAreaWidth = 90; this.ribbonComboBox2.TextChanged += new System.EventHandler(this.ribbonComboBox2_TextChanged); // // rbtnClearFilter1 // this.rbtnClearFilter1.Enabled = false; this.rbtnClearFilter1.IconSet.Add(new C1.Framework.C1BitmapIcon("ClearFilter", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 69)); this.rbtnClearFilter1.Name = "rbtnClearFilter1"; this.rbtnClearFilter1.ShowInMore = false; this.rbtnClearFilter1.Click += new System.EventHandler(this.rbtnClearFilter1_Click); // // ribbonToolBar2 // this.ribbonToolBar2.Items.Add(this.ribbonDatePicker1); this.ribbonToolBar2.Items.Add(this.rbtnClearFilter2); this.ribbonToolBar2.MarginBottom = 1; this.ribbonToolBar2.MarginTop = 0; this.ribbonToolBar2.Name = "ribbonToolBar2"; // // ribbonDatePicker1 // this.ribbonDatePicker1.Label = "Birth date:"; this.ribbonDatePicker1.LabelWidth = 78; this.ribbonDatePicker1.Name = "ribbonDatePicker1"; this.ribbonDatePicker1.TextAreaWidth = 80; this.ribbonDatePicker1.Value = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); this.ribbonDatePicker1.ValueChanged += new System.EventHandler(this.ribbonDatePicker1_ValueChanged); // // rbtnClearFilter2 // this.rbtnClearFilter2.Enabled = false; this.rbtnClearFilter2.IconSet.Add(new C1.Framework.C1BitmapIcon("ClearFilter", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 69)); this.rbtnClearFilter2.Name = "rbtnClearFilter2"; this.rbtnClearFilter2.ShowInMore = false; this.rbtnClearFilter2.Click += new System.EventHandler(this.rbtnClearFilter2_Click); // // ribbonToolBar3 // this.ribbonToolBar3.Items.Add(this.ribbonNumericBox1); this.ribbonToolBar3.Items.Add(this.rbtnClearFilter3); this.ribbonToolBar3.MarginBottom = 1; this.ribbonToolBar3.MarginTop = 0; this.ribbonToolBar3.Name = "ribbonToolBar3"; // // ribbonNumericBox1 // this.ribbonNumericBox1.Label = "Employee Id:"; this.ribbonNumericBox1.LabelWidth = 78; this.ribbonNumericBox1.Name = "ribbonNumericBox1"; this.ribbonNumericBox1.TextAreaWidth = 87; this.ribbonNumericBox1.ValueChanged += new System.EventHandler(this.ribbonNumericBox1_ValueChanged); // // rbtnClearFilter3 // this.rbtnClearFilter3.Enabled = false; this.rbtnClearFilter3.IconSet.Add(new C1.Framework.C1BitmapIcon("ClearFilter", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", 69)); this.rbtnClearFilter3.Name = "rbtnClearFilter3"; this.rbtnClearFilter3.ShowInMore = false; this.rbtnClearFilter3.Click += new System.EventHandler(this.rbtnClearFilter3_Click); // // ribbonTab2 // this.ribbonTab2.Groups.Add(this.ribbonGroup2); this.ribbonTab2.Name = "ribbonTab2"; this.ribbonTab2.Text = "Text"; // // ribbonGroup2 // this.ribbonGroup2.Items.Add(this.ribbonColorPicker1); this.ribbonGroup2.Items.Add(this.ribbonFontComboBox1); this.ribbonGroup2.Name = "ribbonGroup2"; this.ribbonGroup2.Text = "Font"; // // ribbonColorPicker1 // c1PathIcon10.AllowSmoothing = false; c1PathIcon10.Color = System.Drawing.Color.Red; c1PathIcon10.Data = "M-2.7755575615628892e-17,18.89795939167988 h24 v5.142857098579968 h-24 z"; c1PathIcon10.Size = new System.Drawing.Size(16, 16); c1PathIcon10.ViewBox = new System.Drawing.Rectangle(0, 0, 24, 24); c1PathIcon10.Stroke = System.Drawing.Color.Empty; c1CompositeIcon5.Icons.Add(new C1.Framework.C1BitmapIcon("FontColor", new System.Drawing.Size(16, 16), System.Drawing.Color.Transparent, "Preset_SmallImages", -1)); c1CompositeIcon5.Icons.Add(c1PathIcon10); c1CompositeIcon5.Size = new System.Drawing.Size(16, 16); this.ribbonColorPicker1.IconSet.Add(c1CompositeIcon5); this.ribbonColorPicker1.Name = "ribbonColorPicker1"; this.ribbonColorPicker1.SelectedColorChanged += new System.EventHandler(this.ribbonColorPicker1_SelectedColorChanged); // // ribbonFontComboBox1 // this.ribbonFontComboBox1.Name = "ribbonFontComboBox1"; this.ribbonFontComboBox1.SelectedIndexChanged += new System.EventHandler(this.ribbonFontComboBox1_SelectedIndexChanged); // // ribbonTopToolBar1 // this.ribbonTopToolBar1.Name = "ribbonTopToolBar1"; // // Themes3 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1036, 503); this.Controls.Add(this.c1Ribbon1); this.Controls.Add(this.c1FlexGrid1); this.Font = new System.Drawing.Font("Segoe UI", 8F); this.Name = "Themes3"; this.Text = "Themes3"; this.c1ThemeController1.SetTheme(this, "(default)"); this.Load += new System.EventHandler(this.Themes3_Load); ((System.ComponentModel.ISupportInitialize)(this.c1FlexGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.employeesBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1DemoDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1ThemeController1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Ribbon1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }