下载此文档

文件传输接收端.doc


文档分类: | 页数:约4页 举报非法文档有奖
1/4
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/4 下载此文档
文档列表 文档介绍
using System;
using ;
using ;
using ponentModel;
using ;
using ;
using ;
using ;
using .Sockets;
using ;
using ;
using ;
namespace 文件传输之接收端
{
///<summary>
/// Form1 的摘要说明。
///</summary>
lassForm1 :
{
private label1;
private button1;
private button2;
private label2;
private txtPort;
private txtIP;
private listBox1;
private saveFileDialog1;
///<summary>
/// 必需的设计器变量。
///</summary>
private = null;
privateFileDetails fileDet;
// private Int32 port;
privateUdpClient udpClient;
privateIPEndPoint ipEndPoint = null;
privateFileStream fs = null;
privatebyte[] receiveBytes = newbyte[0];
privateThread threadReceive;
public Form1()
{
ponent();
}
///<summary>
/// 清理所有正在使用的资源。
///<summary>
/// 应用程序的主入口点。
///</summary>
[STAThread]
staticvoid Main()
{
(newForm1());
}
privatevoid button1_Click(object sender, e)
{
try
{
// 改变按钮控件的状态
UpdateControls(false);
udpClient =

文件传输接收端 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数4
  • 收藏数0 收藏
  • 顶次数0
  • 上传人mh900965
  • 文件大小21 KB
  • 时间2018-03-21