Пример #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
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer2 = new Syncfusion.Windows.Forms.PopupControlContainer(this.components);
            this.colorPickerUIAdv2      = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
            this.dropDownBarItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.colorPickerUIAdv1      = new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.popupControlContainer2.SuspendLayout();
            this.popupControlContainer1.SuspendLayout();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor       = System.Drawing.SystemColors.Window;
            this.editControl1.BackgroundColor = new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.Horizontal, System.Drawing.Color.Beige, System.Drawing.Color.IndianRed);
            this.editControl1.BorderStyle     = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.ChangedLinesMarkingLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(238)))), ((int)(((byte)(98)))));
            this.editControl1.CodeSnipptSize                = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator                  = config1;
            this.editControl1.ContextChoiceBackColor        = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245)))));
            this.editControl1.ContextChoiceForeColor        = System.Drawing.SystemColors.InfoText;
            this.editControl1.ContextPromptBackgroundBrush  = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(245)))), ((int)(((byte)(245))))));
            this.editControl1.ContextTooltipBackgroundBrush = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(232)))), ((int)(((byte)(236))))));
            this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersColor         = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                                = new System.Drawing.Point(10, 40);
            this.editControl1.MarkChangedLines                        = true;
            this.editControl1.Name                                    = "editControl1";
            this.editControl1.RenderRightToLeft                       = false;
            this.editControl1.ScrollPosition                          = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle                       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SelectionTextColor                      = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(214)))), ((int)(((byte)(255)))));
            this.editControl1.ShowHorizontalSplitters                 = false;
            this.editControl1.ShowIndicatorMargin                     = false;
            this.editControl1.ShowSelectionMargin                     = false;
            this.editControl1.ShowVerticalSplitters                   = false;
            this.editControl1.Size                                    = new System.Drawing.Size(546, 411);
            this.editControl1.StatusBarSettings.CoordsPanel.Width     = 150;
            this.editControl1.StatusBarSettings.EncodingPanel.Width   = 100;
            this.editControl1.StatusBarSettings.FileNamePanel.Width   = 100;
            this.editControl1.StatusBarSettings.InsertPanel.Width     = 33;
            this.editControl1.StatusBarSettings.Offcie2007ColorScheme = Syncfusion.Windows.Forms.Office2007Theme.Blue;
            this.editControl1.StatusBarSettings.Offcie2010ColorScheme = Syncfusion.Windows.Forms.Office2010Theme.Blue;
            this.editControl1.StatusBarSettings.StatusPanel.Width     = 70;
            this.editControl1.StatusBarSettings.TextPanel.Width       = 80;
            this.editControl1.StatusBarSettings.VisualStyle           = Syncfusion.Windows.Forms.Tools.Controls.StatusBar.VisualStyle.Default;
            this.editControl1.TabIndex                                = 0;
            this.editControl1.Text                                    = "editControl1\n\n\n";
            this.editControl1.TransferFocusOnTab                      = true;
            this.editControl1.UseXPStyleBorder                        = true;
            this.editControl1.VisualColumn                            = 1;
            this.editControl1.VScrollMode                             = Syncfusion.Windows.Forms.Edit.ScrollMode.Immediate;
            this.editControl1.WordWrap                                = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.EnableMenuMerge     = true;
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.parentBarItem2,
                this.dropDownBarItem1,
                this.dropDownBarItem2
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.mainFrameBarManager1.UseBackwardCompatiblity = false;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text       = "&File";
            this.parentBarItem1.WrapLength = 20;
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.barItem5_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.barItem6_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 0;
            this.parentBarItem2.ID            = "Choose Background Color";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.dropDownBarItem1,
                this.dropDownBarItem2
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text       = "Choose Background Color";
            this.parentBarItem2.WrapLength = 20;
            //
            // dropDownBarItem1
            //
            this.dropDownBarItem1.BarName               = "dropDownBarItem1";
            this.dropDownBarItem1.CategoryIndex         = 0;
            this.dropDownBarItem1.ID                    = "Start Color";
            this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer2;
            this.dropDownBarItem1.ShowToolTipInPopUp    = false;
            this.dropDownBarItem1.SizeToFit             = true;
            this.dropDownBarItem1.Text                  = "Start Color";
            //
            // popupControlContainer2
            //
            this.popupControlContainer2.Controls.Add(this.colorPickerUIAdv2);
            this.popupControlContainer2.Location = new System.Drawing.Point(173, 164);
            this.popupControlContainer2.Name     = "popupControlContainer2";
            this.popupControlContainer2.Size     = new System.Drawing.Size(220, 250);
            this.popupControlContainer2.TabIndex = 10002;
            this.popupControlContainer2.Visible  = false;
            //
            // colorPickerUIAdv2.RecentGroup
            //
            //
            // colorPickerUIAdv2.StandardGroup
            //
            //
            // colorPickerUIAdv2.ThemeGroup
            //
            //
            // colorPickerUIAdv2
            //
            this.colorPickerUIAdv2.BeforeTouchSize      = new System.Drawing.Size(13, 13);
            this.colorPickerUIAdv2.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
            this.colorPickerUIAdv2.ColorItemSize        = new System.Drawing.Size(17, 41);
            this.colorPickerUIAdv2.Dock                 = System.Windows.Forms.DockStyle.Fill;
            this.colorPickerUIAdv2.Location             = new System.Drawing.Point(0, 0);
            this.colorPickerUIAdv2.MetroColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.colorPickerUIAdv2.MinimumSize          = new System.Drawing.Size(136, 163);
            this.colorPickerUIAdv2.Name                 = "colorPickerUIAdv2";
            this.colorPickerUIAdv2.SelectedColor        = System.Drawing.Color.Empty;
            this.colorPickerUIAdv2.Size                 = new System.Drawing.Size(220, 250);
            this.colorPickerUIAdv2.Style                = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro;
            this.colorPickerUIAdv2.TabIndex             = 10003;
            this.colorPickerUIAdv2.Text                 = "colorPickerUIAdv2";
            this.colorPickerUIAdv2.UseOffice2007Style   = false;
            this.colorPickerUIAdv2.VerticalItemsSpacing = 1;
            this.colorPickerUIAdv2.Picked              += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv2_Picked);
            //
            // dropDownBarItem2
            //
            this.dropDownBarItem2.BarName               = "dropDownBarItem2";
            this.dropDownBarItem2.CategoryIndex         = 0;
            this.dropDownBarItem2.ID                    = "End Color";
            this.dropDownBarItem2.PopupControlContainer = this.popupControlContainer1;
            this.dropDownBarItem2.ShowToolTipInPopUp    = false;
            this.dropDownBarItem2.SizeToFit             = true;
            this.dropDownBarItem2.Text                  = "End Color";
            //
            // popupControlContainer1
            //
            this.popupControlContainer1.Controls.Add(this.colorPickerUIAdv1);
            this.popupControlContainer1.Location = new System.Drawing.Point(173, 164);
            this.popupControlContainer1.Name     = "popupControlContainer1";
            this.popupControlContainer1.Size     = new System.Drawing.Size(220, 250);
            this.popupControlContainer1.TabIndex = 10002;
            this.popupControlContainer1.Visible  = false;
            //
            // colorPickerUIAdv1.RecentGroup
            //
            //
            // colorPickerUIAdv1.StandardGroup
            //
            //
            // colorPickerUIAdv1.ThemeGroup
            //
            //
            // colorPickerUIAdv1
            //
            this.colorPickerUIAdv1.BeforeTouchSize      = new System.Drawing.Size(13, 13);
            this.colorPickerUIAdv1.BorderStyle          = System.Windows.Forms.BorderStyle.FixedSingle;
            this.colorPickerUIAdv1.ColorItemSize        = new System.Drawing.Size(17, 41);
            this.colorPickerUIAdv1.Dock                 = System.Windows.Forms.DockStyle.Fill;
            this.colorPickerUIAdv1.Location             = new System.Drawing.Point(0, 0);
            this.colorPickerUIAdv1.MetroColor           = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
            this.colorPickerUIAdv1.MinimumSize          = new System.Drawing.Size(136, 163);
            this.colorPickerUIAdv1.Name                 = "colorPickerUIAdv1";
            this.colorPickerUIAdv1.SelectedColor        = System.Drawing.Color.Empty;
            this.colorPickerUIAdv1.Size                 = new System.Drawing.Size(220, 250);
            this.colorPickerUIAdv1.Style                = Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.visualstyle.Metro;
            this.colorPickerUIAdv1.TabIndex             = 10003;
            this.colorPickerUIAdv1.Text                 = "colorPickerUIAdv1";
            this.colorPickerUIAdv1.UseOffice2007Style   = false;
            this.colorPickerUIAdv1.VerticalItemsSpacing = 1;
            this.colorPickerUIAdv1.Picked              += new Syncfusion.Windows.Forms.Tools.ColorPickerUIAdv.ColorPickedEventHandler(this.colorPickerUIAdv1_Picked);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(566, 461);
            this.Controls.Add(this.editControl1);
            this.MinimumSize   = new System.Drawing.Size(552, 434);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Gradient Background";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.popupControlContainer2.ResumeLayout(false);
            this.popupControlContainer1.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #3
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(MainForm));
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.imageList1           = new System.Windows.Forms.ImageList(this.components);
     this.splashControl1       = new Syncfusion.Windows.Forms.Tools.SplashControl();
     this.pictureBox1          = new System.Windows.Forms.PictureBox();
     this.button6              = new System.Windows.Forms.Button();
     this.tabControlAdv1       = new Syncfusion.Windows.Forms.Tools.TabControlAdv();
     this.tabPageAdv1          = new Syncfusion.Windows.Forms.Tools.TabPageAdv();
     this.textBox5             = new Syncfusion.Windows.Forms.Tools.TextBoxExt();
     this.imageList2           = new System.Windows.Forms.ImageList(this.components);
     this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
     this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
     this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.gradientPanel1 = new Syncfusion.Windows.Forms.Tools.GradientPanel();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).BeginInit();
     this.tabControlAdv1.SuspendLayout();
     this.tabPageAdv1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textBox5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).BeginInit();
     this.gradientPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // splashControl1
     //
     this.splashControl1.DesktopAlignment     = Syncfusion.Windows.Forms.Tools.SplashAlignment.RightBottom;
     this.splashControl1.HostForm             = this;
     this.splashControl1.SplashImage          = ((System.Drawing.Image)(resources.GetObject("splashControl1.SplashImage")));
     this.splashControl1.TimerInterval        = 3000;
     this.splashControl1.UseCustomSplashPanel = true;
     this.splashControl1.BeforeSplash        += new System.ComponentModel.CancelEventHandler(this.splashControl1_BeforeSplash);
     this.splashControl1.SplashDisplayed     += new System.EventHandler(this.splashControl1_SplashDisplayed);
     this.splashControl1.SplashClosed        += new System.EventHandler(this.splashControl1_SplashClosed);
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(222, 56);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(450, 252);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.pictureBox1.TabIndex = 5;
     this.pictureBox1.TabStop  = false;
     //
     // button6
     //
     this.button6.BackColor  = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(200)))), ((int)(((byte)(219)))));
     this.button6.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.button6.ImageAlign = System.Drawing.ContentAlignment.TopLeft;
     this.button6.ImageIndex = 2;
     this.button6.Location   = new System.Drawing.Point(392, 334);
     this.button6.Name       = "button6";
     this.button6.Size       = new System.Drawing.Size(151, 40);
     this.button6.TabIndex   = 4;
     this.button6.Text       = "Click to Show Splash Screen";
     this.button6.UseVisualStyleBackColor = false;
     this.button6.Click += new System.EventHandler(this.button6_Click);
     //
     // tabControlAdv1
     //
     this.tabControlAdv1.BackColor = System.Drawing.Color.White;
     this.tabControlAdv1.Controls.Add(this.tabPageAdv1);
     this.tabControlAdv1.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.tabControlAdv1.ImageList             = this.imageList2;
     this.tabControlAdv1.Location              = new System.Drawing.Point(0, 0);
     this.tabControlAdv1.Name                  = "tabControlAdv1";
     this.tabControlAdv1.Size                  = new System.Drawing.Size(857, 486);
     this.tabControlAdv1.TabIndex              = 6;
     this.tabControlAdv1.TabStyle              = typeof(Syncfusion.Windows.Forms.Tools.TabRendererMetro);
     this.tabControlAdv1.SelectedIndexChanged += new System.EventHandler(this.tabControlAdv1_SelectedIndexChanged);
     //
     // tabPageAdv1
     //
     this.tabPageAdv1.Controls.Add(this.textBox5);
     this.tabPageAdv1.Controls.Add(this.pictureBox1);
     this.tabPageAdv1.Controls.Add(this.button6);
     this.tabPageAdv1.Image           = null;
     this.tabPageAdv1.ImageIndex      = 0;
     this.tabPageAdv1.ImageSize       = new System.Drawing.Size(16, 16);
     this.tabPageAdv1.Location        = new System.Drawing.Point(1, 25);
     this.tabPageAdv1.Name            = "tabPageAdv1";
     this.tabPageAdv1.Padding         = new System.Windows.Forms.Padding(10);
     this.tabPageAdv1.ShowCloseButton = true;
     this.tabPageAdv1.Size            = new System.Drawing.Size(854, 459);
     this.tabPageAdv1.TabIndex        = 1;
     this.tabPageAdv1.Text            = "Show Splash";
     this.tabPageAdv1.ThemesEnabled   = false;
     //
     // textBox5
     //
     this.textBox5.Cursor     = System.Windows.Forms.Cursors.IBeam;
     this.textBox5.Dock       = System.Windows.Forms.DockStyle.Bottom;
     this.textBox5.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(103)))), ((int)(((byte)(110)))), ((int)(((byte)(154)))));
     this.textBox5.Location   = new System.Drawing.Point(10, 396);
     this.textBox5.Metrocolor = System.Drawing.Color.Empty;
     this.textBox5.Multiline  = true;
     this.textBox5.Name       = "textBox5";
     this.textBox5.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textBox5.Size       = new System.Drawing.Size(834, 53);
     this.textBox5.Style      = Syncfusion.Windows.Forms.Tools.TextBoxExt.theme.Default;
     this.textBox5.TabIndex   = 4;
     //
     // imageList2
     //
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList2.Images.SetKeyName(0, "");
     this.imageList2.Images.SetKeyName(1, "");
     //
     // mainFrameBarManager1
     //
     this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
     this.mainFrameBarManager1.Bars.Add(this.bar1);
     this.mainFrameBarManager1.Categories.Add("File");
     this.mainFrameBarManager1.Categories.Add("Help");
     this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
     this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainFrameBarManager1.Form = this;
     this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.barItem1,
         this.parentBarItem2,
         this.barItem2
     });
     this.mainFrameBarManager1.ResetCustomization = false;
     this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // bar1
     //
     this.bar1.BarName  = "menu";
     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 = "menu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem2
     });
     this.bar1.Manager = this.mainFrameBarManager1;
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName       = "parentBarItem1";
     this.parentBarItem1.CategoryIndex = 0;
     this.parentBarItem1.ID            = "BarItem";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1
     });
     this.parentBarItem1.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Text = "&File";
     //
     // barItem1
     //
     this.barItem1.BarName            = "barItem1";
     this.barItem1.CategoryIndex      = 0;
     this.barItem1.ID                 = "BarItem_1";
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "&Exit";
     this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName       = "parentBarItem2";
     this.parentBarItem2.CategoryIndex = 1;
     this.parentBarItem2.ID            = "BarItem_2";
     this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem2
     });
     this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Text = "&Help";
     //
     // barItem2
     //
     this.barItem2.BarName            = "barItem2";
     this.barItem2.CategoryIndex      = 1;
     this.barItem2.ID                 = "BarItem_3";
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "&About";
     this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
     //
     // gradientPanel1
     //
     this.gradientPanel1.BorderColor = System.Drawing.Color.Gray;
     this.gradientPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.gradientPanel1.Controls.Add(this.tabControlAdv1);
     this.gradientPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gradientPanel1.Location = new System.Drawing.Point(15, 44);
     this.gradientPanel1.Name     = "gradientPanel1";
     this.gradientPanel1.Size     = new System.Drawing.Size(859, 488);
     this.gradientPanel1.TabIndex = 12;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BackColor         = System.Drawing.Color.White;
     this.ClientSize        = new System.Drawing.Size(889, 547);
     this.Controls.Add(this.gradientPanel1);
     this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize   = new System.Drawing.Size(901, 584);
     this.Name          = "MainForm";
     this.Padding       = new System.Windows.Forms.Padding(15);
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Splash Control";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     this.Resize       += new System.EventHandler(this.MainForm_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabControlAdv1)).EndInit();
     this.tabControlAdv1.ResumeLayout(false);
     this.tabPageAdv1.ResumeLayout(false);
     this.tabPageAdv1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textBox5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gradientPanel1)).EndInit();
     this.gradientPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #4
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this.editControl1.BackColor                 = System.Drawing.Color.Beige;
            this.editControl1.BorderStyle               = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize            = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator              = config1;
            this.editControl1.GraphicsTextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;
            this.editControl1.IndicatorMarginBackColor  = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont           = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                = new System.Drawing.Point(22, 103);
            this.editControl1.Name                    = "editControl1";
            this.editControl1.RenderRightToLeft       = false;
            this.editControl1.SaveOnClose             = false;
            this.editControl1.ScrollPosition          = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle       = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.SharedFileMode          = true;
            this.editControl1.ShowHorizontalSplitters = false;
            this.editControl1.ShowIndicatorMargin     = false;
            this.editControl1.ShowLineNumbers         = false;
            this.editControl1.ShowOutliningCollapsers = false;
            this.editControl1.ShowSelectionMargin     = false;
            this.editControl1.ShowVerticalSplitters   = false;
            this.editControl1.Size                    = new System.Drawing.Size(536, 182);

            this.editControl1.StatusBarSettings.TextPanel.AutoSize = false;
            this.editControl1.TabIndex           = 5;
            this.editControl1.Text               = "editControl1";
            this.editControl1.TransferFocusOnTab = true;
            this.editControl1.UseXPStyleBorder   = true;
            this.editControl1.VisualColumn       = 13;
            //
            // mainFrameBarManager1
            //
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("File");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6,
                this.barItem7
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem7
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "&File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.SystemColors.Highlight;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "&File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "&New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "&New";
            this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "&Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Open";
            this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "&Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Save";
            this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "Save&As";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "Save&As";
            this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "&Close";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Close";
            this.barItem5.Click             += new System.EventHandler(this.barItem5_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "&Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "&Exit";
            this.barItem6.Click             += new System.EventHandler(this.barItem6_Click);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 0;
            this.barItem7.ID                 = "&Tooggle Single LineMode";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "&Tooggle Single Line Mode";
            this.barItem7.Click             += new System.EventHandler(this.barItem7_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.BackColor         = System.Drawing.Color.White;
            this.ClientSize        = new System.Drawing.Size(580, 450);
            this.Controls.Add(this.editControl1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(592, 341);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Single Line Mode ";
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #5
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.statusBar1           = new System.Windows.Forms.StatusBar();
            this.statusBarPanel1      = new System.Windows.Forms.StatusBarPanel();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.AutoIndentMode           = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart;
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowLineNumbers          = false;
            this.editControl1.Size                     = new System.Drawing.Size(540, 383);
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "";
            this.editControl1.TransferFocusOnTab       = true;
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            //
            // statusBar1
            //
            this.statusBar1.Location = new System.Drawing.Point(10, 422);
            this.statusBar1.Name     = "statusBar1";
            this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
                this.statusBarPanel1
            });
            this.statusBar1.ShowPanels = true;
            this.statusBar1.Size       = new System.Drawing.Size(540, 22);
            this.statusBar1.SizingGrip = false;
            this.statusBar1.TabIndex   = 1;
            this.statusBar1.Text       = "statusBar1";
            //
            // statusBarPanel1
            //
            this.statusBarPanel1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
            this.statusBarPanel1.AutoSize  = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
            this.statusBarPanel1.Name      = "statusBarPanel1";
            this.statusBarPanel1.Width     = 540;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("position");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem6,
                this.parentBarItem2,
                this.barItem7,
                this.barItem10,
                this.barItem11,
                this.barItem5,
                this.barItem8
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "Menu";
            this.bar1.Caption = "Menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem6
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.menuItem4_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 0;
            this.barItem6.ID                 = "Exit";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Exit";
            this.barItem6.Click             += new System.EventHandler(this.menuItem8_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "PositionMenu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem7,
                this.barItem5,
                this.barItem8,
                this.barItem10,
                this.barItem11
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Position Options";
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "MousePosition To VirtualPosition";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "MousePosition To VirtualPosition";
            this.barItem7.Click             += new System.EventHandler(this.menuItem10_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 1;
            this.barItem5.ID                 = "MousePosition To PhysicalPosition";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "MousePosition To PhysicalPosition";
            this.barItem5.Click             += new System.EventHandler(this.menuItem11_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "CursorPosition To PhysicalPosition";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "CursorPosition To PhysicalPosition";
            this.barItem8.Click             += new System.EventHandler(this.menuItem13_Click);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "VirtualPosition To Offset";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "VirtualPosition To Offset";
            this.barItem10.Click             += new System.EventHandler(this.menuItem16_Click);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Offset To VirtualPosition";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Offset To VirtualPosition";
            this.barItem11.Click             += new System.EventHandler(this.menuItem14_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
            this.ClientSize        = new System.Drawing.Size(560, 454);
            this.Controls.Add(this.editControl1);
            this.Controls.Add(this.statusBar1);
            this.Font          = new System.Drawing.Font("Segoe UI", 8.25F);
            this.MinimumSize   = new System.Drawing.Size(572, 491);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Positions and Offsets";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Closing      += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #6
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
            System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
            this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
            this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
            this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem5       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem7       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
            this.SuspendLayout();
            //
            // editControl1
            //
            this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
            this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
            this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
            this.editControl1.Configurator             = config1;
            this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
            this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
            this.editControl1.LineNumbersFont          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.editControl1.Location                 = new System.Drawing.Point(10, 39);
            this.editControl1.Name                     = "editControl1";
            this.editControl1.RenderRightToLeft        = false;
            this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
            this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
            this.editControl1.ShowIndicatorMargin      = false;
            this.editControl1.ShowLineNumbers          = false;
            this.editControl1.Size                     = new System.Drawing.Size(522, 396);
            this.editControl1.TabIndex                 = 0;
            this.editControl1.Text                     = "";
            this.editControl1.UseXPStyleBorder         = true;
            this.editControl1.VisualColumn             = 1;
            this.editControl1.WordWrap                 = true;
            //
            // mainFrameBarManager1
            //
#if !NETCORE
            this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
#endif
            this.mainFrameBarManager1.Bars.Add(this.bar1);
            this.mainFrameBarManager1.Categories.Add("file");
            this.mainFrameBarManager1.Categories.Add("print");
            this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
            this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.mainFrameBarManager1.Form = this;
            this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.parentBarItem2,
                this.barItem6,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.mainFrameBarManager1.ResetCustomization = false;
            this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName = "menu";
            this.bar1.Caption = "menu";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2
            });
            this.bar1.Manager = this.mainFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName       = "parentBarItem1";
            this.parentBarItem1.CategoryIndex = 0;
            this.parentBarItem1.ID            = "File";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5
            });
            this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Text = "File";
            //
            // barItem1
            //
            this.barItem1.BarName            = "barItem1";
            this.barItem1.CategoryIndex      = 0;
            this.barItem1.ID                 = "New";
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "New";
            this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
            //
            // barItem2
            //
            this.barItem2.BarName            = "barItem2";
            this.barItem2.CategoryIndex      = 0;
            this.barItem2.ID                 = "Open";
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "Open";
            this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
            //
            // barItem3
            //
            this.barItem3.BarName            = "barItem3";
            this.barItem3.CategoryIndex      = 0;
            this.barItem3.ID                 = "Save";
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "Save";
            this.barItem3.Click             += new System.EventHandler(this.menuItem5_Click);
            //
            // barItem4
            //
            this.barItem4.BarName            = "barItem4";
            this.barItem4.CategoryIndex      = 0;
            this.barItem4.ID                 = "SaveAs";
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "SaveAs";
            this.barItem4.Click             += new System.EventHandler(this.menuItem6_Click);
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            this.barItem5.ID                 = "Exit";
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "Exit";
            this.barItem5.Click             += new System.EventHandler(this.menuItem8_Click);
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName       = "parentBarItem2";
            this.parentBarItem2.CategoryIndex = 1;
            this.parentBarItem2.ID            = "Print Menu";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem6,
                this.barItem7,
                this.barItem8,
                this.barItem9,
                this.barItem10,
                this.barItem11
            });
            this.parentBarItem2.MetroColor         = System.Drawing.Color.DeepSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Text = "Print Options";
            //
            // barItem6
            //
            this.barItem6.BarName            = "barItem6";
            this.barItem6.CategoryIndex      = 1;
            this.barItem6.ID                 = "Show Print Dialog";
            this.barItem6.ShowToolTipInPopUp = false;
            this.barItem6.SizeToFit          = true;
            this.barItem6.Text               = "Show Print Dialog";
            this.barItem6.Click             += new System.EventHandler(this.menuItem10_Click);
            //
            // barItem7
            //
            this.barItem7.BarName            = "barItem7";
            this.barItem7.CategoryIndex      = 1;
            this.barItem7.ID                 = "Print Preview";
            this.barItem7.ShowToolTipInPopUp = false;
            this.barItem7.SizeToFit          = true;
            this.barItem7.Text               = "Print Preview";
            this.barItem7.Click             += new System.EventHandler(this.menuItem14_Click);
            //
            // barItem8
            //
            this.barItem8.BarName            = "barItem8";
            this.barItem8.CategoryIndex      = 1;
            this.barItem8.ID                 = "Print Current Page";
            this.barItem8.ShowToolTipInPopUp = false;
            this.barItem8.SizeToFit          = true;
            this.barItem8.Text               = "Print Current Page";
            this.barItem8.Click             += new System.EventHandler(this.menuItem11_Click);
            //
            // barItem9
            //
            this.barItem9.BarName            = "barItem9";
            this.barItem9.CategoryIndex      = 1;
            this.barItem9.ID                 = "Print Directly";
            this.barItem9.ShowToolTipInPopUp = false;
            this.barItem9.SizeToFit          = true;
            this.barItem9.Text               = "Print Directly";
            this.barItem9.Click             += new System.EventHandler(this.menuItem13_Click);
            //
            // barItem10
            //
            this.barItem10.BarName            = "barItem10";
            this.barItem10.CategoryIndex      = 1;
            this.barItem10.ID                 = "Print Selected Text";
            this.barItem10.ShowToolTipInPopUp = false;
            this.barItem10.SizeToFit          = true;
            this.barItem10.Text               = "Print Selected Text";
            this.barItem10.Click             += new System.EventHandler(this.menuItem15_Click);
            //
            // barItem11
            //
            this.barItem11.BarName            = "barItem11";
            this.barItem11.CategoryIndex      = 1;
            this.barItem11.ID                 = "Print To Document";
            this.barItem11.ShowToolTipInPopUp = false;
            this.barItem11.SizeToFit          = true;
            this.barItem11.Text               = "Print To Document";
            this.barItem11.Click             += new System.EventHandler(this.menuItem16_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(542, 445);
            this.Controls.Add(this.editControl1);
            this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize   = new System.Drawing.Size(554, 482);
            this.Name          = "Form1";
            this.Padding       = new System.Windows.Forms.Padding(10);
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Print Demo";
            this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
            this.Closing      += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
            ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
            this.ResumeLayout(false);
        }
Пример #7
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
     this.panel1              = new System.Windows.Forms.Panel();
     this.diagram             = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram();
     this.orgChartManager     = new Syncfusion.OrgChart.OrgChartManager();
     this.mainFrameBarManager = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this.components, this);
     this.bar2 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "Actions");
     this.barItemSelectTool   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemAdd          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemLink         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemUpdateLayout = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemAutoLayout   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemDimensions   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "MainMenu");
     this.parentBarItemFile = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItemFileExit   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem1    = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItemEditCut    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditCopy   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditPaste  = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem2    = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItemHelpAbout  = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.diagram);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 52);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(616, 410);
     this.panel1.TabIndex = 2;
     //
     // diagram
     //
     this.diagram.AllowDrop = true;
     //
     // diagram.Controller
     //
     this.diagram.Controller.MaxHistory       = 256;
     this.diagram.Controller.SelectHandleMode = Syncfusion.Windows.Forms.Diagram.SelectHandleType.Resize;
     this.diagram.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.diagram.HScroll       = true;
     this.diagram.LayoutManager = this.orgChartManager;
     this.diagram.Location      = new System.Drawing.Point(0, 0);
     //
     // diagram.Model
     //
     this.diagram.Model.BoundaryConstraintsEnabled = true;
     this.diagram.Model.Height           = 1056F;
     this.diagram.Model.MeasurementScale = 1F;
     this.diagram.Model.MeasurementUnits = System.Drawing.GraphicsUnit.Pixel;
     this.diagram.Model.Name             = "Model";
     this.diagram.Model.Width            = 816F;
     this.diagram.Name              = "diagram";
     this.diagram.NudgeIncrement    = 1F;
     this.diagram.ScrollGranularity = 0.5F;
     this.diagram.Size              = new System.Drawing.Size(616, 410);
     this.diagram.TabIndex          = 1;
     this.diagram.Text              = "OrgChart Diagram";
     //
     // diagram.View
     //
     this.diagram.View.BackgroundColor        = System.Drawing.Color.DarkGray;
     this.diagram.View.Grid.Color             = System.Drawing.Color.Black;
     this.diagram.View.Grid.HorizontalSpacing = 10F;
     this.diagram.View.Grid.SnapToGrid        = true;
     this.diagram.View.Grid.VerticalSpacing   = 10F;
     this.diagram.View.Grid.Visible           = true;
     this.diagram.View.HandleAnchorColor      = System.Drawing.Color.LightGray;
     this.diagram.View.HandleColor            = System.Drawing.Color.White;
     this.diagram.View.HandleSize             = 6;
     this.diagram.View.ShowPageBounds         = true;
     this.diagram.VScroll = true;
     //
     // orgChartManager
     //
     this.orgChartManager.AutoLayout        = false;
     this.orgChartManager.HorizontalSpacing = 200F;
     this.orgChartManager.VerticalSpacing   = 140F;
     //
     // mainFrameBarManager
     //
     this.mainFrameBarManager.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager.BarPositionInfo")));
     this.mainFrameBarManager.Bars.Add(this.bar2);
     this.mainFrameBarManager.Bars.Add(this.bar1);
     this.mainFrameBarManager.Categories.Add("Actions");
     this.mainFrameBarManager.Categories.Add("File");
     this.mainFrameBarManager.Categories.Add("Edit");
     this.mainFrameBarManager.Categories.Add("Help");
     this.mainFrameBarManager.CurrentBaseFormType = "System.Windows.Forms.Form";
     this.mainFrameBarManager.Form      = this;
     this.mainFrameBarManager.ImageList = this.imageList1;
     this.mainFrameBarManager.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemLink,
         this.barItemUpdateLayout,
         this.barItemFileExit,
         this.parentBarItemFile,
         this.barItemAdd,
         this.barItemSelectTool,
         this.barItemAutoLayout,
         this.barItemEditCut,
         this.barItemEditCopy,
         this.barItemEditPaste,
         this.barItemHelpAbout,
         this.parentBarItem1,
         this.parentBarItem2,
         this.barItemDimensions
     });
     this.mainFrameBarManager.LargeImageList     = null;
     this.mainFrameBarManager.ResetCustomization = false;
     //
     // bar2
     //
     this.bar2.BarName = "Actions";
     this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemSelectTool,
         this.barItemAdd,
         this.barItemLink,
         this.barItemUpdateLayout,
         this.barItemAutoLayout,
         this.barItemDimensions
     });
     this.bar2.Manager = this.mainFrameBarManager;
     //
     // barItemSelectTool
     //
     this.barItemSelectTool.CategoryIndex = 0;
     this.barItemSelectTool.ID            = "Select";
     this.barItemSelectTool.ImageIndex    = 3;
     this.barItemSelectTool.Text          = "Select";
     this.barItemSelectTool.Tooltip       = "Select Tool";
     this.barItemSelectTool.Click        += new System.EventHandler(this.barItemSelectTool_Click);
     //
     // barItemAdd
     //
     this.barItemAdd.CategoryIndex = 0;
     this.barItemAdd.ID            = "Add";
     this.barItemAdd.ImageIndex    = 2;
     this.barItemAdd.Text          = "Add";
     this.barItemAdd.Tooltip       = "Add Member";
     this.barItemAdd.Click        += new System.EventHandler(this.barItemAdd_Click);
     //
     // barItemLink
     //
     this.barItemLink.CategoryIndex = 0;
     this.barItemLink.ID            = "Link";
     this.barItemLink.ImageIndex    = 0;
     this.barItemLink.Text          = "Link";
     this.barItemLink.Click        += new System.EventHandler(this.barItemLink_Click);
     //
     // barItemUpdateLayout
     //
     this.barItemUpdateLayout.CategoryIndex = 0;
     this.barItemUpdateLayout.ID            = "Update Layout";
     this.barItemUpdateLayout.ImageIndex    = 1;
     this.barItemUpdateLayout.Text          = "Update Layout";
     this.barItemUpdateLayout.Click        += new System.EventHandler(this.barItemUpdateLayout_Click);
     //
     // barItemAutoLayout
     //
     this.barItemAutoLayout.CategoryIndex = 0;
     this.barItemAutoLayout.ID            = "AutoLayout";
     this.barItemAutoLayout.ImageIndex    = 4;
     this.barItemAutoLayout.Text          = "AutoLayout";
     this.barItemAutoLayout.Tooltip       = "Auto Layout";
     this.barItemAutoLayout.Click        += new System.EventHandler(this.barItemAutoLayout_Click);
     //
     // barItemDimensions
     //
     this.barItemDimensions.CategoryIndex = 0;
     this.barItemDimensions.ID            = "Dimensions";
     this.barItemDimensions.ImageIndex    = 8;
     this.barItemDimensions.Text          = "Dimensions";
     this.barItemDimensions.Click        += new System.EventHandler(this.barItemDimensions_Click);
     //
     // bar1
     //
     this.bar1.BarName  = "MainMenu";
     this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.IsMainMenu)
                                                                               | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItemFile,
         this.parentBarItem1,
         this.parentBarItem2
     });
     this.bar1.Manager = this.mainFrameBarManager;
     //
     // parentBarItemFile
     //
     this.parentBarItemFile.CategoryIndex = 1;
     this.parentBarItemFile.ID            = "File";
     this.parentBarItemFile.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemFileExit
     });
     this.parentBarItemFile.Text = "File";
     //
     // barItemFileExit
     //
     this.barItemFileExit.CategoryIndex = 1;
     this.barItemFileExit.ID            = "Exit";
     this.barItemFileExit.Text          = "Exit";
     this.barItemFileExit.Click        += new System.EventHandler(this.barItemFileExit_Click);
     //
     // parentBarItem1
     //
     this.parentBarItem1.CategoryIndex = 2;
     this.parentBarItem1.ID            = "Edit";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemEditCut,
         this.barItemEditCopy,
         this.barItemEditPaste
     });
     this.parentBarItem1.Text = "Edit";
     //
     // barItemEditCut
     //
     this.barItemEditCut.CategoryIndex = 2;
     this.barItemEditCut.ID            = "Cut";
     this.barItemEditCut.ImageIndex    = 5;
     this.barItemEditCut.Shortcut      = System.Windows.Forms.Shortcut.CtrlX;
     this.barItemEditCut.Text          = "Cu&t";
     this.barItemEditCut.Click        += new System.EventHandler(this.barItemEditCut_Click);
     //
     // barItemEditCopy
     //
     this.barItemEditCopy.CategoryIndex = 2;
     this.barItemEditCopy.ID            = "Copy";
     this.barItemEditCopy.ImageIndex    = 6;
     this.barItemEditCopy.Shortcut      = System.Windows.Forms.Shortcut.CtrlC;
     this.barItemEditCopy.Text          = "&Copy";
     this.barItemEditCopy.Click        += new System.EventHandler(this.barItemEditCopy_Click);
     //
     // barItemEditPaste
     //
     this.barItemEditPaste.CategoryIndex = 2;
     this.barItemEditPaste.ID            = "Paste";
     this.barItemEditPaste.ImageIndex    = 7;
     this.barItemEditPaste.Shortcut      = System.Windows.Forms.Shortcut.CtrlV;
     this.barItemEditPaste.Text          = "&Paste";
     this.barItemEditPaste.Click        += new System.EventHandler(this.barItemEditPaste_Click);
     //
     // parentBarItem2
     //
     this.parentBarItem2.CategoryIndex = 3;
     this.parentBarItem2.ID            = "Help";
     this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemHelpAbout
     });
     this.parentBarItem2.Text = "Help";
     //
     // barItemHelpAbout
     //
     this.barItemHelpAbout.CategoryIndex = 3;
     this.barItemHelpAbout.ID            = "About";
     this.barItemHelpAbout.Text          = "About";
     this.barItemHelpAbout.Click        += new System.EventHandler(this.barItemHelpAbout_Click);
     //
     // imageList1
     //
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Fuchsia;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(616, 462);
     this.Controls.Add(this.panel1);
     this.Name          = "MainForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text          = "Organizational Chart";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).EndInit();
     this.ResumeLayout(false);
 }
Пример #8
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
     this.dockingManager        = new Syncfusion.Windows.Forms.Tools.DockingManager(this.components);
     this.propertyEditor        = new Syncfusion.Windows.Forms.Diagram.Controls.PropertyEditor();
     this.symbolPaletteGroupBar = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupBar();
     this.smBarItemImages       = new System.Windows.Forms.ImageList(this.components);
     this.openPaletteDialog     = new System.Windows.Forms.OpenFileDialog();
     this.openDiagramDialog     = new System.Windows.Forms.OpenFileDialog();
     this.saveDiagramDialog     = new System.Windows.Forms.SaveFileDialog();
     this.smallImageList1       = new System.Windows.Forms.ImageList(this.components);
     this.openImageDialog       = new System.Windows.Forms.OpenFileDialog();
     this.barItem1                 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.mainFrameBarManager      = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this.components, this);
     this.mainMenuBar              = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "MainMenu");
     this.parentBarItemFile        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.biFileNew                = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.biFileOpen               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.biFileSave               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.biFileSaveAs             = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.biAddPalette             = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.biPageSetup              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.biFilePrint              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.biFileExit               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItemEdit        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItemEditUndo          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditRedo          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditSelectAll     = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditCut           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditCopy          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditPaste         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItemView        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItemViewSymbolPalette = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemViewProperties    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItemWindow      = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.biTabbedMDI              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItemHelp        = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItemAbout             = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.standardToolbar          = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "Standard");
     this.parentBarItem7           = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     ((System.ComponentModel.ISupportInitialize)(this.dockingManager)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).BeginInit();
     //
     // dockingManager
     //
     this.dockingManager.DockLayoutStream       = ((System.IO.MemoryStream)(resources.GetObject("dockingManager.DockLayoutStream")));
     this.dockingManager.HostForm               = this;
     this.dockingManager.DockVisibilityChanged += new Syncfusion.Windows.Forms.Tools.DockVisibilityChangedEventHandler(this.dockingManager_DockVisibilityChanged);
     this.dockingManager.SetDockLabel(this.propertyEditor, "Properties");
     this.dockingManager.SetDockLabel(this.symbolPaletteGroupBar, "Symbol Palettes");
     //
     // propertyEditor
     //
     this.propertyEditor.Diagram = null;
     this.dockingManager.SetEnableDocking(this.propertyEditor, true);
     this.propertyEditor.Location = new System.Drawing.Point(1, 20);
     this.propertyEditor.Name     = "propertyEditor";
     this.propertyEditor.Size     = new System.Drawing.Size(201, 493);
     this.propertyEditor.TabIndex = 11;
     //
     // symbolPaletteGroupBar
     //
     this.symbolPaletteGroupBar.AllowDrop = true;
     this.symbolPaletteGroupBar.EditMode  = false;
     this.dockingManager.SetEnableDocking(this.symbolPaletteGroupBar, true);
     this.symbolPaletteGroupBar.Location = new System.Drawing.Point(1, 20);
     this.symbolPaletteGroupBar.Name     = "symbolPaletteGroupBar";
     this.symbolPaletteGroupBar.Size     = new System.Drawing.Size(138, 493);
     this.symbolPaletteGroupBar.TabIndex = 9;
     this.symbolPaletteGroupBar.Text     = "paletteGroupBar1";
     //
     // smBarItemImages
     //
     this.smBarItemImages.ImageSize        = new System.Drawing.Size(16, 16);
     this.smBarItemImages.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smBarItemImages.ImageStream")));
     this.smBarItemImages.TransparentColor = System.Drawing.Color.Fuchsia;
     //
     // openPaletteDialog
     //
     this.openPaletteDialog.DefaultExt = "edp";
     this.openPaletteDialog.Filter     = "Essential Diagram Palettes|*.edp|All files|*.*";
     this.openPaletteDialog.Title      = "Add Palette";
     //
     // openDiagramDialog
     //
     this.openDiagramDialog.Filter = "Diagram Files|*.edd|All files|*.*";
     this.openDiagramDialog.Title  = "Open Diagram";
     //
     // saveDiagramDialog
     //
     this.saveDiagramDialog.FileName = "doc1";
     this.saveDiagramDialog.Filter   = "Diagram files|*.edd|All files|*.*";
     //
     // smallImageList1
     //
     this.smallImageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.smallImageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("smallImageList1.ImageStream")));
     this.smallImageList1.TransparentColor = System.Drawing.Color.Fuchsia;
     //
     // openImageDialog
     //
     this.openImageDialog.Filter = "Windows Bitmaps|*.bmp|Enhanced Metafiles|*.emf|All files|*.*";
     this.openImageDialog.Title  = "Insert Image";
     //
     // barItem1
     //
     this.barItem1.CategoryIndex = 3;
     this.barItem1.ID            = "Pan";
     this.barItem1.ImageIndex    = 10;
     this.barItem1.Tag           = "PanTool";
     this.barItem1.Text          = "Pan";
     this.barItem1.Tooltip       = "Pan";
     //
     // mainFrameBarManager
     //
     this.mainFrameBarManager.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager.BarPositionInfo")));
     this.mainFrameBarManager.Bars.Add(this.mainMenuBar);
     this.mainFrameBarManager.Bars.Add(this.standardToolbar);
     this.mainFrameBarManager.Categories.Add("Popups");
     this.mainFrameBarManager.Categories.Add("File");
     this.mainFrameBarManager.Categories.Add("Window");
     this.mainFrameBarManager.Categories.Add("Edit");
     this.mainFrameBarManager.Categories.Add("Help");
     this.mainFrameBarManager.Categories.Add("View");
     this.mainFrameBarManager.CurrentBaseFormType = "System.Windows.Forms.Form";
     this.mainFrameBarManager.Form      = this;
     this.mainFrameBarManager.ImageList = null;
     this.mainFrameBarManager.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.biFileNew,
         this.biFileOpen,
         this.biFileSave,
         this.parentBarItemFile,
         this.biFileSaveAs,
         this.biPageSetup,
         this.biFilePrint,
         this.parentBarItemEdit,
         this.biAddPalette,
         this.biFileExit,
         this.parentBarItemView,
         this.parentBarItemWindow,
         this.parentBarItemHelp,
         this.biTabbedMDI,
         this.barItemEditCut,
         this.barItemEditCopy,
         this.barItemEditPaste,
         this.barItemEditUndo,
         this.barItemEditRedo,
         this.barItemAbout,
         this.barItemViewSymbolPalette,
         this.barItemViewProperties,
         this.barItemEditSelectAll
     });
     this.mainFrameBarManager.LargeImageList     = null;
     this.mainFrameBarManager.ResetCustomization = false;
     //
     // mainMenuBar
     //
     this.mainMenuBar.BarName  = "MainMenu";
     this.mainMenuBar.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.mainMenuBar.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItemFile,
         this.parentBarItemEdit,
         this.parentBarItemView,
         this.parentBarItemWindow,
         this.parentBarItemHelp
     });
     this.mainMenuBar.Manager = this.mainFrameBarManager;
     //
     // parentBarItemFile
     //
     this.parentBarItemFile.CategoryIndex = 0;
     this.parentBarItemFile.ID            = "File";
     this.parentBarItemFile.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.biFileNew,
         this.biFileOpen,
         this.biFileSave,
         this.biFileSaveAs,
         this.biAddPalette,
         this.biPageSetup,
         this.biFilePrint,
         this.biFileExit
     });
     this.parentBarItemFile.SeparatorIndices.AddRange(new int[] {
         4,
         5,
         7
     });
     this.parentBarItemFile.Text = "&File";
     //
     // biFileNew
     //
     this.biFileNew.CategoryIndex = 1;
     this.biFileNew.ID            = "New";
     this.biFileNew.ImageIndex    = 6;
     this.biFileNew.ImageList     = this.smallImageList1;
     this.biFileNew.Shortcut      = System.Windows.Forms.Shortcut.CtrlN;
     this.biFileNew.Text          = "&New";
     this.biFileNew.Click        += new System.EventHandler(this.biFileNew_Click);
     //
     // biFileOpen
     //
     this.biFileOpen.CategoryIndex = 1;
     this.biFileOpen.ID            = "Open";
     this.biFileOpen.ImageIndex    = 4;
     this.biFileOpen.ImageList     = this.smallImageList1;
     this.biFileOpen.Shortcut      = System.Windows.Forms.Shortcut.CtrlO;
     this.biFileOpen.Text          = "&Open";
     this.biFileOpen.Click        += new System.EventHandler(this.biFileOpen_Click);
     //
     // biFileSave
     //
     this.biFileSave.CategoryIndex = 1;
     this.biFileSave.ID            = "Save";
     this.biFileSave.ImageIndex    = 0;
     this.biFileSave.ImageList     = this.smallImageList1;
     this.biFileSave.Shortcut      = System.Windows.Forms.Shortcut.CtrlS;
     this.biFileSave.Text          = "&Save";
     this.biFileSave.Click        += new System.EventHandler(this.biFileSave_Click);
     //
     // biFileSaveAs
     //
     this.biFileSaveAs.CategoryIndex = 1;
     this.biFileSaveAs.ID            = "Save As...";
     this.biFileSaveAs.Text          = "Save As...";
     this.biFileSaveAs.Click        += new System.EventHandler(this.biFileSaveAs_Click);
     //
     // biAddPalette
     //
     this.biAddPalette.CategoryIndex = 1;
     this.biAddPalette.ID            = "Add Palette";
     this.biAddPalette.Text          = "Add Palette";
     this.biAddPalette.Click        += new System.EventHandler(this.biFileAddPalette_Click);
     //
     // biPageSetup
     //
     this.biPageSetup.CategoryIndex = 1;
     this.biPageSetup.ID            = "Page Setup";
     this.biPageSetup.ImageIndex    = 9;
     this.biPageSetup.ImageList     = this.smallImageList1;
     this.biPageSetup.Text          = "Page Setup";
     //
     // biFilePrint
     //
     this.biFilePrint.CategoryIndex = 1;
     this.biFilePrint.ID            = "Print";
     this.biFilePrint.ImageIndex    = 8;
     this.biFilePrint.ImageList     = this.smallImageList1;
     this.biFilePrint.Text          = "Print";
     //
     // biFileExit
     //
     this.biFileExit.CategoryIndex = 1;
     this.biFileExit.ID            = "Exit";
     this.biFileExit.Text          = "Exit";
     this.biFileExit.Click        += new System.EventHandler(this.biFileExit_Click);
     //
     // parentBarItemEdit
     //
     this.parentBarItemEdit.CategoryIndex = 0;
     this.parentBarItemEdit.ID            = "Edit";
     this.parentBarItemEdit.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemEditUndo,
         this.barItemEditRedo,
         this.barItemEditSelectAll,
         this.barItemEditCut,
         this.barItemEditCopy,
         this.barItemEditPaste
     });
     this.parentBarItemEdit.SeparatorIndices.AddRange(new int[] {
         3,
         2
     });
     this.parentBarItemEdit.Text = "&Edit";
     //
     // barItemEditUndo
     //
     this.barItemEditUndo.CategoryIndex = 3;
     this.barItemEditUndo.ID            = "Undo";
     this.barItemEditUndo.ImageIndex    = 34;
     this.barItemEditUndo.ImageList     = this.smBarItemImages;
     this.barItemEditUndo.Shortcut      = System.Windows.Forms.Shortcut.CtrlZ;
     this.barItemEditUndo.Text          = "&Undo";
     this.barItemEditUndo.Click        += new System.EventHandler(this.barItemEditUndo_Click);
     //
     // barItemEditRedo
     //
     this.barItemEditRedo.CategoryIndex = 3;
     this.barItemEditRedo.ID            = "EditRedo";
     this.barItemEditRedo.ImageIndex    = 35;
     this.barItemEditRedo.ImageList     = this.smBarItemImages;
     this.barItemEditRedo.Shortcut      = System.Windows.Forms.Shortcut.CtrlY;
     this.barItemEditRedo.Text          = "&Redo";
     this.barItemEditRedo.Click        += new System.EventHandler(this.barItemEditRedo_Click);
     //
     // barItemEditSelectAll
     //
     this.barItemEditSelectAll.CategoryIndex = 3;
     this.barItemEditSelectAll.ID            = "&Select All";
     this.barItemEditSelectAll.Shortcut      = System.Windows.Forms.Shortcut.CtrlA;
     this.barItemEditSelectAll.Text          = "Select &All";
     this.barItemEditSelectAll.Click        += new System.EventHandler(this.barItemEditSelectAll_Click);
     //
     // barItemEditCut
     //
     this.barItemEditCut.CategoryIndex = 3;
     this.barItemEditCut.ID            = "Cut";
     this.barItemEditCut.ImageIndex    = 36;
     this.barItemEditCut.ImageList     = this.smBarItemImages;
     this.barItemEditCut.Shortcut      = System.Windows.Forms.Shortcut.CtrlX;
     this.barItemEditCut.Text          = "C&ut";
     this.barItemEditCut.Click        += new System.EventHandler(this.barItemEditCut_Click);
     //
     // barItemEditCopy
     //
     this.barItemEditCopy.CategoryIndex = 3;
     this.barItemEditCopy.ID            = "Copy";
     this.barItemEditCopy.ImageIndex    = 37;
     this.barItemEditCopy.ImageList     = this.smBarItemImages;
     this.barItemEditCopy.Shortcut      = System.Windows.Forms.Shortcut.CtrlC;
     this.barItemEditCopy.Text          = "&Copy";
     this.barItemEditCopy.Click        += new System.EventHandler(this.barItemEditCopy_Click);
     //
     // barItemEditPaste
     //
     this.barItemEditPaste.CategoryIndex = 3;
     this.barItemEditPaste.ID            = "Paste";
     this.barItemEditPaste.ImageIndex    = 38;
     this.barItemEditPaste.ImageList     = this.smBarItemImages;
     this.barItemEditPaste.Shortcut      = System.Windows.Forms.Shortcut.CtrlV;
     this.barItemEditPaste.Text          = "&Paste";
     this.barItemEditPaste.Click        += new System.EventHandler(this.barItemEditPaste_Click);
     //
     // parentBarItemView
     //
     this.parentBarItemView.CategoryIndex = 0;
     this.parentBarItemView.ID            = "View";
     this.parentBarItemView.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemViewSymbolPalette,
         this.barItemViewProperties
     });
     this.parentBarItemView.Text = "&View";
     //
     // barItemViewSymbolPalette
     //
     this.barItemViewSymbolPalette.CategoryIndex = 5;
     this.barItemViewSymbolPalette.ID            = "Symbol Palette";
     this.barItemViewSymbolPalette.Text          = "Symbol Palette";
     this.barItemViewSymbolPalette.Click        += new System.EventHandler(this.barItemViewSymbolPalette_Click);
     //
     // barItemViewProperties
     //
     this.barItemViewProperties.CategoryIndex = 5;
     this.barItemViewProperties.ID            = "Properties";
     this.barItemViewProperties.Text          = "Properties";
     this.barItemViewProperties.Click        += new System.EventHandler(this.barItemViewProperties_Click);
     //
     // parentBarItemWindow
     //
     this.parentBarItemWindow.CategoryIndex = 0;
     this.parentBarItemWindow.ID            = "Window";
     this.parentBarItemWindow.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.biTabbedMDI
     });
     this.parentBarItemWindow.Text = "&Window";
     //
     // biTabbedMDI
     //
     this.biTabbedMDI.CategoryIndex = 2;
     this.biTabbedMDI.Checked       = true;
     this.biTabbedMDI.ID            = "Tabbed MDI";
     this.biTabbedMDI.Text          = "Tabbed MDI";
     this.biTabbedMDI.Click        += new System.EventHandler(this.biTabbedMDI_Click);
     //
     // parentBarItemHelp
     //
     this.parentBarItemHelp.CategoryIndex = 0;
     this.parentBarItemHelp.ID            = "Help";
     this.parentBarItemHelp.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemAbout
     });
     this.parentBarItemHelp.Text = "&Help";
     //
     // barItemAbout
     //
     this.barItemAbout.CategoryIndex = 4;
     this.barItemAbout.ID            = "About";
     this.barItemAbout.Text          = "About...";
     this.barItemAbout.Click        += new System.EventHandler(this.barItemAbout_Click);
     //
     // standardToolbar
     //
     this.standardToolbar.BarName = "Standard";
     this.standardToolbar.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.biFileNew,
         this.biFileOpen,
         this.biFileSave,
         this.biFilePrint
     });
     this.standardToolbar.Manager = this.mainFrameBarManager;
     //
     // parentBarItem7
     //
     this.parentBarItem7.CategoryIndex = 3;
     this.parentBarItem7.ID            = "Zoom";
     this.parentBarItem7.ImageIndex    = 8;
     this.parentBarItem7.ImageList     = this.smBarItemImages;
     this.parentBarItem7.Text          = "Zoom";
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(792, 566);
     this.IsMdiContainer    = true;
     this.Name          = "MainForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Diagram Builder";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dockingManager)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).EndInit();
 }
Пример #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1   = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config();
     System.ComponentModel.ComponentResourceManager             resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.editControl1         = new Syncfusion.Windows.Forms.Edit.EditControl();
     this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
     this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
     this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem6       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
     this.SuspendLayout();
     //
     // editControl1
     //
     this.editControl1.BackColor                = System.Drawing.SystemColors.Window;
     this.editControl1.BorderStyle              = System.Windows.Forms.BorderStyle.Fixed3D;
     this.editControl1.CodeSnipptSize           = new System.Drawing.Size(100, 100);
     this.editControl1.Configurator             = config1;
     this.editControl1.Dock                     = System.Windows.Forms.DockStyle.Fill;
     this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty;
     this.editControl1.LineNumbersFont          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.editControl1.Location                 = new System.Drawing.Point(10, 42);
     this.editControl1.Name                     = "editControl1";
     this.editControl1.RenderRightToLeft        = false;
     this.editControl1.ScrollPosition           = new System.Drawing.Point(0, 0);
     this.editControl1.ScrollVisualStyle        = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro;
     this.editControl1.ShowIndicatorMargin      = true;
     this.editControl1.ShowHorizontalSplitters  = false;
     this.editControl1.ShowLineNumbers          = false;
     this.editControl1.ShowOutliningCollapsers  = false;
     this.editControl1.ShowVerticalSplitters    = false;
     this.editControl1.Size                     = new System.Drawing.Size(522, 394);
     this.editControl1.TabIndex                 = 0;
     this.editControl1.Text                     = "";
     this.editControl1.UseXPStyleBorder         = true;
     this.editControl1.VisualColumn             = 1;
     this.editControl1.WordWrap                 = true;
     this.editControl1.UpdateContextToolTip    += new Syncfusion.Windows.Forms.Edit.UpdateTooltipEventHandler(this.editControl1_UpdateContextToolTip);
     //
     // mainFrameBarManager1
     //
     this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
     this.mainFrameBarManager1.Bars.Add(this.bar1);
     this.mainFrameBarManager1.Categories.Add("file");
     this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
     this.mainFrameBarManager1.Font = this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainFrameBarManager1.Form = this;
     this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem6
     });
     this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
     this.mainFrameBarManager1.ResetCustomization = false;
     this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // bar1
     //
     this.bar1.BarName = "menu";
     this.bar1.Caption = "menu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1
     });
     this.bar1.Manager = this.mainFrameBarManager1;
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName       = "parentBarItem1";
     this.parentBarItem1.CategoryIndex = 0;
     this.parentBarItem1.ID            = "File";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem6
     });
     this.parentBarItem1.MetroColor         = System.Drawing.Color.DeepSkyBlue;
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Text = "File";
     //
     // barItem1
     //
     this.barItem1.BarName            = "barItem1";
     this.barItem1.CategoryIndex      = 0;
     this.barItem1.ID                 = "New";
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "New";
     this.barItem1.Click             += new System.EventHandler(this.menuItem2_Click);
     //
     // barItem2
     //
     this.barItem2.BarName            = "barItem2";
     this.barItem2.CategoryIndex      = 0;
     this.barItem2.ID                 = "Open";
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "Open";
     this.barItem2.Click             += new System.EventHandler(this.menuItem3_Click);
     //
     // barItem3
     //
     this.barItem3.BarName            = "barItem3";
     this.barItem3.CategoryIndex      = 0;
     this.barItem3.ID                 = "Save";
     this.barItem3.ShowToolTipInPopUp = false;
     this.barItem3.SizeToFit          = true;
     this.barItem3.Text               = "Save";
     this.barItem3.Click             += new System.EventHandler(this.menuItem5_Click);
     //
     // barItem4
     //
     this.barItem4.BarName            = "barItem4";
     this.barItem4.CategoryIndex      = 0;
     this.barItem4.ID                 = "SaveAs";
     this.barItem4.ShowToolTipInPopUp = false;
     this.barItem4.SizeToFit          = true;
     this.barItem4.Text               = "SaveAs";
     this.barItem4.Click             += new System.EventHandler(this.menuItem6_Click);
     //
     // barItem6
     //
     this.barItem6.BarName            = "barItem6";
     this.barItem6.CategoryIndex      = 0;
     this.barItem6.ID                 = "Exit";
     this.barItem6.ShowToolTipInPopUp = false;
     this.barItem6.SizeToFit          = true;
     this.barItem6.Text               = "Exit";
     this.barItem6.Click             += new System.EventHandler(this.menuItem8_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize        = new System.Drawing.Size(542, 445);
     this.Controls.Add(this.editControl1);
     this.DropShadow       = true;
     this.Font             = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon             = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.MinimumSize      = new System.Drawing.Size(554, 482);
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Context Tooltip";
     this.WindowState      = System.Windows.Forms.FormWindowState.Maximized;
     this.Closing         += new System.ComponentModel.CancelEventHandler(this.Form1_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #10
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));
     this.richTextBox1         = new System.Windows.Forms.RichTextBox();
     this.spellChecker1        = new Syncfusion.Text.SpellChecker(this.components);
     this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this);
     this.bar1           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "menu");
     this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.barItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem4       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.parentBarItem2 = 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.barItem8       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem9       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem10      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem11      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem12      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItem13      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.richTextBox1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.HideSelection = false;
     this.richTextBox1.Location      = new System.Drawing.Point(10, 39);
     this.richTextBox1.Name          = "richTextBox1";
     this.richTextBox1.Size          = new System.Drawing.Size(854, 444);
     this.richTextBox1.TabIndex      = 0;
     this.richTextBox1.Text          = "";
     //
     // spellChecker1
     //
     this.spellChecker1.CustomDictionaryPath = "C:\\ProgramData\\ClipboardFunctionsDemo\\SpellCheckerDemo_2008\\1.0.0.0\\Custom_Dictio" +
                                               "nay.dic";
     this.spellChecker1.DictionaryPath           = "Syncfusion_en_us.dic";
     this.spellChecker1.ExcludeEmailAddress      = true;
     this.spellChecker1.ExcludeFileNames         = true;
     this.spellChecker1.ExcludeHtmlTags          = true;
     this.spellChecker1.ExcludeInternetAddresses = true;
     this.spellChecker1.ExcludeRepeatedWords     = true;
     this.spellChecker1.ExcludeSpecialSymbols    = true;
     this.spellChecker1.ExcludeWordsInUpperCase  = true;
     this.spellChecker1.ExcludeWordsWithNumbers  = true;
     //
     // mainFrameBarManager1
     //
     this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo")));
     this.mainFrameBarManager1.Bars.Add(this.bar1);
     this.mainFrameBarManager1.Categories.Add("File");
     this.mainFrameBarManager1.Categories.Add("Edit");
     this.mainFrameBarManager1.Categories.Add("Spell Check");
     this.mainFrameBarManager1.Categories.Add("About");
     this.mainFrameBarManager1.CategoriesToIgnoreInCustDialog.AddRange(new int[] {
         3
     });
     this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
     this.mainFrameBarManager1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mainFrameBarManager1.Form = this;
     this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem5,
         this.barItem6,
         this.barItem7,
         this.barItem8,
         this.barItem9,
         this.barItem10,
         this.barItem11,
         this.barItem12,
         this.barItem13,
         this.parentBarItem2
     });
     this.mainFrameBarManager1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.mainFrameBarManager1.ResetCustomization = false;
     this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // bar1
     //
     this.bar1.BarName  = "menu";
     this.bar1.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 = "menu";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem2,
         this.barItem12,
         this.barItem13
     });
     this.bar1.Manager = this.mainFrameBarManager1;
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName       = "parentBarItem1";
     this.parentBarItem1.CategoryIndex = 0;
     this.parentBarItem1.ID            = "&File";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4
     });
     this.parentBarItem1.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem1.Text  = "&File";
     //
     // barItem1
     //
     this.barItem1.BarName            = "barItem1";
     this.barItem1.CategoryIndex      = 0;
     this.barItem1.ID                 = "&New";
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "&New";
     this.barItem1.Click             += new System.EventHandler(this.barItem1_Click);
     //
     // barItem2
     //
     this.barItem2.BarName            = "barItem2";
     this.barItem2.CategoryIndex      = 0;
     this.barItem2.ID                 = "&Open";
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "&Open";
     this.barItem2.Click             += new System.EventHandler(this.barItem2_Click);
     //
     // barItem3
     //
     this.barItem3.BarName            = "barItem3";
     this.barItem3.CategoryIndex      = 0;
     this.barItem3.ID                 = "&Save";
     this.barItem3.ShowToolTipInPopUp = false;
     this.barItem3.SizeToFit          = true;
     this.barItem3.Text               = "&Save";
     this.barItem3.Click             += new System.EventHandler(this.barItem3_Click);
     //
     // barItem4
     //
     this.barItem4.BarName            = "barItem4";
     this.barItem4.CategoryIndex      = 0;
     this.barItem4.ID                 = "&Exit";
     this.barItem4.ShowToolTipInPopUp = false;
     this.barItem4.SizeToFit          = true;
     this.barItem4.Text               = "&Exit";
     this.barItem4.Click             += new System.EventHandler(this.barItem4_Click);
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName       = "parentBarItem2";
     this.parentBarItem2.CategoryIndex = 1;
     this.parentBarItem2.ID            = "&Edit";
     this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem5,
         this.barItem6,
         this.barItem7,
         this.barItem8,
         this.barItem9,
         this.barItem10,
         this.barItem11
     });
     this.parentBarItem2.MetroColor         = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(110)))), ((int)(((byte)(218)))));
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem2.Text  = "&Edit";
     //
     // barItem5
     //
     this.barItem5.BarName            = "barItem5";
     this.barItem5.CategoryIndex      = 1;
     this.barItem5.ID                 = "&Undo";
     this.barItem5.ShowToolTipInPopUp = false;
     this.barItem5.SizeToFit          = true;
     this.barItem5.Text               = "&Undo";
     this.barItem5.Click             += new System.EventHandler(this.barItem5_Click);
     //
     // barItem6
     //
     this.barItem6.BarName            = "barItem6";
     this.barItem6.CategoryIndex      = 1;
     this.barItem6.ID                 = "&Redo";
     this.barItem6.ShowToolTipInPopUp = false;
     this.barItem6.SizeToFit          = true;
     this.barItem6.Text               = "&Redo";
     this.barItem6.Click             += new System.EventHandler(this.barItem6_Click);
     //
     // barItem7
     //
     this.barItem7.BarName            = "barItem7";
     this.barItem7.CategoryIndex      = 1;
     this.barItem7.ID                 = "&Cut";
     this.barItem7.ShowToolTipInPopUp = false;
     this.barItem7.SizeToFit          = true;
     this.barItem7.Text               = "&Cut";
     this.barItem7.Click             += new System.EventHandler(this.barItem7_Click);
     //
     // barItem8
     //
     this.barItem8.BarName            = "barItem8";
     this.barItem8.CategoryIndex      = 1;
     this.barItem8.ID                 = "C&opy";
     this.barItem8.ShowToolTipInPopUp = false;
     this.barItem8.SizeToFit          = true;
     this.barItem8.Text               = "C&opy";
     this.barItem8.Click             += new System.EventHandler(this.barItem8_Click);
     //
     // barItem9
     //
     this.barItem9.BarName            = "barItem9";
     this.barItem9.CategoryIndex      = 1;
     this.barItem9.ID                 = "&Paste";
     this.barItem9.ShowToolTipInPopUp = false;
     this.barItem9.SizeToFit          = true;
     this.barItem9.Text               = "&Paste";
     this.barItem9.Click             += new System.EventHandler(this.barItem9_Click);
     //
     // barItem10
     //
     this.barItem10.BarName            = "barItem10";
     this.barItem10.CategoryIndex      = 1;
     this.barItem10.ID                 = "&SelectAll";
     this.barItem10.ShowToolTipInPopUp = false;
     this.barItem10.SizeToFit          = true;
     this.barItem10.Text               = "&SelectAll";
     this.barItem10.Click             += new System.EventHandler(this.barItem10_Click);
     //
     // barItem11
     //
     this.barItem11.BarName            = "barItem11";
     this.barItem11.CategoryIndex      = 1;
     this.barItem11.ID                 = "CanCe&l Selection";
     this.barItem11.ShowToolTipInPopUp = false;
     this.barItem11.SizeToFit          = true;
     this.barItem11.Text               = "Cancel Selection";
     this.barItem11.Click             += new System.EventHandler(this.barItem11_Click);
     //
     // barItem12
     //
     this.barItem12.BarName            = "barItem12";
     this.barItem12.CategoryIndex      = 2;
     this.barItem12.ID                 = "&Spell Check";
     this.barItem12.ShowToolTipInPopUp = false;
     this.barItem12.SizeToFit          = true;
     this.barItem12.Text               = "&Spell Check";
     this.barItem12.Click             += new System.EventHandler(this.barItem12_Click);
     //
     // barItem13
     //
     this.barItem13.BarName            = "barItem13";
     this.barItem13.CategoryIndex      = 3;
     this.barItem13.ID                 = "&About";
     this.barItem13.ShowToolTipInPopUp = false;
     this.barItem13.SizeToFit          = true;
     this.barItem13.Text               = "&About";
     this.barItem13.Click             += new System.EventHandler(this.barItem13_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.BorderColor       = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226)))));
     this.CaptionAlign      = System.Windows.Forms.HorizontalAlignment.Center;
     this.ClientSize        = new System.Drawing.Size(874, 493);
     this.Controls.Add(this.richTextBox1);
     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.IconAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this.IconTextRelation = System.Windows.Forms.LeftRightAlignment.Left;
     this.MetroColor       = System.Drawing.Color.White;
     this.Name             = "Form1";
     this.Padding          = new System.Windows.Forms.Padding(10);
     this.StartPosition    = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text             = "Spell Checker Demo";
     this.Load            += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit();
     this.ResumeLayout(false);
 }
Пример #11
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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
     this.diagram             = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram();
     this.imageList           = new System.Windows.Forms.ImageList(this.components);
     this.mainFrameBarManager = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this.components, this);
     this.barItemInsertSymbol = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager, "Edit");
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).BeginInit();
     this.SuspendLayout();
     //
     // diagram
     //
     this.diagram.AllowDrop = true;
     //
     // diagram.Controller
     //
     this.diagram.Controller.MaxHistory       = 256;
     this.diagram.Controller.SelectHandleMode = Syncfusion.Windows.Forms.Diagram.SelectHandleType.Resize;
     this.diagram.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.diagram.HScroll  = true;
     this.diagram.Location = new System.Drawing.Point(0, 26);
     //
     // diagram.Model
     //
     this.diagram.Model.BoundaryConstraintsEnabled = true;
     this.diagram.Model.Height           = 5000F;
     this.diagram.Model.Name             = "Model";
     this.diagram.Model.MeasurementScale = 1F;
     this.diagram.Model.MeasurementUnits = System.Drawing.GraphicsUnit.Pixel;
     this.diagram.Model.Width            = 5000F;
     this.diagram.Name              = "diagram";
     this.diagram.NudgeIncrement    = 1F;
     this.diagram.ScrollGranularity = 0.5F;
     this.diagram.Size              = new System.Drawing.Size(464, 340);
     this.diagram.TabIndex          = 0;
     this.diagram.Text              = "diagram1";
     //
     // diagram.View
     //
     this.diagram.View.BackgroundColor        = System.Drawing.Color.DarkGray;
     this.diagram.View.Grid.HorizontalSpacing = 10F;
     this.diagram.View.Grid.MinPixelSpacing   = 4;
     this.diagram.View.Grid.SnapToGrid        = true;
     this.diagram.View.Grid.VerticalSpacing   = 10F;
     this.diagram.View.Grid.Visible           = true;
     this.diagram.View.HandleAnchorColor      = System.Drawing.Color.LightGray;
     this.diagram.View.HandleColor            = System.Drawing.Color.White;
     this.diagram.View.HandleSize             = 6;
     this.diagram.View.ShowPageBounds         = true;
     this.diagram.VScroll = true;
     //
     // imageList
     //
     this.imageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // mainFrameBarManager
     //
     this.mainFrameBarManager.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager.BarPositionInfo")));
     this.mainFrameBarManager.Bars.Add(this.bar1);
     this.mainFrameBarManager.Categories.Add("Edit");
     this.mainFrameBarManager.CurrentBaseFormType = "";
     this.mainFrameBarManager.Form      = this;
     this.mainFrameBarManager.ImageList = this.imageList;
     this.mainFrameBarManager.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemInsertSymbol
     });
     this.mainFrameBarManager.LargeImageList     = null;
     this.mainFrameBarManager.ResetCustomization = false;
     //
     // barItemInsertSymbol
     //
     this.barItemInsertSymbol.CategoryIndex = 0;
     this.barItemInsertSymbol.ID            = "InsertSymbol";
     this.barItemInsertSymbol.ImageIndex    = 0;
     this.barItemInsertSymbol.Text          = "InsertSymbol";
     this.barItemInsertSymbol.Click        += new System.EventHandler(this.barItemInsertSymbol_Click);
     //
     // bar1
     //
     this.bar1.BarName = "Edit";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemInsertSymbol
     });
     this.bar1.Manager = this.mainFrameBarManager;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(464, 366);
     this.Controls.Add(this.diagram);
     this.Name          = "MainForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text          = "Dynamic Symbol";
     ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager)).EndInit();
     this.ResumeLayout(false);
 }