Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace EA_ReqPro
{
        /// <summary>
        /// Summary description for QueryForm.
        /// </summary>
        public class QueryForm : System.Windows.Forms.Form
        {
      private System.Windows.Forms.Button button_cancel;
      private System.Windows.Forms.Button button_ok;
      private System.Windows.Forms.Label label1;
      private System.Windows.Forms.Label label2;
      public System.Windows.Forms.TextBox textBox_query_name;
      public System.Windows.Forms.TextBox textBox_search_term;
                /// <summary>
                /// Required designer variable.
                /// </summary>
                private System.ComponentModel.Container components = null;

                public QueryForm()
                {
                        //
                        // Required for Windows Form Designer support
                        //
                        InitializeComponent();

                        //
                        // TODO: Add any constructor code after InitializeComponent call
                        //
                }

                /// <summary>
                /// Clean up any resources being used.
                /// </summary>
                protected override void Dispose( bool disposing )
                {
                        if( disposing )
                        {
                                if(components != null)
                                {
                                        components.Dispose();
                                }
                        }
                        base.Dispose( disposing );
                }

                #region Windows Form Designer generated code
                /// <summary>
                /// Required method for Designer support - do not modify
                /// the contents of this method with the code editor.
                /// </summary>
                private void InitializeComponent()
                {
         this.button_cancel = new System.Windows.Forms.Button();
         this.button_ok = new System.Windows.Forms.Button();
         this.label1 = new System.Windows.Forms.Label();
         this.label2 = new System.Windows.Forms.Label();
         this.textBox_query_name = new System.Windows.Forms.TextBox();
         this.textBox_search_term = new System.Windows.Forms.TextBox();
         this.SuspendLayout();
         // 
         // button_cancel
         // 
         this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
         this.button_cancel.Location = new System.Drawing.Point(352, 112);
         this.button_cancel.Name = "button_cancel";
         this.button_cancel.Size = new System.Drawing.Size(80, 23);
         this.button_cancel.TabIndex = 0;
         this.button_cancel.Text = "Cancel";
         // 
         // button_ok
         // 
         this.button_ok.DialogResult = System.Windows.Forms.DialogResult.OK;
         this.button_ok.Location = new System.Drawing.Point(256, 112);
         this.button_ok.Name = "button_ok";
         this.button_ok.Size = new System.Drawing.Size(80, 24);
         this.button_ok.TabIndex = 1;
         this.button_ok.Text = "OK";
         // 
         // label1
         // 
         this.label1.Location = new System.Drawing.Point(16, 32);
         this.label1.Name = "label1";
         this.label1.TabIndex = 2;
         this.label1.Text = "Query Name";
         // 
         // label2
         // 
         this.label2.Location = new System.Drawing.Point(16, 64);
         this.label2.Name = "label2";
         this.label2.TabIndex = 3;
         this.label2.Text = "Search Term";
         // 
         // textBox_query_name
         // 
         this.textBox_query_name.Location = new System.Drawing.Point(128, 32);
         this.textBox_query_name.Name = "textBox_query_name";
         this.textBox_query_name.Size = new System.Drawing.Size(304, 22);
         this.textBox_query_name.TabIndex = 4;
         this.textBox_query_name.Text = "";
         // 
         // textBox_search_term
         // 
         this.textBox_search_term.Location = new System.Drawing.Point(128, 64);
         this.textBox_search_term.Name = "textBox_search_term";
         this.textBox_search_term.Size = new System.Drawing.Size(304, 22);
         this.textBox_search_term.TabIndex = 5;
         this.textBox_search_term.Text = "";
         // 
         // QueryForm
         // 
         this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
         this.ClientSize = new System.Drawing.Size(448, 152);
         this.Controls.Add(this.textBox_search_term);
         this.Controls.Add(this.textBox_query_name);
         this.Controls.Add(this.label2);
         this.Controls.Add(this.label1);
         this.Controls.Add(this.button_ok);
         this.Controls.Add(this.button_cancel);
         this.Name = "QueryForm";
         this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
         this.Text = "Run Query";
         this.ResumeLayout(false);

      }
                #endregion
        }
}