コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager          resources   = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbtextBox1 = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
     Syncfusion.Windows.Forms.MetroColorTable metroColorTable1           = new Syncfusion.Windows.Forms.MetroColorTable();
     this.dockingManager1      = new Syncfusion.Windows.Forms.Tools.DockingManager(this.components);
     this.textBox1             = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
     this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Hauptmenu");
     this.parentBarItem3         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem1               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem2               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem3               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem10              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem4               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem4         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem5               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem6               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem7               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
     this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
     this.colorUIControl1        = new Syncfusion.Windows.Forms.ColorUIControl();
     this.barItem8               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem5         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem9               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.windowItem             = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.mdiListBarItem1        = new Syncfusion.Windows.Forms.Tools.XPMenus.MdiListBarItem();
     this.bar2                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Standard");
     this.menuList               = new System.Windows.Forms.ImageList(this.components);
     this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.parentBarItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     ((System.ComponentModel.ISupportInitialize)(this.dockingManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
     this.popupControlContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // dockingManager1
     //
     this.dockingManager1.ActiveCaptionFont         = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.dockingManager1.DockLayoutStream          = ((System.IO.MemoryStream)(resources.GetObject("dockingManager1.DockLayoutStream")));
     this.dockingManager1.EnableAutoAdjustCaption   = true;
     this.dockingManager1.HostControl               = this;
     this.dockingManager1.InActiveCaptionBackground = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(209)))), ((int)(((byte)(211)))), ((int)(((byte)(212))))));
     this.dockingManager1.InActiveCaptionFont       = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World);
     this.dockingManager1.MetroButtonColor          = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.dockingManager1.MetroColor             = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.dockingManager1.MetroSplitterBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(159)))), ((int)(((byte)(183)))));
     this.dockingManager1.ReduceFlickeringInRtl  = false;
     this.dockingManager1.VisualStyle            = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Close, "CloseButton"));
     this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Pin, "PinButton"));
     this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Menu, "MenuButton"));
     this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Maximize, "MaximizeButton"));
     this.dockingManager1.SetDockLabel(this.textBox1, "Lokalisation");
     this.dockingManager1.SetEnableDocking(this.textBox1, true);
     ccbtextBox1.MergeWith(this.dockingManager1.CaptionButtons, false);
     this.dockingManager1.SetCustomCaptionButtons(this.textBox1, ccbtextBox1);
     //
     // textBox1
     //
     this.textBox1.BeforeTouchSize = new System.Drawing.Size(686, 124);
     this.textBox1.Location        = new System.Drawing.Point(1, 24);
     this.textBox1.Metrocolor      = System.Drawing.Color.Empty;
     this.textBox1.Multiline       = true;
     this.textBox1.Name            = "textBox1";
     this.textBox1.Size            = new System.Drawing.Size(686, 124);
     this.textBox1.Style           = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Default;
     this.textBox1.TabIndex        = 5;
     this.textBox1.Text            = "This Sample shows the Localization of Syncfusion Menus, Docking Manager" +
                                     " and ColorUIPicker.";
     //
     // mainFrameBarManager1
     //
     this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
     this.mainFrameBarManager1.Bars.Add(this.bar1);
     this.mainFrameBarManager1.Bars.Add(this.bar2);
     this.mainFrameBarManager1.Categories.Add("File");
     this.mainFrameBarManager1.Categories.Add("Edit");
     this.mainFrameBarManager1.Categories.Add("Help");
     this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
     this.mainFrameBarManager1.EnableMenuMerge     = true;
     this.mainFrameBarManager1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainFrameBarManager1.Form      = this;
     this.mainFrameBarManager1.ImageList = this.menuList;
     this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem3,
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem10,
         this.parentBarItem4,
         this.barItem4,
         this.barItem5,
         this.barItem6,
         this.barItem7,
         this.barItem8,
         this.parentBarItem5,
         this.barItem9,
         this.windowItem,
         this.mdiListBarItem1,
         this.dropDownBarItem1
     });
     this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
     this.mainFrameBarManager1.ResetCustomization = false;
     this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.mainFrameBarManager1.UseBackwardCompatiblity = false;
     //
     // bar1
     //
     this.bar1.BarName  = "Hauptmenu";
     this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu)
                                                                               | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
     this.bar1.Caption = "Hauptmenu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem3,
         this.parentBarItem4,
         this.parentBarItem5,
         this.windowItem
     });
     this.bar1.Manager = this.mainFrameBarManager1;
     //
     // parentBarItem3
     //
     this.parentBarItem3.BarName        = "parentBarItem3";
     this.parentBarItem3.CategoryIndex  = 0;
     this.parentBarItem3.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem3.ID             = "&File";
     this.parentBarItem3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem10,
         this.barItem4
     });
     this.parentBarItem3.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
     this.parentBarItem3.SeparatorIndices.AddRange(new int[] {
         2,
         4
     });
     this.parentBarItem3.ShowToolTipInPopUp = false;
     this.parentBarItem3.SizeToFit          = true;
     this.parentBarItem3.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem3.Text       = "&Akte";
     this.parentBarItem3.WrapLength = 20;
     //
     // barItem1
     //
     this.barItem1.BarName            = "barItem1";
     this.barItem1.CategoryIndex      = 0;
     this.barItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem1.ID                 = "&New";
     this.barItem1.ImageIndex         = 0;
     this.barItem1.PaintStyle         = Syncfusion.Windows.Forms.Tools.XPMenus.PaintStyle.ImageAndText;
     this.barItem1.Shortcut           = System.Windows.Forms.Shortcut.CtrlN;
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "&Neu";
     this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
     //
     // barItem2
     //
     this.barItem2.BarName            = "barItem2";
     this.barItem2.CategoryIndex      = 0;
     this.barItem2.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem2.ID                 = "&Open";
     this.barItem2.ImageIndex         = 1;
     this.barItem2.Shortcut           = System.Windows.Forms.Shortcut.CtrlO;
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "Geoffnet";
     //
     // barItem3
     //
     this.barItem3.BarName            = "barItem3";
     this.barItem3.CategoryIndex      = 0;
     this.barItem3.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem3.ID                 = "&Save";
     this.barItem3.ImageIndex         = 2;
     this.barItem3.Shortcut           = System.Windows.Forms.Shortcut.CtrlS;
     this.barItem3.ShowToolTipInPopUp = false;
     this.barItem3.SizeToFit          = true;
     this.barItem3.Text               = "Auber";
     //
     // barItem10
     //
     this.barItem10.BarName            = "barItem10";
     this.barItem10.CategoryIndex      = 0;
     this.barItem10.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem10.ID                 = "Save &As..";
     this.barItem10.ShowToolTipInPopUp = false;
     this.barItem10.SizeToFit          = true;
     this.barItem10.Text               = "Auber wie..";
     //
     // barItem4
     //
     this.barItem4.BarName            = "barItem4";
     this.barItem4.CategoryIndex      = 0;
     this.barItem4.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem4.ID                 = "E&xit";
     this.barItem4.ImageIndex         = 3;
     this.barItem4.Shortcut           = System.Windows.Forms.Shortcut.AltF4;
     this.barItem4.ShowToolTipInPopUp = false;
     this.barItem4.SizeToFit          = true;
     this.barItem4.Text               = "Ausgang";
     this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
     //
     // parentBarItem4
     //
     this.parentBarItem4.BarName        = "parentBarItem4";
     this.parentBarItem4.CategoryIndex  = 1;
     this.parentBarItem4.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem4.ID             = "&Edit";
     this.parentBarItem4.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem5,
         this.barItem6,
         this.barItem7,
         this.dropDownBarItem1,
         this.barItem8
     });
     this.parentBarItem4.MergeOrder = 1;
     this.parentBarItem4.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
     this.parentBarItem4.SeparatorIndices.AddRange(new int[] {
         4
     });
     this.parentBarItem4.ShowToolTipInPopUp = false;
     this.parentBarItem4.SizeToFit          = true;
     this.parentBarItem4.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem4.Text       = "&Redigieren Sie";
     this.parentBarItem4.WrapLength = 20;
     //
     // barItem5
     //
     this.barItem5.BarName            = "barItem5";
     this.barItem5.CategoryIndex      = 1;
     this.barItem5.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem5.ID                 = "Cu&t";
     this.barItem5.ImageIndex         = 4;
     this.barItem5.ShowToolTipInPopUp = false;
     this.barItem5.SizeToFit          = true;
     this.barItem5.Text               = "Redigieren";
     //
     // barItem6
     //
     this.barItem6.BarName            = "barItem6";
     this.barItem6.CategoryIndex      = 1;
     this.barItem6.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem6.ID                 = "&Copy";
     this.barItem6.ImageIndex         = 5;
     this.barItem6.ShowToolTipInPopUp = false;
     this.barItem6.SizeToFit          = true;
     this.barItem6.Text               = "&Copy";
     //
     // barItem7
     //
     this.barItem7.BarName            = "barItem7";
     this.barItem7.CategoryIndex      = 1;
     this.barItem7.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem7.ID                 = "&Paste";
     this.barItem7.ImageIndex         = 6;
     this.barItem7.ShowToolTipInPopUp = false;
     this.barItem7.SizeToFit          = true;
     this.barItem7.Text               = "&Paste";
     //
     // dropDownBarItem1
     //
     this.dropDownBarItem1.BarName               = "dropDownBarItem1";
     this.dropDownBarItem1.CategoryIndex         = 1;
     this.dropDownBarItem1.CustomTextFont        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dropDownBarItem1.ID                    = "Choose Color:";
     this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer1;
     this.dropDownBarItem1.ShowToolTipInPopUp    = false;
     this.dropDownBarItem1.SizeToFit             = true;
     this.dropDownBarItem1.Text                  = "Farbe wahlen:";
     //
     // popupControlContainer1
     //
     this.popupControlContainer1.Controls.Add(this.colorUIControl1);
     this.popupControlContainer1.Location = new System.Drawing.Point(272, 80);
     this.popupControlContainer1.Name     = "popupControlContainer1";
     this.popupControlContainer1.Size     = new System.Drawing.Size(176, 176);
     this.popupControlContainer1.TabIndex = 9;
     this.popupControlContainer1.Visible  = false;
     //
     // colorUIControl1
     //
     this.colorUIControl1.BeforeTouchSize         = new System.Drawing.Size(176, 176);
     this.colorUIControl1.Dock                    = System.Windows.Forms.DockStyle.Fill;
     this.colorUIControl1.Flag                    = false;
     this.colorUIControl1.Location                = new System.Drawing.Point(0, 0);
     this.colorUIControl1.MetroColor              = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
     this.colorUIControl1.MetroForeColor          = System.Drawing.Color.White;
     this.colorUIControl1.Name                    = "colorUIControl1";
     metroColorTable1.ArrowChecked                = System.Drawing.Color.Black;
     metroColorTable1.ArrowNormal                 = System.Drawing.Color.White;
     metroColorTable1.ArrowNormal                 = System.Drawing.Color.Gray;
     metroColorTable1.ArrowNormalBackGround       = System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(198)))), ((int)(((byte)(198)))));
     metroColorTable1.ArrowPushed                 = System.Drawing.Color.Black;
     metroColorTable1.ArrowPushedBackGround       = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
     metroColorTable1.ScrollerBackground          = System.Drawing.Color.White;
     metroColorTable1.ThumbChecked                = System.Drawing.Color.Black;
     metroColorTable1.ThumbNormal                 = System.Drawing.Color.White;
     metroColorTable1.ThumbNormal                 = System.Drawing.Color.Gray;
     metroColorTable1.ThumbPushed                 = System.Drawing.Color.Black;
     metroColorTable1.ThumbPushedBorder           = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(89)))), ((int)(((byte)(90)))));
     this.colorUIControl1.ScrollMetroColorTable   = metroColorTable1;
     this.colorUIControl1.ShowUserSelectionColors = true;
     this.colorUIControl1.Size                    = new System.Drawing.Size(176, 176);
     this.colorUIControl1.TabIndex                = 0;
     this.colorUIControl1.Text                    = "colorUIControl1";
     this.colorUIControl1.VisualStyle             = Syncfusion.Windows.Forms.ColorUIStyle.Metro;
     //
     // barItem8
     //
     this.barItem8.BarName            = "barItem8";
     this.barItem8.CategoryIndex      = 1;
     this.barItem8.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem8.ID                 = "Select &All";
     this.barItem8.ShowToolTipInPopUp = false;
     this.barItem8.SizeToFit          = true;
     this.barItem8.Text               = "Alle vorwahlen";
     //
     // parentBarItem5
     //
     this.parentBarItem5.BarName        = "parentBarItem5";
     this.parentBarItem5.CategoryIndex  = 3;
     this.parentBarItem5.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem5.ID             = "&Help";
     this.parentBarItem5.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem9
     });
     this.parentBarItem5.MergeOrder         = 3;
     this.parentBarItem5.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
     this.parentBarItem5.ShowToolTipInPopUp = false;
     this.parentBarItem5.SizeToFit          = true;
     this.parentBarItem5.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem5.Text       = "&Hilfe";
     this.parentBarItem5.WrapLength = 20;
     //
     // barItem9
     //
     this.barItem9.BarName            = "barItem9";
     this.barItem9.CategoryIndex      = 2;
     this.barItem9.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.barItem9.ID                 = "A&bout...";
     this.barItem9.ShowToolTipInPopUp = false;
     this.barItem9.SizeToFit          = true;
     this.barItem9.Text               = "Uber...";
     //
     // windowItem
     //
     this.windowItem.BarName        = "windowItem";
     this.windowItem.CategoryIndex  = 2;
     this.windowItem.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.windowItem.ID             = "&Window";
     this.windowItem.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.mdiListBarItem1
     });
     this.windowItem.MergeOrder         = 2;
     this.windowItem.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(201)))), ((int)(((byte)(232)))));
     this.windowItem.ShowToolTipInPopUp = false;
     this.windowItem.SizeToFit          = true;
     this.windowItem.Style      = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.windowItem.Text       = "Fenster";
     this.windowItem.WrapLength = 20;
     //
     // mdiListBarItem1
     //
     this.mdiListBarItem1.BarName            = "mdiListBarItem1";
     this.mdiListBarItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mdiListBarItem1.ID                 = "Window List";
     this.mdiListBarItem1.ShowToolTipInPopUp = false;
     this.mdiListBarItem1.SizeToFit          = true;
     //
     // bar2
     //
     this.bar2.BarName = "Standard";
     this.bar2.Caption = "Standard";
     this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3
     });
     this.bar2.Manager = this.mainFrameBarManager1;
     this.bar2.SeparatorIndices.AddRange(new int[] {
         2
     });
     //
     // menuList
     //
     this.menuList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("menuList.ImageStream")));
     this.menuList.TransparentColor = System.Drawing.Color.Transparent;
     this.menuList.Images.SetKeyName(0, "");
     this.menuList.Images.SetKeyName(1, "");
     this.menuList.Images.SetKeyName(2, "");
     this.menuList.Images.SetKeyName(3, "");
     this.menuList.Images.SetKeyName(4, "");
     this.menuList.Images.SetKeyName(5, "");
     this.menuList.Images.SetKeyName(6, "");
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName            = "parentBarItem1";
     this.parentBarItem1.ID                 = "Item";
     this.parentBarItem1.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Style              = Syncfusion.Windows.Forms.VisualStyle.Office2003;
     this.parentBarItem1.Text               = "Item";
     this.parentBarItem1.WrapLength         = 20;
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName            = "parentBarItem2";
     this.parentBarItem2.ID                 = "ParentBarItem";
     this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Style              = Syncfusion.Windows.Forms.VisualStyle.Office2003;
     this.parentBarItem2.Text               = "Window";
     this.parentBarItem2.WrapLength         = 20;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.ClientSize        = new System.Drawing.Size(688, 478);
     this.Controls.Add(this.popupControlContainer1);
     this.DropShadow     = true;
     this.Font           = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon           = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IsMdiContainer = true;
     this.Name           = "Form1";
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "Lokalisation-Demo ";
     this.Load          += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dockingManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
     this.popupControlContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: syncfusion/winforms-demos
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager          resources          = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel1  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel2  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel3  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel4  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel5  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel6  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel7  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel8  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel9  = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel10 = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection ccbgradientPanel11 = new Syncfusion.Windows.Forms.Tools.CaptionButtonsCollection();
            this.dockingManager1 = new Syncfusion.Windows.Forms.Tools.DockingManager(this.components);
            this.gradientPanel1  = new System.Windows.Forms.Panel();
            this.gradientPanel2  = new System.Windows.Forms.Panel();
            this.gradientPanel3  = new System.Windows.Forms.Panel();
            this.gradientPanel4  = new System.Windows.Forms.Panel();
            this.gradientPanel5  = new System.Windows.Forms.Panel();
            this.gradientPanel6  = new System.Windows.Forms.Panel();
            this.gradientPanel7  = new System.Windows.Forms.Panel();
            this.gradientPanel8  = new System.Windows.Forms.Panel();
            this.gradientPanel9  = new System.Windows.Forms.Panel();
            this.gradientPanel10 = new System.Windows.Forms.Panel();
            this.gradientPanel11 = new System.Windows.Forms.Panel();
            this.gradientPanel12 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
            this.comboBoxAdv3    = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            this.comboBoxAdv1    = new Syncfusion.Windows.Forms.Tools.ComboBoxAdv();
            this.autoLabel6      = new System.Windows.Forms.Label();
            this.autoLabel5      = new System.Windows.Forms.Label();
            this.autoLabel2      = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.dockingManager1)).BeginInit();
            this.gradientPanel12.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).BeginInit();
            this.SuspendLayout();
            //
            // dockingManager1
            //
            this.dockingManager1.AnimateAutoHiddenWindow = true;
            this.dockingManager1.AutoHideTabForeColor    = System.Drawing.Color.Empty;
            this.dockingManager1.CloseTabOnMiddleClick   = false;
#if !NETCORE
            this.dockingManager1.DockLayoutStream = ((System.IO.MemoryStream)(resources.GetObject("dockingManager1.DockLayoutStream")));
#endif
            this.dockingManager1.HostControl            = this;
            this.dockingManager1.MetroButtonColor       = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
            this.dockingManager1.MetroColor             = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(158)))), ((int)(((byte)(218)))));
            this.dockingManager1.MetroSplitterBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(159)))), ((int)(((byte)(183)))));
            this.dockingManager1.ReduceFlickeringInRtl  = false;
            this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Close, "CloseButton"));
            this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Pin, "PinButton"));
            this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Maximize, "MaximizeButton"));
            this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Restore, "RestoreButton"));
            this.dockingManager1.CaptionButtons.Add(new Syncfusion.Windows.Forms.Tools.CaptionButton(Syncfusion.Windows.Forms.Tools.CaptionButtonType.Menu, "MenuButton"));
            this.dockingManager1.SetDockLabel(this.gradientPanel1, "gradientPanel1");
            this.dockingManager1.SetEnableDocking(this.gradientPanel1, true);
            ccbgradientPanel1.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel1, ccbgradientPanel1);
            this.dockingManager1.SetDockLabel(this.gradientPanel2, "gradientPanel2");
            this.dockingManager1.SetEnableDocking(this.gradientPanel2, true);
            ccbgradientPanel2.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel2, ccbgradientPanel2);
            this.dockingManager1.SetDockLabel(this.gradientPanel3, "gradientPanel3");
            this.dockingManager1.SetEnableDocking(this.gradientPanel3, true);
            ccbgradientPanel3.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel3, ccbgradientPanel3);
            this.dockingManager1.SetDockLabel(this.gradientPanel4, "gradientPanel4");
            this.dockingManager1.SetEnableDocking(this.gradientPanel4, true);
            ccbgradientPanel4.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel4, ccbgradientPanel4);
            this.dockingManager1.SetDockLabel(this.gradientPanel5, "gradientPanel5");
            this.dockingManager1.SetEnableDocking(this.gradientPanel5, true);
            ccbgradientPanel5.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel5, ccbgradientPanel5);
            this.dockingManager1.SetDockLabel(this.gradientPanel6, "gradientPanel6");
            this.dockingManager1.SetEnableDocking(this.gradientPanel6, true);
            ccbgradientPanel6.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel6, ccbgradientPanel6);
            this.dockingManager1.SetDockLabel(this.gradientPanel7, "gradientPanel7");
            this.dockingManager1.SetEnableDocking(this.gradientPanel7, true);
            ccbgradientPanel7.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel7, ccbgradientPanel7);
            this.dockingManager1.SetDockLabel(this.gradientPanel8, "gradientPanel8");
            this.dockingManager1.SetEnableDocking(this.gradientPanel8, true);
            ccbgradientPanel8.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel8, ccbgradientPanel8);
            this.dockingManager1.SetDockLabel(this.gradientPanel9, "gradientPanel9");
            this.dockingManager1.SetEnableDocking(this.gradientPanel9, true);
            ccbgradientPanel9.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel9, ccbgradientPanel9);
            this.dockingManager1.SetDockLabel(this.gradientPanel10, "gradientPanel10");
            this.dockingManager1.SetEnableDocking(this.gradientPanel10, true);
            ccbgradientPanel10.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel10, ccbgradientPanel10);
            this.dockingManager1.SetDockLabel(this.gradientPanel11, "gradientPanel11");
            this.dockingManager1.SetEnableDocking(this.gradientPanel11, true);
            ccbgradientPanel11.MergeWith(this.dockingManager1.CaptionButtons, false);
            this.dockingManager1.SetCustomCaptionButtons(this.gradientPanel11, ccbgradientPanel11);
            //
            // gradientPanel1
            //
            this.gradientPanel1.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel1.Name     = "gradientPanel1";
            this.gradientPanel1.Size     = new System.Drawing.Size(75, 693);
            this.gradientPanel1.TabIndex = 0;
            //
            // gradientPanel2
            //
            this.gradientPanel2.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel2.Name     = "gradientPanel2";
            this.gradientPanel2.Size     = new System.Drawing.Size(63, 693);
            this.gradientPanel2.TabIndex = 2;
            //
            // gradientPanel3
            //
            this.gradientPanel3.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel3.Name     = "gradientPanel3";
            this.gradientPanel3.Size     = new System.Drawing.Size(69, 693);
            this.gradientPanel3.TabIndex = 3;
            //
            // gradientPanel4
            //
            this.gradientPanel4.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel4.Name     = "gradientPanel4";
            this.gradientPanel4.Size     = new System.Drawing.Size(59, 693);
            this.gradientPanel4.TabIndex = 8;
            //
            // gradientPanel5
            //
            this.gradientPanel5.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel5.Name     = "gradientPanel5";
            this.gradientPanel5.Size     = new System.Drawing.Size(66, 693);
            this.gradientPanel5.TabIndex = 9;
            //
            // gradientPanel6
            //
            this.gradientPanel6.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel6.Name     = "gradientPanel6";
            this.gradientPanel6.Size     = new System.Drawing.Size(71, 693);
            this.gradientPanel6.TabIndex = 14;
            //
            // gradientPanel7
            //
            this.gradientPanel7.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel7.Name     = "gradientPanel7";
            this.gradientPanel7.Size     = new System.Drawing.Size(90, 693);
            this.gradientPanel7.TabIndex = 15;
            //
            // gradientPanel8
            //
            this.gradientPanel8.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel8.Name     = "gradientPanel8";
            this.gradientPanel8.Size     = new System.Drawing.Size(87, 693);
            this.gradientPanel8.TabIndex = 20;
            //
            // gradientPanel9
            //
            this.gradientPanel9.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel9.Name     = "gradientPanel9";
            this.gradientPanel9.Size     = new System.Drawing.Size(74, 693);
            this.gradientPanel9.TabIndex = 22;
            //
            // gradientPanel10
            //
            this.gradientPanel10.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel10.Name     = "gradientPanel10";
            this.gradientPanel10.Size     = new System.Drawing.Size(83, 693);
            this.gradientPanel10.TabIndex = 24;
            //
            // gradientPanel11
            //
            this.gradientPanel11.Location = new System.Drawing.Point(1, 24);
            this.gradientPanel11.Name     = "gradientPanel11";
            this.gradientPanel11.Size     = new System.Drawing.Size(50, 693);
            this.gradientPanel11.TabIndex = 26;
            //
            // gradientPanel12
            //
            this.gradientPanel12.Controls.Add(this.comboBoxAdv3);
            this.gradientPanel12.Controls.Add(this.comboBoxAdv1);
            this.gradientPanel12.Controls.Add(this.autoLabel6);
            this.gradientPanel12.Controls.Add(this.autoLabel5);
            this.gradientPanel12.Controls.Add(this.autoLabel2);
            this.gradientPanel12.Dock     = System.Windows.Forms.DockStyle.Right;
            this.gradientPanel12.Location = new System.Drawing.Point(860, 2);
            this.gradientPanel12.Name     = "gradientPanel12";
            this.gradientPanel12.Size     = new System.Drawing.Size(300, 718);
            this.gradientPanel12.TabIndex = 28;
            //
            // comboBoxAdv3
            //
            this.comboBoxAdv3.BeforeTouchSize = new System.Drawing.Size(161, 21);
            this.comboBoxAdv3.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxAdv3.Items.AddRange(new object[] {
                "Left",
                "Right",
                "Top",
                "Bottom"
            });
            this.comboBoxAdv3.Location = new System.Drawing.Point(126, 73);
            this.comboBoxAdv3.Name     = "comboBoxAdv3";
            this.comboBoxAdv3.Size     = new System.Drawing.Size(161, 21);
            this.comboBoxAdv3.TabIndex = 39;
            this.comboBoxAdv3.Text     = "Left";
            //
            // comboBoxAdv1
            //
            this.comboBoxAdv1.BeforeTouchSize = new System.Drawing.Size(161, 21);
            this.comboBoxAdv1.DropDownStyle   = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBoxAdv1.Items.AddRange(new object[] {
                "Metro",
                "Office2016Colorful",
                "Office2016White",
                "Office2016Black",
                "Office2016DarkGray",
                "Office2019Colorful",
                "HighContrastBlack"
            });
            this.comboBoxAdv1.Location = new System.Drawing.Point(126, 117);
            this.comboBoxAdv1.Name     = "comboBoxAdv1";
            this.comboBoxAdv1.Size     = new System.Drawing.Size(161, 21);
            this.comboBoxAdv1.TabIndex = 37;
            this.comboBoxAdv1.Text     = "Metro";
            //
            // autoLabel6
            //
            this.autoLabel6.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.autoLabel6.Location = new System.Drawing.Point(88, 24);
            this.autoLabel6.Name     = "autoLabel6";
            this.autoLabel6.Size     = new System.Drawing.Size(81, 20);
            this.autoLabel6.TabIndex = 36;
            this.autoLabel6.Text     = "Properties";
            //
            // autoLabel5
            //
            this.autoLabel5.Location = new System.Drawing.Point(7, 117);
            this.autoLabel5.Name     = "autoLabel5";
            this.autoLabel5.Size     = new System.Drawing.Size(69, 13);
            this.autoLabel5.TabIndex = 32;
            this.autoLabel5.Text     = "Visual Style";
            //
            // autoLabel2
            //
            this.autoLabel2.Location = new System.Drawing.Point(7, 73);
            this.autoLabel2.Name     = "autoLabel2";
            this.autoLabel2.Size     = new System.Drawing.Size(113, 13);
            this.autoLabel2.TabIndex = 31;
            this.autoLabel2.Text     = "Dock Tab Alignment";
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1162, 722);
            this.Controls.Add(this.gradientPanel12);
            this.Name = "Form1";
            this.Text = "Docking Manager";
            ((System.ComponentModel.ISupportInitialize)(this.dockingManager1)).EndInit();
            this.gradientPanel12.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxAdv1)).EndInit();
            this.ResumeLayout(false);
        }