Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiagramDataBindingManager"/>
 /// </summary>
 /// <param name="diagram">The diagram.</param>
 public DiagramDataBindingManager(Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram)
 {
     _sourceListSetColl     = new SourceListSetCollection(this);
     nodeReflectionStrategy = new NodeReflectionStrategy();
     //Initialize NodeRelationCollection and hook it to listen any new node relations added to the Diagram.
     nodeRelationCollection = new NodeRelationCollection(this);
     nodeRelationCollection.NodeRelationCollectionChanged += new NodeRelationCollectionChangedEventHandler(nodeRelationCollection_NodeRelationCollectionChanged);
     HookUpDiagram(diagram);
 }
Beispiel #2
0
        /// <summary>
        /// Default Applcation constructor.
        /// </summary>
        public Form1()
        {
            InitializeComponent();
            this.diagram2.View.Grid.GridStyle = GridStyle.Point;
            this.diagram2.View.Grid.Color     = Color.Black;

            //
            // Create a model and attach it to both diagrams
            //
            this.selectedDiagram         = this.diagram1;
            this.selectedDiagram.Model   = this.model;
            this.diagram2.Model          = this.model;
            this.propertyEditor1.Diagram = this.selectedDiagram;
            this.paletteGroupBar1.LoadPalette(@"..\..\..\..\..\..\..\Common\Data\Diagram\edp\Flowchart Symbols.edp");
        }
Beispiel #3
0
 /// <summary>
 /// Select the Diagram
 /// </summary>
 /// <param name="diagram">Diagram to select</param>
 private void SelectDiagram(Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram)
 {
     this.selectedDiagram         = diagram;
     this.selectedDiagram.Model   = this.model;
     this.propertyEditor1.Diagram = this.selectedDiagram;
 }
Beispiel #4
0
 /// <summary>
 /// Hooks the diagram with the DiagramDataBindingManager.
 /// </summary>
 /// <param name="diagram">The diagram.</param>
 protected virtual void HookUpDiagram(Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram)
 {
     this.diagram = diagram;
     nodeReflectionStrategy.BuildUp(System.Reflection.Assembly.GetEntryAssembly());
 }
Beispiel #5
0
 /// <summary>
 /// Construct a ScriptSite for the specified diagram.
 /// </summary>
 public DiagramScriptSite(Syncfusion.Windows.Forms.Diagram.Controls.Diagram diagram)
 {
     this.diagram = diagram;
 }
Beispiel #6
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.panel1           = new System.Windows.Forms.Panel();
     this.toolStrip1       = new System.Windows.Forms.ToolStrip();
     this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
     this.propertyEditor1  = new Syncfusion.Windows.Forms.Diagram.Controls.PropertyEditor(this.components);
     this.diagram1         = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
     this.model1           = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
     this.panel1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.toolStrip1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(754, 25);
     this.panel1.TabIndex = 0;
     //
     // toolStrip1
     //
     this.toolStrip1.AutoSize              = false;
     this.toolStrip1.BackColor             = System.Drawing.SystemColors.Control;
     this.toolStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.toolStrip1.GripStyle             = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripButton2,
         this.toolStripButton3
     });
     this.toolStrip1.Location     = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name         = "toolStrip1";
     this.toolStrip1.Size         = new System.Drawing.Size(754, 25);
     this.toolStrip1.TabIndex     = 1;
     this.toolStrip1.Text         = "toolStrip1";
     this.toolStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.toolStrip1_ItemClicked);
     //
     // toolStripButton2
     //
     this.toolStripButton2.ForeColor             = System.Drawing.Color.MidnightBlue;
     this.toolStripButton2.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
     this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton2.Name = "toolStripButton2";
     this.toolStripButton2.Size = new System.Drawing.Size(92, 22);
     this.toolStripButton2.Text = "Add Symbol";
     //this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
     //
     // toolStripButton3
     //
     this.toolStripButton3.ForeColor             = System.Drawing.Color.MidnightBlue;
     this.toolStripButton3.Image                 = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
     this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton3.Name = "toolStripButton3";
     this.toolStripButton3.Size = new System.Drawing.Size(58, 22);
     this.toolStripButton3.Text = "Clone";
     //
     // propertyEditor1
     //
     this.propertyEditor1.Diagram  = this.diagram1;
     this.propertyEditor1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.propertyEditor1.Location = new System.Drawing.Point(507, 25);
     this.propertyEditor1.Name     = "propertyEditor1";
     this.propertyEditor1.Size     = new System.Drawing.Size(247, 416);
     this.propertyEditor1.TabIndex = 1;
     //
     // diagram1
     //
     this.diagram1.Controller.PasteOffset = new System.Drawing.SizeF(10F, 10F);
     this.diagram1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.diagram1.LayoutManager       = null;
     this.diagram1.Location            = new System.Drawing.Point(0, 25);
     this.diagram1.Model               = this.model1;
     this.diagram1.Name                = "diagram1";
     this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds")));
     this.diagram1.Size                = new System.Drawing.Size(507, 416);
     this.diagram1.SmartSizeBox        = false;
     this.diagram1.TabIndex            = 2;
     this.diagram1.Text                = "diagram1";
     //
     //
     //
     this.diagram1.View.BackgroundColor      = System.Drawing.Color.White;
     this.diagram1.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.diagram1.View.Controller           = this.diagram1.Controller;
     this.diagram1.View.Grid.MinPixelSpacing = 4F;
     this.diagram1.View.Grid.Visible         = false;
     this.diagram1.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
     this.diagram1.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
     //this.diagram1.Click += new System.EventHandler(this.diagram1_Click);
     //
     // model1
     //
     this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter;
     this.model1.DocumentScale.DisplayName      = "No Scale";
     this.model1.DocumentScale.Height           = 1F;
     this.model1.DocumentScale.Width            = 1F;
     this.model1.DocumentSize.Height            = 1169F;
     this.model1.DocumentSize.Width             = 827F;
     this.model1.LineStyle.DashPattern          = null;
     this.model1.LineStyle.LineColor            = System.Drawing.Color.Black;
     this.model1.LineStyle.LineWidth            = 0F;
     this.model1.LogicalSize           = new System.Drawing.SizeF(827F, 1169F);
     this.model1.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 16);
     this.ClientSize        = new System.Drawing.Size(754, 441);
     this.Controls.Add(this.diagram1);
     this.Controls.Add(this.propertyEditor1);
     this.Controls.Add(this.panel1);
     this.Font          = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "MainForm";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Custom Symbol";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     this.panel1.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
     this.ResumeLayout(false);
 }
Beispiel #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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.groupBarItemTestSymbols = new Syncfusion.Windows.Forms.Tools.GroupBarItem();
     this.toolStrip1           = new System.Windows.Forms.ToolStrip();
     this.openToolStripButton  = new System.Windows.Forms.ToolStripButton();
     this.runToolStripButton   = new System.Windows.Forms.ToolStripButton();
     this.edittToolStripButton = new System.Windows.Forms.ToolStripButton();
     this.stopToolStripButton  = new System.Windows.Forms.ToolStripButton();
     this.openFileDialog1      = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1      = new System.Windows.Forms.SaveFileDialog();
     this.imagrList1           = new System.Windows.Forms.ImageList(this.components);
     this.panel1           = new System.Windows.Forms.Panel();
     this.panel2           = new System.Windows.Forms.Panel();
     this.paletteGroupBar1 = new Syncfusion.Windows.Forms.Diagram.Controls.PaletteGroupBar(this.components);
     this.diagram1         = new Syncfusion.Windows.Forms.Diagram.Controls.Diagram(this.components);
     this.model1           = new Syncfusion.Windows.Forms.Diagram.Model(this.components);
     this.panel4           = new System.Windows.Forms.Panel();
     this.toolStrip1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.paletteGroupBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).BeginInit();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBarItemTestSymbols
     //
     this.groupBarItemTestSymbols.Client = null;
     this.groupBarItemTestSymbols.Text   = "Test Symbols";
     //
     // toolStrip1
     //
     this.toolStrip1.AutoSize  = false;
     this.toolStrip1.BackColor = System.Drawing.SystemColors.Control;
     this.toolStrip1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.openToolStripButton,
         this.runToolStripButton,
         this.edittToolStripButton,
         this.stopToolStripButton
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(630, 77);
     this.toolStrip1.TabIndex = 0;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // openToolStripButton
     //
     this.openToolStripButton.AutoSize = false;
     this.openToolStripButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.openToolStripButton.Image                 = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
     this.openToolStripButton.ImageAlign            = System.Drawing.ContentAlignment.TopCenter;
     this.openToolStripButton.ImageScaling          = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.openToolStripButton.Name              = "openToolStripButton";
     this.openToolStripButton.Size              = new System.Drawing.Size(100, 60);
     this.openToolStripButton.Text              = "Open Script";
     this.openToolStripButton.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.openToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
     this.openToolStripButton.Click            += new System.EventHandler(this.openToolStripButton_Click);
     //
     // runToolStripButton
     //
     this.runToolStripButton.AutoSize              = false;
     this.runToolStripButton.Image                 = ((System.Drawing.Image)(resources.GetObject("runToolStripButton.Image")));
     this.runToolStripButton.ImageAlign            = System.Drawing.ContentAlignment.TopCenter;
     this.runToolStripButton.ImageScaling          = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.runToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.runToolStripButton.Name              = "runToolStripButton";
     this.runToolStripButton.Size              = new System.Drawing.Size(100, 60);
     this.runToolStripButton.Text              = "Run Script";
     this.runToolStripButton.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.runToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
     this.runToolStripButton.Click            += new System.EventHandler(this.runToolStripButton_Click);
     //
     // edittToolStripButton
     //
     this.edittToolStripButton.AutoSize = false;
     this.edittToolStripButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.edittToolStripButton.Image                 = ((System.Drawing.Image)(resources.GetObject("edittToolStripButton.Image")));
     this.edittToolStripButton.ImageAlign            = System.Drawing.ContentAlignment.TopCenter;
     this.edittToolStripButton.ImageScaling          = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.edittToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.edittToolStripButton.Name              = "edittToolStripButton";
     this.edittToolStripButton.Size              = new System.Drawing.Size(100, 60);
     this.edittToolStripButton.Text              = "Edit Script";
     this.edittToolStripButton.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.edittToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
     this.edittToolStripButton.Click            += new System.EventHandler(this.edittToolStripButton_Click);
     //
     // stopToolStripButton
     //
     this.stopToolStripButton.AutoSize = false;
     this.stopToolStripButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.stopToolStripButton.Image                 = ((System.Drawing.Image)(resources.GetObject("stopToolStripButton.Image")));
     this.stopToolStripButton.ImageAlign            = System.Drawing.ContentAlignment.TopCenter;
     this.stopToolStripButton.ImageScaling          = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.stopToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.stopToolStripButton.Name              = "stopToolStripButton";
     this.stopToolStripButton.Size              = new System.Drawing.Size(100, 60);
     this.stopToolStripButton.Text              = "Stop Script";
     this.stopToolStripButton.TextAlign         = System.Drawing.ContentAlignment.BottomCenter;
     this.stopToolStripButton.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay;
     this.stopToolStripButton.Click            += new System.EventHandler(this.stopToolStripButton_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.DefaultExt = "edp";
     this.openFileDialog1.Filter     = "Essential Diagram Files|*.edd|All files|*.*";
     this.openFileDialog1.Title      = "Open Diagram";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.DefaultExt = "edp";
     this.saveFileDialog1.Filter     = "Essential Diagram Files|*.edd|All files|*.*";
     this.saveFileDialog1.Title      = "Save Diagram";
     //
     // imagrList1
     //
     this.imagrList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imagrList1.ImageStream")));
     this.imagrList1.TransparentColor = System.Drawing.Color.Fuchsia;
     this.imagrList1.Images.SetKeyName(0, "");
     this.imagrList1.Images.SetKeyName(1, "");
     this.imagrList1.Images.SetKeyName(2, "");
     this.imagrList1.Images.SetKeyName(3, "");
     this.imagrList1.Images.SetKeyName(4, "palette_groupbar.png");
     this.imagrList1.Images.SetKeyName(5, "property_editor.png");
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(237)))), ((int)(((byte)(240)))));
     this.panel1.Controls.Add(this.toolStrip1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(630, 77);
     this.panel1.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.paletteGroupBar1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel2.Location = new System.Drawing.Point(0, 77);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(215, 416);
     this.panel2.TabIndex = 1;
     //
     // paletteGroupBar1
     //
     this.paletteGroupBar1.AllowDrop               = true;
     this.paletteGroupBar1.BackColor               = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     this.paletteGroupBar1.BorderColor             = System.Drawing.Color.White;
     this.paletteGroupBar1.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this.paletteGroupBar1.Diagram                 = null;
     this.paletteGroupBar1.Dock                    = System.Windows.Forms.DockStyle.Fill;
     this.paletteGroupBar1.EditMode                = false;
     this.paletteGroupBar1.ExpandButtonToolTip     = null;
     this.paletteGroupBar1.FlatLook                = true;
     this.paletteGroupBar1.Font                    = new System.Drawing.Font("Segoe UI Semibold", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.paletteGroupBar1.ForeColor               = System.Drawing.Color.White;
     this.paletteGroupBar1.GroupBarDropDownToolTip = null;
     this.paletteGroupBar1.GroupBarItemHeight      = 32;
     this.paletteGroupBar1.IndexOnVisibleItems     = true;
     this.paletteGroupBar1.Location                = new System.Drawing.Point(0, 0);
     this.paletteGroupBar1.MinimizeButtonToolTip   = null;
     this.paletteGroupBar1.Name                    = "paletteGroupBar1";
     this.paletteGroupBar1.NavigationPaneTooltip   = null;
     this.paletteGroupBar1.PopupClientSize         = new System.Drawing.Size(0, 0);
     this.paletteGroupBar1.Size                    = new System.Drawing.Size(215, 416);
     this.paletteGroupBar1.TabIndex                = 1;
     this.paletteGroupBar1.Text                    = "paletteGroupBar1";
     this.paletteGroupBar1.TextAlign               = Syncfusion.Windows.Forms.Tools.TextAlignment.Left;
     this.paletteGroupBar1.VisualStyle             = Syncfusion.Windows.Forms.VisualStyle.Metro;
     //
     // diagram1
     //
     this.diagram1.Controller.PasteOffset = new System.Drawing.SizeF(10F, 10F);
     this.diagram1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.diagram1.LayoutManager       = null;
     this.diagram1.Location            = new System.Drawing.Point(0, 0);
     this.diagram1.Model               = this.model1;
     this.diagram1.Name                = "diagram1";
     this.diagram1.ScrollVirtualBounds = ((System.Drawing.RectangleF)(resources.GetObject("diagram1.ScrollVirtualBounds")));
     this.diagram1.Size                = new System.Drawing.Size(415, 416);
     this.diagram1.SmartSizeBox        = false;
     this.diagram1.TabIndex            = 0;
     this.diagram1.Text                = "diagram1";
     //
     //
     //
     this.diagram1.View.ClientRectangle      = new System.Drawing.Rectangle(0, 0, 0, 0);
     this.diagram1.View.Controller           = this.diagram1.Controller;
     this.diagram1.View.Grid.MinPixelSpacing = 4F;
     this.diagram1.View.Grid.Visible         = false;
     this.diagram1.View.ScrollVirtualBounds  = ((System.Drawing.RectangleF)(resources.GetObject("resource.ScrollVirtualBounds")));
     this.diagram1.View.ZoomType             = Syncfusion.Windows.Forms.Diagram.ZoomType.Center;
     //
     // model1
     //
     this.model1.BackgroundStyle.PathBrushStyle = Syncfusion.Windows.Forms.Diagram.PathGradientBrushStyle.RectangleCenter;
     this.model1.DocumentScale.DisplayName      = "No Scale";
     this.model1.DocumentScale.Height           = 1F;
     this.model1.DocumentScale.Width            = 1F;
     this.model1.DocumentSize.Height            = 1169F;
     this.model1.DocumentSize.Width             = 827F;
     this.model1.LineStyle.DashPattern          = null;
     this.model1.LineStyle.LineColor            = System.Drawing.Color.Black;
     this.model1.LineStyle.LineWidth            = 0F;
     this.model1.LogicalSize           = new System.Drawing.SizeF(827F, 1169F);
     this.model1.ShadowStyle.Color     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     this.model1.ShadowStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))), ((int)(((byte)(105)))));
     //
     // panel4
     //
     this.panel4.Controls.Add(this.diagram1);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(215, 77);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(415, 416);
     this.panel4.TabIndex = 3;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 17);
     this.ClientSize        = new System.Drawing.Size(630, 493);
     this.Controls.Add(this.panel4);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Font          = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "MainForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Scripting";
     this.Load         += new System.EventHandler(this.MainForm_Load);
     this.Activated    += new System.EventHandler(this.MainForm_Activated);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.paletteGroupBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.diagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.model1)).EndInit();
     this.panel4.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Beispiel #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(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);
 }