2007-03-21

C#实现Socket传输简单数据

来源: 本站收集整理 作者:佚名 评论 0 条
 
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(24, 123);
this.textBox2.Multiline = true;
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(234, 131);
this.textBox2.TabIndex = 2;

//
// btnStartReceive
//
this.btnStartReceive.Location = new System.Drawing.Point(24, 84);
this.btnStartReceive.Name = "btnStartReceive";
this.btnStartReceive.Size = new System.Drawing.Size(75, 23);
this.btnStartReceive.TabIndex = 3;
this.btnStartReceive.Text = "开始接收";
this.btnStartReceive.UseVisualStyleBackColor = true;
//
// btnStopRecevie
//
this.btnStopRecevie.Location = new System.Drawing.Point(164, 84);
this.btnStopRecevie.Name = "btnStopRecevie";
this.btnStopRecevie.Size = new System.Drawing.Size(75, 23);
this.btnStopRecevie.TabIndex = 4;
this.btnStopRecevie.Text = "停止接收";
this.btnStopRecevie.UseVisualStyleBackColor = true;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.Add(this.btnStopRecevie);
this.Controls.Add(this.btnStartReceive);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.btnSend);
this.Name = "Form1";
this.Text = "Form1";
this.Load = new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();

}

#endregion

private System.Windows.Forms.Button btnSend;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Button btnStartReceive;
private System.Windows.Forms.Button btnStopRecevie;
}
}


共3页: 上一页 [1] [2] 3 下一页
(本文仅表明作者个人观点,不代表本站及其管理员立场.) 推荐 收藏 投稿 打印 返回 关闭
上一篇:jsp中的数据库编程  
下一篇:JSP MySQL 无法插入中文问题(Data too long ...)
    评论加载中…
 推荐文章
     

网站首页  -  网站地图 -   站长论坛  -  网站投稿  -    -  网站管理
Copyright © 2008 芜湖站长站 All Rights Reserved 皖ICP备07500611号