Ejemplo n.º 1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
            this.httpServer = new RemObjects.InternetPack.Http.HttpServer(this.components);
            this.llblinkLabel1 = new System.Windows.Forms.LinkLabel();
            this.lb_Log = new System.Windows.Forms.ListBox();
            this.SuspendLayout();
            // 
            // httpServer
            // 
            this.httpServer.Port = 81;
            this.httpServer.ValidateRequests = false;
            this.httpServer.OnHttpRequest += new RemObjects.InternetPack.Http.OnHttpRequestHandler(this.httpServer_OnHttpRequest);
            // 
            // llblinkLabel1
            // 
            this.llblinkLabel1.Location = new System.Drawing.Point(8, 8);
            this.llblinkLabel1.Name = "llblinkLabel1";
            this.llblinkLabel1.Size = new System.Drawing.Size(100, 23);
            this.llblinkLabel1.TabIndex = 0;
            this.llblinkLabel1.TabStop = true;
            this.llblinkLabel1.Text = "http://localhost:81";
            this.llblinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llblinkLabel1_LinkClicked);
            // 
            // lb_Log
            // 
            this.lb_Log.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.lb_Log.IntegralHeight = false;
            this.lb_Log.Location = new System.Drawing.Point(11, 32);
            this.lb_Log.Name = "lb_Log";
            this.lb_Log.Size = new System.Drawing.Size(371, 228);
            this.lb_Log.TabIndex = 1;
            // 
            // MainForm
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(394, 272);
            this.Controls.Add(this.lb_Log);
            this.Controls.Add(this.llblinkLabel1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize = new System.Drawing.Size(410, 310);
            this.Name = "MainForm";
            this.Text = "Internet Pack HTTP Response Sample";
            this.Load += new System.EventHandler(this.Form1_Load);
            this.Closed += new System.EventHandler(this.Form1_Closed);
            this.ResumeLayout(false);

        }
Ejemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.httpServer    = new RemObjects.InternetPack.Http.HttpServer(this.components);
     this.llblinkLabel1 = new System.Windows.Forms.LinkLabel();
     this.lb_Log        = new System.Windows.Forms.ListBox();
     this.SuspendLayout();
     //
     // httpServer
     //
     this.httpServer.Port             = 81;
     this.httpServer.ValidateRequests = false;
     this.httpServer.HttpRequest     += new RemObjects.InternetPack.Http.HttpRequestEventHandler(this.httpServer_OnHttpRequest);
     //
     // llblinkLabel1
     //
     this.llblinkLabel1.Location     = new System.Drawing.Point(8, 8);
     this.llblinkLabel1.Name         = "llblinkLabel1";
     this.llblinkLabel1.Size         = new System.Drawing.Size(100, 23);
     this.llblinkLabel1.TabIndex     = 0;
     this.llblinkLabel1.TabStop      = true;
     this.llblinkLabel1.Text         = "http://localhost:81";
     this.llblinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llblinkLabel1_LinkClicked);
     //
     // lb_Log
     //
     this.lb_Log.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.lb_Log.IntegralHeight = false;
     this.lb_Log.Location       = new System.Drawing.Point(11, 32);
     this.lb_Log.Name           = "lb_Log";
     this.lb_Log.Size           = new System.Drawing.Size(371, 228);
     this.lb_Log.TabIndex       = 1;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(394, 272);
     this.Controls.Add(this.lb_Log);
     this.Controls.Add(this.llblinkLabel1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MinimumSize = new System.Drawing.Size(410, 310);
     this.Name        = "MainForm";
     this.Text        = "Internet Pack HTTP Response Sample";
     this.Load       += new System.EventHandler(this.Form1_Load);
     this.Closed     += new System.EventHandler(this.Form1_Closed);
     this.ResumeLayout(false);
 }