Example #1
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(WebForm));
     this.browser = new AxSHDocVw.AxWebBrowser();
     ((System.ComponentModel.ISupportInitialize)(this.Browser)).BeginInit();
     this.SuspendLayout();
     //
     // browser
     //
     this.Browser.Enabled  = true;
     this.Browser.Location = new System.Drawing.Point(0, 0);
     this.Browser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("browser.OcxState")));
     this.Browser.Size     = new System.Drawing.Size(300, 150);
     this.Browser.TabIndex = 0;
     //
     // WebForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 149);
     this.Controls.Add(this.Browser);
     this.Name = "WebForm";
     this.Text = "WebForm";
     ((System.ComponentModel.ISupportInitialize)(this.Browser)).EndInit();
     this.ResumeLayout(false);
 }
Example #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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(WebForm));
     this.browser = new AxSHDocVw.AxWebBrowser();
     ((System.ComponentModel.ISupportInitialize)(this.Browser)).BeginInit();
     this.SuspendLayout();
     //
     // browser
     //
     this.Browser.Enabled = true;
     this.Browser.Location = new System.Drawing.Point(0, 0);
     this.Browser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("browser.OcxState")));
     this.Browser.Size = new System.Drawing.Size(300, 150);
     this.Browser.TabIndex = 0;
     //
     // WebForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(292, 149);
     this.Controls.Add(this.Browser);
     this.Name = "WebForm";
     this.Text = "WebForm";
     ((System.ComponentModel.ISupportInitialize)(this.Browser)).EndInit();
     this.ResumeLayout(false);
 }
Example #3
0
        public Pandora(AxSHDocVw.AxWebBrowser browser)
        {
            this.browser = browser;
            this.radioSize = new Size(0, 0);

            this.located = false;
            this.hwndPandora = 0;

            ThreadPool.QueueUserWorkItem(new WaitCallback(this.LocateRadio));
        }
Example #4
0
        public Pandora(AxSHDocVw.AxWebBrowser browser)
        {
            this.browser   = browser;
            this.radioSize = new Size(0, 0);

            this.located     = false;
            this.hwndPandora = 0;

            ThreadPool.QueueUserWorkItem(new WaitCallback(this.LocateRadio));
        }
Example #5
0
        private static Size GetRadioSize(AxSHDocVw.AxWebBrowser browser)
        {
            IHTMLDocument2 document = (IHTMLDocument2)browser.Document;

            if (document == null)
            {
                Debug.WriteLine("Radio Size: document not loaded");

                return(new Size(0, 0));
            }

            IHTMLElement element = (IHTMLElement)document.all.item("radio", 0);

            if (element == null)
            {
                Debug.WriteLine("Radio Size: missing");

                return(new Size(0, 0));
            }

            return(new Size(element.offsetWidth, element.offsetHeight));
        }
Example #6
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(XmlViewer));
			this.axWebBrowser = new AxSHDocVw.AxWebBrowser();
			this.grpViewer = new System.Windows.Forms.GroupBox();
			((System.ComponentModel.ISupportInitialize)(this.axWebBrowser)).BeginInit();
			this.grpViewer.SuspendLayout();
			this.SuspendLayout();
			// 
			// axWebBrowser
			// 
			this.axWebBrowser.ContainingControl = this;
			this.axWebBrowser.Enabled = true;
			this.axWebBrowser.Location = new System.Drawing.Point(16, 24);
			this.axWebBrowser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWebBrowser.OcxState")));
			this.axWebBrowser.Size = new System.Drawing.Size(616, 376);
			this.axWebBrowser.TabIndex = 2;
			// 
			// grpViewer
			// 
			this.grpViewer.Controls.Add(this.axWebBrowser);
			this.grpViewer.Location = new System.Drawing.Point(8, 16);
			this.grpViewer.Name = "grpViewer";
			this.grpViewer.Size = new System.Drawing.Size(648, 424);
			this.grpViewer.TabIndex = 3;
			this.grpViewer.TabStop = false;
			this.grpViewer.Text = "grpViewer";
			// 
			// XmlViewer
			// 
			this.Controls.Add(this.grpViewer);
			this.Name = "XmlViewer";
			this.Size = new System.Drawing.Size(664, 456);
			((System.ComponentModel.ISupportInitialize)(this.axWebBrowser)).EndInit();
			this.grpViewer.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Example #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Player));
     this.pictureBoxFill = new System.Windows.Forms.PictureBox();
     this.browser = new AxSHDocVw.AxWebBrowser();
     this.panelBrowser = new System.Windows.Forms.Panel();
     this.browser2 = new AxSHDocVw.AxWebBrowser();
     this.pictureBoxTitle = new System.Windows.Forms.PictureBox();
     this.btnClose = new System.Windows.Forms.Button();
     this.btnMinimize = new System.Windows.Forms.Button();
     this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.browser)).BeginInit();
     this.panelBrowser.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.browser2)).BeginInit();
     this.SuspendLayout();
     //
     // pictureBoxFill
     //
     this.pictureBoxFill.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBoxFill.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxFill.Image")));
     this.pictureBoxFill.Location = new System.Drawing.Point(2, 18);
     this.pictureBoxFill.Name = "pictureBoxFill";
     this.pictureBoxFill.Size = new System.Drawing.Size(620, 230);
     this.pictureBoxFill.TabIndex = 2;
     this.pictureBoxFill.TabStop = false;
     this.pictureBoxFill.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBoxFill_MouseUp);
     this.pictureBoxFill.DoubleClick += new System.EventHandler(this.pictureBoxFill_DoubleClick);
     this.pictureBoxFill.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBoxFill_MouseMove);
     this.pictureBoxFill.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBoxFill_MouseDown);
     //
     // browser
     //
     this.browser.ContainingControl = this;
     this.browser.Enabled = true;
     this.browser.Location = new System.Drawing.Point(-2, -2);
     this.browser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("browser.OcxState")));
     this.browser.Size = new System.Drawing.Size(800, 800);
     this.browser.TabIndex = 3;
     this.browser.NewWindow3 += new AxSHDocVw.DWebBrowserEvents2_NewWindow3EventHandler(this.browser_NewWindow3);
     this.browser.BeforeNavigate2 += new AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2EventHandler(this.browser_BeforeNavigate2);
     this.browser.DocumentComplete += new AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.browser_DocumentComplete);
     //
     // panelBrowser
     //
     this.panelBrowser.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.panelBrowser.Controls.Add(this.browser);
     this.panelBrowser.Controls.Add(this.browser2);
     this.panelBrowser.Location = new System.Drawing.Point(2, 18);
     this.panelBrowser.Name = "panelBrowser";
     this.panelBrowser.Size = new System.Drawing.Size(640, 250);
     this.panelBrowser.TabIndex = 4;
     //
     // browser2
     //
     this.browser2.ContainingControl = this;
     this.browser2.Enabled = true;
     this.browser2.Location = new System.Drawing.Point(96, 72);
     this.browser2.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("browser2.OcxState")));
     this.browser2.Size = new System.Drawing.Size(312, 163);
     this.browser2.TabIndex = 10;
     this.browser2.BeforeNavigate2 += new AxSHDocVw.DWebBrowserEvents2_BeforeNavigate2EventHandler(this.browser2_BeforeNavigate2);
     this.browser2.DocumentComplete += new AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.browser2_DocumentComplete);
     this.browser2.StatusTextChange += new AxSHDocVw.DWebBrowserEvents2_StatusTextChangeEventHandler(this.browser2_StatusTextChange);
     //
     // pictureBoxTitle
     //
     this.pictureBoxTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.pictureBoxTitle.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(49)), ((System.Byte)(49)), ((System.Byte)(49)));
     this.pictureBoxTitle.Location = new System.Drawing.Point(0, 0);
     this.pictureBoxTitle.Name = "pictureBoxTitle";
     this.pictureBoxTitle.Size = new System.Drawing.Size(644, 18);
     this.pictureBoxTitle.TabIndex = 6;
     this.pictureBoxTitle.TabStop = false;
     this.pictureBoxTitle.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBoxTitle_Paint);
     this.pictureBoxTitle.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBoxFill_MouseUp);
     this.pictureBoxTitle.DoubleClick += new System.EventHandler(this.pictureBoxFill_DoubleClick);
     this.pictureBoxTitle.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBoxFill_MouseMove);
     this.pictureBoxTitle.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBoxFill_MouseDown);
     //
     // btnClose
     //
     this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.BackColor = System.Drawing.Color.White;
     this.btnClose.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnClose.BackgroundImage")));
     this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnClose.ForeColor = System.Drawing.Color.White;
     this.btnClose.Location = new System.Drawing.Point(620, 2);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(16, 16);
     this.btnClose.TabIndex = 7;
     this.btnClose.TabStop = false;
     this.btnClose.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     this.btnClose.MouseEnter += new System.EventHandler(this.btnClose_MouseEnter);
     this.btnClose.MouseLeave += new System.EventHandler(this.btnClose_MouseLeave);
     //
     // btnMinimize
     //
     this.btnMinimize.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnMinimize.BackColor = System.Drawing.Color.White;
     this.btnMinimize.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnMinimize.BackgroundImage")));
     this.btnMinimize.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnMinimize.ForeColor = System.Drawing.Color.White;
     this.btnMinimize.Location = new System.Drawing.Point(604, 2);
     this.btnMinimize.Name = "btnMinimize";
     this.btnMinimize.Size = new System.Drawing.Size(16, 16);
     this.btnMinimize.TabIndex = 8;
     this.btnMinimize.TabStop = false;
     this.btnMinimize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnMinimize.Click += new System.EventHandler(this.btnMinimize_Click);
     this.btnMinimize.MouseEnter += new System.EventHandler(this.btnMinimize_MouseEnter);
     this.btnMinimize.MouseLeave += new System.EventHandler(this.btnMinimize_MouseLeave);
     //
     // Player
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(644, 252);
     this.Controls.Add(this.btnMinimize);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.pictureBoxTitle);
     this.Controls.Add(this.pictureBoxFill);
     this.Controls.Add(this.panelBrowser);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Name = "Player";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Open Pandora";
     this.Resize += new System.EventHandler(this.formPandora_Resize);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.formPandora_Closing);
     this.Load += new System.EventHandler(this.formPandora_Load);
     this.Activated += new System.EventHandler(this.formPandora_Activated);
     this.Paint += new System.Windows.Forms.PaintEventHandler(this.Player_Paint);
     ((System.ComponentModel.ISupportInitialize)(this.browser)).EndInit();
     this.panelBrowser.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.browser2)).EndInit();
     this.ResumeLayout(false);
 }
Example #8
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(TesterForm));
			this.bnInvoke = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.tbWSDL = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.tbResult = new System.Windows.Forms.TextBox();
			this.label4 = new System.Windows.Forms.Label();
			this.panel1 = new System.Windows.Forms.Panel();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.webBrowserResponse = new AxSHDocVw.AxWebBrowser();
			this.webBrowserRequest = new AxSHDocVw.AxWebBrowser();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.tbElapsedTime = new System.Windows.Forms.TextBox();
			this.label7 = new System.Windows.Forms.Label();
			this.bnInvokeAsync = new System.Windows.Forms.Button();
			this.cbTypes = new System.Windows.Forms.ComboBox();
			this.tbEndpoint = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.cbMethods = new System.Windows.Forms.ComboBox();
			this.bnCreateProxy = new System.Windows.Forms.Button();
			this.bnClearCache = new System.Windows.Forms.Button();
			this.groupBox1.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.webBrowserResponse)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.webBrowserRequest)).BeginInit();
			this.groupBox2.SuspendLayout();
			this.SuspendLayout();
			// 
			// bnInvoke
			// 
			this.bnInvoke.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.bnInvoke.Enabled = false;
			this.bnInvoke.Location = new System.Drawing.Point(224, 464);
			this.bnInvoke.Name = "bnInvoke";
			this.bnInvoke.Size = new System.Drawing.Size(80, 24);
			this.bnInvoke.TabIndex = 0;
			this.bnInvoke.Text = "Invoke Call";
			this.bnInvoke.Click += new System.EventHandler(this.bnInvoke_Click);
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(16, 42);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(48, 16);
			this.label1.TabIndex = 1;
			this.label1.Text = "WSDL:";
			// 
			// tbWSDL
			// 
			this.tbWSDL.Location = new System.Drawing.Point(64, 40);
			this.tbWSDL.Name = "tbWSDL";
			this.tbWSDL.Size = new System.Drawing.Size(336, 20);
			this.tbWSDL.TabIndex = 2;
			this.tbWSDL.Text = "http://api.google.com/GoogleSearch.wsdl";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(16, 74);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(80, 16);
			this.label2.TabIndex = 3;
			this.label2.Text = "Service Name:";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(16, 106);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(96, 16);
			this.label3.TabIndex = 5;
			this.label3.Text = "Operation Name:";
			// 
			// tbResult
			// 
			this.tbResult.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left)));
			this.tbResult.Location = new System.Drawing.Point(8, 354);
			this.tbResult.Multiline = true;
			this.tbResult.Name = "tbResult";
			this.tbResult.Size = new System.Drawing.Size(384, 64);
			this.tbResult.TabIndex = 7;
			this.tbResult.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(8, 176);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(72, 16);
			this.label4.TabIndex = 8;
			this.label4.Text = "Parameters:";
			// 
			// panel1
			// 
			this.panel1.AutoScroll = true;
			this.panel1.Location = new System.Drawing.Point(8, 192);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(384, 141);
			this.panel1.TabIndex = 10;
			// 
			// groupBox1
			// 
			this.groupBox1.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.groupBox1.Controls.Add(this.webBrowserResponse);
			this.groupBox1.Controls.Add(this.webBrowserRequest);
			this.groupBox1.Location = new System.Drawing.Point(416, 8);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(516, 498);
			this.groupBox1.TabIndex = 11;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "SOAP messages";
			// 
			// webBrowserResponse
			// 
			this.webBrowserResponse.ContainingControl = this;
			this.webBrowserResponse.Enabled = true;
			this.webBrowserResponse.Location = new System.Drawing.Point(8, 236);
			this.webBrowserResponse.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("webBrowserResponse.OcxState")));
			this.webBrowserResponse.Size = new System.Drawing.Size(500, 249);
			this.webBrowserResponse.TabIndex = 21;
			// 
			// webBrowserRequest
			// 
			this.webBrowserRequest.ContainingControl = this;
			this.webBrowserRequest.Enabled = true;
			this.webBrowserRequest.Location = new System.Drawing.Point(8, 24);
			this.webBrowserRequest.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("webBrowserRequest.OcxState")));
			this.webBrowserRequest.Size = new System.Drawing.Size(500, 205);
			this.webBrowserRequest.TabIndex = 20;
			// 
			// groupBox2
			// 
			this.groupBox2.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.groupBox2.Controls.Add(this.tbResult);
			this.groupBox2.Controls.Add(this.tbElapsedTime);
			this.groupBox2.Controls.Add(this.label7);
			this.groupBox2.Controls.Add(this.bnInvokeAsync);
			this.groupBox2.Controls.Add(this.cbTypes);
			this.groupBox2.Controls.Add(this.tbEndpoint);
			this.groupBox2.Controls.Add(this.label6);
			this.groupBox2.Controls.Add(this.panel1);
			this.groupBox2.Controls.Add(this.label5);
			this.groupBox2.Controls.Add(this.cbMethods);
			this.groupBox2.Controls.Add(this.bnCreateProxy);
			this.groupBox2.Controls.Add(this.bnClearCache);
			this.groupBox2.Controls.Add(this.bnInvoke);
			this.groupBox2.Controls.Add(this.label4);
			this.groupBox2.Location = new System.Drawing.Point(8, 8);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(400, 496);
			this.groupBox2.TabIndex = 12;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "Settings";
			// 
			// tbElapsedTime
			// 
			this.tbElapsedTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.tbElapsedTime.Location = new System.Drawing.Point(80, 430);
			this.tbElapsedTime.Name = "tbElapsedTime";
			this.tbElapsedTime.ReadOnly = true;
			this.tbElapsedTime.Size = new System.Drawing.Size(93, 20);
			this.tbElapsedTime.TabIndex = 21;
			this.tbElapsedTime.Text = "";
			// 
			// label7
			// 
			this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.label7.Location = new System.Drawing.Point(7, 430);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(73, 20);
			this.label7.TabIndex = 20;
			this.label7.Text = "Call duration:";
			// 
			// bnInvokeAsync
			// 
			this.bnInvokeAsync.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.bnInvokeAsync.Enabled = false;
			this.bnInvokeAsync.Location = new System.Drawing.Point(312, 464);
			this.bnInvokeAsync.Name = "bnInvokeAsync";
			this.bnInvokeAsync.Size = new System.Drawing.Size(80, 24);
			this.bnInvokeAsync.TabIndex = 19;
			this.bnInvokeAsync.Text = "Invoke Async";
			this.bnInvokeAsync.Click += new System.EventHandler(this.bnInvokeAsync_Click);
			// 
			// cbTypes
			// 
			this.cbTypes.Location = new System.Drawing.Point(104, 64);
			this.cbTypes.Name = "cbTypes";
			this.cbTypes.Size = new System.Drawing.Size(288, 21);
			this.cbTypes.TabIndex = 18;
			this.cbTypes.SelectedIndexChanged += new System.EventHandler(this.cbTypes_SelectedIndexChanged_1);
			// 
			// tbEndpoint
			// 
			this.tbEndpoint.Location = new System.Drawing.Point(104, 128);
			this.tbEndpoint.Name = "tbEndpoint";
			this.tbEndpoint.Size = new System.Drawing.Size(208, 20);
			this.tbEndpoint.TabIndex = 17;
			this.tbEndpoint.Text = "";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(8, 130);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(64, 16);
			this.label6.TabIndex = 16;
			this.label6.Text = "Endpoint:";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(8, 339);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(100, 15);
			this.label5.TabIndex = 15;
			this.label5.Text = "Result:";
			// 
			// cbMethods
			// 
			this.cbMethods.Location = new System.Drawing.Point(104, 96);
			this.cbMethods.Name = "cbMethods";
			this.cbMethods.Size = new System.Drawing.Size(288, 21);
			this.cbMethods.TabIndex = 14;
			this.cbMethods.SelectedIndexChanged += new System.EventHandler(this.cbMethods_SelectedIndexChanged);
			// 
			// bnCreateProxy
			// 
			this.bnCreateProxy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
			this.bnCreateProxy.Location = new System.Drawing.Point(8, 464);
			this.bnCreateProxy.Name = "bnCreateProxy";
			this.bnCreateProxy.Size = new System.Drawing.Size(88, 23);
			this.bnCreateProxy.TabIndex = 13;
			this.bnCreateProxy.Text = "Create Proxy";
			this.bnCreateProxy.Click += new System.EventHandler(this.bnCreateProxy_Click);
			// 
			// bnClearCache
			// 
			this.bnClearCache.Location = new System.Drawing.Point(320, 128);
			this.bnClearCache.Name = "bnClearCache";
			this.bnClearCache.TabIndex = 12;
			this.bnClearCache.Text = "Clear Cache";
			this.bnClearCache.Click += new System.EventHandler(this.bnClearCache_Click);
			// 
			// TesterForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(931, 510);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.tbWSDL);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.groupBox2);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
			this.Name = "TesterForm";
			this.Text = "Dynamically invoke Web Services";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.groupBox1.ResumeLayout(false);
			((System.ComponentModel.ISupportInitialize)(this.webBrowserResponse)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.webBrowserRequest)).EndInit();
			this.groupBox2.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Example #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Viewer));
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.panel1          = new System.Windows.Forms.Panel();
     this.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.panel2          = new System.Windows.Forms.Panel();
     this.tabControl1     = new System.Windows.Forms.TabControl();
     this.tabContents     = new System.Windows.Forms.TabPage();
     this.tocTree1        = new HtmlHelp.UIComponents.TocTree();
     this.tabIndex        = new System.Windows.Forms.TabPage();
     this.helpIndex1      = new HtmlHelp.UIComponents.helpIndex();
     this.tabSearch       = new System.Windows.Forms.TabPage();
     this.helpSearch2     = new HtmlHelp.UIComponents.helpSearch();
     this.splitter1       = new System.Windows.Forms.Splitter();
     this.panel3          = new System.Windows.Forms.Panel();
     this.axWebBrowser1   = new AxSHDocVw.AxWebBrowser();
     this.toolBar1        = new System.Windows.Forms.ToolBar();
     this.btnBack         = new System.Windows.Forms.ToolBarButton();
     this.btnNext         = new System.Windows.Forms.ToolBarButton();
     this.btnStop         = new System.Windows.Forms.ToolBarButton();
     this.btnRefresh      = new System.Windows.Forms.ToolBarButton();
     this.btnHome         = new System.Windows.Forms.ToolBarButton();
     this.btnSynch        = new System.Windows.Forms.ToolBarButton();
     this.btnSep1         = new System.Windows.Forms.ToolBarButton();
     this.btnContents     = new System.Windows.Forms.ToolBarButton();
     this.btnIndex        = new System.Windows.Forms.ToolBarButton();
     this.btnSearch       = new System.Windows.Forms.ToolBarButton();
     this.imgToolBar      = new System.Windows.Forms.ImageList(this.components);
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.panel2.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabContents.SuspendLayout();
     this.tabIndex.SuspendLayout();
     this.tabSearch.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).BeginInit();
     this.SuspendLayout();
     //
     // openFileDialog1
     //
     this.openFileDialog1.DefaultExt = "chm";
     this.openFileDialog1.Filter     = "Compiled HTML-Help files (*.chm)|*.chm|All files|*.*";
     this.openFileDialog1.Title      = "Open HTML-Help files";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.pictureBox1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 28);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(754, 4);
     this.panel1.TabIndex = 5;
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(754, 2);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 0;
     this.pictureBox1.TabStop  = false;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.tabControl1);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Left;
     this.panel2.Location = new System.Drawing.Point(0, 32);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(360, 510);
     this.panel2.TabIndex = 7;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabContents);
     this.tabControl1.Controls.Add(this.tabIndex);
     this.tabControl1.Controls.Add(this.tabSearch);
     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(360, 510);
     this.tabControl1.TabIndex      = 8;
     //
     // tabContents
     //
     this.tabContents.Controls.Add(this.tocTree1);
     this.tabContents.Location = new System.Drawing.Point(4, 22);
     this.tabContents.Name     = "tabContents";
     this.tabContents.Size     = new System.Drawing.Size(352, 484);
     this.tabContents.TabIndex = 0;
     this.tabContents.Text     = "Contents";
     //
     // tocTree1
     //
     this.tocTree1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.tocTree1.Location     = new System.Drawing.Point(0, 0);
     this.tocTree1.Name         = "tocTree1";
     this.tocTree1.Padding      = new System.Windows.Forms.Padding(2);
     this.tocTree1.Size         = new System.Drawing.Size(352, 484);
     this.tocTree1.TabIndex     = 0;
     this.tocTree1.TocSelected += new HtmlHelp.UIComponents.TocSelectedEventHandler(this.tocTree1_TocSelected);
     //
     // tabIndex
     //
     this.tabIndex.Controls.Add(this.helpIndex1);
     this.tabIndex.Location = new System.Drawing.Point(4, 22);
     this.tabIndex.Name     = "tabIndex";
     this.tabIndex.Size     = new System.Drawing.Size(352, 484);
     this.tabIndex.TabIndex = 1;
     this.tabIndex.Text     = "Index";
     //
     // helpIndex1
     //
     this.helpIndex1.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.helpIndex1.Location       = new System.Drawing.Point(0, 0);
     this.helpIndex1.Name           = "helpIndex1";
     this.helpIndex1.Size           = new System.Drawing.Size(352, 484);
     this.helpIndex1.TabIndex       = 0;
     this.helpIndex1.IndexSelected += new HtmlHelp.UIComponents.IndexSelectedEventHandler(this.helpIndex1_IndexSelected);
     //
     // tabSearch
     //
     this.tabSearch.Controls.Add(this.helpSearch2);
     this.tabSearch.Location = new System.Drawing.Point(4, 22);
     this.tabSearch.Name     = "tabSearch";
     this.tabSearch.Size     = new System.Drawing.Size(352, 484);
     this.tabSearch.TabIndex = 2;
     this.tabSearch.Text     = "Search";
     //
     // helpSearch2
     //
     this.helpSearch2.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.helpSearch2.Location     = new System.Drawing.Point(0, 0);
     this.helpSearch2.Name         = "helpSearch2";
     this.helpSearch2.Size         = new System.Drawing.Size(352, 484);
     this.helpSearch2.TabIndex     = 0;
     this.helpSearch2.FTSearch    += new HtmlHelp.UIComponents.FTSearchEventHandler(this.helpSearch2_FTSearch);
     this.helpSearch2.HitSelected += new HtmlHelp.UIComponents.HitSelectedEventHandler(this.helpSearch2_HitSelected);
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(360, 32);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(4, 510);
     this.splitter1.TabIndex = 9;
     this.splitter1.TabStop  = false;
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.SystemColors.Control;
     this.panel3.Controls.Add(this.axWebBrowser1);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(364, 32);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(390, 510);
     this.panel3.TabIndex = 10;
     //
     // axWebBrowser1
     //
     this.axWebBrowser1.Dock                = System.Windows.Forms.DockStyle.Fill;
     this.axWebBrowser1.Enabled             = true;
     this.axWebBrowser1.Location            = new System.Drawing.Point(0, 0);
     this.axWebBrowser1.OcxState            = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWebBrowser1.OcxState")));
     this.axWebBrowser1.Size                = new System.Drawing.Size(390, 510);
     this.axWebBrowser1.TabIndex            = 0;
     this.axWebBrowser1.DownloadComplete   += new System.EventHandler(this.axWebBrowser1_DownloadComplete);
     this.axWebBrowser1.DownloadBegin      += new System.EventHandler(this.axWebBrowser1_DownloadBegin);
     this.axWebBrowser1.CommandStateChange += new AxSHDocVw.DWebBrowserEvents2_CommandStateChangeEventHandler(this.axWebBrowser1_CommandStateChanged);
     this.axWebBrowser1.ProgressChange     += new AxSHDocVw.DWebBrowserEvents2_ProgressChangeEventHandler(this.axWebBrowser1_ProgressChanged);
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.btnBack,
         this.btnNext,
         this.btnStop,
         this.btnRefresh,
         this.btnHome,
         this.btnSynch,
         this.btnSep1,
         this.btnContents,
         this.btnIndex,
         this.btnSearch
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imgToolBar;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(754, 28);
     this.toolBar1.TabIndex       = 0;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // btnBack
     //
     this.btnBack.ImageIndex  = 0;
     this.btnBack.Name        = "btnBack";
     this.btnBack.ToolTipText = "Back";
     //
     // btnNext
     //
     this.btnNext.ImageIndex  = 1;
     this.btnNext.Name        = "btnNext";
     this.btnNext.ToolTipText = "Forward";
     //
     // btnStop
     //
     this.btnStop.ImageIndex  = 2;
     this.btnStop.Name        = "btnStop";
     this.btnStop.ToolTipText = "Stop";
     //
     // btnRefresh
     //
     this.btnRefresh.ImageIndex  = 3;
     this.btnRefresh.Name        = "btnRefresh";
     this.btnRefresh.ToolTipText = "Refresh";
     //
     // btnHome
     //
     this.btnHome.ImageIndex  = 4;
     this.btnHome.Name        = "btnHome";
     this.btnHome.ToolTipText = "Default topic";
     //
     // btnSynch
     //
     this.btnSynch.ImageIndex  = 8;
     this.btnSynch.Name        = "btnSynch";
     this.btnSynch.ToolTipText = "Snychronize contents";
     //
     // btnSep1
     //
     this.btnSep1.Name  = "btnSep1";
     this.btnSep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // btnContents
     //
     this.btnContents.ImageIndex  = 5;
     this.btnContents.Name        = "btnContents";
     this.btnContents.ToolTipText = "Show help contents";
     //
     // btnIndex
     //
     this.btnIndex.ImageIndex  = 6;
     this.btnIndex.Name        = "btnIndex";
     this.btnIndex.ToolTipText = "Show help index";
     //
     // btnSearch
     //
     this.btnSearch.ImageIndex  = 7;
     this.btnSearch.Name        = "btnSearch";
     this.btnSearch.ToolTipText = "Fulltext search";
     //
     // imgToolBar
     //
     this.imgToolBar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgToolBar.ImageStream")));
     this.imgToolBar.TransparentColor = System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(211)))), ((int)(((byte)(206)))));
     this.imgToolBar.Images.SetKeyName(0, "");
     this.imgToolBar.Images.SetKeyName(1, "");
     this.imgToolBar.Images.SetKeyName(2, "");
     this.imgToolBar.Images.SetKeyName(3, "");
     this.imgToolBar.Images.SetKeyName(4, "");
     this.imgToolBar.Images.SetKeyName(5, "");
     this.imgToolBar.Images.SetKeyName(6, "");
     this.imgToolBar.Images.SetKeyName(7, "");
     this.imgToolBar.Images.SetKeyName(8, "");
     //
     // Viewer
     //
     this.ClientSize = new System.Drawing.Size(754, 542);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.toolBar1);
     this.Name  = "Viewer";
     this.Text  = "HtmlHelp - Viewer";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.panel2.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabContents.ResumeLayout(false);
     this.tabIndex.ResumeLayout(false);
     this.tabSearch.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #10
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
   ResourceManager resources = new ResourceManager(typeof(MpeHelpBrowser));
   browser = new AxWebBrowser();
   ((ISupportInitialize) (browser)).BeginInit();
   SuspendLayout();
   // 
   // browser
   // 
   browser.Dock = DockStyle.Fill;
   browser.Enabled = true;
   browser.Location = new Point(0, 0);
   browser.OcxState = ((AxHost.State) (resources.GetObject("browser.OcxState")));
   browser.Size = new Size(368, 224);
   browser.TabIndex = 0;
   // 
   // MpeHelpBrowser
   // 
   Controls.Add(browser);
   Name = "MpeHelpBrowser";
   Size = new Size(368, 224);
   ((ISupportInitialize) (browser)).EndInit();
   ResumeLayout(false);
 }
 /// <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(MyTracerForm));
     this.tabs             = new System.Windows.Forms.TabControl();
     this.tabBrowser       = new System.Windows.Forms.TabPage();
     this.webBrowser       = new AxSHDocVw.AxWebBrowser();
     this.tabApplication   = new System.Windows.Forms.TabPage();
     this.appGrid          = new System.Windows.Forms.DataGrid();
     this.tabCache         = new System.Windows.Forms.TabPage();
     this.cacheGrid        = new System.Windows.Forms.DataGrid();
     this.tabSession       = new System.Windows.Forms.TabPage();
     this.sessionGrid      = new System.Windows.Forms.DataGrid();
     this.tabViewState     = new System.Windows.Forms.TabPage();
     this.viewstateGrid    = new System.Windows.Forms.DataGrid();
     this.tabHeaders       = new System.Windows.Forms.TabPage();
     this.headersGrid      = new System.Windows.Forms.DataGrid();
     this.tabRequest       = new System.Windows.Forms.TabPage();
     this.formGrid         = new System.Windows.Forms.DataGrid();
     this.tabCookies       = new System.Windows.Forms.TabPage();
     this.cookiesGrid      = new System.Windows.Forms.DataGrid();
     this.tabServerVars    = new System.Windows.Forms.TabPage();
     this.serverGrid       = new System.Windows.Forms.DataGrid();
     this.tabPageControls  = new System.Windows.Forms.TabPage();
     this.formControlsGrid = new System.Windows.Forms.DataGrid();
     this.controlsGrid     = new System.Windows.Forms.DataGrid();
     this.appStatusBar     = new System.Windows.Forms.StatusBar();
     this.buttonGo         = new System.Windows.Forms.Button();
     this.addressBar       = new System.Windows.Forms.TextBox();
     this.tabs.SuspendLayout();
     this.tabBrowser.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.webBrowser)).BeginInit();
     this.tabApplication.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.appGrid)).BeginInit();
     this.tabCache.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cacheGrid)).BeginInit();
     this.tabSession.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.sessionGrid)).BeginInit();
     this.tabViewState.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.viewstateGrid)).BeginInit();
     this.tabHeaders.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.headersGrid)).BeginInit();
     this.tabRequest.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.formGrid)).BeginInit();
     this.tabCookies.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cookiesGrid)).BeginInit();
     this.tabServerVars.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.serverGrid)).BeginInit();
     this.tabPageControls.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.formControlsGrid)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.controlsGrid)).BeginInit();
     this.SuspendLayout();
     //
     // tabs
     //
     this.tabs.Alignment = System.Windows.Forms.TabAlignment.Bottom;
     this.tabs.Anchor    = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                             | System.Windows.Forms.AnchorStyles.Left)
                            | System.Windows.Forms.AnchorStyles.Right);
     this.tabs.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabBrowser,
         this.tabApplication,
         this.tabCache,
         this.tabSession,
         this.tabViewState,
         this.tabHeaders,
         this.tabRequest,
         this.tabCookies,
         this.tabServerVars,
         this.tabPageControls
     });
     this.tabs.Location      = new System.Drawing.Point(8, 40);
     this.tabs.Multiline     = true;
     this.tabs.Name          = "tabs";
     this.tabs.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.tabs.SelectedIndex = 0;
     this.tabs.Size          = new System.Drawing.Size(706, 464);
     this.tabs.TabIndex      = 0;
     //
     // tabBrowser
     //
     this.tabBrowser.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.webBrowser
     });
     this.tabBrowser.Location = new System.Drawing.Point(4, 4);
     this.tabBrowser.Name     = "tabBrowser";
     this.tabBrowser.Size     = new System.Drawing.Size(698, 438);
     this.tabBrowser.TabIndex = 0;
     this.tabBrowser.Text     = "Browser";
     //
     // webBrowser
     //
     this.webBrowser.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                | System.Windows.Forms.AnchorStyles.Left)
                               | System.Windows.Forms.AnchorStyles.Right);
     this.webBrowser.ContainingControl = this;
     this.webBrowser.Enabled           = true;
     this.webBrowser.Location          = new System.Drawing.Point(8, 8);
     this.webBrowser.OcxState          = ((System.Windows.Forms.AxHost.State)(resources.GetObject("webBrowser.OcxState")));
     this.webBrowser.Size     = new System.Drawing.Size(682, 424);
     this.webBrowser.TabIndex = 0;
     //
     // tabApplication
     //
     this.tabApplication.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.appGrid
     });
     this.tabApplication.Location = new System.Drawing.Point(4, 4);
     this.tabApplication.Name     = "tabApplication";
     this.tabApplication.Size     = new System.Drawing.Size(698, 438);
     this.tabApplication.TabIndex = 2;
     this.tabApplication.Text     = "Application";
     //
     // appGrid
     //
     this.appGrid.AllowNavigation = false;
     this.appGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                      | System.Windows.Forms.AnchorStyles.Left)
                                     | System.Windows.Forms.AnchorStyles.Right);
     this.appGrid.CaptionText     = "Application";
     this.appGrid.DataMember      = "";
     this.appGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.appGrid.Location        = new System.Drawing.Point(8, 7);
     this.appGrid.Name            = "appGrid";
     this.appGrid.ReadOnly        = true;
     this.appGrid.Size            = new System.Drawing.Size(682, 424);
     this.appGrid.TabIndex        = 3;
     //
     // tabCache
     //
     this.tabCache.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.cacheGrid
     });
     this.tabCache.Location = new System.Drawing.Point(4, 4);
     this.tabCache.Name     = "tabCache";
     this.tabCache.Size     = new System.Drawing.Size(698, 438);
     this.tabCache.TabIndex = 1;
     this.tabCache.Text     = "Cache";
     //
     // cacheGrid
     //
     this.cacheGrid.AllowNavigation = false;
     this.cacheGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                        | System.Windows.Forms.AnchorStyles.Left)
                                       | System.Windows.Forms.AnchorStyles.Right);
     this.cacheGrid.CaptionText     = "Cache";
     this.cacheGrid.DataMember      = "";
     this.cacheGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.cacheGrid.Location        = new System.Drawing.Point(8, 8);
     this.cacheGrid.Name            = "cacheGrid";
     this.cacheGrid.ReadOnly        = true;
     this.cacheGrid.Size            = new System.Drawing.Size(682, 424);
     this.cacheGrid.TabIndex        = 0;
     //
     // tabSession
     //
     this.tabSession.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.sessionGrid
     });
     this.tabSession.Location = new System.Drawing.Point(4, 4);
     this.tabSession.Name     = "tabSession";
     this.tabSession.Size     = new System.Drawing.Size(698, 438);
     this.tabSession.TabIndex = 8;
     this.tabSession.Text     = "Session";
     //
     // sessionGrid
     //
     this.sessionGrid.AllowNavigation = false;
     this.sessionGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                          | System.Windows.Forms.AnchorStyles.Left)
                                         | System.Windows.Forms.AnchorStyles.Right);
     this.sessionGrid.CaptionText     = "Session";
     this.sessionGrid.DataMember      = "";
     this.sessionGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.sessionGrid.Location        = new System.Drawing.Point(8, 7);
     this.sessionGrid.Name            = "sessionGrid";
     this.sessionGrid.ReadOnly        = true;
     this.sessionGrid.Size            = new System.Drawing.Size(682, 424);
     this.sessionGrid.TabIndex        = 1;
     //
     // tabViewState
     //
     this.tabViewState.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.viewstateGrid
     });
     this.tabViewState.Location = new System.Drawing.Point(4, 4);
     this.tabViewState.Name     = "tabViewState";
     this.tabViewState.Size     = new System.Drawing.Size(698, 438);
     this.tabViewState.TabIndex = 9;
     this.tabViewState.Text     = "View State";
     //
     // viewstateGrid
     //
     this.viewstateGrid.AllowNavigation = false;
     this.viewstateGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                            | System.Windows.Forms.AnchorStyles.Left)
                                           | System.Windows.Forms.AnchorStyles.Right);
     this.viewstateGrid.CaptionText     = "View State";
     this.viewstateGrid.DataMember      = "";
     this.viewstateGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.viewstateGrid.Location        = new System.Drawing.Point(8, 7);
     this.viewstateGrid.Name            = "viewstateGrid";
     this.viewstateGrid.ReadOnly        = true;
     this.viewstateGrid.Size            = new System.Drawing.Size(682, 424);
     this.viewstateGrid.TabIndex        = 2;
     //
     // tabHeaders
     //
     this.tabHeaders.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.headersGrid
     });
     this.tabHeaders.Location = new System.Drawing.Point(4, 4);
     this.tabHeaders.Name     = "tabHeaders";
     this.tabHeaders.Size     = new System.Drawing.Size(698, 438);
     this.tabHeaders.TabIndex = 3;
     this.tabHeaders.Text     = "Headers";
     //
     // headersGrid
     //
     this.headersGrid.AllowNavigation = false;
     this.headersGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                          | System.Windows.Forms.AnchorStyles.Left)
                                         | System.Windows.Forms.AnchorStyles.Right);
     this.headersGrid.CaptionText     = "Request.Headers";
     this.headersGrid.DataMember      = "";
     this.headersGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.headersGrid.Location        = new System.Drawing.Point(8, 7);
     this.headersGrid.Name            = "headersGrid";
     this.headersGrid.ReadOnly        = true;
     this.headersGrid.Size            = new System.Drawing.Size(682, 424);
     this.headersGrid.TabIndex        = 3;
     //
     // tabRequest
     //
     this.tabRequest.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.formGrid
     });
     this.tabRequest.Location = new System.Drawing.Point(4, 4);
     this.tabRequest.Name     = "tabRequest";
     this.tabRequest.Size     = new System.Drawing.Size(698, 438);
     this.tabRequest.TabIndex = 4;
     this.tabRequest.Text     = "Request";
     //
     // formGrid
     //
     this.formGrid.AllowNavigation = false;
     this.formGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                       | System.Windows.Forms.AnchorStyles.Left)
                                      | System.Windows.Forms.AnchorStyles.Right);
     this.formGrid.CaptionText     = "Request.Form";
     this.formGrid.DataMember      = "";
     this.formGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.formGrid.Location        = new System.Drawing.Point(8, 7);
     this.formGrid.Name            = "formGrid";
     this.formGrid.ReadOnly        = true;
     this.formGrid.Size            = new System.Drawing.Size(682, 424);
     this.formGrid.TabIndex        = 1;
     //
     // tabCookies
     //
     this.tabCookies.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.cookiesGrid
     });
     this.tabCookies.Location = new System.Drawing.Point(4, 4);
     this.tabCookies.Name     = "tabCookies";
     this.tabCookies.Size     = new System.Drawing.Size(698, 438);
     this.tabCookies.TabIndex = 6;
     this.tabCookies.Text     = "Cookies";
     //
     // cookiesGrid
     //
     this.cookiesGrid.AllowNavigation = false;
     this.cookiesGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                          | System.Windows.Forms.AnchorStyles.Left)
                                         | System.Windows.Forms.AnchorStyles.Right);
     this.cookiesGrid.CaptionText     = "Request.Cookies";
     this.cookiesGrid.DataMember      = "";
     this.cookiesGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.cookiesGrid.Location        = new System.Drawing.Point(8, 7);
     this.cookiesGrid.Name            = "cookiesGrid";
     this.cookiesGrid.ReadOnly        = true;
     this.cookiesGrid.Size            = new System.Drawing.Size(682, 424);
     this.cookiesGrid.TabIndex        = 2;
     //
     // tabServerVars
     //
     this.tabServerVars.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.serverGrid
     });
     this.tabServerVars.Location = new System.Drawing.Point(4, 4);
     this.tabServerVars.Name     = "tabServerVars";
     this.tabServerVars.Size     = new System.Drawing.Size(698, 438);
     this.tabServerVars.TabIndex = 5;
     this.tabServerVars.Text     = "Server Vars";
     //
     // serverGrid
     //
     this.serverGrid.AllowNavigation = false;
     this.serverGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                         | System.Windows.Forms.AnchorStyles.Left)
                                        | System.Windows.Forms.AnchorStyles.Right);
     this.serverGrid.CaptionText     = "Request.ServerVariables";
     this.serverGrid.DataMember      = "";
     this.serverGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.serverGrid.Location        = new System.Drawing.Point(8, 7);
     this.serverGrid.Name            = "serverGrid";
     this.serverGrid.ReadOnly        = true;
     this.serverGrid.Size            = new System.Drawing.Size(682, 424);
     this.serverGrid.TabIndex        = 2;
     //
     // tabPageControls
     //
     this.tabPageControls.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.formControlsGrid,
         this.controlsGrid
     });
     this.tabPageControls.Location = new System.Drawing.Point(4, 4);
     this.tabPageControls.Name     = "tabPageControls";
     this.tabPageControls.Size     = new System.Drawing.Size(698, 438);
     this.tabPageControls.TabIndex = 7;
     this.tabPageControls.Text     = "Page Controls";
     //
     // formControlsGrid
     //
     this.formControlsGrid.AllowNavigation = false;
     this.formControlsGrid.Anchor          = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                               | System.Windows.Forms.AnchorStyles.Left)
                                              | System.Windows.Forms.AnchorStyles.Right);
     this.formControlsGrid.CaptionText     = "Form.Controls";
     this.formControlsGrid.DataMember      = "";
     this.formControlsGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.formControlsGrid.Location        = new System.Drawing.Point(8, 184);
     this.formControlsGrid.Name            = "formControlsGrid";
     this.formControlsGrid.ReadOnly        = true;
     this.formControlsGrid.Size            = new System.Drawing.Size(682, 248);
     this.formControlsGrid.TabIndex        = 4;
     //
     // controlsGrid
     //
     this.controlsGrid.AllowNavigation = false;
     this.controlsGrid.Anchor          = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                          | System.Windows.Forms.AnchorStyles.Right);
     this.controlsGrid.CaptionText     = "Page.Controls";
     this.controlsGrid.DataMember      = "";
     this.controlsGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.controlsGrid.Location        = new System.Drawing.Point(8, 7);
     this.controlsGrid.Name            = "controlsGrid";
     this.controlsGrid.ReadOnly        = true;
     this.controlsGrid.Size            = new System.Drawing.Size(682, 177);
     this.controlsGrid.TabIndex        = 3;
     //
     // appStatusBar
     //
     this.appStatusBar.Location = new System.Drawing.Point(0, 511);
     this.appStatusBar.Name     = "appStatusBar";
     this.appStatusBar.Size     = new System.Drawing.Size(722, 22);
     this.appStatusBar.TabIndex = 1;
     this.appStatusBar.Text     = "Ready";
     //
     // buttonGo
     //
     this.buttonGo.Anchor    = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.buttonGo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.buttonGo.Location  = new System.Drawing.Point(682, 8);
     this.buttonGo.Name      = "buttonGo";
     this.buttonGo.Size      = new System.Drawing.Size(32, 20);
     this.buttonGo.TabIndex  = 5;
     this.buttonGo.Text      = "Go";
     this.buttonGo.Click    += new System.EventHandler(this.buttonGo_Click);
     //
     // addressBar
     //
     this.addressBar.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                               | System.Windows.Forms.AnchorStyles.Right);
     this.addressBar.BackColor   = System.Drawing.SystemColors.Info;
     this.addressBar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.addressBar.Location    = new System.Drawing.Point(8, 8);
     this.addressBar.Name        = "addressBar";
     this.addressBar.Size        = new System.Drawing.Size(674, 20);
     this.addressBar.TabIndex    = 4;
     this.addressBar.Text        = "http://localhost/mydebug/products.aspx";
     //
     // MyTracerForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(722, 533);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.buttonGo,
         this.addressBar,
         this.appStatusBar,
         this.tabs
     });
     this.MinimumSize = new System.Drawing.Size(730, 560);
     this.Name        = "MyTracerForm";
     this.Text        = "My Tracer";
     this.tabs.ResumeLayout(false);
     this.tabBrowser.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.webBrowser)).EndInit();
     this.tabApplication.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.appGrid)).EndInit();
     this.tabCache.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cacheGrid)).EndInit();
     this.tabSession.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.sessionGrid)).EndInit();
     this.tabViewState.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.viewstateGrid)).EndInit();
     this.tabHeaders.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.headersGrid)).EndInit();
     this.tabRequest.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.formGrid)).EndInit();
     this.tabCookies.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cookiesGrid)).EndInit();
     this.tabServerVars.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.serverGrid)).EndInit();
     this.tabPageControls.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.formControlsGrid)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.controlsGrid)).EndInit();
     this.ResumeLayout(false);
 }
Example #12
0
        private void InitializeComponent()
        {
            ComponentResourceManager resources = new ComponentResourceManager(typeof(FC_RFBarcode));

            this.panel3        = new Panel();
            this.chbox_fixveh  = new CheckBox();
            this.txt_vendor    = new TextBox();
            this.label4        = new Label();
            this.cb_vehtype    = new ComboBox();
            this.label25       = new Label();
            this.txt_vehno     = new TextBox();
            this.label3        = new Label();
            this.txt_billno    = new TextBox();
            this.label2        = new Label();
            this.panel2        = new Panel();
            this.button3       = new Button();
            this.txt_icno      = new TextBox();
            this.label1        = new Label();
            this.button1       = new Button();
            this.axWebBrowser1 = new AxSHDocVw.AxWebBrowser();
            this.panel3.SuspendLayout();
            this.panel2.SuspendLayout();
            this.axWebBrowser1.BeginInit();
            base.SuspendLayout();
            this.panel3.Controls.Add(this.chbox_fixveh);
            this.panel3.Controls.Add(this.txt_vendor);
            this.panel3.Controls.Add(this.label4);
            this.panel3.Controls.Add(this.cb_vehtype);
            this.panel3.Controls.Add(this.label25);
            this.panel3.Controls.Add(this.txt_vehno);
            this.panel3.Controls.Add(this.label3);
            this.panel3.Controls.Add(this.txt_billno);
            this.panel3.Controls.Add(this.label2);
            this.panel3.Controls.Add(this.panel2);
            this.panel3.Controls.Add(this.txt_icno);
            this.panel3.Controls.Add(this.label1);
            this.panel3.Controls.Add(this.button1);
            this.panel3.Dock           = DockStyle.Top;
            this.panel3.Location       = new Point(0, 0);
            this.panel3.Name           = "panel3";
            this.panel3.Size           = new Size(0x385, 0x43);
            this.panel3.TabIndex       = 170;
            this.chbox_fixveh.AutoSize = true;
            this.chbox_fixveh.Enabled  = false;
            this.chbox_fixveh.Font     = new System.Drawing.Font("宋体", 12f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.chbox_fixveh.Location = new Point(0x1e1, 0x26);
            this.chbox_fixveh.Name     = "chbox_fixveh";
            this.chbox_fixveh.Size     = new Size(0x5b, 20);
            this.chbox_fixveh.TabIndex = 0xd4;
            this.chbox_fixveh.Text     = "固定车辆";
            this.chbox_fixveh.UseVisualStyleBackColor = true;
            this.txt_vendor.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.txt_vendor.Location          = new Point(0x200, 7);
            this.txt_vendor.Margin            = new Padding(4);
            this.txt_vendor.Name              = "txt_vendor";
            this.txt_vendor.ReadOnly          = true;
            this.txt_vendor.Size              = new Size(0xc4, 0x17);
            this.txt_vendor.TabIndex          = 0xb2;
            this.txt_vendor.TextAlign         = HorizontalAlignment.Right;
            this.label4.AutoSize              = true;
            this.label4.Font                  = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label4.Location              = new Point(0x1de, 11);
            this.label4.Margin                = new Padding(4, 0, 4, 0);
            this.label4.Name                  = "label4";
            this.label4.Size                  = new Size(0x23, 14);
            this.label4.TabIndex              = 0xb1;
            this.label4.Text                  = "客商";
            this.cb_vehtype.DropDownStyle     = ComboBoxStyle.DropDownList;
            this.cb_vehtype.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.cb_vehtype.FormattingEnabled = true;
            this.cb_vehtype.Location          = new Point(0x36, 0x23);
            this.cb_vehtype.Name              = "cb_vehtype";
            this.cb_vehtype.Size              = new Size(0x87, 0x16);
            this.cb_vehtype.TabIndex          = 0xb0;
            this.label25.AutoSize             = true;
            this.label25.Font                 = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label25.Location             = new Point(0x16, 0x27);
            this.label25.Margin               = new Padding(4, 0, 4, 0);
            this.label25.Name                 = "label25";
            this.label25.Size                 = new Size(0x23, 14);
            this.label25.TabIndex             = 0xaf;
            this.label25.Text                 = "车型";
            this.txt_vehno.Font               = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.txt_vehno.Location           = new Point(0x125, 0x23);
            this.txt_vehno.Margin             = new Padding(4);
            this.txt_vehno.Name               = "txt_vehno";
            this.txt_vehno.ReadOnly           = true;
            this.txt_vehno.Size               = new Size(0x87, 0x17);
            this.txt_vehno.TabIndex           = 0xae;
            this.txt_vehno.TextAlign          = HorizontalAlignment.Right;
            this.label3.AutoSize              = true;
            this.label3.Font                  = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label3.Location              = new Point(0xf6, 0x27);
            this.label3.Margin                = new Padding(4, 0, 4, 0);
            this.label3.Name                  = "label3";
            this.label3.Size                  = new Size(0x31, 14);
            this.label3.TabIndex              = 0xad;
            this.label3.Text                  = "车牌号";
            this.txt_billno.Font              = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.txt_billno.Location          = new Point(0x125, 7);
            this.txt_billno.Margin            = new Padding(4);
            this.txt_billno.Name              = "txt_billno";
            this.txt_billno.ReadOnly          = true;
            this.txt_billno.Size              = new Size(0x87, 0x17);
            this.txt_billno.TabIndex          = 0xac;
            this.txt_billno.TextAlign         = HorizontalAlignment.Right;
            this.label2.AutoSize              = true;
            this.label2.Font                  = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label2.Location              = new Point(0xf6, 11);
            this.label2.Margin                = new Padding(4, 0, 4, 0);
            this.label2.Name                  = "label2";
            this.label2.Size                  = new Size(0x31, 14);
            this.label2.TabIndex              = 0xab;
            this.label2.Text                  = "单据号";
            this.panel2.Controls.Add(this.button3);
            this.panel2.Dock      = DockStyle.Right;
            this.panel2.Location  = new Point(0x323, 0);
            this.panel2.Name      = "panel2";
            this.panel2.Size      = new Size(0x62, 0x43);
            this.panel2.TabIndex  = 170;
            this.button3.Location = new Point(2, 0x11);
            this.button3.Name     = "button3";
            this.button3.Size     = new Size(0x51, 0x1d);
            this.button3.TabIndex = 0x8e;
            this.button3.Text     = "发卡";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click     += new EventHandler(this.button3_Click);
            this.txt_icno.Font      = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.txt_icno.Location  = new Point(0x36, 7);
            this.txt_icno.Margin    = new Padding(4);
            this.txt_icno.Name      = "txt_icno";
            this.txt_icno.ReadOnly  = true;
            this.txt_icno.Size      = new Size(0x87, 0x17);
            this.txt_icno.TabIndex  = 0xa9;
            this.txt_icno.TextAlign = HorizontalAlignment.Right;
            this.label1.AutoSize    = true;
            this.label1.Font        = new System.Drawing.Font("宋体", 10.5f, FontStyle.Regular, GraphicsUnit.Point, 0x86);
            this.label1.Location    = new Point(8, 11);
            this.label1.Margin      = new Padding(4, 0, 4, 0);
            this.label1.Name        = "label1";
            this.label1.Size        = new Size(0x31, 14);
            this.label1.TabIndex    = 0xa8;
            this.label1.Text        = "IC卡号";
            this.button1.Location   = new Point(0x11, 0x15a);
            this.button1.Name       = "button1";
            this.button1.Size       = new Size(100, 0x25);
            this.button1.TabIndex   = 0xa7;
            this.button1.Text       = "button1";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Visible              = false;
            this.axWebBrowser1.Dock           = System.Windows.Forms.DockStyle.Fill;
            this.axWebBrowser1.Enabled        = true;
            this.axWebBrowser1.Location       = new Point(0, 0x43);
            this.axWebBrowser1.OcxState       = (AxHost.State)resources.GetObject("axWebBrowser1.OcxState");
            this.axWebBrowser1.Size           = new Size(0x385, 0x221);
            this.axWebBrowser1.TabIndex       = 0xab;
            this.axWebBrowser1.NewWindow3    += new DWebBrowserEvents2_NewWindow3EventHandler(this.axWebBrowser1_NewWindow3);
            this.axWebBrowser1.WindowClosing += new DWebBrowserEvents2_WindowClosingEventHandler(this.axWebBrowser1_WindowClosing);
            base.AutoScaleDimensions          = new SizeF(6f, 12f);
            base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            base.Controls.Add(this.axWebBrowser1);
            base.Controls.Add(this.panel3);
            base.Name  = "FC_RFBarcode";
            base.Size  = new Size(0x385, 0x264);
            base.Load += new EventHandler(this.FC_RFBarcode_Load);
            this.panel3.ResumeLayout(false);
            this.panel3.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.axWebBrowser1.EndInit();
            base.ResumeLayout(false);
        }
Example #13
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(Form1));
     this._webBrowser = new AxSHDocVw.AxWebBrowser();
     this._txbUrl = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this._btnGo = new System.Windows.Forms.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this._txbUserName = new System.Windows.Forms.TextBox();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this._authenticate = new System.Windows.Forms.Button();
     this._txbLanguage = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this._webBrowser)).BeginInit();
     this.SuspendLayout();
     //
     // _webBrowser
     //
     this._webBrowser.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._webBrowser.Enabled = true;
     this._webBrowser.Location = new System.Drawing.Point(12, 165);
     this._webBrowser.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("_webBrowser.OcxState")));
     this._webBrowser.Size = new System.Drawing.Size(529, 263);
     this._webBrowser.TabIndex = 0;
     //
     // _txbUrl
     //
     this._txbUrl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this._txbUrl.Location = new System.Drawing.Point(74, 126);
     this._txbUrl.Name = "_txbUrl";
     this._txbUrl.Size = new System.Drawing.Size(368, 20);
     this._txbUrl.TabIndex = 1;
     this._txbUrl.Text = "http://www.google.com";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 126);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(32, 13);
     this.label1.TabIndex = 2;
     this.label1.Text = "URL:";
     //
     // _btnGo
     //
     this._btnGo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this._btnGo.Enabled = false;
     this._btnGo.Location = new System.Drawing.Point(458, 124);
     this._btnGo.Name = "_btnGo";
     this._btnGo.Size = new System.Drawing.Size(75, 23);
     this._btnGo.TabIndex = 3;
     this._btnGo.Text = "Go";
     this._btnGo.UseVisualStyleBackColor = true;
     this._btnGo.Click += new System.EventHandler(this._btnGo_Click);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(262, 32);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(101, 13);
     this.label2.TabIndex = 5;
     this.label2.Text = "Preferred Language";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(12, 33);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(63, 13);
     this.label3.TabIndex = 6;
     this.label3.Text = "User Name:";
     //
     // _txbUserName
     //
     this._txbUserName.Enabled = false;
     this._txbUserName.Location = new System.Drawing.Point(78, 30);
     this._txbUserName.Name = "_txbUserName";
     this._txbUserName.Size = new System.Drawing.Size(144, 20);
     this._txbUserName.TabIndex = 7;
     //
     // checkBox1
     //
     this.checkBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.checkBox1.AutoSize = true;
     this.checkBox1.Enabled = false;
     this.checkBox1.Location = new System.Drawing.Point(367, 434);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(166, 17);
     this.checkBox1.TabIndex = 8;
     this.checkBox1.Text = "Show HTTP Request Header";
     this.checkBox1.UseVisualStyleBackColor = true;
     //
     // _authenticate
     //
     this._authenticate.Location = new System.Drawing.Point(78, 66);
     this._authenticate.Name = "_authenticate";
     this._authenticate.Size = new System.Drawing.Size(75, 23);
     this._authenticate.TabIndex = 9;
     this._authenticate.Text = "ChangeUser";
     this._authenticate.UseVisualStyleBackColor = true;
     this._authenticate.Click += new System.EventHandler(this._authenticate_Click);
     //
     // _txbLanguage
     //
     this._txbLanguage.Enabled = false;
     this._txbLanguage.Location = new System.Drawing.Point(370, 32);
     this._txbLanguage.Name = "_txbLanguage";
     this._txbLanguage.Size = new System.Drawing.Size(163, 20);
     this._txbLanguage.TabIndex = 10;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(553, 463);
     this.Controls.Add(this._txbLanguage);
     this.Controls.Add(this._authenticate);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this._txbUserName);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this._btnGo);
     this.Controls.Add(this.label1);
     this.Controls.Add(this._txbUrl);
     this.Controls.Add(this._webBrowser);
     this.Name = "Form1";
     this.Text = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
     ((System.ComponentModel.ISupportInitialize)(this._webBrowser)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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(MyWebBrowser));
     this.axWebBrowser1 = new AxSHDocVw.AxWebBrowser();
     ((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).BeginInit();
     this.SuspendLayout();
     //
     // axWebBrowser1
     //
     this.axWebBrowser1.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.axWebBrowser1.Enabled = true;
     this.axWebBrowser1.Location = new System.Drawing.Point(8, 16);
     this.axWebBrowser1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWebBrowser1.OcxState")));
     this.axWebBrowser1.Size = new System.Drawing.Size(448, 240);
     this.axWebBrowser1.TabIndex = 0;
     //
     // MyWebBrowser
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.axWebBrowser1);
     this.Name = "MyWebBrowser";
     this.Size = new System.Drawing.Size(472, 273);
     ((System.ComponentModel.ISupportInitialize)(this.axWebBrowser1)).EndInit();
     this.ResumeLayout(false);
 }
Example #15
0
 private void InitializeComponent()
 {
     ResourceManager manager = new ResourceManager(typeof(PrintColumnSelection));
     this.label1 = new Label();
     this.AllColumnsList = new ListBox();
     this.SelectedColumnList = new ListBox();
     this.label2 = new Label();
     this.PPreview = new Button();
     this.EditPrint = new Button();
     this.PrintTemplateList = new ListBox();
     this.label3 = new Label();
     this.label4 = new Label();
     this.templateBrowser = new AxWebBrowser();
     this.templateBrowser.BeginInit();
     base.SuspendLayout();
     this.label1.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.label1.Location = new Point(0, 8);
     this.label1.Name = "label1";
     this.label1.Size = new Size(120, 0x18);
     this.label1.TabIndex = 0;
     this.label1.Text = "         All Columns";
     this.AllColumnsList.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.AllColumnsList.ItemHeight = 14;
     this.AllColumnsList.Location = new Point(8, 0x20);
     this.AllColumnsList.Name = "AllColumnsList";
     this.AllColumnsList.Size = new Size(0x88, 0x1a8);
     this.AllColumnsList.TabIndex = 1;
     this.AllColumnsList.DoubleClick += new EventHandler(this.AllColumnsList_DoubleClick);
     this.SelectedColumnList.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.SelectedColumnList.ItemHeight = 14;
     this.SelectedColumnList.Location = new Point(0x98, 0x20);
     this.SelectedColumnList.Name = "SelectedColumnList";
     this.SelectedColumnList.Size = new Size(0x88, 0x1a8);
     this.SelectedColumnList.TabIndex = 3;
     this.SelectedColumnList.DoubleClick += new EventHandler(this.SelectedColumnList_DoubleClick);
     this.label2.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.label2.Location = new Point(160, 8);
     this.label2.Name = "label2";
     this.label2.Size = new Size(120, 0x18);
     this.label2.TabIndex = 2;
     this.label2.Text = "   Selected Columns";
     this.PPreview.Location = new Point(0x98, 0x1d0);
     this.PPreview.Name = "PPreview";
     this.PPreview.Size = new Size(0x90, 0x20);
     this.PPreview.TabIndex = 4;
     this.PPreview.Text = "Print Preview..";
     this.PPreview.Click += new EventHandler(this.PPreview_Click);
     this.EditPrint.Location = new Point(8, 0x1d0);
     this.EditPrint.Name = "EditPrint";
     this.EditPrint.Size = new Size(0x88, 0x20);
     this.EditPrint.TabIndex = 5;
     this.EditPrint.Text = "Preview";
     this.EditPrint.Click += new EventHandler(this.EditPrint_Click);
     this.PrintTemplateList.Font = new Font("Arial", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.PrintTemplateList.ItemHeight = 14;
     this.PrintTemplateList.Location = new Point(0x300, 0x20);
     this.PrintTemplateList.Name = "PrintTemplateList";
     this.PrintTemplateList.Size = new Size(120, 0x1a8);
     this.PrintTemplateList.TabIndex = 6;
     this.label3.Font = new Font("Arial", 8.25f, FontStyle.Bold);
     this.label3.Location = new Point(0x300, 8);
     this.label3.Name = "label3";
     this.label3.Size = new Size(0x88, 0x10);
     this.label3.TabIndex = 7;
     this.label3.Text = "Choose Template..";
     this.label4.Font = new Font("Arial", 8.25f, FontStyle.Bold);
     this.label4.Location = new Point(320, 8);
     this.label4.Name = "label4";
     this.label4.Size = new Size(0x98, 0x10);
     this.label4.TabIndex = 9;
     this.label4.Text = "Print template preview";
     this.templateBrowser.Enabled = true;
     this.templateBrowser.Location = new Point(0x130, 0x20);
     this.templateBrowser.OcxState = (AxHost.State) manager.GetObject("templateBrowser.OcxState");
     this.templateBrowser.Size = new Size(0x1c8, 0x1a8);
     this.templateBrowser.TabIndex = 10;
     this.templateBrowser.DocumentComplete += new AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEventHandler(this.templateBrowser_DocumentComplete);
     this.AutoScaleBaseSize = new Size(5, 13);
     base.ClientSize = new Size(0x388, 0x1f5);
     base.Controls.Add(this.templateBrowser);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.PrintTemplateList);
     base.Controls.Add(this.EditPrint);
     base.Controls.Add(this.PPreview);
     base.Controls.Add(this.SelectedColumnList);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.AllColumnsList);
     base.Controls.Add(this.label1);
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "PrintColumnSelection";
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterScreen;
     this.Text = "Select Columns";
     base.Load += new EventHandler(this.PrintColumnSelection_Load);
     this.templateBrowser.EndInit();
     base.ResumeLayout(false);
 }
Example #16
0
        public void SwitchLayoutEngine(String id)
        {
            AxHost host = null;
              String url = "about:blank";

              switch (id) {
              case "trident":
            if (gecko != null) {
              url = gecko.LocationURL;
              this.Controls.Remove(gecko as AxHost);
              gecko = null;
            }

            if (trident == null) {
              trident = new AxWebBrowser();
              host = trident as AxHost;
            }

            break;
              default:
            if (trident != null) {
              url = trident.LocationURL;
              this.Controls.Remove(trident as AxHost);
              trident = null;
            }

            if (gecko == null) {
              gecko = new AxMozillaBrowser();
              host = gecko as AxHost;
            }
            break;
              }

              if (host != null) {
            host.BeginInit();
            host.TabIndex = 1;
            host.Dock = DockStyle.Fill;
            host.EndInit();
            this.Controls.Add(host);
              }

              // Add appropriate content area listeners
              AddListeners();

              ServiceManager.Preferences.SetStringPref("browser.layoutengine", id);

              LoadURL(url, false);
        }
Example #17
0
    public void CapturePage(string url)
    {
        this.url = url;

        mWb = new AxWebBrowser();

        mWb.BeginInit();
        mWb.Parent = new Form();
        mWb.EndInit();

        // Set the initial dimensions of the browser's client area.
        mWb.SetBounds(0, 0, width, height);

        object oBlank = "about:blank";
        object oURL = url;
        object oNull = String.Empty;

        // Internet Explorer should show no dialog boxes; this does not dis-
        // able script debugging however, I am not aware of a method to dis-
        // able that, other than manual configuration in he Internet Settings
        // or perhaps the registry.
        mWb.Silent = true;

        // The custom UI handler can only be registered on a document, so we
        // navigate to about:blank as a first step, then register the handler.
        mWb.Navigate2(ref oBlank, ref oNull, ref oNull, ref oNull, ref oNull);

        ICustomDoc cdoc = mWb.Document as ICustomDoc;
        cdoc.SetUIHandler(new IECaptUIHandler());

        // Register a document complete handler. It will be called whenever a
        // document completes loading, including embedded documents and the
        // initial about:blank document.
        mWb.DocumentComplete += new DWebBrowserEvents2_DocumentCompleteEventHandler(IE_DocumentComplete);

        // Register an error handler. If the main document cannot be loaded,
        // the document complete event will not fire, so we have to listen to
        // this and shut the application down in case of a fatal error.
        mWb.NavigateError += new DWebBrowserEvents2_NavigateErrorEventHandler(IE_NavigateError);

        // Now navigate to the final destination.
        mWb.Navigate2(ref oURL, ref oNull, ref oNull, ref oNull, ref oNull);
    }