Пример #1
0
      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      private void InitializeComponent()
      {
         Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
         this.label2 = new System.Windows.Forms.Label();
         this.showLabelsCheckBox = new System.Windows.Forms.CheckBox();
         this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
         this.graphControl = new Graph.GraphControl();
         this.SaveButton = new System.Windows.Forms.Button();
         this.LoadButton = new System.Windows.Forms.Button();
         this.CompileButton = new System.Windows.Forms.Button();
         this.SuspendLayout();
         // 
         // label2
         // 
         this.label2.AutoSize = true;
         this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
         this.label2.Location = new System.Drawing.Point(12, 12);
         this.label2.Name = "label2";
         this.label2.Size = new System.Drawing.Size(84, 13);
         this.label2.TabIndex = 8;
         this.label2.Text = "drag&drop nodes:";
         // 
         // showLabelsCheckBox
         // 
         this.showLabelsCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
         this.showLabelsCheckBox.AutoSize = true;
         this.showLabelsCheckBox.Location = new System.Drawing.Point(12, 519);
         this.showLabelsCheckBox.Name = "showLabelsCheckBox";
         this.showLabelsCheckBox.Size = new System.Drawing.Size(87, 17);
         this.showLabelsCheckBox.TabIndex = 7;
         this.showLabelsCheckBox.Text = "Show Labels";
         this.showLabelsCheckBox.UseVisualStyleBackColor = true;
         // 
         // flowLayoutPanel1
         // 
         this.flowLayoutPanel1.Location = new System.Drawing.Point(15, 28);
         this.flowLayoutPanel1.Name = "flowLayoutPanel1";
         this.flowLayoutPanel1.Size = new System.Drawing.Size(81, 485);
         this.flowLayoutPanel1.TabIndex = 9;
         // 
         // graphControl
         // 
         this.graphControl.AllowDrop = true;
         this.graphControl.CompatibilityStrategy = alwaysCompatible1;
         this.graphControl.FocusElement = null;
         this.graphControl.HighlightCompatible = true;
         this.graphControl.Location = new System.Drawing.Point(109, 12);
         this.graphControl.Name = "graphControl";
         this.graphControl.ShowLabels = false;
         this.graphControl.Size = new System.Drawing.Size(564, 524);
         this.graphControl.TabIndex = 0;
         this.graphControl.Text = "graphControl1";
         // 
         // SaveButton
         // 
         this.SaveButton.Location = new System.Drawing.Point(679, 12);
         this.SaveButton.Name = "SaveButton";
         this.SaveButton.Size = new System.Drawing.Size(75, 23);
         this.SaveButton.TabIndex = 10;
         this.SaveButton.Text = "Save";
         this.SaveButton.UseVisualStyleBackColor = true;
         this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
         // 
         // LoadButton
         // 
         this.LoadButton.Location = new System.Drawing.Point(679, 41);
         this.LoadButton.Name = "LoadButton";
         this.LoadButton.Size = new System.Drawing.Size(75, 23);
         this.LoadButton.TabIndex = 11;
         this.LoadButton.Text = "Load";
         this.LoadButton.UseVisualStyleBackColor = true;
         this.LoadButton.Click += new System.EventHandler(this.LoadButton_Click);
         // 
         // CompileButton
         // 
         this.CompileButton.Location = new System.Drawing.Point(679, 70);
         this.CompileButton.Name = "CompileButton";
         this.CompileButton.Size = new System.Drawing.Size(75, 23);
         this.CompileButton.TabIndex = 12;
         this.CompileButton.Text = "Compile";
         this.CompileButton.UseVisualStyleBackColor = true;
         this.CompileButton.Click += new System.EventHandler(this.CompileButton_Click);
         // 
         // EditorWindow
         // 
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
         this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
         this.ClientSize = new System.Drawing.Size(764, 548);
         this.Controls.Add(this.CompileButton);
         this.Controls.Add(this.LoadButton);
         this.Controls.Add(this.SaveButton);
         this.Controls.Add(this.flowLayoutPanel1);
         this.Controls.Add(this.label2);
         this.Controls.Add(this.showLabelsCheckBox);
         this.Controls.Add(this.graphControl);
         this.Name = "EditorWindow";
         this.Text = "Form1";
         this.ResumeLayout(false);
         this.PerformLayout();

      }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(PostFxUIForm));
     Graph.Compatibility.AlwaysCompatible           alwaysCompatible3 = new Graph.Compatibility.AlwaysCompatible();
     this.splitContainer1           = new System.Windows.Forms.SplitContainer();
     this.splitContainer2           = new System.Windows.Forms.SplitContainer();
     this.categoryLabel             = new System.Windows.Forms.Label();
     this.NodeTreeView              = new System.Windows.Forms.TreeView();
     this.toolStrip1                = new System.Windows.Forms.ToolStrip();
     this.toolStripDropDownButton1  = new System.Windows.Forms.ToolStripDropDownButton();
     this.saveToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.loadToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.compileToolStripButton    = new System.Windows.Forms.ToolStripButton();
     this.graphControl              = new Graph.GraphControl();
     this.dependencyToolStripButton = new System.Windows.Forms.ToolStripButton();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.toolStrip1);
     this.splitContainer1.Panel2.Controls.Add(this.graphControl);
     this.splitContainer1.Size             = new System.Drawing.Size(1075, 694);
     this.splitContainer1.SplitterDistance = 177;
     this.splitContainer1.TabIndex         = 0;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location    = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name        = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.categoryLabel);
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.NodeTreeView);
     this.splitContainer2.Size             = new System.Drawing.Size(177, 694);
     this.splitContainer2.SplitterDistance = 33;
     this.splitContainer2.TabIndex         = 1;
     //
     // categoryLabel
     //
     this.categoryLabel.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.categoryLabel.Font      = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.categoryLabel.Location  = new System.Drawing.Point(0, 0);
     this.categoryLabel.Name      = "categoryLabel";
     this.categoryLabel.Size      = new System.Drawing.Size(177, 33);
     this.categoryLabel.TabIndex  = 0;
     this.categoryLabel.Text      = "Nodes";
     this.categoryLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // NodeTreeView
     //
     this.NodeTreeView.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.NodeTreeView.Location   = new System.Drawing.Point(0, 0);
     this.NodeTreeView.Name       = "NodeTreeView";
     this.NodeTreeView.Size       = new System.Drawing.Size(177, 657);
     this.NodeTreeView.TabIndex   = 0;
     this.NodeTreeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.NodeTreeView_MouseDown);
     //
     // toolStrip1
     //
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripDropDownButton1,
         this.compileToolStripButton,
         this.dependencyToolStripButton
     });
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name     = "toolStrip1";
     this.toolStrip1.Size     = new System.Drawing.Size(894, 25);
     this.toolStrip1.TabIndex = 1;
     this.toolStrip1.Text     = "toolStrip1";
     //
     // toolStripDropDownButton1
     //
     this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.saveToolStripMenuItem,
         this.loadToolStripMenuItem
     });
     this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
     this.toolStripDropDownButton1.Size = new System.Drawing.Size(38, 22);
     this.toolStripDropDownButton1.Text = "File";
     this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage;
     //
     // saveToolStripMenuItem
     //
     this.saveToolStripMenuItem.Name   = "saveToolStripMenuItem";
     this.saveToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.saveToolStripMenuItem.Text   = "Save";
     this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
     //
     // loadToolStripMenuItem
     //
     this.loadToolStripMenuItem.Name   = "loadToolStripMenuItem";
     this.loadToolStripMenuItem.Size   = new System.Drawing.Size(152, 22);
     this.loadToolStripMenuItem.Text   = "Load";
     this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
     //
     // compileToolStripButton
     //
     this.compileToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("compileToolStripButton.Image")));
     this.compileToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.compileToolStripButton.Name   = "compileToolStripButton";
     this.compileToolStripButton.Size   = new System.Drawing.Size(72, 22);
     this.compileToolStripButton.Text   = "Compile";
     this.compileToolStripButton.Click += new System.EventHandler(this.compileToolStripButton_Click);
     //
     // graphControl
     //
     this.graphControl.AllowDrop             = true;
     this.graphControl.CompatibilityStrategy = alwaysCompatible3;
     this.graphControl.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.graphControl.FocusElement        = null;
     this.graphControl.HighlightCompatible = true;
     this.graphControl.Location            = new System.Drawing.Point(0, 0);
     this.graphControl.Name                = "graphControl";
     this.graphControl.ShowLabels          = false;
     this.graphControl.Size                = new System.Drawing.Size(894, 694);
     this.graphControl.TabIndex            = 0;
     this.graphControl.Text                = "graphControl";
     //
     // dependencyToolStripButton
     //
     this.dependencyToolStripButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
     this.dependencyToolStripButton.ForeColor             = System.Drawing.Color.ForestGreen;
     this.dependencyToolStripButton.Image                 = ((System.Drawing.Image)(resources.GetObject("dependencyToolStripButton.Image")));
     this.dependencyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.dependencyToolStripButton.Name   = "dependencyToolStripButton";
     this.dependencyToolStripButton.Size   = new System.Drawing.Size(85, 22);
     this.dependencyToolStripButton.Text   = "Dependencies";
     this.dependencyToolStripButton.Click += new System.EventHandler(this.dependencyToolStripButton_Click);
     //
     // PostFxUI
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1075, 694);
     this.Controls.Add(this.splitContainer1);
     this.Name = "PostFxUI";
     this.Text = "PostFxUI";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     this.splitContainer2.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
 }
        /// <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();
            Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GraphLayoutForm));
            this.nodesToolStrip = new System.Windows.Forms.ToolStrip();
            this.worldButtonPanel = new System.Windows.Forms.Panel();
            this.worldButton = new System.Windows.Forms.PictureBox();
            this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.removeNodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.desktopContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.searchTextBox = new GoodAI.BrainSimulator.Utils.CueToolStripTextBox();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.itemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.topToolStrip = new System.Windows.Forms.ToolStrip();
            this.updateModelButton = new System.Windows.Forms.ToolStripButton();
            this.zoomToFitButton = new System.Windows.Forms.ToolStripButton();
            this.groupButtonPanel = new System.Windows.Forms.Panel();
            this.groupButton = new System.Windows.Forms.PictureBox();
            this.Desktop = new Graph.GraphControl();
            this.nodeContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.openEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.openGroupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.worldButtonPanel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.worldButton)).BeginInit();
            this.contextMenuStrip.SuspendLayout();
            this.desktopContextMenuStrip.SuspendLayout();
            this.topToolStrip.SuspendLayout();
            this.groupButtonPanel.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupButton)).BeginInit();
            this.nodeContextMenuStrip.SuspendLayout();
            this.SuspendLayout();
            // 
            // nodesToolStrip
            // 
            this.nodesToolStrip.AllowDrop = true;
            this.nodesToolStrip.AutoSize = false;
            this.nodesToolStrip.BackColor = System.Drawing.SystemColors.ControlLight;
            this.nodesToolStrip.Dock = System.Windows.Forms.DockStyle.Left;
            this.nodesToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.nodesToolStrip.ImageScalingSize = new System.Drawing.Size(32, 32);
            this.nodesToolStrip.Location = new System.Drawing.Point(0, 0);
            this.nodesToolStrip.Name = "nodesToolStrip";
            this.nodesToolStrip.Size = new System.Drawing.Size(41, 455);
            this.nodesToolStrip.TabIndex = 0;
            this.nodesToolStrip.Text = "toolStrip1";
            this.nodesToolStrip.DragDrop += new System.Windows.Forms.DragEventHandler(this.nodesToolStrip_DragDrop);
            this.nodesToolStrip.DragEnter += new System.Windows.Forms.DragEventHandler(this.nodesToolStrip_DragEnter);
            // 
            // worldButtonPanel
            // 
            this.worldButtonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.worldButtonPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.worldButtonPanel.Controls.Add(this.worldButton);
            this.worldButtonPanel.Location = new System.Drawing.Point(502, 411);
            this.worldButtonPanel.Name = "worldButtonPanel";
            this.worldButtonPanel.Size = new System.Drawing.Size(36, 35);
            this.worldButtonPanel.TabIndex = 5;
            // 
            // worldButton
            // 
            this.worldButton.Image = global::GoodAI.BrainSimulator.Properties.Resources.world;
            this.worldButton.Location = new System.Drawing.Point(3, 3);
            this.worldButton.Name = "worldButton";
            this.worldButton.Size = new System.Drawing.Size(32, 32);
            this.worldButton.TabIndex = 0;
            this.worldButton.TabStop = false;
            this.worldButton.Click += new System.EventHandler(this.worldButton_Click);
            // 
            // contextMenuStrip
            // 
            this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.removeNodeToolStripMenuItem});
            this.contextMenuStrip.Name = "contextMenuStrip";
            this.contextMenuStrip.Size = new System.Drawing.Size(148, 26);
            // 
            // removeNodeToolStripMenuItem
            // 
            this.removeNodeToolStripMenuItem.Name = "removeNodeToolStripMenuItem";
            this.removeNodeToolStripMenuItem.Size = new System.Drawing.Size(147, 22);
            this.removeNodeToolStripMenuItem.Text = "Remove node";
            this.removeNodeToolStripMenuItem.Click += new System.EventHandler(this.removeNodeToolStripMenuItem_Click);
            // 
            // desktopContextMenuStrip
            // 
            this.desktopContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.searchTextBox,
            this.toolStripSeparator1,
            this.itemToolStripMenuItem});
            this.desktopContextMenuStrip.Name = "desktopContextMenuStrip";
            this.desktopContextMenuStrip.Size = new System.Drawing.Size(161, 57);
            this.desktopContextMenuStrip.Opened += new System.EventHandler(this.desktopContextMenuStrip_Opened);
            // 
            // searchTextBox
            // 
            this.searchTextBox.CueText = "Search...";
            this.searchTextBox.Name = "searchTextBox";
            this.searchTextBox.ShowCueTextWithFocus = true;
            this.searchTextBox.Size = new System.Drawing.Size(100, 23);
            this.searchTextBox.ToolTipText = "Search...";
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(157, 6);
            // 
            // itemToolStripMenuItem
            // 
            this.itemToolStripMenuItem.Name = "itemToolStripMenuItem";
            this.itemToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
            this.itemToolStripMenuItem.Text = "Item";
            // 
            // topToolStrip
            // 
            this.topToolStrip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.topToolStrip.AutoSize = false;
            this.topToolStrip.Dock = System.Windows.Forms.DockStyle.None;
            this.topToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.topToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.updateModelButton,
            this.zoomToFitButton});
            this.topToolStrip.Location = new System.Drawing.Point(494, 4);
            this.topToolStrip.Name = "topToolStrip";
            this.topToolStrip.Size = new System.Drawing.Size(45, 22);
            this.topToolStrip.TabIndex = 6;
            // 
            // updateModelButton
            // 
            this.updateModelButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.updateModelButton.Image = global::GoodAI.BrainSimulator.Properties.Resources.Restart_6322;
            this.updateModelButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.updateModelButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.updateModelButton.Margin = new System.Windows.Forms.Padding(2, 1, 0, 2);
            this.updateModelButton.Name = "updateModelButton";
            this.updateModelButton.Size = new System.Drawing.Size(23, 19);
            this.updateModelButton.Text = "Update Memory Blocks";
            this.updateModelButton.Click += new System.EventHandler(this.updateModelButton_Click);
            // 
            // zoomToFitButton
            // 
            this.zoomToFitButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.zoomToFitButton.Image = global::GoodAI.BrainSimulator.Properties.Resources.ZoomToFit;
            this.zoomToFitButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.zoomToFitButton.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.zoomToFitButton.Name = "zoomToFitButton";
            this.zoomToFitButton.Size = new System.Drawing.Size(23, 20);
            this.zoomToFitButton.Text = "Zoom To Fit";
            this.zoomToFitButton.Click += new System.EventHandler(this.zoomButton_Click);
            // 
            // groupButtonPanel
            // 
            this.groupButtonPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.groupButtonPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.groupButtonPanel.Controls.Add(this.groupButton);
            this.groupButtonPanel.Location = new System.Drawing.Point(460, 411);
            this.groupButtonPanel.Name = "groupButtonPanel";
            this.groupButtonPanel.Size = new System.Drawing.Size(36, 35);
            this.groupButtonPanel.TabIndex = 6;
            // 
            // groupButton
            // 
            this.groupButton.Image = global::GoodAI.BrainSimulator.Properties.Resources.group;
            this.groupButton.Location = new System.Drawing.Point(3, 3);
            this.groupButton.Name = "groupButton";
            this.groupButton.Size = new System.Drawing.Size(32, 32);
            this.groupButton.TabIndex = 0;
            this.groupButton.TabStop = false;
            this.groupButton.Click += new System.EventHandler(this.groupButton_Click);
            // 
            // Desktop
            // 
            this.Desktop.AllowDrop = true;
            this.Desktop.BackColor = System.Drawing.SystemColors.ControlDark;
            this.Desktop.CompatibilityStrategy = alwaysCompatible1;
            this.Desktop.ConnectorSafeBounds = 4;
            this.Desktop.Dock = System.Windows.Forms.DockStyle.Fill;
            this.Desktop.FocusElement = null;
            this.Desktop.HighlightCompatible = true;
            this.Desktop.LargeGridStep = 128F;
            this.Desktop.LargeStepGridColor = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
            this.Desktop.Location = new System.Drawing.Point(41, 0);
            this.Desktop.Name = "Desktop";
            this.Desktop.ShowLabels = true;
            this.Desktop.Size = new System.Drawing.Size(502, 455);
            this.Desktop.SmallGridStep = 16F;
            this.Desktop.SmallStepGridColor = System.Drawing.Color.DarkGray;
            this.Desktop.TabIndex = 1;
            this.Desktop.Text = "desktop";
            this.Desktop.FocusChanged += new System.EventHandler<Graph.ElementEventArgs>(this.desktop_FocusChanged);
            this.Desktop.NodeRemoving += new System.EventHandler<Graph.AcceptNodeEventArgs>(this.Desktop_NodeRemoving);
            this.Desktop.NodeRemoved += new System.EventHandler<Graph.NodeEventArgs>(this.Desktop_NodeRemoved);
            this.Desktop.ShowElementMenu += new System.EventHandler<Graph.AcceptElementLocationEventArgs>(this.Desktop_ShowElementMenu);
            this.Desktop.ConnectionAdding += new System.EventHandler<Graph.AcceptNodeConnectionEventArgs>(this.Desktop_ConnectionAdding);
            this.Desktop.ConnectionRemoving += new System.EventHandler<Graph.AcceptNodeConnectionEventArgs>(this.Desktop_ConnectionRemoving);
            this.Desktop.PositionChanged += new System.EventHandler<Graph.PositionChangedEventArgs>(this.Desktop_PositionChanged);
            this.Desktop.DoubleClick += new System.EventHandler(this.Desktop_DoubleClick);
            this.Desktop.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Desktop_MouseDown);
            this.Desktop.MouseEnter += new System.EventHandler(this.desktop_MouseEnter);
            this.Desktop.MouseLeave += new System.EventHandler(this.desktop_MouseLeave);
            // 
            // nodeContextMenuStrip
            // 
            this.nodeContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.openEditorToolStripMenuItem,
            this.openGroupToolStripMenuItem});
            this.nodeContextMenuStrip.Name = "nodeContextMenuStrip";
            this.nodeContextMenuStrip.Size = new System.Drawing.Size(153, 70);
            // 
            // openEditorToolStripMenuItem
            // 
            this.openEditorToolStripMenuItem.Image = global::GoodAI.BrainSimulator.Properties.Resources.text_12xMD;
            this.openEditorToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.openEditorToolStripMenuItem.Name = "openEditorToolStripMenuItem";
            this.openEditorToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.openEditorToolStripMenuItem.Text = "Open Editor";
            this.openEditorToolStripMenuItem.Click += new System.EventHandler(this.openEditorToolStripMenuItem_Click);
            // 
            // openGroupToolStripMenuItem
            // 
            this.openGroupToolStripMenuItem.Image = global::GoodAI.BrainSimulator.Properties.Resources.Diagram_16XMD;
            this.openGroupToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.openGroupToolStripMenuItem.Name = "openGroupToolStripMenuItem";
            this.openGroupToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.openGroupToolStripMenuItem.Text = "Open Group";
            this.openGroupToolStripMenuItem.Click += new System.EventHandler(this.openGroupToolStripMenuItem_Click);
            // 
            // GraphLayoutForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(543, 455);
            this.CloseButtonVisible = false;
            this.Controls.Add(this.groupButtonPanel);
            this.Controls.Add(this.topToolStrip);
            this.Controls.Add(this.worldButtonPanel);
            this.Controls.Add(this.Desktop);
            this.Controls.Add(this.nodesToolStrip);
            this.DockAreas = WeifenLuo.WinFormsUI.Docking.DockAreas.Document;
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "GraphLayoutForm";
            this.Text = "Desktop";
            this.Activated += new System.EventHandler(this.GraphLayoutForm_Enter);
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.GraphLayoutForm_FormClosed);
            this.Load += new System.EventHandler(this.GraphLayoutForm_Load);
            this.Shown += new System.EventHandler(this.GraphLayoutForm_Shown);
            this.Enter += new System.EventHandler(this.GraphLayoutForm_Enter);
            this.worldButtonPanel.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.worldButton)).EndInit();
            this.contextMenuStrip.ResumeLayout(false);
            this.desktopContextMenuStrip.ResumeLayout(false);
            this.desktopContextMenuStrip.PerformLayout();
            this.topToolStrip.ResumeLayout(false);
            this.topToolStrip.PerformLayout();
            this.groupButtonPanel.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupButton)).EndInit();
            this.nodeContextMenuStrip.ResumeLayout(false);
            this.ResumeLayout(false);

        }
Пример #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Graph.Compatibility.AlwaysCompatible           alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
     System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.menuStrip1                   = new System.Windows.Forms.MenuStrip();
     this.fileToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.newToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.openToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.saveToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.exportToolStripMenuItem      = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem1           = new System.Windows.Forms.ToolStripSeparator();
     this.exitToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.settingsToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.preferencesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.pluginsToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.pnlPalette                   = new System.Windows.Forms.Panel();
     this.groupBox2        = new System.Windows.Forms.GroupBox();
     this.lblStartNode     = new System.Windows.Forms.Label();
     this.lblConvoNode     = new System.Windows.Forms.Label();
     this.lblEndNode       = new System.Windows.Forms.Label();
     this.groupBox1        = new System.Windows.Forms.GroupBox();
     this.tbxConvoName     = new System.Windows.Forms.TextBox();
     this.pnlWork          = new System.Windows.Forms.Panel();
     this.pnlGraph         = new System.Windows.Forms.Panel();
     this.graphCtrl        = new Graph.GraphControl();
     this.sfdSaveGraphFile = new System.Windows.Forms.SaveFileDialog();
     this.ofdOpenFile      = new System.Windows.Forms.OpenFileDialog();
     this.sfdExportScript  = new System.Windows.Forms.SaveFileDialog();
     this.menuStrip1.SuspendLayout();
     this.pnlPalette.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.pnlWork.SuspendLayout();
     this.SuspendLayout();
     //
     // menuStrip1
     //
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.fileToolStripMenuItem,
         this.settingsToolStripMenuItem
     });
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name     = "menuStrip1";
     this.menuStrip1.Size     = new System.Drawing.Size(1084, 24);
     this.menuStrip1.TabIndex = 0;
     this.menuStrip1.Text     = "menuStrip1";
     //
     // fileToolStripMenuItem
     //
     this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.newToolStripMenuItem,
         this.openToolStripMenuItem,
         this.saveToolStripMenuItem,
         this.exportToolStripMenuItem,
         this.toolStripMenuItem1,
         this.exitToolStripMenuItem
     });
     this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
     this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
     this.fileToolStripMenuItem.Text = "&File";
     //
     // newToolStripMenuItem
     //
     this.newToolStripMenuItem.Name   = "newToolStripMenuItem";
     this.newToolStripMenuItem.Size   = new System.Drawing.Size(107, 22);
     this.newToolStripMenuItem.Text   = "&New";
     this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
     //
     // openToolStripMenuItem
     //
     this.openToolStripMenuItem.Name   = "openToolStripMenuItem";
     this.openToolStripMenuItem.Size   = new System.Drawing.Size(107, 22);
     this.openToolStripMenuItem.Text   = "&Open";
     this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
     //
     // saveToolStripMenuItem
     //
     this.saveToolStripMenuItem.Name   = "saveToolStripMenuItem";
     this.saveToolStripMenuItem.Size   = new System.Drawing.Size(107, 22);
     this.saveToolStripMenuItem.Text   = "&Save";
     this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
     //
     // exportToolStripMenuItem
     //
     this.exportToolStripMenuItem.Name   = "exportToolStripMenuItem";
     this.exportToolStripMenuItem.Size   = new System.Drawing.Size(107, 22);
     this.exportToolStripMenuItem.Text   = "Ex&port";
     this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripMenuItem_Click);
     //
     // toolStripMenuItem1
     //
     this.toolStripMenuItem1.Name = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size = new System.Drawing.Size(104, 6);
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.Size   = new System.Drawing.Size(107, 22);
     this.exitToolStripMenuItem.Text   = "E&xit";
     this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
     //
     // settingsToolStripMenuItem
     //
     this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.preferencesToolStripMenuItem,
         this.pluginsToolStripMenuItem
     });
     this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
     this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
     this.settingsToolStripMenuItem.Text = "Settings";
     //
     // preferencesToolStripMenuItem
     //
     this.preferencesToolStripMenuItem.Name   = "preferencesToolStripMenuItem";
     this.preferencesToolStripMenuItem.Size   = new System.Drawing.Size(135, 22);
     this.preferencesToolStripMenuItem.Text   = "Preferences";
     this.preferencesToolStripMenuItem.Click += new System.EventHandler(this.preferencesToolStripMenuItem_Click);
     //
     // pluginsToolStripMenuItem
     //
     this.pluginsToolStripMenuItem.Name   = "pluginsToolStripMenuItem";
     this.pluginsToolStripMenuItem.Size   = new System.Drawing.Size(135, 22);
     this.pluginsToolStripMenuItem.Text   = "Plugins";
     this.pluginsToolStripMenuItem.Click += new System.EventHandler(this.pluginsToolStripMenuItem_Click);
     //
     // pnlPalette
     //
     this.pnlPalette.Controls.Add(this.groupBox2);
     this.pnlPalette.Controls.Add(this.groupBox1);
     this.pnlPalette.Dock     = System.Windows.Forms.DockStyle.Left;
     this.pnlPalette.Location = new System.Drawing.Point(0, 24);
     this.pnlPalette.Name     = "pnlPalette";
     this.pnlPalette.Size     = new System.Drawing.Size(167, 537);
     this.pnlPalette.TabIndex = 1;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.lblStartNode);
     this.groupBox2.Controls.Add(this.lblConvoNode);
     this.groupBox2.Controls.Add(this.lblEndNode);
     this.groupBox2.Location = new System.Drawing.Point(4, 60);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(150, 91);
     this.groupBox2.TabIndex = 4;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Node Types";
     //
     // lblStartNode
     //
     this.lblStartNode.AutoSize    = true;
     this.lblStartNode.BackColor   = System.Drawing.SystemColors.ButtonFace;
     this.lblStartNode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblStartNode.Location    = new System.Drawing.Point(9, 16);
     this.lblStartNode.Name        = "lblStartNode";
     this.lblStartNode.Size        = new System.Drawing.Size(60, 15);
     this.lblStartNode.TabIndex    = 1;
     this.lblStartNode.Text        = "Start Node";
     this.lblStartNode.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.lblStartNode_MouseDown);
     //
     // lblConvoNode
     //
     this.lblConvoNode.AutoSize    = true;
     this.lblConvoNode.BackColor   = System.Drawing.SystemColors.ButtonFace;
     this.lblConvoNode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblConvoNode.Location    = new System.Drawing.Point(9, 41);
     this.lblConvoNode.Name        = "lblConvoNode";
     this.lblConvoNode.Size        = new System.Drawing.Size(100, 15);
     this.lblConvoNode.TabIndex    = 0;
     this.lblConvoNode.Text        = "Conversation Node";
     this.lblConvoNode.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.lblConvoNode_MouseDown);
     //
     // lblEndNode
     //
     this.lblEndNode.AutoSize    = true;
     this.lblEndNode.BackColor   = System.Drawing.SystemColors.ButtonFace;
     this.lblEndNode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lblEndNode.Location    = new System.Drawing.Point(9, 66);
     this.lblEndNode.Name        = "lblEndNode";
     this.lblEndNode.Size        = new System.Drawing.Size(57, 15);
     this.lblEndNode.TabIndex    = 2;
     this.lblEndNode.Text        = "End Node";
     this.lblEndNode.MouseDown  += new System.Windows.Forms.MouseEventHandler(this.lblEndNode_MouseDown);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.tbxConvoName);
     this.groupBox1.Location = new System.Drawing.Point(4, 4);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(150, 49);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Conversation Name";
     //
     // tbxConvoName
     //
     this.tbxConvoName.Location = new System.Drawing.Point(9, 20);
     this.tbxConvoName.Name     = "tbxConvoName";
     this.tbxConvoName.Size     = new System.Drawing.Size(135, 20);
     this.tbxConvoName.TabIndex = 0;
     //
     // pnlWork
     //
     this.pnlWork.Controls.Add(this.pnlGraph);
     this.pnlWork.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlWork.Location = new System.Drawing.Point(167, 24);
     this.pnlWork.Margin   = new System.Windows.Forms.Padding(10);
     this.pnlWork.Name     = "pnlWork";
     this.pnlWork.Size     = new System.Drawing.Size(917, 537);
     this.pnlWork.TabIndex = 2;
     this.pnlWork.Resize  += new System.EventHandler(this.pnlWork_Resize);
     //
     // pnlGraph
     //
     this.pnlGraph.Location = new System.Drawing.Point(7, 4);
     this.pnlGraph.Name     = "pnlGraph";
     this.pnlGraph.Size     = new System.Drawing.Size(200, 100);
     this.pnlGraph.TabIndex = 0;
     //
     // graphCtrl
     //
     this.graphCtrl.AllowDrop             = true;
     this.graphCtrl.BackColor             = System.Drawing.Color.Gray;
     this.graphCtrl.CompatibilityStrategy = alwaysCompatible1;
     this.graphCtrl.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.graphCtrl.FocusElement        = null;
     this.graphCtrl.HighlightCompatible = true;
     this.graphCtrl.LargeGridStep       = 128F;
     this.graphCtrl.LargeStepGridColor  = System.Drawing.Color.LightGray;
     this.graphCtrl.Location            = new System.Drawing.Point(0, 0);
     this.graphCtrl.Name                = "graphCtrl";
     this.graphCtrl.ShowLabels          = false;
     this.graphCtrl.Size                = new System.Drawing.Size(1084, 561);
     this.graphCtrl.SmallGridStep       = 16F;
     this.graphCtrl.SmallStepGridColor  = System.Drawing.Color.DarkGray;
     this.graphCtrl.TabIndex            = 0;
     this.graphCtrl.Text                = "graphCtrl";
     this.graphCtrl.KeyUp              += new System.Windows.Forms.KeyEventHandler(this.graphCtrl_KeyUp);
     //
     // sfdSaveGraphFile
     //
     this.sfdSaveGraphFile.DefaultExt = "json";
     this.sfdSaveGraphFile.Filter     = "JSON Files|*.json";
     //
     // ofdOpenFile
     //
     this.ofdOpenFile.DefaultExt       = "(JSON)|*.json";
     this.ofdOpenFile.FileName         = "*.json";
     this.ofdOpenFile.InitialDirectory = ".\\Conversations\\";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(1084, 561);
     this.Controls.Add(this.pnlWork);
     this.Controls.Add(this.pnlPalette);
     this.Controls.Add(this.menuStrip1);
     this.Controls.Add(this.graphCtrl);
     this.DoubleBuffered = true;
     this.Icon           = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip  = this.menuStrip1;
     this.MinimumSize    = new System.Drawing.Size(1100, 600);
     this.Name           = "Form1";
     this.Text           = "T3D Conversation Editor";
     this.FormClosed    += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.pnlPalette.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.pnlWork.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #5
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
            this.graphControl1 = new Graph.GraphControl();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.listBox1 = new System.Windows.Forms.ListBox();
            this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.m_btnCompile = new System.Windows.Forms.ToolStripButton();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.toolStripContainer1.ContentPanel.SuspendLayout();
            this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
            this.toolStripContainer1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // graphControl1
            // 
            this.graphControl1.AllowDrop = true;
            this.graphControl1.BackColor = System.Drawing.Color.Gray;
            this.graphControl1.CompatibilityStrategy = alwaysCompatible1;
            this.graphControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.graphControl1.FocusElement = null;
            this.graphControl1.HighlightCompatible = false;
            this.graphControl1.LargeGridStep = 0F;
            this.graphControl1.LargeStepGridColor = System.Drawing.Color.LightGray;
            this.graphControl1.Location = new System.Drawing.Point(0, 0);
            this.graphControl1.Name = "graphControl1";
            this.graphControl1.ShowLabels = false;
            this.graphControl1.Size = new System.Drawing.Size(442, 429);
            this.graphControl1.SmallGridStep = 0F;
            this.graphControl1.SmallStepGridColor = System.Drawing.Color.Gray;
            this.graphControl1.TabIndex = 0;
            this.graphControl1.Text = "graphControl1";
            this.graphControl1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.graphControl1_KeyUp);
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.listBox1);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.graphControl1);
            this.splitContainer1.Size = new System.Drawing.Size(668, 429);
            this.splitContainer1.SplitterDistance = 222;
            this.splitContainer1.TabIndex = 1;
            // 
            // listBox1
            // 
            this.listBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listBox1.FormattingEnabled = true;
            this.listBox1.Location = new System.Drawing.Point(0, 0);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new System.Drawing.Size(222, 429);
            this.listBox1.TabIndex = 0;
            this.listBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseDown);
            this.listBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.listBox1_MouseMove);
            // 
            // toolStripContainer1
            // 
            // 
            // toolStripContainer1.ContentPanel
            // 
            this.toolStripContainer1.ContentPanel.Controls.Add(this.splitContainer1);
            this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(668, 429);
            this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
            this.toolStripContainer1.Name = "toolStripContainer1";
            this.toolStripContainer1.Size = new System.Drawing.Size(668, 454);
            this.toolStripContainer1.TabIndex = 2;
            this.toolStripContainer1.Text = "toolStripContainer1";
            // 
            // toolStripContainer1.TopToolStripPanel
            // 
            this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1);
            // 
            // toolStrip1
            // 
            this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.m_btnCompile});
            this.toolStrip1.Location = new System.Drawing.Point(3, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(84, 25);
            this.toolStrip1.TabIndex = 0;
            // 
            // m_btnCompile
            // 
            this.m_btnCompile.Image = ((System.Drawing.Image)(resources.GetObject("m_btnCompile.Image")));
            this.m_btnCompile.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.m_btnCompile.Name = "m_btnCompile";
            this.m_btnCompile.Size = new System.Drawing.Size(72, 22);
            this.m_btnCompile.Text = "Compile";
            this.m_btnCompile.Click += new System.EventHandler(this.m_btnCompile_Click);
            // 
            // FrmMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(668, 454);
            this.Controls.Add(this.toolStripContainer1);
            this.Name = "FrmMain";
            this.Text = "Form1";
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
            this.splitContainer1.ResumeLayout(false);
            this.toolStripContainer1.ContentPanel.ResumeLayout(false);
            this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
            this.toolStripContainer1.TopToolStripPanel.PerformLayout();
            this.toolStripContainer1.ResumeLayout(false);
            this.toolStripContainer1.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.ResumeLayout(false);

        }
 /// <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();
     Graph.Compatibility.AlwaysCompatible           alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
     System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(GraphLayoutForm));
     this.nodesToolStrip              = new System.Windows.Forms.ToolStrip();
     this.worldButtonPanel            = new System.Windows.Forms.Panel();
     this.worldButton                 = new System.Windows.Forms.PictureBox();
     this.contextMenuStrip            = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.removeNodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.desktopContextMenuStrip     = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.searchTextBox               = new GoodAI.BrainSimulator.Utils.CueToolStripTextBox();
     this.toolStripSeparator1         = new System.Windows.Forms.ToolStripSeparator();
     this.itemToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.topToolStrip                = new System.Windows.Forms.ToolStrip();
     this.updateModelButton           = new System.Windows.Forms.ToolStripButton();
     this.zoomToFitButton             = new System.Windows.Forms.ToolStripButton();
     this.groupButtonPanel            = new System.Windows.Forms.Panel();
     this.groupButton                 = new System.Windows.Forms.PictureBox();
     this.Desktop = new Graph.GraphControl();
     this.nodeContextMenuStrip        = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.openEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.openGroupToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.worldButtonPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.worldButton)).BeginInit();
     this.contextMenuStrip.SuspendLayout();
     this.desktopContextMenuStrip.SuspendLayout();
     this.topToolStrip.SuspendLayout();
     this.groupButtonPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupButton)).BeginInit();
     this.nodeContextMenuStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // nodesToolStrip
     //
     this.nodesToolStrip.AllowDrop        = true;
     this.nodesToolStrip.AutoSize         = false;
     this.nodesToolStrip.BackColor        = System.Drawing.SystemColors.ControlLight;
     this.nodesToolStrip.Dock             = System.Windows.Forms.DockStyle.Left;
     this.nodesToolStrip.GripStyle        = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.nodesToolStrip.ImageScalingSize = new System.Drawing.Size(32, 32);
     this.nodesToolStrip.Location         = new System.Drawing.Point(0, 0);
     this.nodesToolStrip.Name             = "nodesToolStrip";
     this.nodesToolStrip.Size             = new System.Drawing.Size(41, 455);
     this.nodesToolStrip.TabIndex         = 0;
     this.nodesToolStrip.Text             = "toolStrip1";
     this.nodesToolStrip.DragDrop        += new System.Windows.Forms.DragEventHandler(this.nodesToolStrip_DragDrop);
     this.nodesToolStrip.DragEnter       += new System.Windows.Forms.DragEventHandler(this.nodesToolStrip_DragEnter);
     //
     // worldButtonPanel
     //
     this.worldButtonPanel.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.worldButtonPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.worldButtonPanel.Controls.Add(this.worldButton);
     this.worldButtonPanel.Location = new System.Drawing.Point(502, 411);
     this.worldButtonPanel.Name     = "worldButtonPanel";
     this.worldButtonPanel.Size     = new System.Drawing.Size(36, 35);
     this.worldButtonPanel.TabIndex = 5;
     //
     // worldButton
     //
     this.worldButton.Image    = global::GoodAI.BrainSimulator.Properties.Resources.world;
     this.worldButton.Location = new System.Drawing.Point(3, 3);
     this.worldButton.Name     = "worldButton";
     this.worldButton.Size     = new System.Drawing.Size(32, 32);
     this.worldButton.TabIndex = 0;
     this.worldButton.TabStop  = false;
     this.worldButton.Click   += new System.EventHandler(this.worldButton_Click);
     //
     // contextMenuStrip
     //
     this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.removeNodeToolStripMenuItem
     });
     this.contextMenuStrip.Name = "contextMenuStrip";
     this.contextMenuStrip.Size = new System.Drawing.Size(148, 26);
     //
     // removeNodeToolStripMenuItem
     //
     this.removeNodeToolStripMenuItem.Name   = "removeNodeToolStripMenuItem";
     this.removeNodeToolStripMenuItem.Size   = new System.Drawing.Size(147, 22);
     this.removeNodeToolStripMenuItem.Text   = "Remove node";
     this.removeNodeToolStripMenuItem.Click += new System.EventHandler(this.removeNodeToolStripMenuItem_Click);
     //
     // desktopContextMenuStrip
     //
     this.desktopContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.searchTextBox,
         this.toolStripSeparator1,
         this.itemToolStripMenuItem
     });
     this.desktopContextMenuStrip.Name    = "desktopContextMenuStrip";
     this.desktopContextMenuStrip.Size    = new System.Drawing.Size(161, 57);
     this.desktopContextMenuStrip.Opened += new System.EventHandler(this.desktopContextMenuStrip_Opened);
     //
     // searchTextBox
     //
     this.searchTextBox.CueText = "Search...";
     this.searchTextBox.Name    = "searchTextBox";
     this.searchTextBox.ShowCueTextWithFocus = true;
     this.searchTextBox.Size        = new System.Drawing.Size(100, 23);
     this.searchTextBox.ToolTipText = "Search...";
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(157, 6);
     //
     // itemToolStripMenuItem
     //
     this.itemToolStripMenuItem.Name = "itemToolStripMenuItem";
     this.itemToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
     this.itemToolStripMenuItem.Text = "Item";
     //
     // topToolStrip
     //
     this.topToolStrip.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.topToolStrip.AutoSize  = false;
     this.topToolStrip.Dock      = System.Windows.Forms.DockStyle.None;
     this.topToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.topToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.updateModelButton,
         this.zoomToFitButton
     });
     this.topToolStrip.Location = new System.Drawing.Point(494, 4);
     this.topToolStrip.Name     = "topToolStrip";
     this.topToolStrip.Size     = new System.Drawing.Size(45, 22);
     this.topToolStrip.TabIndex = 6;
     //
     // updateModelButton
     //
     this.updateModelButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.updateModelButton.Image                 = global::GoodAI.BrainSimulator.Properties.Resources.Restart_6322;
     this.updateModelButton.ImageScaling          = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.updateModelButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.updateModelButton.Margin                = new System.Windows.Forms.Padding(2, 1, 0, 2);
     this.updateModelButton.Name   = "updateModelButton";
     this.updateModelButton.Size   = new System.Drawing.Size(23, 19);
     this.updateModelButton.Text   = "Update Memory Blocks";
     this.updateModelButton.Click += new System.EventHandler(this.updateModelButton_Click);
     //
     // zoomToFitButton
     //
     this.zoomToFitButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.zoomToFitButton.Image                 = global::GoodAI.BrainSimulator.Properties.Resources.ZoomToFit;
     this.zoomToFitButton.ImageScaling          = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.zoomToFitButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.zoomToFitButton.Name   = "zoomToFitButton";
     this.zoomToFitButton.Size   = new System.Drawing.Size(23, 20);
     this.zoomToFitButton.Text   = "Zoom To Fit";
     this.zoomToFitButton.Click += new System.EventHandler(this.zoomButton_Click);
     //
     // groupButtonPanel
     //
     this.groupButtonPanel.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.groupButtonPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.groupButtonPanel.Controls.Add(this.groupButton);
     this.groupButtonPanel.Location = new System.Drawing.Point(460, 411);
     this.groupButtonPanel.Name     = "groupButtonPanel";
     this.groupButtonPanel.Size     = new System.Drawing.Size(36, 35);
     this.groupButtonPanel.TabIndex = 6;
     //
     // groupButton
     //
     this.groupButton.Image    = global::GoodAI.BrainSimulator.Properties.Resources.group;
     this.groupButton.Location = new System.Drawing.Point(3, 3);
     this.groupButton.Name     = "groupButton";
     this.groupButton.Size     = new System.Drawing.Size(32, 32);
     this.groupButton.TabIndex = 0;
     this.groupButton.TabStop  = false;
     this.groupButton.Click   += new System.EventHandler(this.groupButton_Click);
     //
     // Desktop
     //
     this.Desktop.AllowDrop             = true;
     this.Desktop.BackColor             = System.Drawing.SystemColors.ControlDark;
     this.Desktop.CompatibilityStrategy = alwaysCompatible1;
     this.Desktop.ConnectorSafeBounds   = 4;
     this.Desktop.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.Desktop.FocusElement        = null;
     this.Desktop.HighlightCompatible = true;
     this.Desktop.LargeGridStep       = 128F;
     this.Desktop.LargeStepGridColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     this.Desktop.Location            = new System.Drawing.Point(41, 0);
     this.Desktop.Name                = "Desktop";
     this.Desktop.ShowLabels          = true;
     this.Desktop.Size                = new System.Drawing.Size(502, 455);
     this.Desktop.SmallGridStep       = 16F;
     this.Desktop.SmallStepGridColor  = System.Drawing.Color.DarkGray;
     this.Desktop.TabIndex            = 1;
     this.Desktop.Text                = "desktop";
     this.Desktop.FocusChanged       += new System.EventHandler <Graph.ElementEventArgs>(this.desktop_FocusChanged);
     this.Desktop.NodeRemoving       += new System.EventHandler <Graph.AcceptNodeEventArgs>(this.Desktop_NodeRemoving);
     this.Desktop.NodeRemoved        += new System.EventHandler <Graph.NodeEventArgs>(this.Desktop_NodeRemoved);
     this.Desktop.ShowElementMenu    += new System.EventHandler <Graph.AcceptElementLocationEventArgs>(this.Desktop_ShowElementMenu);
     this.Desktop.ConnectionAdding   += new System.EventHandler <Graph.AcceptNodeConnectionEventArgs>(this.Desktop_ConnectionAdding);
     this.Desktop.ConnectionRemoving += new System.EventHandler <Graph.AcceptNodeConnectionEventArgs>(this.Desktop_ConnectionRemoving);
     this.Desktop.PositionChanged    += new System.EventHandler <Graph.PositionChangedEventArgs>(this.Desktop_PositionChanged);
     this.Desktop.DoubleClick        += new System.EventHandler(this.Desktop_DoubleClick);
     this.Desktop.MouseDown          += new System.Windows.Forms.MouseEventHandler(this.Desktop_MouseDown);
     this.Desktop.MouseEnter         += new System.EventHandler(this.desktop_MouseEnter);
     this.Desktop.MouseLeave         += new System.EventHandler(this.desktop_MouseLeave);
     //
     // nodeContextMenuStrip
     //
     this.nodeContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.openEditorToolStripMenuItem,
         this.openGroupToolStripMenuItem
     });
     this.nodeContextMenuStrip.Name = "nodeContextMenuStrip";
     this.nodeContextMenuStrip.Size = new System.Drawing.Size(153, 70);
     //
     // openEditorToolStripMenuItem
     //
     this.openEditorToolStripMenuItem.Image        = global::GoodAI.BrainSimulator.Properties.Resources.text_12xMD;
     this.openEditorToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.openEditorToolStripMenuItem.Name         = "openEditorToolStripMenuItem";
     this.openEditorToolStripMenuItem.Size         = new System.Drawing.Size(152, 22);
     this.openEditorToolStripMenuItem.Text         = "Open Editor";
     this.openEditorToolStripMenuItem.Click       += new System.EventHandler(this.openEditorToolStripMenuItem_Click);
     //
     // openGroupToolStripMenuItem
     //
     this.openGroupToolStripMenuItem.Image        = global::GoodAI.BrainSimulator.Properties.Resources.Diagram_16XMD;
     this.openGroupToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.openGroupToolStripMenuItem.Name         = "openGroupToolStripMenuItem";
     this.openGroupToolStripMenuItem.Size         = new System.Drawing.Size(152, 22);
     this.openGroupToolStripMenuItem.Text         = "Open Group";
     this.openGroupToolStripMenuItem.Click       += new System.EventHandler(this.openGroupToolStripMenuItem_Click);
     //
     // GraphLayoutForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(543, 455);
     this.CloseButtonVisible  = false;
     this.Controls.Add(this.groupButtonPanel);
     this.Controls.Add(this.topToolStrip);
     this.Controls.Add(this.worldButtonPanel);
     this.Controls.Add(this.Desktop);
     this.Controls.Add(this.nodesToolStrip);
     this.DockAreas   = WeifenLuo.WinFormsUI.Docking.DockAreas.Document;
     this.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "GraphLayoutForm";
     this.Text        = "Desktop";
     this.Activated  += new System.EventHandler(this.GraphLayoutForm_Enter);
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.GraphLayoutForm_FormClosed);
     this.Load       += new System.EventHandler(this.GraphLayoutForm_Load);
     this.Shown      += new System.EventHandler(this.GraphLayoutForm_Shown);
     this.Enter      += new System.EventHandler(this.GraphLayoutForm_Enter);
     this.worldButtonPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.worldButton)).EndInit();
     this.contextMenuStrip.ResumeLayout(false);
     this.desktopContextMenuStrip.ResumeLayout(false);
     this.desktopContextMenuStrip.PerformLayout();
     this.topToolStrip.ResumeLayout(false);
     this.topToolStrip.PerformLayout();
     this.groupButtonPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupButton)).EndInit();
     this.nodeContextMenuStrip.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Graph.Compatibility.AlwaysCompatible           alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
     System.ComponentModel.ComponentResourceManager resources         = new System.ComponentModel.ComponentResourceManager(typeof(GraphForm));
     this.graphControl       = new Graph.GraphControl();
     this.splitContainer1    = new System.Windows.Forms.SplitContainer();
     this.removeOutputButton = new System.Windows.Forms.Button();
     this.addOutputButton    = new System.Windows.Forms.Button();
     this.removeInputButton  = new System.Windows.Forms.Button();
     this.addInputButton     = new System.Windows.Forms.Button();
     this.addRegionButton    = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // graphControl
     //
     this.graphControl.AllowDrop             = true;
     this.graphControl.BackColor             = System.Drawing.SystemColors.ControlDark;
     this.graphControl.CompatibilityStrategy = alwaysCompatible1;
     this.graphControl.ConnectorSafeBounds   = 0;
     resources.ApplyResources(this.graphControl, "graphControl");
     this.graphControl.FocusElement        = null;
     this.graphControl.HighlightCompatible = true;
     this.graphControl.LargeGridStep       = 128F;
     this.graphControl.LargeStepGridColor  = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
     this.graphControl.Name               = "graphControl";
     this.graphControl.ShowLabels         = true;
     this.graphControl.SmallGridStep      = 16F;
     this.graphControl.SmallStepGridColor = System.Drawing.Color.DarkGray;
     this.graphControl.MouseDown         += new System.Windows.Forms.MouseEventHandler(this.graphControl_MouseDown);
     this.graphControl.MouseLeave        += new System.EventHandler(this.graphControl_MouseLeave);
     //
     // splitContainer1
     //
     resources.ApplyResources(this.splitContainer1, "splitContainer1");
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.removeOutputButton);
     this.splitContainer1.Panel1.Controls.Add(this.addOutputButton);
     this.splitContainer1.Panel1.Controls.Add(this.removeInputButton);
     this.splitContainer1.Panel1.Controls.Add(this.addInputButton);
     this.splitContainer1.Panel1.Controls.Add(this.addRegionButton);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.graphControl);
     //
     // removeOutputButton
     //
     resources.ApplyResources(this.removeOutputButton, "removeOutputButton");
     this.removeOutputButton.Name = "removeOutputButton";
     this.removeOutputButton.UseVisualStyleBackColor = true;
     this.removeOutputButton.Click += new System.EventHandler(this.removeOutputButton_Click);
     //
     // addOutputButton
     //
     resources.ApplyResources(this.addOutputButton, "addOutputButton");
     this.addOutputButton.Name = "addOutputButton";
     this.addOutputButton.UseVisualStyleBackColor = true;
     this.addOutputButton.Click += new System.EventHandler(this.addOutputButton_Click);
     //
     // removeInputButton
     //
     resources.ApplyResources(this.removeInputButton, "removeInputButton");
     this.removeInputButton.Name = "removeInputButton";
     this.removeInputButton.UseVisualStyleBackColor = true;
     this.removeInputButton.Click += new System.EventHandler(this.removeInputButton_Click);
     //
     // addInputButton
     //
     resources.ApplyResources(this.addInputButton, "addInputButton");
     this.addInputButton.Name = "addInputButton";
     this.addInputButton.UseVisualStyleBackColor = true;
     this.addInputButton.Click += new System.EventHandler(this.addInputButton_Click);
     //
     // addRegionButton
     //
     resources.ApplyResources(this.addRegionButton, "addRegionButton");
     this.addRegionButton.Name = "addRegionButton";
     this.addRegionButton.UseVisualStyleBackColor = true;
     this.addRegionButton.Click += new System.EventHandler(this.addRegionButton_Click);
     //
     // GraphForm
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainer1);
     this.Name = "GraphForm";
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #8
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
			this.label1 = new System.Windows.Forms.Label();
			this.showLabelsCheckBox = new System.Windows.Forms.CheckBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.nodeMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
			this.testMenuItem = new System.Windows.Forms.ToolStripMenuItem();
			this.graphControl = new Graph.GraphControl();
			this.nodeMenu.SuspendLayout();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(12, 35);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(59, 13);
			this.label1.TabIndex = 1;
			this.label1.Text = "some node";
			this.label1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.SomeNode_MouseDown);
			// 
			// showLabelsCheckBox
			// 
			this.showLabelsCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.showLabelsCheckBox.AutoSize = true;
			this.showLabelsCheckBox.Location = new System.Drawing.Point(12, 521);
			this.showLabelsCheckBox.Name = "showLabelsCheckBox";
			this.showLabelsCheckBox.Size = new System.Drawing.Size(87, 17);
			this.showLabelsCheckBox.TabIndex = 2;
			this.showLabelsCheckBox.Text = "Show Labels";
			this.showLabelsCheckBox.UseVisualStyleBackColor = true;
			this.showLabelsCheckBox.CheckedChanged += new System.EventHandler(this.OnShowLabelsChanged);
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
			this.label2.Location = new System.Drawing.Point(9, 12);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(84, 13);
			this.label2.TabIndex = 3;
			this.label2.Text = "drag&drop nodes:";
			// 
			// label3
			// 
			this.label3.AutoSize = true;
			this.label3.Location = new System.Drawing.Point(12, 58);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(66, 13);
			this.label3.TabIndex = 4;
			this.label3.Text = "texture node";
			this.label3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.TextureNode_MouseDown);
			// 
			// label4
			// 
			this.label4.AutoSize = true;
			this.label4.Location = new System.Drawing.Point(12, 81);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(57, 13);
			this.label4.TabIndex = 5;
			this.label4.Text = "color node";
			this.label4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ColorNode_MouseDown);
			// 
			// nodeMenu
			// 
			this.nodeMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.testMenuItem});
			this.nodeMenu.Name = "NodeMenu";
			this.nodeMenu.Size = new System.Drawing.Size(97, 26);
			// 
			// testMenuItem
			// 
			this.testMenuItem.Name = "testMenuItem";
			this.testMenuItem.Size = new System.Drawing.Size(96, 22);
			this.testMenuItem.Text = "Test";
			// 
			// graphControl
			// 
			this.graphControl.AllowDrop = true;
			this.graphControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
			this.graphControl.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
			this.graphControl.CompatibilityStrategy = alwaysCompatible1;
			this.graphControl.FocusElement = null;
			this.graphControl.HighlightCompatible = true;
			this.graphControl.LargeGridStep = 128F;
			this.graphControl.LargeStepGridColor = System.Drawing.Color.FromArgb(((int)(((byte)(8)))), ((int)(((byte)(8)))), ((int)(((byte)(8)))));
			this.graphControl.Location = new System.Drawing.Point(108, 12);
			this.graphControl.Name = "graphControl";
			this.graphControl.ShowLabels = false;
			this.graphControl.Size = new System.Drawing.Size(1180, 526);
			this.graphControl.SmallGridStep = 16F;
			this.graphControl.SmallStepGridColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(24)))), ((int)(((byte)(24)))));
			this.graphControl.TabIndex = 0;
			this.graphControl.Text = "graphControl";
			// 
			// ExampleForm
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.AutoSize = true;
			this.ClientSize = new System.Drawing.Size(1300, 550);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.showLabelsCheckBox);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.graphControl);
			this.DoubleBuffered = true;
			this.Name = "ExampleForm";
			this.Text = "Form1";
			this.nodeMenu.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}
Пример #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
     this.label2             = new System.Windows.Forms.Label();
     this.showLabelsCheckBox = new System.Windows.Forms.CheckBox();
     this.flowLayoutPanel1   = new System.Windows.Forms.FlowLayoutPanel();
     this.graphControl       = new Graph.GraphControl();
     this.SaveButton         = new System.Windows.Forms.Button();
     this.LoadButton         = new System.Windows.Forms.Button();
     this.CompileButton      = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(12, 12);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(84, 13);
     this.label2.TabIndex = 8;
     this.label2.Text     = "drag&drop nodes:";
     //
     // showLabelsCheckBox
     //
     this.showLabelsCheckBox.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.showLabelsCheckBox.AutoSize = true;
     this.showLabelsCheckBox.Location = new System.Drawing.Point(12, 519);
     this.showLabelsCheckBox.Name     = "showLabelsCheckBox";
     this.showLabelsCheckBox.Size     = new System.Drawing.Size(87, 17);
     this.showLabelsCheckBox.TabIndex = 7;
     this.showLabelsCheckBox.Text     = "Show Labels";
     this.showLabelsCheckBox.UseVisualStyleBackColor = true;
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Location = new System.Drawing.Point(15, 28);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(81, 485);
     this.flowLayoutPanel1.TabIndex = 9;
     //
     // graphControl
     //
     this.graphControl.AllowDrop             = true;
     this.graphControl.CompatibilityStrategy = alwaysCompatible1;
     this.graphControl.FocusElement          = null;
     this.graphControl.HighlightCompatible   = true;
     this.graphControl.Location   = new System.Drawing.Point(109, 12);
     this.graphControl.Name       = "graphControl";
     this.graphControl.ShowLabels = false;
     this.graphControl.Size       = new System.Drawing.Size(564, 524);
     this.graphControl.TabIndex   = 0;
     this.graphControl.Text       = "graphControl1";
     //
     // SaveButton
     //
     this.SaveButton.Location = new System.Drawing.Point(679, 12);
     this.SaveButton.Name     = "SaveButton";
     this.SaveButton.Size     = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 10;
     this.SaveButton.Text     = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // LoadButton
     //
     this.LoadButton.Location = new System.Drawing.Point(679, 41);
     this.LoadButton.Name     = "LoadButton";
     this.LoadButton.Size     = new System.Drawing.Size(75, 23);
     this.LoadButton.TabIndex = 11;
     this.LoadButton.Text     = "Load";
     this.LoadButton.UseVisualStyleBackColor = true;
     this.LoadButton.Click += new System.EventHandler(this.LoadButton_Click);
     //
     // CompileButton
     //
     this.CompileButton.Location = new System.Drawing.Point(679, 70);
     this.CompileButton.Name     = "CompileButton";
     this.CompileButton.Size     = new System.Drawing.Size(75, 23);
     this.CompileButton.TabIndex = 12;
     this.CompileButton.Text     = "Compile";
     this.CompileButton.UseVisualStyleBackColor = true;
     this.CompileButton.Click += new System.EventHandler(this.CompileButton_Click);
     //
     // EditorWindow
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(764, 548);
     this.Controls.Add(this.CompileButton);
     this.Controls.Add(this.LoadButton);
     this.Controls.Add(this.SaveButton);
     this.Controls.Add(this.flowLayoutPanel1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.showLabelsCheckBox);
     this.Controls.Add(this.graphControl);
     this.Name = "EditorWindow";
     this.Text = "Form1";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #10
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.menuStrip1 = new System.Windows.Forms.MenuStrip();
            this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
            this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.preferencesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.pluginsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.pnlPalette = new System.Windows.Forms.Panel();
            this.groupBox2 = new System.Windows.Forms.GroupBox();
            this.lblStartNode = new System.Windows.Forms.Label();
            this.lblConvoNode = new System.Windows.Forms.Label();
            this.lblEndNode = new System.Windows.Forms.Label();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.tbxConvoName = new System.Windows.Forms.TextBox();
            this.pnlWork = new System.Windows.Forms.Panel();
            this.pnlGraph = new System.Windows.Forms.Panel();
            this.graphCtrl = new Graph.GraphControl();
            this.sfdSaveGraphFile = new System.Windows.Forms.SaveFileDialog();
            this.ofdOpenFile = new System.Windows.Forms.OpenFileDialog();
            this.sfdExportScript = new System.Windows.Forms.SaveFileDialog();
            this.menuStrip1.SuspendLayout();
            this.pnlPalette.SuspendLayout();
            this.groupBox2.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.pnlWork.SuspendLayout();
            this.SuspendLayout();
            // 
            // menuStrip1
            // 
            this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.fileToolStripMenuItem,
            this.settingsToolStripMenuItem});
            this.menuStrip1.Location = new System.Drawing.Point(0, 0);
            this.menuStrip1.Name = "menuStrip1";
            this.menuStrip1.Size = new System.Drawing.Size(1084, 24);
            this.menuStrip1.TabIndex = 0;
            this.menuStrip1.Text = "menuStrip1";
            // 
            // fileToolStripMenuItem
            // 
            this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.newToolStripMenuItem,
            this.openToolStripMenuItem,
            this.saveToolStripMenuItem,
            this.exportToolStripMenuItem,
            this.toolStripMenuItem1,
            this.exitToolStripMenuItem});
            this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
            this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
            this.fileToolStripMenuItem.Text = "&File";
            // 
            // newToolStripMenuItem
            // 
            this.newToolStripMenuItem.Name = "newToolStripMenuItem";
            this.newToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
            this.newToolStripMenuItem.Text = "&New";
            this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
            // 
            // openToolStripMenuItem
            // 
            this.openToolStripMenuItem.Name = "openToolStripMenuItem";
            this.openToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
            this.openToolStripMenuItem.Text = "&Open";
            this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
            // 
            // saveToolStripMenuItem
            // 
            this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
            this.saveToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
            this.saveToolStripMenuItem.Text = "&Save";
            this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
            // 
            // exportToolStripMenuItem
            // 
            this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
            this.exportToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
            this.exportToolStripMenuItem.Text = "Ex&port";
            this.exportToolStripMenuItem.Click += new System.EventHandler(this.exportToolStripMenuItem_Click);
            // 
            // toolStripMenuItem1
            // 
            this.toolStripMenuItem1.Name = "toolStripMenuItem1";
            this.toolStripMenuItem1.Size = new System.Drawing.Size(104, 6);
            // 
            // exitToolStripMenuItem
            // 
            this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
            this.exitToolStripMenuItem.Size = new System.Drawing.Size(107, 22);
            this.exitToolStripMenuItem.Text = "E&xit";
            this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
            // 
            // settingsToolStripMenuItem
            // 
            this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.preferencesToolStripMenuItem,
            this.pluginsToolStripMenuItem});
            this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
            this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20);
            this.settingsToolStripMenuItem.Text = "Settings";
            // 
            // preferencesToolStripMenuItem
            // 
            this.preferencesToolStripMenuItem.Name = "preferencesToolStripMenuItem";
            this.preferencesToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
            this.preferencesToolStripMenuItem.Text = "Preferences";
            this.preferencesToolStripMenuItem.Click += new System.EventHandler(this.preferencesToolStripMenuItem_Click);
            // 
            // pluginsToolStripMenuItem
            // 
            this.pluginsToolStripMenuItem.Name = "pluginsToolStripMenuItem";
            this.pluginsToolStripMenuItem.Size = new System.Drawing.Size(135, 22);
            this.pluginsToolStripMenuItem.Text = "Plugins";
            this.pluginsToolStripMenuItem.Click += new System.EventHandler(this.pluginsToolStripMenuItem_Click);
            // 
            // pnlPalette
            // 
            this.pnlPalette.Controls.Add(this.groupBox2);
            this.pnlPalette.Controls.Add(this.groupBox1);
            this.pnlPalette.Dock = System.Windows.Forms.DockStyle.Left;
            this.pnlPalette.Location = new System.Drawing.Point(0, 24);
            this.pnlPalette.Name = "pnlPalette";
            this.pnlPalette.Size = new System.Drawing.Size(167, 537);
            this.pnlPalette.TabIndex = 1;
            // 
            // groupBox2
            // 
            this.groupBox2.Controls.Add(this.lblStartNode);
            this.groupBox2.Controls.Add(this.lblConvoNode);
            this.groupBox2.Controls.Add(this.lblEndNode);
            this.groupBox2.Location = new System.Drawing.Point(4, 60);
            this.groupBox2.Name = "groupBox2";
            this.groupBox2.Size = new System.Drawing.Size(150, 91);
            this.groupBox2.TabIndex = 4;
            this.groupBox2.TabStop = false;
            this.groupBox2.Text = "Node Types";
            // 
            // lblStartNode
            // 
            this.lblStartNode.AutoSize = true;
            this.lblStartNode.BackColor = System.Drawing.SystemColors.ButtonFace;
            this.lblStartNode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblStartNode.Location = new System.Drawing.Point(9, 16);
            this.lblStartNode.Name = "lblStartNode";
            this.lblStartNode.Size = new System.Drawing.Size(60, 15);
            this.lblStartNode.TabIndex = 1;
            this.lblStartNode.Text = "Start Node";
            this.lblStartNode.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblStartNode_MouseDown);
            // 
            // lblConvoNode
            // 
            this.lblConvoNode.AutoSize = true;
            this.lblConvoNode.BackColor = System.Drawing.SystemColors.ButtonFace;
            this.lblConvoNode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblConvoNode.Location = new System.Drawing.Point(9, 41);
            this.lblConvoNode.Name = "lblConvoNode";
            this.lblConvoNode.Size = new System.Drawing.Size(100, 15);
            this.lblConvoNode.TabIndex = 0;
            this.lblConvoNode.Text = "Conversation Node";
            this.lblConvoNode.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblConvoNode_MouseDown);
            // 
            // lblEndNode
            // 
            this.lblEndNode.AutoSize = true;
            this.lblEndNode.BackColor = System.Drawing.SystemColors.ButtonFace;
            this.lblEndNode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.lblEndNode.Location = new System.Drawing.Point(9, 66);
            this.lblEndNode.Name = "lblEndNode";
            this.lblEndNode.Size = new System.Drawing.Size(57, 15);
            this.lblEndNode.TabIndex = 2;
            this.lblEndNode.Text = "End Node";
            this.lblEndNode.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblEndNode_MouseDown);
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.tbxConvoName);
            this.groupBox1.Location = new System.Drawing.Point(4, 4);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(150, 49);
            this.groupBox1.TabIndex = 3;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Conversation Name";
            // 
            // tbxConvoName
            // 
            this.tbxConvoName.Location = new System.Drawing.Point(9, 20);
            this.tbxConvoName.Name = "tbxConvoName";
            this.tbxConvoName.Size = new System.Drawing.Size(135, 20);
            this.tbxConvoName.TabIndex = 0;
            // 
            // pnlWork
            // 
            this.pnlWork.Controls.Add(this.pnlGraph);
            this.pnlWork.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pnlWork.Location = new System.Drawing.Point(167, 24);
            this.pnlWork.Margin = new System.Windows.Forms.Padding(10);
            this.pnlWork.Name = "pnlWork";
            this.pnlWork.Size = new System.Drawing.Size(917, 537);
            this.pnlWork.TabIndex = 2;
            this.pnlWork.Resize += new System.EventHandler(this.pnlWork_Resize);
            // 
            // pnlGraph
            // 
            this.pnlGraph.Location = new System.Drawing.Point(7, 4);
            this.pnlGraph.Name = "pnlGraph";
            this.pnlGraph.Size = new System.Drawing.Size(200, 100);
            this.pnlGraph.TabIndex = 0;
            // 
            // graphCtrl
            // 
            this.graphCtrl.AllowDrop = true;
            this.graphCtrl.BackColor = System.Drawing.Color.Gray;
            this.graphCtrl.CompatibilityStrategy = alwaysCompatible1;
            this.graphCtrl.Dock = System.Windows.Forms.DockStyle.Fill;
            this.graphCtrl.FocusElement = null;
            this.graphCtrl.HighlightCompatible = true;
            this.graphCtrl.LargeGridStep = 128F;
            this.graphCtrl.LargeStepGridColor = System.Drawing.Color.LightGray;
            this.graphCtrl.Location = new System.Drawing.Point(0, 0);
            this.graphCtrl.Name = "graphCtrl";
            this.graphCtrl.ShowLabels = false;
            this.graphCtrl.Size = new System.Drawing.Size(1084, 561);
            this.graphCtrl.SmallGridStep = 16F;
            this.graphCtrl.SmallStepGridColor = System.Drawing.Color.DarkGray;
            this.graphCtrl.TabIndex = 0;
            this.graphCtrl.Text = "graphCtrl";
            this.graphCtrl.KeyUp += new System.Windows.Forms.KeyEventHandler(this.graphCtrl_KeyUp);
            // 
            // sfdSaveGraphFile
            // 
            this.sfdSaveGraphFile.DefaultExt = "json";
            this.sfdSaveGraphFile.Filter = "JSON Files|*.json";
            // 
            // ofdOpenFile
            // 
            this.ofdOpenFile.DefaultExt = "(JSON)|*.json";
            this.ofdOpenFile.FileName = "*.json";
            this.ofdOpenFile.InitialDirectory = ".\\Conversations\\";
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.AutoSize = true;
            this.ClientSize = new System.Drawing.Size(1084, 561);
            this.Controls.Add(this.pnlWork);
            this.Controls.Add(this.pnlPalette);
            this.Controls.Add(this.menuStrip1);
            this.Controls.Add(this.graphCtrl);
            this.DoubleBuffered = true;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MainMenuStrip = this.menuStrip1;
            this.MinimumSize = new System.Drawing.Size(1100, 600);
            this.Name = "Form1";
            this.Text = "T3D Conversation Editor";
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
            this.menuStrip1.ResumeLayout(false);
            this.menuStrip1.PerformLayout();
            this.pnlPalette.ResumeLayout(false);
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.pnlWork.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Пример #11
0
      /// <summary>
      /// Required method for Designer support - do not modify
      /// the contents of this method with the code editor.
      /// </summary>
      private void InitializeComponent()
      {
         System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PostFxUIForm));
         Graph.Compatibility.AlwaysCompatible alwaysCompatible3 = new Graph.Compatibility.AlwaysCompatible();
         this.splitContainer1 = new System.Windows.Forms.SplitContainer();
         this.splitContainer2 = new System.Windows.Forms.SplitContainer();
         this.categoryLabel = new System.Windows.Forms.Label();
         this.NodeTreeView = new System.Windows.Forms.TreeView();
         this.toolStrip1 = new System.Windows.Forms.ToolStrip();
         this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
         this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
         this.compileToolStripButton = new System.Windows.Forms.ToolStripButton();
         this.graphControl = new Graph.GraphControl();
         this.dependencyToolStripButton = new System.Windows.Forms.ToolStripButton();
         ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
         this.splitContainer1.Panel1.SuspendLayout();
         this.splitContainer1.Panel2.SuspendLayout();
         this.splitContainer1.SuspendLayout();
         ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
         this.splitContainer2.Panel1.SuspendLayout();
         this.splitContainer2.Panel2.SuspendLayout();
         this.splitContainer2.SuspendLayout();
         this.toolStrip1.SuspendLayout();
         this.SuspendLayout();
         // 
         // splitContainer1
         // 
         this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
         this.splitContainer1.Location = new System.Drawing.Point(0, 0);
         this.splitContainer1.Name = "splitContainer1";
         // 
         // splitContainer1.Panel1
         // 
         this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
         // 
         // splitContainer1.Panel2
         // 
         this.splitContainer1.Panel2.Controls.Add(this.toolStrip1);
         this.splitContainer1.Panel2.Controls.Add(this.graphControl);
         this.splitContainer1.Size = new System.Drawing.Size(1075, 694);
         this.splitContainer1.SplitterDistance = 177;
         this.splitContainer1.TabIndex = 0;
         // 
         // splitContainer2
         // 
         this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
         this.splitContainer2.Location = new System.Drawing.Point(0, 0);
         this.splitContainer2.Name = "splitContainer2";
         this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
         // 
         // splitContainer2.Panel1
         // 
         this.splitContainer2.Panel1.Controls.Add(this.categoryLabel);
         // 
         // splitContainer2.Panel2
         // 
         this.splitContainer2.Panel2.Controls.Add(this.NodeTreeView);
         this.splitContainer2.Size = new System.Drawing.Size(177, 694);
         this.splitContainer2.SplitterDistance = 33;
         this.splitContainer2.TabIndex = 1;
         // 
         // categoryLabel
         // 
         this.categoryLabel.Dock = System.Windows.Forms.DockStyle.Fill;
         this.categoryLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
         this.categoryLabel.Location = new System.Drawing.Point(0, 0);
         this.categoryLabel.Name = "categoryLabel";
         this.categoryLabel.Size = new System.Drawing.Size(177, 33);
         this.categoryLabel.TabIndex = 0;
         this.categoryLabel.Text = "Nodes";
         this.categoryLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
         // 
         // NodeTreeView
         // 
         this.NodeTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
         this.NodeTreeView.Location = new System.Drawing.Point(0, 0);
         this.NodeTreeView.Name = "NodeTreeView";
         this.NodeTreeView.Size = new System.Drawing.Size(177, 657);
         this.NodeTreeView.TabIndex = 0;
         this.NodeTreeView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.NodeTreeView_MouseDown);
         // 
         // toolStrip1
         // 
         this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripDropDownButton1,
            this.compileToolStripButton,
            this.dependencyToolStripButton});
         this.toolStrip1.Location = new System.Drawing.Point(0, 0);
         this.toolStrip1.Name = "toolStrip1";
         this.toolStrip1.Size = new System.Drawing.Size(894, 25);
         this.toolStrip1.TabIndex = 1;
         this.toolStrip1.Text = "toolStrip1";
         // 
         // toolStripDropDownButton1
         // 
         this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
         this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.saveToolStripMenuItem,
            this.loadToolStripMenuItem});
         this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
         this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
         this.toolStripDropDownButton1.Size = new System.Drawing.Size(38, 22);
         this.toolStripDropDownButton1.Text = "File";
         this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage;
         // 
         // saveToolStripMenuItem
         // 
         this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
         this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
         this.saveToolStripMenuItem.Text = "Save";
         this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
         // 
         // loadToolStripMenuItem
         // 
         this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
         this.loadToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
         this.loadToolStripMenuItem.Text = "Load";
         this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
         // 
         // compileToolStripButton
         // 
         this.compileToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("compileToolStripButton.Image")));
         this.compileToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
         this.compileToolStripButton.Name = "compileToolStripButton";
         this.compileToolStripButton.Size = new System.Drawing.Size(72, 22);
         this.compileToolStripButton.Text = "Compile";
         this.compileToolStripButton.Click += new System.EventHandler(this.compileToolStripButton_Click);
         // 
         // graphControl
         // 
         this.graphControl.AllowDrop = true;
         this.graphControl.CompatibilityStrategy = alwaysCompatible3;
         this.graphControl.Dock = System.Windows.Forms.DockStyle.Fill;
         this.graphControl.FocusElement = null;
         this.graphControl.HighlightCompatible = true;
         this.graphControl.Location = new System.Drawing.Point(0, 0);
         this.graphControl.Name = "graphControl";
         this.graphControl.ShowLabels = false;
         this.graphControl.Size = new System.Drawing.Size(894, 694);
         this.graphControl.TabIndex = 0;
         this.graphControl.Text = "graphControl";
         // 
         // dependencyToolStripButton
         // 
         this.dependencyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
         this.dependencyToolStripButton.ForeColor = System.Drawing.Color.ForestGreen;
         this.dependencyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("dependencyToolStripButton.Image")));
         this.dependencyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
         this.dependencyToolStripButton.Name = "dependencyToolStripButton";
         this.dependencyToolStripButton.Size = new System.Drawing.Size(85, 22);
         this.dependencyToolStripButton.Text = "Dependencies";
         this.dependencyToolStripButton.Click += new System.EventHandler(this.dependencyToolStripButton_Click);
         // 
         // PostFxUI
         // 
         this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
         this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
         this.ClientSize = new System.Drawing.Size(1075, 694);
         this.Controls.Add(this.splitContainer1);
         this.Name = "PostFxUI";
         this.Text = "PostFxUI";
         this.splitContainer1.Panel1.ResumeLayout(false);
         this.splitContainer1.Panel2.ResumeLayout(false);
         this.splitContainer1.Panel2.PerformLayout();
         ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
         this.splitContainer1.ResumeLayout(false);
         this.splitContainer2.Panel1.ResumeLayout(false);
         this.splitContainer2.Panel2.ResumeLayout(false);
         ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
         this.splitContainer2.ResumeLayout(false);
         this.toolStrip1.ResumeLayout(false);
         this.toolStrip1.PerformLayout();
         this.ResumeLayout(false);

      }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
            this.BottomToolStripPanel = new System.Windows.Forms.ToolStripPanel();
            this.TopToolStripPanel = new System.Windows.Forms.ToolStripPanel();
            this.RightToolStripPanel = new System.Windows.Forms.ToolStripPanel();
            this.LeftToolStripPanel = new System.Windows.Forms.ToolStripPanel();
            this.ContentPanel = new System.Windows.Forms.ToolStripContentPanel();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.propertiesPage = new System.Windows.Forms.TabPage();
            this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
            this.eventsPage = new System.Windows.Forms.TabPage();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.graphControl1 = new Graph.GraphControl();
            this.tabControl1.SuspendLayout();
            this.propertiesPage.SuspendLayout();
            this.eventsPage.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.toolStripContainer1.ContentPanel.SuspendLayout();
            this.toolStripContainer1.SuspendLayout();
            this.SuspendLayout();
            // 
            // BottomToolStripPanel
            // 
            this.BottomToolStripPanel.Location = new System.Drawing.Point(0, 0);
            this.BottomToolStripPanel.Name = "BottomToolStripPanel";
            this.BottomToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.BottomToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0);
            this.BottomToolStripPanel.Size = new System.Drawing.Size(0, 0);
            // 
            // TopToolStripPanel
            // 
            this.TopToolStripPanel.Location = new System.Drawing.Point(0, 0);
            this.TopToolStripPanel.Name = "TopToolStripPanel";
            this.TopToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.TopToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0);
            this.TopToolStripPanel.Size = new System.Drawing.Size(0, 0);
            // 
            // RightToolStripPanel
            // 
            this.RightToolStripPanel.Location = new System.Drawing.Point(0, 0);
            this.RightToolStripPanel.Name = "RightToolStripPanel";
            this.RightToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.RightToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0);
            this.RightToolStripPanel.Size = new System.Drawing.Size(0, 0);
            // 
            // LeftToolStripPanel
            // 
            this.LeftToolStripPanel.Location = new System.Drawing.Point(0, 0);
            this.LeftToolStripPanel.Name = "LeftToolStripPanel";
            this.LeftToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
            this.LeftToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0);
            this.LeftToolStripPanel.Size = new System.Drawing.Size(0, 0);
            // 
            // ContentPanel
            // 
            this.ContentPanel.AutoScroll = true;
            this.ContentPanel.Size = new System.Drawing.Size(745, 373);
            // 
            // tabControl1
            // 
            this.tabControl1.Controls.Add(this.propertiesPage);
            this.tabControl1.Controls.Add(this.eventsPage);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(0, 0);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(745, 398);
            this.tabControl1.TabIndex = 1;
            // 
            // propertiesPage
            // 
            this.propertiesPage.Controls.Add(this.propertyGrid1);
            this.propertiesPage.Location = new System.Drawing.Point(4, 22);
            this.propertiesPage.Name = "propertiesPage";
            this.propertiesPage.Padding = new System.Windows.Forms.Padding(3);
            this.propertiesPage.Size = new System.Drawing.Size(737, 372);
            this.propertiesPage.TabIndex = 0;
            this.propertiesPage.Text = "Properties";
            this.propertiesPage.UseVisualStyleBackColor = true;
            // 
            // propertyGrid1
            // 
            this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.propertyGrid1.Location = new System.Drawing.Point(3, 3);
            this.propertyGrid1.Name = "propertyGrid1";
            this.propertyGrid1.Size = new System.Drawing.Size(731, 366);
            this.propertyGrid1.TabIndex = 0;
            // 
            // eventsPage
            // 
            this.eventsPage.Controls.Add(this.splitContainer1);
            this.eventsPage.Location = new System.Drawing.Point(4, 22);
            this.eventsPage.Name = "eventsPage";
            this.eventsPage.Padding = new System.Windows.Forms.Padding(3);
            this.eventsPage.Size = new System.Drawing.Size(737, 372);
            this.eventsPage.TabIndex = 1;
            this.eventsPage.Text = "Events";
            this.eventsPage.UseVisualStyleBackColor = true;
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(3, 3);
            this.splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.Controls.Add(this.toolStripContainer1);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.graphControl1);
            this.splitContainer1.Size = new System.Drawing.Size(731, 366);
            this.splitContainer1.SplitterDistance = 242;
            this.splitContainer1.TabIndex = 0;
            // 
            // toolStripContainer1
            // 
            // 
            // toolStripContainer1.ContentPanel
            // 
            this.toolStripContainer1.ContentPanel.Controls.Add(this.treeView1);
            this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(242, 341);
            this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
            this.toolStripContainer1.Name = "toolStripContainer1";
            this.toolStripContainer1.Size = new System.Drawing.Size(242, 366);
            this.toolStripContainer1.TabIndex = 0;
            this.toolStripContainer1.Text = "toolStripContainer1";
            // 
            // treeView1
            // 
            this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView1.Location = new System.Drawing.Point(0, 0);
            this.treeView1.Name = "treeView1";
            this.treeView1.Size = new System.Drawing.Size(242, 341);
            this.treeView1.TabIndex = 0;
            this.treeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView1_ItemDrag);
            // 
            // graphControl1
            // 
            this.graphControl1.AllowDrop = true;
            this.graphControl1.BackColor = System.Drawing.Color.DarkGray;
            this.graphControl1.CompatibilityStrategy = alwaysCompatible1;
            this.graphControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.graphControl1.FocusElement = null;
            this.graphControl1.HighlightCompatible = true;
            this.graphControl1.LargeGridStep = 128F;
            this.graphControl1.LargeStepGridColor = System.Drawing.Color.Black;
            this.graphControl1.Location = new System.Drawing.Point(0, 0);
            this.graphControl1.Name = "graphControl1";
            this.graphControl1.ShowLabels = false;
            this.graphControl1.Size = new System.Drawing.Size(485, 366);
            this.graphControl1.SmallGridStep = 16F;
            this.graphControl1.SmallStepGridColor = System.Drawing.Color.DimGray;
            this.graphControl1.TabIndex = 0;
            this.graphControl1.Text = "graphControl1";
            // 
            // DotaAbilityEditor
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(745, 398);
            this.Controls.Add(this.tabControl1);
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Name = "DotaAbilityEditor";
            this.Text = "ActionEditor";
            this.tabControl1.ResumeLayout(false);
            this.propertiesPage.ResumeLayout(false);
            this.eventsPage.ResumeLayout(false);
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
            this.splitContainer1.ResumeLayout(false);
            this.toolStripContainer1.ContentPanel.ResumeLayout(false);
            this.toolStripContainer1.ResumeLayout(false);
            this.toolStripContainer1.PerformLayout();
            this.ResumeLayout(false);

        }
Пример #13
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();
     Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
     this.label1             = new System.Windows.Forms.Label();
     this.showLabelsCheckBox = new System.Windows.Forms.CheckBox();
     this.label2             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.label4             = new System.Windows.Forms.Label();
     this.nodeMenu           = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.testMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.graphControl       = new Graph.GraphControl();
     this.nodeMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize   = true;
     this.label1.Location   = new System.Drawing.Point(12, 35);
     this.label1.Name       = "label1";
     this.label1.Size       = new System.Drawing.Size(59, 13);
     this.label1.TabIndex   = 1;
     this.label1.Text       = "some node";
     this.label1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.SomeNode_MouseDown);
     //
     // showLabelsCheckBox
     //
     this.showLabelsCheckBox.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.showLabelsCheckBox.AutoSize = true;
     this.showLabelsCheckBox.Location = new System.Drawing.Point(12, 521);
     this.showLabelsCheckBox.Name     = "showLabelsCheckBox";
     this.showLabelsCheckBox.Size     = new System.Drawing.Size(87, 17);
     this.showLabelsCheckBox.TabIndex = 2;
     this.showLabelsCheckBox.Text     = "Show Labels";
     this.showLabelsCheckBox.UseVisualStyleBackColor = true;
     this.showLabelsCheckBox.CheckedChanged         += new System.EventHandler(this.OnShowLabelsChanged);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(9, 12);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(84, 13);
     this.label2.TabIndex = 3;
     this.label2.Text     = "drag&drop nodes:";
     //
     // label3
     //
     this.label3.AutoSize   = true;
     this.label3.Location   = new System.Drawing.Point(12, 58);
     this.label3.Name       = "label3";
     this.label3.Size       = new System.Drawing.Size(66, 13);
     this.label3.TabIndex   = 4;
     this.label3.Text       = "texture node";
     this.label3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.TextureNode_MouseDown);
     //
     // label4
     //
     this.label4.AutoSize   = true;
     this.label4.Location   = new System.Drawing.Point(12, 81);
     this.label4.Name       = "label4";
     this.label4.Size       = new System.Drawing.Size(57, 13);
     this.label4.TabIndex   = 5;
     this.label4.Text       = "color node";
     this.label4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.ColorNode_MouseDown);
     //
     // nodeMenu
     //
     this.nodeMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.testMenuItem
     });
     this.nodeMenu.Name = "NodeMenu";
     this.nodeMenu.Size = new System.Drawing.Size(97, 26);
     //
     // testMenuItem
     //
     this.testMenuItem.Name = "testMenuItem";
     this.testMenuItem.Size = new System.Drawing.Size(96, 22);
     this.testMenuItem.Text = "Test";
     //
     // graphControl
     //
     this.graphControl.AllowDrop = true;
     this.graphControl.Anchor    = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.graphControl.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(16)))), ((int)(((byte)(16)))), ((int)(((byte)(16)))));
     this.graphControl.CompatibilityStrategy = alwaysCompatible1;
     this.graphControl.FocusElement          = null;
     this.graphControl.HighlightCompatible   = true;
     this.graphControl.LargeGridStep         = 128F;
     this.graphControl.LargeStepGridColor    = System.Drawing.Color.FromArgb(((int)(((byte)(8)))), ((int)(((byte)(8)))), ((int)(((byte)(8)))));
     this.graphControl.Location           = new System.Drawing.Point(108, 12);
     this.graphControl.Name               = "graphControl";
     this.graphControl.ShowLabels         = false;
     this.graphControl.Size               = new System.Drawing.Size(1180, 526);
     this.graphControl.SmallGridStep      = 16F;
     this.graphControl.SmallStepGridColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(24)))), ((int)(((byte)(24)))));
     this.graphControl.TabIndex           = 0;
     this.graphControl.Text               = "graphControl";
     //
     // ExampleForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(1300, 550);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.showLabelsCheckBox);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.graphControl);
     this.DoubleBuffered = true;
     this.Name           = "ExampleForm";
     this.Text           = "Form1";
     this.nodeMenu.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Graph.Compatibility.AlwaysCompatible alwaysCompatible1 = new Graph.Compatibility.AlwaysCompatible();
     this.BottomToolStripPanel = new System.Windows.Forms.ToolStripPanel();
     this.TopToolStripPanel    = new System.Windows.Forms.ToolStripPanel();
     this.RightToolStripPanel  = new System.Windows.Forms.ToolStripPanel();
     this.LeftToolStripPanel   = new System.Windows.Forms.ToolStripPanel();
     this.ContentPanel         = new System.Windows.Forms.ToolStripContentPanel();
     this.tabControl1          = new System.Windows.Forms.TabControl();
     this.propertiesPage       = new System.Windows.Forms.TabPage();
     this.propertyGrid1        = new System.Windows.Forms.PropertyGrid();
     this.eventsPage           = new System.Windows.Forms.TabPage();
     this.splitContainer1      = new System.Windows.Forms.SplitContainer();
     this.toolStripContainer1  = new System.Windows.Forms.ToolStripContainer();
     this.treeView1            = new System.Windows.Forms.TreeView();
     this.graphControl1        = new Graph.GraphControl();
     this.tabControl1.SuspendLayout();
     this.propertiesPage.SuspendLayout();
     this.eventsPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.toolStripContainer1.ContentPanel.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // BottomToolStripPanel
     //
     this.BottomToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.BottomToolStripPanel.Name        = "BottomToolStripPanel";
     this.BottomToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.BottomToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.BottomToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // TopToolStripPanel
     //
     this.TopToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.TopToolStripPanel.Name        = "TopToolStripPanel";
     this.TopToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.TopToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.TopToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // RightToolStripPanel
     //
     this.RightToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.RightToolStripPanel.Name        = "RightToolStripPanel";
     this.RightToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.RightToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.RightToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // LeftToolStripPanel
     //
     this.LeftToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.LeftToolStripPanel.Name        = "LeftToolStripPanel";
     this.LeftToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.LeftToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.LeftToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // ContentPanel
     //
     this.ContentPanel.AutoScroll = true;
     this.ContentPanel.Size       = new System.Drawing.Size(745, 373);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.propertiesPage);
     this.tabControl1.Controls.Add(this.eventsPage);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(745, 398);
     this.tabControl1.TabIndex      = 1;
     //
     // propertiesPage
     //
     this.propertiesPage.Controls.Add(this.propertyGrid1);
     this.propertiesPage.Location = new System.Drawing.Point(4, 22);
     this.propertiesPage.Name     = "propertiesPage";
     this.propertiesPage.Padding  = new System.Windows.Forms.Padding(3);
     this.propertiesPage.Size     = new System.Drawing.Size(737, 372);
     this.propertiesPage.TabIndex = 0;
     this.propertiesPage.Text     = "Properties";
     this.propertiesPage.UseVisualStyleBackColor = true;
     //
     // propertyGrid1
     //
     this.propertyGrid1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.propertyGrid1.Location = new System.Drawing.Point(3, 3);
     this.propertyGrid1.Name     = "propertyGrid1";
     this.propertyGrid1.Size     = new System.Drawing.Size(731, 366);
     this.propertyGrid1.TabIndex = 0;
     //
     // eventsPage
     //
     this.eventsPage.Controls.Add(this.splitContainer1);
     this.eventsPage.Location = new System.Drawing.Point(4, 22);
     this.eventsPage.Name     = "eventsPage";
     this.eventsPage.Padding  = new System.Windows.Forms.Padding(3);
     this.eventsPage.Size     = new System.Drawing.Size(737, 372);
     this.eventsPage.TabIndex = 1;
     this.eventsPage.Text     = "Events";
     this.eventsPage.UseVisualStyleBackColor = true;
     //
     // splitContainer1
     //
     this.splitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(3, 3);
     this.splitContainer1.Name     = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.toolStripContainer1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.graphControl1);
     this.splitContainer1.Size             = new System.Drawing.Size(731, 366);
     this.splitContainer1.SplitterDistance = 242;
     this.splitContainer1.TabIndex         = 0;
     //
     // toolStripContainer1
     //
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.Controls.Add(this.treeView1);
     this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(242, 341);
     this.toolStripContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
     this.toolStripContainer1.Name     = "toolStripContainer1";
     this.toolStripContainer1.Size     = new System.Drawing.Size(242, 366);
     this.toolStripContainer1.TabIndex = 0;
     this.toolStripContainer1.Text     = "toolStripContainer1";
     //
     // treeView1
     //
     this.treeView1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.treeView1.Location  = new System.Drawing.Point(0, 0);
     this.treeView1.Name      = "treeView1";
     this.treeView1.Size      = new System.Drawing.Size(242, 341);
     this.treeView1.TabIndex  = 0;
     this.treeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView1_ItemDrag);
     //
     // graphControl1
     //
     this.graphControl1.AllowDrop             = true;
     this.graphControl1.BackColor             = System.Drawing.Color.DarkGray;
     this.graphControl1.CompatibilityStrategy = alwaysCompatible1;
     this.graphControl1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.graphControl1.FocusElement        = null;
     this.graphControl1.HighlightCompatible = true;
     this.graphControl1.LargeGridStep       = 128F;
     this.graphControl1.LargeStepGridColor  = System.Drawing.Color.Black;
     this.graphControl1.Location            = new System.Drawing.Point(0, 0);
     this.graphControl1.Name                = "graphControl1";
     this.graphControl1.ShowLabels          = false;
     this.graphControl1.Size                = new System.Drawing.Size(485, 366);
     this.graphControl1.SmallGridStep       = 16F;
     this.graphControl1.SmallStepGridColor  = System.Drawing.Color.DimGray;
     this.graphControl1.TabIndex            = 0;
     this.graphControl1.Text                = "graphControl1";
     //
     // DotaAbilityEditor
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(745, 398);
     this.Controls.Add(this.tabControl1);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "DotaAbilityEditor";
     this.Text = "ActionEditor";
     this.tabControl1.ResumeLayout(false);
     this.propertiesPage.ResumeLayout(false);
     this.eventsPage.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.toolStripContainer1.ContentPanel.ResumeLayout(false);
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     this.ResumeLayout(false);
 }