Exemplo n.º 1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            prexistingVarDecs = "int axeys = 1;";

            this.components = new System.ComponentModel.Container();
            System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormMain));
            this.richTextBox1        = new System.Windows.Forms.TextBox();
            this.statusBar1          = new System.Windows.Forms.StatusBar();
            this.listBoxAutoComplete = new Intillisense.GListBox();
            this.imageList1          = new System.Windows.Forms.ImageList(this.components);
            this.treeViewItems       = new System.Windows.Forms.TreeView();
            this.mainMenu1           = new System.Windows.Forms.MainMenu();
            this.menuItem1           = new System.Windows.Forms.MenuItem();
            this.menuItem2           = new System.Windows.Forms.MenuItem();
            this.openFileDialog1     = new System.Windows.Forms.OpenFileDialog();
            this.textBoxTooltip      = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            //
            // richTextBox1
            //
            this.richTextBox1.AcceptsTab = true;
            this.richTextBox1.Dock       = System.Windows.Forms.DockStyle.Fill;
            this.richTextBox1.Font       = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.richTextBox1.Name       = "richTextBox1";
            this.richTextBox1.Size       = new System.Drawing.Size(560, 377);
            this.richTextBox1.TabIndex   = 0;
            this.richTextBox1.Text       = "";
            this.richTextBox1.KeyUp     += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyUp);
            this.richTextBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.richTextBox1_MouseDown);
            //
            // statusBar1
            //
            this.statusBar1.Location = new System.Drawing.Point(0, 355);
            this.statusBar1.Name     = "statusBar1";
            this.statusBar1.Size     = new System.Drawing.Size(560, 22);
            this.statusBar1.TabIndex = 2;
            //
            // listBoxAutoComplete
            //
            this.listBoxAutoComplete.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
            this.listBoxAutoComplete.DrawMode              = System.Windows.Forms.DrawMode.OwnerDrawFixed;
            this.listBoxAutoComplete.ImageList             = this.imageList1;
            this.listBoxAutoComplete.Location              = new System.Drawing.Point(136, 288);
            this.listBoxAutoComplete.Name                  = "listBoxAutoComplete";
            this.listBoxAutoComplete.Size                  = new System.Drawing.Size(208, 54);
            this.listBoxAutoComplete.TabIndex              = 3;
            this.listBoxAutoComplete.Visible               = false;
            this.listBoxAutoComplete.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.listBoxAutoComplete_KeyDown);
            this.listBoxAutoComplete.DoubleClick          += new System.EventHandler(this.listBoxAutoComplete_DoubleClick);
            this.listBoxAutoComplete.SelectedIndexChanged += new System.EventHandler(this.listBoxAutoComplete_SelectedIndexChanged);
            //
            // imageList1
            //
            this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
            this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
            this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
            this.imageList1.TransparentColor = System.Drawing.Color.Lime;
            //
            // treeViewItems
            //
            this.treeViewItems.FullRowSelect = true;
            this.treeViewItems.ImageIndex    = -1;
            this.treeViewItems.Location      = new System.Drawing.Point(24, 56);
            this.treeViewItems.Name          = "treeViewItems";
            this.treeViewItems.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
                new System.Windows.Forms.TreeNode("CodeProject", new System.Windows.Forms.TreeNode[] {
                    new System.Windows.Forms.TreeNode("Stuff1", new System.Windows.Forms.TreeNode[] {
                        new System.Windows.Forms.TreeNode("BigParser")
                    }),
                    new System.Windows.Forms.TreeNode("Stuff2", new System.Windows.Forms.TreeNode[] {
                        new System.Windows.Forms.TreeNode("TreeChopper")
                    }),
                    new System.Windows.Forms.TreeNode("EvenMoreStuff", new System.Windows.Forms.TreeNode[] {
                        new System.Windows.Forms.TreeNode("Widgets", new System.Windows.Forms.TreeNode[] {
                            new System.Windows.Forms.TreeNode("FileCreater", new System.Windows.Forms.TreeNode[] {
                                new System.Windows.Forms.TreeNode("AddFile"),
                                new System.Windows.Forms.TreeNode("DeleteFile"),
                                new System.Windows.Forms.TreeNode("RenameFile")
                            }),
                            new System.Windows.Forms.TreeNode("GraphicsEngine", new System.Windows.Forms.TreeNode[] {
                                new System.Windows.Forms.TreeNode("AddThing")
                            })
                        })
                    })
                })
            });
            this.treeViewItems.PathSeparator      = ".";
            this.treeViewItems.SelectedImageIndex = -1;
            this.treeViewItems.Size     = new System.Drawing.Size(432, 216);
            this.treeViewItems.TabIndex = 4;
            this.treeViewItems.Visible  = false;
            //
            // mainMenu1
            //
            this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.menuItem1
            });
            //
            // menuItem1
            //
            this.menuItem1.Index = 0;
            this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                this.menuItem2
            });
            this.menuItem1.Text = "&File";
            //
            // menuItem2
            //
            this.menuItem2.Index    = 0;
            this.menuItem2.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
            this.menuItem2.Text     = "&Load Assembly";
            this.menuItem2.Click   += new System.EventHandler(this.menuItem2_Click);
            //
            // openFileDialog1
            //
            this.openFileDialog1.Filter = "DLL files (*.dll) | *.dll";
            //
            // textBoxTooltip
            //
            this.textBoxTooltip.BackColor   = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(225)));
            this.textBoxTooltip.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.textBoxTooltip.Location    = new System.Drawing.Point(368, 288);
            this.textBoxTooltip.Multiline   = true;
            this.textBoxTooltip.Name        = "textBoxTooltip";
            this.textBoxTooltip.ReadOnly    = true;
            this.textBoxTooltip.Size        = new System.Drawing.Size(100, 20);
            this.textBoxTooltip.TabIndex    = 5;
            this.textBoxTooltip.Text        = "";
            this.textBoxTooltip.Visible     = false;
            this.textBoxTooltip.Enter      += new System.EventHandler(this.textBoxTooltip_Enter);
            //
            // FormMain
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.ClientSize        = new System.Drawing.Size(560, 377);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.textBoxTooltip,
                this.treeViewItems,
                this.listBoxAutoComplete,
                this.statusBar1,
                this.richTextBox1
            });
            this.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
            this.Menu          = this.mainMenu1;
            this.Name          = "FormMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Intellisense Demo";
            this.ResumeLayout(false);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("BigParser");
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Stuff1", new System.Windows.Forms.TreeNode[] {
         treeNode1
     });
     System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("TreeChopper");
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Stuff2", new System.Windows.Forms.TreeNode[] {
         treeNode3
     });
     System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("AddFile");
     System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("DeleteFile");
     System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("RenameFile");
     System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("FileCreater", new System.Windows.Forms.TreeNode[] {
         treeNode5,
         treeNode6,
         treeNode7
     });
     System.Windows.Forms.TreeNode treeNode9  = new System.Windows.Forms.TreeNode("AddThing");
     System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("GraphicsEngine", new System.Windows.Forms.TreeNode[] {
         treeNode9
     });
     System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Widgets", new System.Windows.Forms.TreeNode[] {
         treeNode8,
         treeNode10
     });
     System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("EvenMoreStuff", new System.Windows.Forms.TreeNode[] {
         treeNode11
     });
     System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("CodeProject", new System.Windows.Forms.TreeNode[] {
         treeNode2,
         treeNode4,
         treeNode12
     });
     this.richTextBox1        = new System.Windows.Forms.RichTextBox();
     this.statusBar1          = new System.Windows.Forms.StatusBar();
     this.imageList1          = new System.Windows.Forms.ImageList(this.components);
     this.treeViewItems       = new System.Windows.Forms.TreeView();
     this.mainMenu1           = new System.Windows.Forms.MainMenu(this.components);
     this.menuItem1           = new System.Windows.Forms.MenuItem();
     this.menuItem2           = new System.Windows.Forms.MenuItem();
     this.openFileDialog1     = new System.Windows.Forms.OpenFileDialog();
     this.textBoxTooltip      = new System.Windows.Forms.TextBox();
     this.listBoxAutoComplete = new Intillisense.GListBox();
     this.tabControl1         = new System.Windows.Forms.TabControl();
     this.tabPage1            = new System.Windows.Forms.TabPage();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.AcceptsTab = true;
     this.richTextBox1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Font       = new System.Drawing.Font("Courier New", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.richTextBox1.Location   = new System.Drawing.Point(3, 3);
     this.richTextBox1.Name       = "richTextBox1";
     this.richTextBox1.Size       = new System.Drawing.Size(546, 324);
     this.richTextBox1.TabIndex   = 0;
     this.richTextBox1.Text       = "";
     this.richTextBox1.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
     this.richTextBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.richTextBox1_MouseDown);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 334);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(560, 22);
     this.statusBar1.TabIndex = 2;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Lime;
     //
     // treeViewItems
     //
     this.treeViewItems.FullRowSelect = true;
     this.treeViewItems.Location      = new System.Drawing.Point(24, 56);
     this.treeViewItems.Name          = "treeViewItems";
     treeNode1.Name  = "";
     treeNode1.Text  = "BigParser";
     treeNode2.Name  = "";
     treeNode2.Text  = "Stuff1";
     treeNode3.Name  = "";
     treeNode3.Text  = "TreeChopper";
     treeNode4.Name  = "";
     treeNode4.Text  = "Stuff2";
     treeNode5.Name  = "";
     treeNode5.Text  = "AddFile";
     treeNode6.Name  = "";
     treeNode6.Text  = "DeleteFile";
     treeNode7.Name  = "";
     treeNode7.Text  = "RenameFile";
     treeNode8.Name  = "";
     treeNode8.Text  = "FileCreater";
     treeNode9.Name  = "";
     treeNode9.Text  = "AddThing";
     treeNode10.Name = "";
     treeNode10.Text = "GraphicsEngine";
     treeNode11.Name = "";
     treeNode11.Text = "Widgets";
     treeNode12.Name = "";
     treeNode12.Text = "EvenMoreStuff";
     treeNode13.Name = "";
     treeNode13.Text = "CodeProject";
     this.treeViewItems.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode13
     });
     this.treeViewItems.PathSeparator = ".";
     this.treeViewItems.Size          = new System.Drawing.Size(432, 216);
     this.treeViewItems.TabIndex      = 4;
     this.treeViewItems.Visible       = false;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2
     });
     this.menuItem1.Text = "&File";
     //
     // menuItem2
     //
     this.menuItem2.Index    = 0;
     this.menuItem2.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.menuItem2.Text     = "&Load";
     this.menuItem2.Click   += new System.EventHandler(this.menuItem2_Click);
     //
     // openFileDialog1
     //
     this.openFileDialog1.Filter = "Pde|*.pde";
     //
     // textBoxTooltip
     //
     this.textBoxTooltip.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(225)))));
     this.textBoxTooltip.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.textBoxTooltip.Location    = new System.Drawing.Point(368, 288);
     this.textBoxTooltip.Multiline   = true;
     this.textBoxTooltip.Name        = "textBoxTooltip";
     this.textBoxTooltip.ReadOnly    = true;
     this.textBoxTooltip.Size        = new System.Drawing.Size(100, 20);
     this.textBoxTooltip.TabIndex    = 5;
     this.textBoxTooltip.Visible     = false;
     this.textBoxTooltip.Enter      += new System.EventHandler(this.textBoxTooltip_Enter);
     //
     // listBoxAutoComplete
     //
     this.listBoxAutoComplete.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.listBoxAutoComplete.DrawMode              = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.listBoxAutoComplete.ImageList             = this.imageList1;
     this.listBoxAutoComplete.Location              = new System.Drawing.Point(136, 288);
     this.listBoxAutoComplete.Name                  = "listBoxAutoComplete";
     this.listBoxAutoComplete.Size                  = new System.Drawing.Size(208, 54);
     this.listBoxAutoComplete.TabIndex              = 3;
     this.listBoxAutoComplete.Visible               = false;
     this.listBoxAutoComplete.SelectedIndexChanged += new System.EventHandler(this.listBoxAutoComplete_SelectedIndexChanged);
     this.listBoxAutoComplete.DoubleClick          += new System.EventHandler(this.listBoxAutoComplete_DoubleClick);
     this.listBoxAutoComplete.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.listBoxAutoComplete_KeyDown);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     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(560, 356);
     this.tabControl1.TabIndex      = 6;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.richTextBox1);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(552, 330);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "tabPage1";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // FormMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(560, 356);
     this.Controls.Add(this.textBoxTooltip);
     this.Controls.Add(this.treeViewItems);
     this.Controls.Add(this.listBoxAutoComplete);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.tabControl1);
     this.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Menu          = this.mainMenu1;
     this.Name          = "FormMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Intellisense Demo";
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }