コード例 #1
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.formEditor = new Ecyware.GreenBlue.Controls.FormEditor();
     this.mnuFormParent = new System.Windows.Forms.ContextMenu();
     this.mnuFormChild = new System.Windows.Forms.ContextMenu();
     this.SuspendLayout();
     //
     // formEditor
     //
     this.formEditor.Dock = System.Windows.Forms.DockStyle.Fill;
     this.formEditor.ImageIndex = -1;
     this.formEditor.ItemHeight = 20;
     this.formEditor.Location = new System.Drawing.Point(0, 0);
     this.formEditor.Name = "formEditor";
     this.formEditor.SelectedImageIndex = -1;
     this.formEditor.SelectedNode = null;
     this.formEditor.Size = new System.Drawing.Size(582, 408);
     this.formEditor.TabIndex = 0;
     this.formEditor.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.FormEditor_AfterSelect);
     //
     // SessionFormEditor
     //
     this.Controls.Add(this.formEditor);
     this.Name = "SessionFormEditor";
     this.Size = new System.Drawing.Size(582, 408);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.btnContinue = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.formsTree = new Ecyware.GreenBlue.Controls.FormEditor();
     this.postDataTree = new System.Windows.Forms.TreeView();
     this.mnuFormNodeSelection = new System.Windows.Forms.ContextMenu();
     this.mnuSelectForm = new System.Windows.Forms.MenuItem();
     this.errorProvider = new System.Windows.Forms.ErrorProvider();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.LightSteelBlue;
     this.label1.Dock = System.Windows.Forms.DockStyle.Top;
     this.label1.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(0, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(420, 30);
     this.label1.TabIndex = 0;
     this.label1.Text = "1:  Select Form to Map";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnContinue
     //
     this.btnContinue.Location = new System.Drawing.Point(324, 330);
     this.btnContinue.Name = "btnContinue";
     this.btnContinue.TabIndex = 1;
     this.btnContinue.Text = "Continue";
     this.btnContinue.Click += new System.EventHandler(this.btnContinue_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(240, 330);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.TabIndex = 2;
     this.btnCancel.Text = "Cancel";
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(12, 36);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(126, 23);
     this.label2.TabIndex = 5;
     this.label2.Text = "Web Browser PostData";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(12, 168);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(138, 12);
     this.label3.TabIndex = 6;
     this.label3.Text = "Forms Editor Tree";
     //
     // formsTree
     //
     this.formsTree.ImageIndex = -1;
     this.formsTree.ItemHeight = 20;
     this.formsTree.Location = new System.Drawing.Point(12, 186);
     this.formsTree.Name = "formsTree";
     this.formsTree.SelectedImageIndex = -1;
     this.formsTree.SelectedNode = null;
     this.formsTree.Size = new System.Drawing.Size(390, 138);
     this.formsTree.TabIndex = 7;
     this.formsTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.formsTree_AfterSelect);
     //
     // postDataTree
     //
     this.postDataTree.ImageIndex = -1;
     this.postDataTree.Location = new System.Drawing.Point(12, 54);
     this.postDataTree.Name = "postDataTree";
     this.postDataTree.SelectedImageIndex = -1;
     this.postDataTree.Size = new System.Drawing.Size(390, 108);
     this.postDataTree.TabIndex = 8;
     //
     // mnuFormNodeSelection
     //
     this.mnuFormNodeSelection.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                          this.mnuSelectForm});
     //
     // mnuSelectForm
     //
     this.mnuSelectForm.Index = 0;
     this.mnuSelectForm.Text = "&Select Form";
     this.mnuSelectForm.Click += new System.EventHandler(this.mnuSelectForm_Click);
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     //
     // FormMappingSelectForm
     //
     this.AcceptButton = this.btnContinue;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor = System.Drawing.SystemColors.Control;
     this.CancelButton = this.btnCancel;
     this.ClientSize = new System.Drawing.Size(420, 364);
     this.Controls.Add(this.postDataTree);
     this.Controls.Add(this.formsTree);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnContinue);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FormMappingSelectForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Form Mapping Wizard";
     this.Load += new System.EventHandler(this.FormMappingSelectForm_Load);
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormPage));
     this.grpInfo = new System.Windows.Forms.GroupBox();
     this.formEditor = new Ecyware.GreenBlue.Controls.FormEditor();
     this.mnuForm = new System.Windows.Forms.ContextMenu();
     this.mnuCreateFormFromQueryString = new System.Windows.Forms.MenuItem();
     this.mnuFormProperties = new System.Windows.Forms.MenuItem();
     this.mnuChangeFormField = new System.Windows.Forms.MenuItem();
     this.mnuText = new System.Windows.Forms.MenuItem();
     this.mnuFile = new System.Windows.Forms.MenuItem();
     this.mnuHidden = new System.Windows.Forms.MenuItem();
     this.grpInfo.SuspendLayout();
     this.SuspendLayout();
     //
     // grpInfo
     //
     this.grpInfo.Controls.Add(this.formEditor);
     this.grpInfo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grpInfo.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.grpInfo.Location = new System.Drawing.Point(0, 0);
     this.grpInfo.Name = "grpInfo";
     this.grpInfo.Size = new System.Drawing.Size(600, 400);
     this.grpInfo.TabIndex = 1;
     this.grpInfo.TabStop = false;
     this.grpInfo.Text = "Form";
     //
     // formEditor
     //
     this.formEditor.ContextMenu = this.mnuForm;
     this.formEditor.Dock = System.Windows.Forms.DockStyle.Fill;
     this.formEditor.ImageIndex = -1;
     this.formEditor.ItemHeight = 20;
     this.formEditor.Location = new System.Drawing.Point(3, 16);
     this.formEditor.Name = "formEditor";
     this.formEditor.SelectedImageIndex = -1;
     this.formEditor.SelectedNode = null;
     this.formEditor.Size = new System.Drawing.Size(594, 381);
     this.formEditor.TabIndex = 1;
     //
     // mnuForm
     //
     this.mnuForm.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                             this.mnuCreateFormFromQueryString,
                                                                             this.mnuFormProperties,
                                                                             this.mnuChangeFormField});
     this.mnuForm.Popup += new System.EventHandler(this.mnuForm_Popup);
     //
     // mnuCreateFormFromQueryString
     //
     this.mnuCreateFormFromQueryString.Index = 0;
     this.mnuCreateFormFromQueryString.Text = "Create Form from URL QueryString";
     this.mnuCreateFormFromQueryString.Click += new System.EventHandler(this.mnuCreateFormFromQueryString_Click);
     //
     // mnuFormProperties
     //
     this.mnuFormProperties.Index = 1;
     this.mnuFormProperties.Text = "Form Properties...";
     this.mnuFormProperties.Click += new System.EventHandler(this.mnuChangeAction_Click);
     //
     // mnuChangeFormField
     //
     this.mnuChangeFormField.Index = 2;
     this.mnuChangeFormField.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                        this.mnuText,
                                                                                        this.mnuFile,
                                                                                        this.mnuHidden});
     this.mnuChangeFormField.Text = "&Change Form Field Type";
     this.mnuChangeFormField.Visible = false;
     //
     // mnuText
     //
     this.mnuText.Index = 0;
     this.mnuText.Text = "&Text";
     this.mnuText.Click += new System.EventHandler(this.mnuText_Click);
     //
     // mnuFile
     //
     this.mnuFile.Index = 1;
     this.mnuFile.Text = "&File";
     this.mnuFile.Click += new System.EventHandler(this.mnuFile_Click);
     //
     // mnuHidden
     //
     this.mnuHidden.Index = 2;
     this.mnuHidden.Text = "&Hidden";
     this.mnuHidden.Click += new System.EventHandler(this.mnuHidden_Click);
     //
     // FormPage
     //
     this.Controls.Add(this.grpInfo);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "FormPage";
     this.Size = new System.Drawing.Size(600, 400);
     this.grpInfo.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()
 {
     this.mnuFormNode = new System.Windows.Forms.ContextMenu();
     this.mnuSubmitNormal = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.mnuSubmitPost = new System.Windows.Forms.MenuItem();
     this.mnuSubmitGet = new System.Windows.Forms.MenuItem();
     this.mnuApplyTest = new System.Windows.Forms.MenuItem();
     this.mnuChangeAction = new System.Windows.Forms.MenuItem();
     this.mnuFormChild = new System.Windows.Forms.ContextMenu();
     this.mnuApplyBO = new System.Windows.Forms.MenuItem();
     this.mnuApplySQL = new System.Windows.Forms.MenuItem();
     this.mnuApplyXSS = new System.Windows.Forms.MenuItem();
     this.tree = new Ecyware.GreenBlue.Controls.FormEditor();
     this.SuspendLayout();
     //
     // mnuFormNode
     //
     this.mnuFormNode.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                 this.mnuSubmitNormal,
                                                                                 this.mnuApplyTest,
                                                                                 this.mnuChangeAction});
     //
     // mnuSubmitNormal
     //
     this.mnuSubmitNormal.Index = 0;
     this.mnuSubmitNormal.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                     this.menuItem3,
                                                                                     this.mnuSubmitPost,
                                                                                     this.mnuSubmitGet});
     this.mnuSubmitNormal.Text = "&Submit form";
     //
     // menuItem3
     //
     this.menuItem3.Index = 0;
     this.menuItem3.Text = "&Submit form";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // mnuSubmitPost
     //
     this.mnuSubmitPost.Index = 1;
     this.mnuSubmitPost.Text = "Submit form as a &POST";
     this.mnuSubmitPost.Click += new System.EventHandler(this.mnuSubmitPost_Click);
     //
     // mnuSubmitGet
     //
     this.mnuSubmitGet.Index = 2;
     this.mnuSubmitGet.Text = "Submit form as a &GET";
     this.mnuSubmitGet.Click += new System.EventHandler(this.mnuSubmitGet_Click);
     //
     // mnuApplyTest
     //
     this.mnuApplyTest.Index = 1;
     this.mnuApplyTest.Text = "&Set tests...";
     this.mnuApplyTest.Visible = false;
     //
     // mnuChangeAction
     //
     this.mnuChangeAction.Index = 2;
     this.mnuChangeAction.Text = "&Form Properties...";
     this.mnuChangeAction.Click += new System.EventHandler(this.mnuChangeAction_Click);
     //
     // mnuFormChild
     //
     this.mnuFormChild.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                  this.mnuApplyBO,
                                                                                  this.mnuApplySQL,
                                                                                  this.mnuApplyXSS});
     //
     // mnuApplyBO
     //
     this.mnuApplyBO.Index = 0;
     this.mnuApplyBO.Text = "Generate &Buffer Overflow...";
     this.mnuApplyBO.Click += new System.EventHandler(this.mnuApplyBO_Click);
     //
     // mnuApplySQL
     //
     this.mnuApplySQL.Index = 1;
     this.mnuApplySQL.Text = "Select SQL &Injection...";
     this.mnuApplySQL.Click += new System.EventHandler(this.mnuApplySQL_Click);
     //
     // mnuApplyXSS
     //
     this.mnuApplyXSS.Index = 2;
     this.mnuApplyXSS.Text = "Select &XSS Value...";
     this.mnuApplyXSS.Click += new System.EventHandler(this.mnuApplyXSS_Click);
     //
     // tree
     //
     this.tree.Dock = System.Windows.Forms.DockStyle.Fill;
     this.tree.ImageIndex = -1;
     this.tree.ItemHeight = 20;
     this.tree.Location = new System.Drawing.Point(0, 0);
     this.tree.Name = "tree";
     this.tree.SelectedImageIndex = -1;
     this.tree.SelectedNode = null;
     this.tree.Size = new System.Drawing.Size(450, 288);
     this.tree.TabIndex = 0;
     this.tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tree_AfterSelect);
     //
     // FormsEditor
     //
     this.Controls.Add(this.tree);
     this.Name = "FormsEditor";
     this.Size = new System.Drawing.Size(450, 288);
     this.ResumeLayout(false);
 }