登录
首页 » Windows开发 » 单文档实现绘制图形,打开文件和保存文件功能

单文档实现绘制图形,打开文件和保存文件功能

于 2022-11-12 发布 文件大小:52.91 kB
0 166
下载积分: 2 下载次数: 1

代码说明:

单文档实现绘制图形,打开文件和保存文件功能-Single document style;make opening and drawing and saving true.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Four
    四间隔频率变化,并循环输出50~51ms之间的频率。-Four-interval frequency changes and the cycle between 50 ~ 51ms output frequency.
    2022-03-14 14:32:51下载
    积分:1
  • 局域网文件传输 为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大...
    局域网文件传输 为了设计统一和用户操作方便,我们希望将服务端与客户端融合在一起,形成一个程序,这样用户理解起来,更加直观一点(其实这样做也是为了方便调试,大家可以在本机上测试,自己传文件给自己)。所以,我们在程序中需要使用两个Winsock控件,一个负责监听,一个负责发送,当发送端连接成功以后,便选择一个待发送的文件(可以是任意二进制文件),接着将文件名和文件字节长度发送给接收端,接收端收到这个消息以后,将文件名和文件长度解析出来,然后通知发送端可以开始发送文件;发送端读到这个消息之后,将文件流以字节的形式发送到接收端,接收端收到后,将二进制流回写,保存成文件即可。这里要注意两点,一个是由于Winsock每次最大传输8K的内容,所以需要将文件分解,每次传输固定数目的字节流,这样发送和接收时都可以根据这个数目来判断文件传输的进程,一旦字节流数目等于文件的大小,就需要关闭相应的文件句柄;另一点是由于我只使用一个Winsock控件接收,接收文本时需要注意要将UNICODE转码,解析成可识别的信息。 -LAN file transfer to uniform design and user convenience, we hope it will end service and client together and form a process so that users understand, a more intuitive 1:00 (in fact, do so in order to facilitate debugging, you can test the machine, its own text- items for himself). Therefore, we need procedures in the use of two Winsock Control, a charge of wiretapping, a charge of this, when the transmitter connects successfully, it will be a choice to send the document (can be arbitrary binary files), will then file names and the
    2022-04-14 22:25:12下载
    积分:1
  • used in the preparation of a library ftp
    用于编写ftp的一个库-used in the preparation of a library ftp
    2022-03-12 09:41:01下载
    积分:1
  • 可以取得几乎所有的windows操作系统的版本信息
    可以取得几乎所有的windows操作系统的版本信息-can get almost all the windows operating system version
    2022-01-27 23:47:44下载
    积分:1
  • shxian digui de xiansh wenjian minglinbg de
    shxian digui de xiansh wenjian minglinbg de -shxian digui de xiansh wenjian minglinbg de
    2022-04-27 09:08:36下载
    积分:1
  • Teoria de la informacion y teoria de codigos de José Angel Bustos Perez
    Teoria de la informacion y teoria de codigos de José Angel Bustos Perez
    2022-10-16 00:10:03下载
    积分:1
  • 压缩包包含了C
    压缩包包含了C-编译器的设计文档与源代码,供学习参考。-compressed contains C-Compiler design documents and source code for the study reference.
    2022-02-15 11:47:45下载
    积分:1
  • XP and the same menu
    和XP一样的菜单-XP and the same menu
    2023-02-15 07:30:03下载
    积分:1
  • can view the body of the window controls and attributes of the handle!
    可以查看窗体内各控件的句柄和属性!-can view the body of the window controls and attributes of the handle!
    2022-05-05 00:45:49下载
    积分:1
  • 一套图形江湖的源代码。里面含有详细的例子文件及说明,用此代码,可自己的图形江湖。自己定义游戏规则,即内容。功能非常强大。...
    一套图形江湖的源代码。里面含有详细的例子文件及说明,用此代码,可开发自己的图形江湖。自己定义游戏规则,即内容。功能非常强大。-Jianghu a graphical source code. Which contains detailed examples of documents and shows that using this code, may be developing its own graphics arena. Own definition of the rules of the game, that is, content. Very powerful.
    2022-07-25 16:38:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载