private void InitializeComponent ( )
{
this.button1 = new System.Windows.Forms.Button ( ) ;
this.listBox1 = new System.Windows.Forms.ListBox ( ) ;
this.statusBar1 = new System.Windows.Forms.StatusBar ( ) ;
this.SuspendLayout ( ) ;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat ;
this.button1.Location = new System.Drawing.Point ( 96 , 16 ) ;
this.button1.Name = "button1" ;
this.button1.Size = new System.Drawing.Size ( 80 , 34 ) ;
this.button1.TabIndex = 0 ;
this.button1.Text = "監(jiān)聽" ;
this.button1.Click += new System.EventHandler ( this.button1_Click ) ;
this.listBox1.ItemHeight = 12 ;
this.listBox1.Location = new System.Drawing.Point ( 16 , 68 ) ;
this.listBox1.Name = "listBox1" ;
this.listBox1.Size = new System.Drawing.Size ( 258 , 172 ) ;
this.listBox1.TabIndex = 1 ;
this.statusBar1.Location = new System.Drawing.Point ( 0 , 251 ) ;
this.statusBar1.Name = "statusBar1" ;
this.statusBar1.Size = new System.Drawing.Size ( 292 , 22 ) ;
this.statusBar1.TabIndex = 2 ;
this.statusBar1.Text = "無連接" ;
this.AutoScaleBaseSize = new System.Drawing.Size ( 6 , 14 ) ;
this.ClientSize = new System.Drawing.Size ( 292 , 273 ) ;
this.Controls.AddRange ( new System.Windows.Forms.Control[] {
this.statusBar1 ,
this.listBox1 ,
this.button1} ) ;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle ;
this.MaximizeBox = false ;
this.Name = "Form1" ;
this.Text = "利用Socket來接收數(shù)據(jù)" ;
this.ResumeLayout ( false ) ;
} |