找回密码
 立即注册
program程序Thewindow | C#编程 2022-09-23 115 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
介绍
相关数据库,C/S网络通信编程比如
(开发环境为borlandc++builder6.0)正文
测试题:
通过TCP方法进行简单通信的测试,含服务端程序(程序A)和客户端程序(程序B)两部分。
程序B:
1gt;在程序B的窗口中,按“上/下/左/右”键,通过网络远程控制程序A的窗口进行4个方向的移动;
2gt;在程序B的窗口中,按“加/减”键,通过网络远程控制程序A的窗口的大小;
程序A:
1gt;程序A在其窗口改变时,将本窗口的窗口方位及大小值保存到本地的Access库中,对应字段:改变时的时刻、左、顶、宽、高;
2gt;程序A在其窗口改变时,将本窗口的Left/Top/W/H发送到程序B,程序B显示程序A的窗口方位及大小信息。
3gt;当用户在程序A拖动程序A的窗口时,其窗口的改变也需进行1gt;、2gt;的操作;
将程序A/程序B的源码及EXE文件、对应的Access库发上交即可。(C++builder)

(introduce
Relevant databases, C/S network communication programming such as
(The development environment is borlandc  builder6.0) Text
Test questions:
The test of simple communication by TCP method includes two parts: the server program (program A) and the client program (program B).
Program B:
1gt; In the window of program B, press the "up/down/left/right" keys to remotely control the window of program A through the network to move in 4 directions;
2gt; In the window of program B, press the "plus/minus" key to remotely control the size of the window of program A through the network;
Program A:
1gt; When program A changes its window, it saves the window orientation and size of this window to the local Access library, and the corresponding fields are: time, left, top, width, height when changing;
2gt; When program A changes its window, it sends the Left/Top/W/H of this window to program B, and program B displays the window orientation and size information of program A.
3gt; When the user drags the window of program A in program A, the change of its window also needs to perform 1gt;, 2gt; operations;
Submit the source code, EXE file, and corresponding Access library of Program A/Program B and submit it. (C  builder))

[下载]23105011694.rar




上一篇:TC2.0
下一篇:编写一个可用于工控数字量节点显示的LED类