Ejemplo n.º 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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DiagramForm));
     this.diagramComponent     = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram();
     this.childFrameBarManager = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this.components, this);
     this.barDrawing           = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager, "Drawing");
     this.barItemSelect        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.smBarItemImages      = new System.Windows.Forms.ImageList(this.components);
     this.barItemLine          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemRectangle     = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEllipse       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemText          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemPolyline      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemPolygon       = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemArc           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemCurve         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemClosedCurve   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemImage         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barNode               = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager, "Node");
     this.barItemGroup          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemUngroup        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemBringToFront   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemSendToBack     = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemBringForward   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemSendBackward   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barNudge              = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager, "Nudge");
     this.barItemNudgeUp        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemNudgeDown      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemNudgeLeft      = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemNudgeRight     = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barLinks              = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager, "Links");
     this.barItemLink           = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barRotate             = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager, "Rotate");
     this.barItemRotate         = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemRotateLeft     = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemRotateRight    = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemFlipVertical   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemFlipHorizontal = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.bar1                         = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager, "View");
     this.barItemPan                   = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemShowGrid              = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemSnapToGrid            = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemZoom                  = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.comboBoxBarItemMagnification = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
     this.barItemOrthogonalLink        = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemEditVertices          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemDirectedLink          = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     this.barItemArcLink               = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem();
     ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager)).BeginInit();
     this.SuspendLayout();
     //
     // diagramComponent
     //
     this.diagramComponent.AllowDrop = true;
     //
     // diagramComponent.Controller
     //
     this.diagramComponent.Controller.MaxHistory       = 256;
     this.diagramComponent.Controller.SelectHandleMode = Syncfusion.Windows.Forms.Diagram.SelectHandleType.Resize;
     this.diagramComponent.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.diagramComponent.HScroll       = true;
     this.diagramComponent.LayoutManager = null;
     this.diagramComponent.Location      = new System.Drawing.Point(0, 0);
     //
     // diagramComponent.Model
     //
     this.diagramComponent.Model.BoundaryConstraintsEnabled = true;
     this.diagramComponent.Model.Height           = 1056F;
     this.diagramComponent.Model.MeasurementScale = 1F;
     this.diagramComponent.Model.MeasurementUnits = System.Drawing.GraphicsUnit.Pixel;
     this.diagramComponent.Model.Name             = "Model";
     this.diagramComponent.Model.Width            = 816F;
     this.diagramComponent.Name              = "diagramComponent";
     this.diagramComponent.NudgeIncrement    = 1F;
     this.diagramComponent.ScrollGranularity = 0.5F;
     this.diagramComponent.Size              = new System.Drawing.Size(560, 414);
     this.diagramComponent.TabIndex          = 0;
     this.diagramComponent.Tag = "";
     //
     // diagramComponent.View
     //
     this.diagramComponent.View.BackgroundColor        = System.Drawing.Color.SteelBlue;
     this.diagramComponent.View.Grid.Color             = System.Drawing.Color.Black;
     this.diagramComponent.View.Grid.HorizontalSpacing = 10F;
     this.diagramComponent.View.Grid.SnapToGrid        = true;
     this.diagramComponent.View.Grid.VerticalSpacing   = 10F;
     this.diagramComponent.View.Grid.Visible           = true;
     this.diagramComponent.View.HandleAnchorColor      = System.Drawing.Color.LightGray;
     this.diagramComponent.View.HandleColor            = System.Drawing.Color.White;
     this.diagramComponent.View.HandleSize             = 6;
     this.diagramComponent.View.ShowPageBounds         = true;
     this.diagramComponent.View.MagnificationChanged  += new Syncfusion.Windows.Forms.Diagram.ViewMagnificationEventHandler(this.diagramComponent_View_MagnificationChanged);
     this.diagramComponent.VScroll = true;
     //
     // childFrameBarManager
     //
     this.childFrameBarManager.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("childFrameBarManager.BarPositionInfo")));
     this.childFrameBarManager.Bars.Add(this.barDrawing);
     this.childFrameBarManager.Bars.Add(this.barNode);
     this.childFrameBarManager.Bars.Add(this.barNudge);
     this.childFrameBarManager.Bars.Add(this.barLinks);
     this.childFrameBarManager.Bars.Add(this.barRotate);
     this.childFrameBarManager.Bars.Add(this.bar1);
     this.childFrameBarManager.Categories.Add("Drawing Tools");
     this.childFrameBarManager.Categories.Add("Node Tools");
     this.childFrameBarManager.Categories.Add("Connection Tools");
     this.childFrameBarManager.Categories.Add("Nudge Tools");
     this.childFrameBarManager.Categories.Add("Rotate Tools");
     this.childFrameBarManager.Categories.Add("View Tools");
     this.childFrameBarManager.CurrentBaseFormType = "System.Windows.Forms.Form";
     this.childFrameBarManager.Form      = this;
     this.childFrameBarManager.ImageList = null;
     this.childFrameBarManager.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemSelect,
         this.barItemLine,
         this.barItemRectangle,
         this.barItemEllipse,
         this.barItemText,
         this.barItemPolyline,
         this.barItemPolygon,
         this.barItemArc,
         this.barItemCurve,
         this.barItemClosedCurve,
         this.barItemImage,
         this.barItemGroup,
         this.barItemUngroup,
         this.barItemBringToFront,
         this.barItemSendToBack,
         this.barItemBringForward,
         this.barItemSendBackward,
         this.barItemLink,
         this.barItemNudgeUp,
         this.barItemNudgeDown,
         this.barItemNudgeLeft,
         this.barItemNudgeRight,
         this.barItemRotate,
         this.barItemRotateLeft,
         this.barItemRotateRight,
         this.barItemFlipVertical,
         this.barItemFlipHorizontal,
         this.barItemPan,
         this.barItemShowGrid,
         this.barItemSnapToGrid,
         this.barItemZoom,
         this.comboBoxBarItemMagnification,
         this.barItemOrthogonalLink,
         this.barItemEditVertices,
         this.barItemDirectedLink,
         this.barItemArcLink
     });
     this.childFrameBarManager.LargeImageList = null;
     //
     // barDrawing
     //
     this.barDrawing.BarName = "Drawing";
     this.barDrawing.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemSelect,
         this.barItemLine,
         this.barItemRectangle,
         this.barItemEllipse,
         this.barItemText,
         this.barItemPolyline,
         this.barItemPolygon,
         this.barItemArc,
         this.barItemCurve,
         this.barItemClosedCurve,
         this.barItemImage,
         this.barItemEditVertices
     });
     this.barDrawing.Manager = this.childFrameBarManager;
     //
     // barItemSelect
     //
     this.barItemSelect.CategoryIndex = 0;
     this.barItemSelect.ID            = "Pointer";
     this.barItemSelect.ImageIndex    = 0;
     this.barItemSelect.ImageList     = this.smBarItemImages;
     this.barItemSelect.Tag           = "SelectTool";
     this.barItemSelect.Text          = "Select";
     this.barItemSelect.Tooltip       = "Select";
     this.barItemSelect.Click        += new System.EventHandler(this.toolActivate);
     //
     // 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;
     //
     // barItemLine
     //
     this.barItemLine.CategoryIndex = 0;
     this.barItemLine.ID            = "Line";
     this.barItemLine.ImageIndex    = 2;
     this.barItemLine.ImageList     = this.smBarItemImages;
     this.barItemLine.Tag           = "LineTool";
     this.barItemLine.Text          = "Line";
     this.barItemLine.Tooltip       = "Line";
     this.barItemLine.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemRectangle
     //
     this.barItemRectangle.CategoryIndex = 0;
     this.barItemRectangle.ID            = "Rectangle";
     this.barItemRectangle.ImageIndex    = 1;
     this.barItemRectangle.ImageList     = this.smBarItemImages;
     this.barItemRectangle.Tag           = "RectangleTool";
     this.barItemRectangle.Text          = "Rectangle";
     this.barItemRectangle.Tooltip       = "Rectangle";
     this.barItemRectangle.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemEllipse
     //
     this.barItemEllipse.CategoryIndex = 0;
     this.barItemEllipse.ID            = "Ellipse";
     this.barItemEllipse.ImageIndex    = 4;
     this.barItemEllipse.ImageList     = this.smBarItemImages;
     this.barItemEllipse.Tag           = "EllipseTool";
     this.barItemEllipse.Text          = "Ellipse";
     this.barItemEllipse.Tooltip       = "Ellipse";
     this.barItemEllipse.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemText
     //
     this.barItemText.CategoryIndex = 0;
     this.barItemText.ID            = "Text";
     this.barItemText.ImageIndex    = 5;
     this.barItemText.ImageList     = this.smBarItemImages;
     this.barItemText.Tag           = "TextTool";
     this.barItemText.Text          = "Text";
     this.barItemText.Tooltip       = "Text";
     this.barItemText.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemPolyline
     //
     this.barItemPolyline.CategoryIndex = 0;
     this.barItemPolyline.ID            = "Polyline";
     this.barItemPolyline.ImageIndex    = 3;
     this.barItemPolyline.ImageList     = this.smBarItemImages;
     this.barItemPolyline.Tag           = "PolyLineTool";
     this.barItemPolyline.Text          = "Polyline";
     this.barItemPolyline.Tooltip       = "Polyline";
     this.barItemPolyline.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemPolygon
     //
     this.barItemPolygon.CategoryIndex = 0;
     this.barItemPolygon.ID            = "Polygon";
     this.barItemPolygon.ImageIndex    = 23;
     this.barItemPolygon.ImageList     = this.smBarItemImages;
     this.barItemPolygon.Tag           = "PolygonTool";
     this.barItemPolygon.Text          = "Polygon";
     this.barItemPolygon.Tooltip       = "Polygon";
     this.barItemPolygon.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemArc
     //
     this.barItemArc.CategoryIndex = 0;
     this.barItemArc.ID            = "Arc";
     this.barItemArc.ImageIndex    = 40;
     this.barItemArc.ImageList     = this.smBarItemImages;
     this.barItemArc.Tag           = "ArcTool";
     this.barItemArc.Text          = "Arc";
     this.barItemArc.Tooltip       = "Arc";
     this.barItemArc.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemCurve
     //
     this.barItemCurve.CategoryIndex = 0;
     this.barItemCurve.ID            = "Curve";
     this.barItemCurve.ImageIndex    = 22;
     this.barItemCurve.ImageList     = this.smBarItemImages;
     this.barItemCurve.Tag           = "CurveTool";
     this.barItemCurve.Text          = "Curve";
     this.barItemCurve.Tooltip       = "Curve";
     this.barItemCurve.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemClosedCurve
     //
     this.barItemClosedCurve.CategoryIndex = 0;
     this.barItemClosedCurve.ID            = "Closed Curve";
     this.barItemClosedCurve.ImageIndex    = 21;
     this.barItemClosedCurve.ImageList     = this.smBarItemImages;
     this.barItemClosedCurve.Tag           = "ClosedCurveTool";
     this.barItemClosedCurve.Text          = "Closed Curve";
     this.barItemClosedCurve.Tooltip       = "Closed Curve";
     this.barItemClosedCurve.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemImage
     //
     this.barItemImage.CategoryIndex = 0;
     this.barItemImage.ID            = "Image";
     this.barItemImage.ImageIndex    = 42;
     this.barItemImage.ImageList     = this.smBarItemImages;
     this.barItemImage.Tag           = "ImageTool";
     this.barItemImage.Text          = "Image";
     this.barItemImage.Tooltip       = "Image";
     this.barItemImage.Click        += new System.EventHandler(this.barItemImage_Click);
     //
     // barNode
     //
     this.barNode.BarName = "Node";
     this.barNode.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemGroup,
         this.barItemUngroup,
         this.barItemBringToFront,
         this.barItemSendToBack,
         this.barItemBringForward,
         this.barItemSendBackward
     });
     this.barNode.Manager = this.childFrameBarManager;
     //
     // barItemGroup
     //
     this.barItemGroup.CategoryIndex = 1;
     this.barItemGroup.ID            = "Group";
     this.barItemGroup.ImageIndex    = 6;
     this.barItemGroup.ImageList     = this.smBarItemImages;
     this.barItemGroup.Tag           = "GroupTool";
     this.barItemGroup.Text          = "Group";
     this.barItemGroup.Tooltip       = "Group";
     this.barItemGroup.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemUngroup
     //
     this.barItemUngroup.CategoryIndex = 1;
     this.barItemUngroup.ID            = "Ungroup";
     this.barItemUngroup.ImageIndex    = 7;
     this.barItemUngroup.ImageList     = this.smBarItemImages;
     this.barItemUngroup.Tag           = "UngroupTool";
     this.barItemUngroup.Text          = "Ungroup";
     this.barItemUngroup.Tooltip       = "Ungroup";
     this.barItemUngroup.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemBringToFront
     //
     this.barItemBringToFront.CategoryIndex = 1;
     this.barItemBringToFront.ID            = "Bring To Front";
     this.barItemBringToFront.ImageIndex    = 20;
     this.barItemBringToFront.ImageList     = this.smBarItemImages;
     this.barItemBringToFront.Text          = "Bring To Front";
     this.barItemBringToFront.Tooltip       = "Bring To Front";
     this.barItemBringToFront.Click        += new System.EventHandler(this.barItemBringToFront_Click);
     //
     // barItemSendToBack
     //
     this.barItemSendToBack.CategoryIndex = 1;
     this.barItemSendToBack.ID            = "Send To Back";
     this.barItemSendToBack.ImageIndex    = 33;
     this.barItemSendToBack.ImageList     = this.smBarItemImages;
     this.barItemSendToBack.Text          = "Send To Back";
     this.barItemSendToBack.Click        += new System.EventHandler(this.barItemSendToBack_Click);
     //
     // barItemBringForward
     //
     this.barItemBringForward.CategoryIndex = 1;
     this.barItemBringForward.ID            = "Bring Forward";
     this.barItemBringForward.ImageIndex    = 19;
     this.barItemBringForward.ImageList     = this.smBarItemImages;
     this.barItemBringForward.Text          = "Bring Forward";
     this.barItemBringForward.Click        += new System.EventHandler(this.barItemBringForward_Click);
     //
     // barItemSendBackward
     //
     this.barItemSendBackward.CategoryIndex = 1;
     this.barItemSendBackward.ID            = "Send Backward";
     this.barItemSendBackward.ImageIndex    = 32;
     this.barItemSendBackward.ImageList     = this.smBarItemImages;
     this.barItemSendBackward.Text          = "Send Backward";
     this.barItemSendBackward.Click        += new System.EventHandler(this.barItemSendBackward_Click);
     //
     // barNudge
     //
     this.barNudge.BarName = "Nudge";
     this.barNudge.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemNudgeUp,
         this.barItemNudgeDown,
         this.barItemNudgeLeft,
         this.barItemNudgeRight
     });
     this.barNudge.Manager = this.childFrameBarManager;
     //
     // barItemNudgeUp
     //
     this.barItemNudgeUp.CategoryIndex = 3;
     this.barItemNudgeUp.ID            = "Nudge Up";
     this.barItemNudgeUp.ImageIndex    = 29;
     this.barItemNudgeUp.ImageList     = this.smBarItemImages;
     this.barItemNudgeUp.Text          = "Nudge Up";
     this.barItemNudgeUp.Tooltip       = "Nudge Up";
     this.barItemNudgeUp.Click        += new System.EventHandler(this.barItemNudgeUp_Click);
     //
     // barItemNudgeDown
     //
     this.barItemNudgeDown.CategoryIndex = 3;
     this.barItemNudgeDown.ID            = "Nudge Down";
     this.barItemNudgeDown.ImageIndex    = 26;
     this.barItemNudgeDown.ImageList     = this.smBarItemImages;
     this.barItemNudgeDown.Text          = "Nudge Down";
     this.barItemNudgeDown.Tooltip       = "Nudge Down";
     this.barItemNudgeDown.Click        += new System.EventHandler(this.barItemNudgeDown_Click);
     //
     // barItemNudgeLeft
     //
     this.barItemNudgeLeft.CategoryIndex = 3;
     this.barItemNudgeLeft.ID            = "Nudge Left";
     this.barItemNudgeLeft.ImageIndex    = 27;
     this.barItemNudgeLeft.ImageList     = this.smBarItemImages;
     this.barItemNudgeLeft.Text          = "Nudge Left";
     this.barItemNudgeLeft.Tooltip       = "Nudge Left";
     this.barItemNudgeLeft.Click        += new System.EventHandler(this.barItemNudgeLeft_Click);
     //
     // barItemNudgeRight
     //
     this.barItemNudgeRight.CategoryIndex = 3;
     this.barItemNudgeRight.ID            = "Nudge Right";
     this.barItemNudgeRight.ImageIndex    = 28;
     this.barItemNudgeRight.ImageList     = this.smBarItemImages;
     this.barItemNudgeRight.Text          = "Nudge Right";
     this.barItemNudgeRight.Tooltip       = "Nudge Right";
     this.barItemNudgeRight.Click        += new System.EventHandler(this.barItemNudgeRight_Click);
     //
     // barLinks
     //
     this.barLinks.BarName = "Links";
     this.barLinks.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemLink,
         this.barItemOrthogonalLink,
         this.barItemDirectedLink,
         this.barItemArcLink
     });
     this.barLinks.Manager = this.childFrameBarManager;
     //
     // barItemLink
     //
     this.barItemLink.CategoryIndex = 2;
     this.barItemLink.ID            = "Link";
     this.barItemLink.ImageIndex    = 43;
     this.barItemLink.ImageList     = this.smBarItemImages;
     this.barItemLink.Text          = "Link";
     this.barItemLink.Tooltip       = "Link";
     this.barItemLink.Click        += new System.EventHandler(this.barItemLinkSymbols_Click);
     //
     // barRotate
     //
     this.barRotate.BarName = "Rotate";
     this.barRotate.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemRotate,
         this.barItemRotateLeft,
         this.barItemRotateRight,
         this.barItemFlipVertical,
         this.barItemFlipHorizontal
     });
     this.barRotate.Manager = this.childFrameBarManager;
     //
     // barItemRotate
     //
     this.barItemRotate.CategoryIndex = 4;
     this.barItemRotate.ID            = "Rotate";
     this.barItemRotate.ImageIndex    = 9;
     this.barItemRotate.ImageList     = this.smBarItemImages;
     this.barItemRotate.Tag           = "RotateTool";
     this.barItemRotate.Text          = "Rotate";
     this.barItemRotate.Tooltip       = "Rotate";
     this.barItemRotate.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemRotateLeft
     //
     this.barItemRotateLeft.CategoryIndex = 4;
     this.barItemRotateLeft.ID            = "Rotate Left";
     this.barItemRotateLeft.ImageIndex    = 30;
     this.barItemRotateLeft.ImageList     = this.smBarItemImages;
     this.barItemRotateLeft.Text          = "Rotate Left";
     this.barItemRotateLeft.Tooltip       = "Rotate Left";
     this.barItemRotateLeft.Click        += new System.EventHandler(this.barItemRotateLeft_Click);
     //
     // barItemRotateRight
     //
     this.barItemRotateRight.CategoryIndex = 4;
     this.barItemRotateRight.ID            = "Rotate Right";
     this.barItemRotateRight.ImageIndex    = 31;
     this.barItemRotateRight.ImageList     = this.smBarItemImages;
     this.barItemRotateRight.Text          = "Rotate Right";
     this.barItemRotateRight.Tooltip       = "Rotate Right";
     this.barItemRotateRight.Click        += new System.EventHandler(this.barItemRotateRight_Click);
     //
     // barItemFlipVertical
     //
     this.barItemFlipVertical.CategoryIndex = 4;
     this.barItemFlipVertical.ID            = "Flip Vertical";
     this.barItemFlipVertical.ImageIndex    = 25;
     this.barItemFlipVertical.ImageList     = this.smBarItemImages;
     this.barItemFlipVertical.Text          = "Flip Vertical";
     this.barItemFlipVertical.Tooltip       = "Flip Vertical";
     this.barItemFlipVertical.Click        += new System.EventHandler(this.barItemFlipVertical_Click);
     //
     // barItemFlipHorizontal
     //
     this.barItemFlipHorizontal.CategoryIndex = 4;
     this.barItemFlipHorizontal.ID            = "Flip Horizontal";
     this.barItemFlipHorizontal.ImageIndex    = 24;
     this.barItemFlipHorizontal.ImageList     = this.smBarItemImages;
     this.barItemFlipHorizontal.Text          = "Flip Horizontal";
     this.barItemFlipHorizontal.Tooltip       = "Flip Horizontal";
     this.barItemFlipHorizontal.Click        += new System.EventHandler(this.barItemFlipHorizontal_Click);
     //
     // bar1
     //
     this.bar1.BarName = "View";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItemPan,
         this.barItemShowGrid,
         this.barItemSnapToGrid,
         this.barItemZoom,
         this.comboBoxBarItemMagnification
     });
     this.bar1.Manager = this.childFrameBarManager;
     //
     // barItemPan
     //
     this.barItemPan.CategoryIndex = 5;
     this.barItemPan.ID            = "Pan";
     this.barItemPan.ImageIndex    = 10;
     this.barItemPan.ImageList     = this.smBarItemImages;
     this.barItemPan.Tag           = "PanTool";
     this.barItemPan.Text          = "Pan";
     this.barItemPan.Tooltip       = "Pan";
     this.barItemPan.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemShowGrid
     //
     this.barItemShowGrid.CategoryIndex = 5;
     this.barItemShowGrid.ID            = "Show Grid";
     this.barItemShowGrid.ImageIndex    = 44;
     this.barItemShowGrid.ImageList     = this.smBarItemImages;
     this.barItemShowGrid.Text          = "Show Grid";
     this.barItemShowGrid.Tooltip       = "Show Grid";
     this.barItemShowGrid.Click        += new System.EventHandler(this.barItemShowGrid_Click);
     //
     // barItemSnapToGrid
     //
     this.barItemSnapToGrid.CategoryIndex = 5;
     this.barItemSnapToGrid.ID            = "Snap To Grid";
     this.barItemSnapToGrid.ImageIndex    = 45;
     this.barItemSnapToGrid.ImageList     = this.smBarItemImages;
     this.barItemSnapToGrid.Text          = "Snap To Grid";
     this.barItemSnapToGrid.Click        += new System.EventHandler(this.barItemSnapToGrid_Click);
     //
     // barItemZoom
     //
     this.barItemZoom.CategoryIndex = 5;
     this.barItemZoom.ID            = "Zoom";
     this.barItemZoom.ImageIndex    = 8;
     this.barItemZoom.ImageList     = this.smBarItemImages;
     this.barItemZoom.Tag           = "ZoomTool";
     this.barItemZoom.Text          = "Zoom";
     this.barItemZoom.Tooltip       = "Zoom";
     this.barItemZoom.Click        += new System.EventHandler(this.toolActivate);
     //
     // comboBoxBarItemMagnification
     //
     this.comboBoxBarItemMagnification.CategoryIndex = 5;
     this.comboBoxBarItemMagnification.ChoiceList.AddRange(new string[] {
         "25%",
         "50%",
         "75%",
         "100%",
         "125%",
         "150%",
         "175%",
         "200%"
     });
     this.comboBoxBarItemMagnification.Editable = false;
     this.comboBoxBarItemMagnification.ID       = "Magnification";
     this.comboBoxBarItemMagnification.Text     = "Magnification";
     this.comboBoxBarItemMagnification.Tooltip  = "Magnification";
     this.comboBoxBarItemMagnification.Click   += new System.EventHandler(this.comboBoxBarItemMagnification_Click);
     //
     // barItemOrthogonalLink
     //
     this.barItemOrthogonalLink.CategoryIndex = 2;
     this.barItemOrthogonalLink.ID            = "Orthogonal Link";
     this.barItemOrthogonalLink.ImageIndex    = 46;
     this.barItemOrthogonalLink.ImageList     = this.smBarItemImages;
     this.barItemOrthogonalLink.Text          = "Orthogonal Link";
     this.barItemOrthogonalLink.Click        += new System.EventHandler(this.barItemOrthogonalLink_Click);
     //
     // barItemEditVertices
     //
     this.barItemEditVertices.CategoryIndex = 0;
     this.barItemEditVertices.ID            = "Edit Vertices";
     this.barItemEditVertices.ImageIndex    = 11;
     this.barItemEditVertices.ImageList     = this.smBarItemImages;
     this.barItemEditVertices.Tag           = "VertexEditTool";
     this.barItemEditVertices.Text          = "Edit Vertices";
     this.barItemEditVertices.Click        += new System.EventHandler(this.toolActivate);
     //
     // barItemDirectedLink
     //
     this.barItemDirectedLink.CategoryIndex = 2;
     this.barItemDirectedLink.ID            = "Directed Link";
     this.barItemDirectedLink.ImageIndex    = 47;
     this.barItemDirectedLink.ImageList     = this.smBarItemImages;
     this.barItemDirectedLink.Text          = "Directed Link";
     this.barItemDirectedLink.Tooltip       = "Directed Link";
     this.barItemDirectedLink.Click        += new System.EventHandler(this.barItemDirectedLink_Click);
     //
     // barItemArcLink
     //
     this.barItemArcLink.CategoryIndex = 2;
     this.barItemArcLink.ID            = "Arc Link";
     this.barItemArcLink.ImageIndex    = 48;
     this.barItemArcLink.ImageList     = this.smBarItemImages;
     this.barItemArcLink.Text          = "Arc Link";
     this.barItemArcLink.Tooltip       = "Arc Link";
     this.barItemArcLink.Click        += new System.EventHandler(this.barItemArcLink_Click);
     //
     // DiagramForm
     //
     this.AllowDrop         = true;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(560, 414);
     this.Controls.Add(this.diagramComponent);
     this.Name          = "DiagramForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.Text          = "Diagram";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.DiagramForm_Closing);
     this.Load         += new System.EventHandler(this.DiagramForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 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();
            System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(TextForm));
            Syncfusion.Windows.Forms.MetroColorTable       metroColorTabel1 = new Syncfusion.Windows.Forms.MetroColorTable();
            this.richTextBox1          = new System.Windows.Forms.RichTextBox();
            this.childFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this);
            this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Edit");
            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.bar2                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Format");
            this.comboBoxBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
            this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer();
            this.colorUIControl1        = new Syncfusion.Windows.Forms.ColorUIControl();
            this.comboBoxBarItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.bar3                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "MainMenu");
            this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.parentBarItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.comboBoxBarItem3       = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
            this.listBox1               = new System.Windows.Forms.ListBox();
            this.imageList1             = new System.Windows.Forms.ImageList(this.components);
            this.parentBarItem3         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
            this.popupMenusManager1     = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenusManager(this.components);
            this.popupMenu2             = new Syncfusion.Windows.Forms.Tools.XPMenus.PopupMenu(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).BeginInit();
            this.popupControlContainer1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem3)).BeginInit();
            this.SuspendLayout();
            //
            // richTextBox1
            //
            this.richTextBox1.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.richTextBox1.Font      = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.richTextBox1.ForeColor = System.Drawing.Color.Crimson;
            this.richTextBox1.Location  = new System.Drawing.Point(0, 0);
            this.richTextBox1.Name      = "richTextBox1";
            this.richTextBox1.Size      = new System.Drawing.Size(442, 440);
            this.richTextBox1.TabIndex  = 14;
            this.richTextBox1.Text      = resources.GetString("richTextBox1.Text");
            this.popupMenusManager1.SetXPContextMenu(this.richTextBox1, this.popupMenu2);
            //
            // childFrameBarManager1
            //
#if !NETCORE
            this.childFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("childFrameBarManager1.BarPositionInfo")));
#endif
            this.childFrameBarManager1.Bars.Add(this.bar1);
            this.childFrameBarManager1.Bars.Add(this.bar2);
            this.childFrameBarManager1.Bars.Add(this.bar3);
            this.childFrameBarManager1.Categories.Add("Edit");
            this.childFrameBarManager1.Categories.Add("Format");
            this.childFrameBarManager1.Categories.Add("Popups");
            this.childFrameBarManager1.CategoriesToIgnoreInCustDialog.AddRange(new int[] {
                0
            });
            this.childFrameBarManager1.CurrentBaseFormType = "System.Windows.Forms.Form";
            this.childFrameBarManager1.Form      = this;
            this.childFrameBarManager1.ImageList = this.imageList1;
            this.childFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem3,
                this.comboBoxBarItem1,
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5,
                this.comboBoxBarItem2,
                this.dropDownBarItem1,
                this.parentBarItem1,
                this.parentBarItem2,
                this.comboBoxBarItem3
            });
            this.childFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            //
            // bar1
            //
            this.bar1.BarName  = "Edit";
            this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.RotateWhenVertical)
                                                                                      | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                                     | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
            this.bar1.Caption = "Edit";
            this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5
            });
            this.bar1.Manager = this.childFrameBarManager1;
            //
            // 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                 = "biCut";
            this.barItem1.ImageIndex         = 3;
            this.barItem1.ShowToolTipInPopUp = false;
            this.barItem1.SizeToFit          = true;
            this.barItem1.Text               = "Cu&t";
            //
            // 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                 = "biCopy";
            this.barItem2.ImageIndex         = 4;
            this.barItem2.ShowToolTipInPopUp = false;
            this.barItem2.SizeToFit          = true;
            this.barItem2.Text               = "&Copy";
            //
            // 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                 = "biPaste";
            this.barItem3.ImageIndex         = 5;
            this.barItem3.ShowToolTipInPopUp = false;
            this.barItem3.SizeToFit          = true;
            this.barItem3.Text               = "&Paste";
            //
            // 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                 = "biUndo";
            this.barItem4.ImageIndex         = 6;
            this.barItem4.ShowToolTipInPopUp = false;
            this.barItem4.SizeToFit          = true;
            this.barItem4.Text               = "&Undo";
            //
            // barItem5
            //
            this.barItem5.BarName            = "barItem5";
            this.barItem5.CategoryIndex      = 0;
            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                 = "biRedo";
            this.barItem5.ImageIndex         = 7;
            this.barItem5.ShowToolTipInPopUp = false;
            this.barItem5.SizeToFit          = true;
            this.barItem5.Text               = "&Redo";
            //
            // bar2
            //
            this.bar2.BarName  = "Format";
            this.bar2.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.RotateWhenVertical)
                                                                                      | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                                     | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
            this.bar2.Caption = "Format";
            this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.comboBoxBarItem1,
                this.dropDownBarItem1,
                this.comboBoxBarItem2
            });
            this.bar2.Manager = this.childFrameBarManager1;
            //
            // comboBoxBarItem1
            //
            this.comboBoxBarItem1.BarName            = "comboBoxBarItem1";
            this.comboBoxBarItem1.CategoryIndex      = 1;
            this.comboBoxBarItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBoxBarItem1.ID                 = "Editable";
            this.comboBoxBarItem1.ShowToolTipInPopUp = false;
            this.comboBoxBarItem1.SizeToFit          = true;
            this.comboBoxBarItem1.Text               = "Editable";
            //
            // 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                    = "Font DropDown";
            this.dropDownBarItem1.ImageIndex            = 8;
            this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer1;
            this.dropDownBarItem1.ShowToolTipInPopUp    = false;
            this.dropDownBarItem1.SizeToFit             = true;
            this.dropDownBarItem1.Text                  = "Font DropDown";
            //
            // popupControlContainer1
            //
            this.popupControlContainer1.Controls.Add(this.colorUIControl1);
            this.popupControlContainer1.Location = new System.Drawing.Point(192, 120);
            this.popupControlContainer1.Name     = "popupControlContainer1";
            this.popupControlContainer1.Size     = new System.Drawing.Size(208, 200);
            this.popupControlContainer1.TabIndex = 15;
            this.popupControlContainer1.Visible  = false;
            //
            // colorUIControl1
            //
            this.colorUIControl1.BackColor             = System.Drawing.SystemColors.Control;
            this.colorUIControl1.Dock                  = System.Windows.Forms.DockStyle.Fill;
            this.colorUIControl1.Flag                  = false;
            this.colorUIControl1.Font                  = new System.Drawing.Font("Calibri", 9.75F);
            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";
            metroColorTabel1.ArrowChecked              = System.Drawing.Color.Black;
            metroColorTabel1.ArrowNormal               = System.Drawing.Color.Gray;
            metroColorTabel1.ArrowPushed               = System.Drawing.Color.Black;
            metroColorTabel1.ScrollerBackground        = System.Drawing.Color.White;
            metroColorTabel1.ThumbChecked              = System.Drawing.Color.Black;
            metroColorTabel1.ThumbNormal               = System.Drawing.Color.Gray;
            metroColorTabel1.ThumbPushed               = System.Drawing.Color.Black;
            this.colorUIControl1.ScrollMetroColorTable = metroColorTabel1;
            this.colorUIControl1.SelectedColorGroup    = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
            this.colorUIControl1.Size                  = new System.Drawing.Size(208, 200);
            this.colorUIControl1.TabIndex              = 1;
            this.colorUIControl1.Text                  = "colorUIControl1";
            //
            // comboBoxBarItem2
            //
            this.comboBoxBarItem2.BarName            = "comboBoxBarItem2";
            this.comboBoxBarItem2.CategoryIndex      = 1;
            this.comboBoxBarItem2.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.comboBoxBarItem2.ID                 = "ChoiceList";
            this.comboBoxBarItem2.ShowToolTipInPopUp = false;
            this.comboBoxBarItem2.SizeToFit          = true;
            this.comboBoxBarItem2.Text               = "ChoiceList";
            //
            // bar3
            //
            this.bar3.BarName  = "MainMenu";
            this.bar3.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.bar3.Caption = "MainMenu";
            this.bar3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.parentBarItem1,
                this.parentBarItem2,
                this.comboBoxBarItem3
            });
            this.bar3.Manager = this.childFrameBarManager1;
            //
            // parentBarItem1
            //
            this.parentBarItem1.BarName        = "parentBarItem1";
            this.parentBarItem1.CategoryIndex  = 2;
            this.parentBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem1.ID             = "Edit";
            this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.barItem1,
                this.barItem2,
                this.barItem3,
                this.barItem4,
                this.barItem5
            });
            this.parentBarItem1.MergeOrder         = 1;
            this.parentBarItem1.MetroColor         = System.Drawing.Color.LightSkyBlue;
            this.parentBarItem1.ShowToolTipInPopUp = false;
            this.parentBarItem1.SizeToFit          = true;
            this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem1.Text  = "Edit";
            //
            // parentBarItem2
            //
            this.parentBarItem2.BarName        = "parentBarItem2";
            this.parentBarItem2.CategoryIndex  = 2;
            this.parentBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.parentBarItem2.ID             = "Format";
            this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
                this.comboBoxBarItem1,
                this.comboBoxBarItem2,
                this.dropDownBarItem1
            });
            this.parentBarItem2.MergeOrder         = 3;
            this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
            this.parentBarItem2.ShowToolTipInPopUp = false;
            this.parentBarItem2.SizeToFit          = true;
            this.parentBarItem2.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
            this.parentBarItem2.Text  = "Format";
            //
            // comboBoxBarItem3
            //
            this.comboBoxBarItem3.BarName       = "comboBoxBarItem3";
            this.comboBoxBarItem3.CategoryIndex = 1;
            this.comboBoxBarItem3.ChoiceList.AddRange(new string[] {
                "Default",
                "Office2003",
                "VS2005",
                "Office2007Blue",
                "Office2007Black",
                "Office2007Silver",
                "Office2007Managed",
                "Offic2007Outlook",
                "Metro"
            });
            this.comboBoxBarItem3.ID                 = "BarItem_1";
            this.comboBoxBarItem3.ListBox            = this.listBox1;
            this.comboBoxBarItem3.MinWidth           = 120;
            this.comboBoxBarItem3.ShowToolTipInPopUp = false;
            this.comboBoxBarItem3.SizeToFit          = true;
            this.comboBoxBarItem3.Text               = "ContextMenuStyle";
            //
            // listBox1
            //
            this.listBox1.FormattingEnabled = true;
            this.listBox1.Items.AddRange(new object[] {
                "Default",
                "Office2003",
                "VS2005",
                "Office2007Blue",
                "Office2007Black",
                "Office2007Silver",
                "Office2007Managed",
                "Offic2007Outlook",
                "Metro"
            });
            this.listBox1.Location = new System.Drawing.Point(0, 0);
            this.listBox1.Name     = "listBox1";
            this.listBox1.Size     = new System.Drawing.Size(199, 95);
            this.listBox1.TabIndex = 20;
            //
            // imageList1
            //
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList1.Images.SetKeyName(0, "");
            this.imageList1.Images.SetKeyName(1, "");
            this.imageList1.Images.SetKeyName(2, "");
            this.imageList1.Images.SetKeyName(3, "");
            this.imageList1.Images.SetKeyName(4, "");
            this.imageList1.Images.SetKeyName(5, "");
            this.imageList1.Images.SetKeyName(6, "");
            this.imageList1.Images.SetKeyName(7, "");
            this.imageList1.Images.SetKeyName(8, "");
            //
            // parentBarItem3
            //
            this.parentBarItem3.BarName            = "parentBarItem3";
            this.parentBarItem3.CategoryIndex      = 0;
            this.parentBarItem3.ID                 = "BarItem";
            this.parentBarItem3.MetroColor         = System.Drawing.Color.LightSkyBlue;
            this.parentBarItem3.ShowToolTipInPopUp = false;
            this.parentBarItem3.SizeToFit          = true;
            this.parentBarItem3.Text               = "Edit";
            //
            // popupMenusManager1
            //
            this.popupMenusManager1.ParentForm = this;
            //
            // popupMenu2
            //
            this.popupMenu2.ParentBarItem = this.parentBarItem1;
            this.popupMenu2.BeforePopup  += new Syncfusion.Windows.Forms.CancelMouseEventHandler(this.popupMenu2_BeforePopup);
            //
            // TextForm
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(442, 440);
            this.Controls.Add(this.listBox1);
            this.Controls.Add(this.popupControlContainer1);
            this.Controls.Add(this.richTextBox1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "TextForm";
            this.Text = "Textpad";
            ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).EndInit();
            this.popupControlContainer1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem3)).EndInit();
            this.ResumeLayout(false);
        }
Ejemplo n.º 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();
     Syncfusion.Windows.Forms.MetroColorTable       metroColorTabel1 = new Syncfusion.Windows.Forms.MetroColorTable();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(TextForm));
     this.richTextBox1          = new System.Windows.Forms.RichTextBox();
     this.childFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ChildFrameBarManager(this);
     this.bar1                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Edit");
     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.bar2                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "Format");
     this.comboBoxBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
     this.dropDownBarItem1       = new Syncfusion.Windows.Forms.Tools.XPMenus.DropDownBarItem();
     this.popupControlContainer1 = new Syncfusion.Windows.Forms.PopupControlContainer(this.components);
     this.colorUIControl1        = new Syncfusion.Windows.Forms.ColorUIControl();
     this.comboBoxBarItem2       = new Syncfusion.Windows.Forms.Tools.XPMenus.ComboBoxBarItem();
     this.bar3                   = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.childFrameBarManager1, "MainMenu");
     this.parentBarItem1         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.parentBarItem2         = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem();
     this.imageList1             = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).BeginInit();
     this.popupControlContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).BeginInit();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.richTextBox1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Font        = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.richTextBox1.ForeColor   = System.Drawing.Color.Crimson;
     this.richTextBox1.Location    = new System.Drawing.Point(0, 0);
     this.richTextBox1.Name        = "richTextBox1";
     this.richTextBox1.Size        = new System.Drawing.Size(442, 440);
     this.richTextBox1.TabIndex    = 14;
     this.richTextBox1.Text        = "Essential Tools Lokalisierung Demo";
     //
     // childFrameBarManager1
     //
     this.childFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("childFrameBarManager1.BarPositionInfo")));
     this.childFrameBarManager1.Bars.Add(this.bar1);
     this.childFrameBarManager1.Bars.Add(this.bar2);
     this.childFrameBarManager1.Bars.Add(this.bar3);
     this.childFrameBarManager1.Categories.Add("Edit");
     this.childFrameBarManager1.Categories.Add("Format");
     this.childFrameBarManager1.Categories.Add("Popups");
     this.childFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm";
     this.childFrameBarManager1.Form      = this;
     this.childFrameBarManager1.ImageList = this.imageList1;
     this.childFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem5,
         this.comboBoxBarItem1,
         this.comboBoxBarItem2,
         this.dropDownBarItem1,
         this.parentBarItem1,
         this.parentBarItem2
     });
     this.childFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // bar1
     //
     this.bar1.BarName  = "Edit";
     this.bar1.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.RotateWhenVertical)
                                                                               | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
     this.bar1.Caption = "Bearbeiten";
     this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem5
     });
     this.bar1.Manager = this.childFrameBarManager1;
     //
     // 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                 = "biCut";
     this.barItem1.ImageIndex         = 3;
     this.barItem1.ShowToolTipInPopUp = false;
     this.barItem1.SizeToFit          = true;
     this.barItem1.Text               = "Schnitt";
     //
     // 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                 = "biCopy";
     this.barItem2.ImageIndex         = 4;
     this.barItem2.ShowToolTipInPopUp = false;
     this.barItem2.SizeToFit          = true;
     this.barItem2.Text               = "&Kopieren";
     //
     // 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                 = "biPaste";
     this.barItem3.ImageIndex         = 5;
     this.barItem3.ShowToolTipInPopUp = false;
     this.barItem3.SizeToFit          = true;
     this.barItem3.Text               = "&Einf�gen";
     //
     // 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                 = "biUndo";
     this.barItem4.ImageIndex         = 6;
     this.barItem4.ShowToolTipInPopUp = false;
     this.barItem4.SizeToFit          = true;
     this.barItem4.Text               = "&R�ckg�ngig machen";
     //
     // barItem5
     //
     this.barItem5.BarName            = "barItem5";
     this.barItem5.CategoryIndex      = 0;
     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                 = "biRedo";
     this.barItem5.ImageIndex         = 7;
     this.barItem5.ShowToolTipInPopUp = false;
     this.barItem5.SizeToFit          = true;
     this.barItem5.Text               = "&Redo";
     //
     // bar2
     //
     this.bar2.BarName  = "Format";
     this.bar2.BarStyle = ((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle)((((Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.AllowQuickCustomizing | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.RotateWhenVertical)
                                                                               | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.Visible)
                                                                              | Syncfusion.Windows.Forms.Tools.XPMenus.BarStyle.DrawDragBorder)));
     this.bar2.Caption = "Format";
     this.bar2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.comboBoxBarItem1,
         this.dropDownBarItem1,
         this.comboBoxBarItem2
     });
     this.bar2.Manager = this.childFrameBarManager1;
     //
     // comboBoxBarItem1
     //
     this.comboBoxBarItem1.BarName            = "comboBoxBarItem1";
     this.comboBoxBarItem1.CategoryIndex      = 1;
     this.comboBoxBarItem1.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxBarItem1.ID                 = "Editable";
     this.comboBoxBarItem1.ShowToolTipInPopUp = false;
     this.comboBoxBarItem1.SizeToFit          = true;
     this.comboBoxBarItem1.Text               = "Editierbare";
     //
     // 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                    = "Font DropDown";
     this.dropDownBarItem1.ImageIndex            = 8;
     this.dropDownBarItem1.PopupControlContainer = this.popupControlContainer1;
     this.dropDownBarItem1.ShowToolTipInPopUp    = false;
     this.dropDownBarItem1.SizeToFit             = true;
     this.dropDownBarItem1.Text                  = "Font DropDown";
     //
     // popupControlContainer1
     //
     this.popupControlContainer1.Controls.Add(this.colorUIControl1);
     this.popupControlContainer1.Location = new System.Drawing.Point(192, 120);
     this.popupControlContainer1.Name     = "popupControlContainer1";
     this.popupControlContainer1.Size     = new System.Drawing.Size(208, 200);
     this.popupControlContainer1.TabIndex = 15;
     this.popupControlContainer1.Visible  = false;
     //
     // colorUIControl1
     //
     this.colorUIControl1.BackColor             = System.Drawing.SystemColors.Control;
     this.colorUIControl1.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.colorUIControl1.Flag                  = false;
     this.colorUIControl1.Font                  = new System.Drawing.Font("Calibri", 9.75F);
     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";
     metroColorTabel1.ArrowChecked              = System.Drawing.Color.Black;
     metroColorTabel1.ArrowNormal               = System.Drawing.Color.White;
     metroColorTabel1.ArrowNormal               = System.Drawing.Color.Gray;
     metroColorTabel1.ArrowPushed               = System.Drawing.Color.Black;
     metroColorTabel1.ScrollerBackground        = System.Drawing.Color.White;
     metroColorTabel1.ThumbChecked              = System.Drawing.Color.Black;
     metroColorTabel1.ThumbNormal               = System.Drawing.Color.White;
     metroColorTabel1.ThumbNormal               = System.Drawing.Color.Gray;
     metroColorTabel1.ThumbPushed               = System.Drawing.Color.Black;
     this.colorUIControl1.ScrollMetroColorTable = metroColorTabel1;
     this.colorUIControl1.SelectedColorGroup    = Syncfusion.Windows.Forms.ColorUISelectedGroup.CustomColors;
     this.colorUIControl1.Size                  = new System.Drawing.Size(208, 200);
     this.colorUIControl1.TabIndex              = 1;
     this.colorUIControl1.Text                  = "colorUIControl1";
     this.colorUIControl1.UserTabName           = "User Farben";
     this.colorUIControl1.VisualStyle           = Syncfusion.Windows.Forms.ColorUIStyle.Metro;
     //
     // comboBoxBarItem2
     //
     this.comboBoxBarItem2.BarName            = "comboBoxBarItem2";
     this.comboBoxBarItem2.CategoryIndex      = 1;
     this.comboBoxBarItem2.CustomTextFont     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxBarItem2.ID                 = "ChoiceList";
     this.comboBoxBarItem2.ShowToolTipInPopUp = false;
     this.comboBoxBarItem2.SizeToFit          = true;
     this.comboBoxBarItem2.Text               = "Auswahlliste";
     //
     // bar3
     //
     this.bar3.BarName  = "MainMenu";
     this.bar3.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.bar3.Caption = "Hauptmen�";
     this.bar3.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.parentBarItem1,
         this.parentBarItem2
     });
     this.bar3.Manager = this.childFrameBarManager1;
     //
     // parentBarItem1
     //
     this.parentBarItem1.BarName        = "parentBarItem1";
     this.parentBarItem1.CategoryIndex  = 2;
     this.parentBarItem1.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem1.ID             = "Edit";
     this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.barItem1,
         this.barItem2,
         this.barItem3,
         this.barItem4,
         this.barItem5
     });
     this.parentBarItem1.MergeOrder         = 1;
     this.parentBarItem1.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem1.ShowToolTipInPopUp = false;
     this.parentBarItem1.SizeToFit          = true;
     this.parentBarItem1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem1.Text  = "Bearbeiten";
     //
     // parentBarItem2
     //
     this.parentBarItem2.BarName        = "parentBarItem2";
     this.parentBarItem2.CategoryIndex  = 2;
     this.parentBarItem2.CustomTextFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.parentBarItem2.ID             = "Format";
     this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] {
         this.comboBoxBarItem1,
         this.comboBoxBarItem2,
         this.dropDownBarItem1
     });
     this.parentBarItem2.MergeOrder         = 3;
     this.parentBarItem2.MetroColor         = System.Drawing.Color.LightSkyBlue;
     this.parentBarItem2.ShowToolTipInPopUp = false;
     this.parentBarItem2.SizeToFit          = true;
     this.parentBarItem2.Style = Syncfusion.Windows.Forms.VisualStyle.Metro;
     this.parentBarItem2.Text  = "Format";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "");
     this.imageList1.Images.SetKeyName(7, "");
     this.imageList1.Images.SetKeyName(8, "");
     //
     // TextForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(442, 440);
     this.Controls.Add(this.popupControlContainer1);
     this.Controls.Add(this.richTextBox1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "TextForm";
     this.Text = "Textpad";
     ((System.ComponentModel.ISupportInitialize)(this.childFrameBarManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem1)).EndInit();
     this.popupControlContainer1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxBarItem2)).EndInit();
     this.ResumeLayout(false);
 }