-
服务器程序
TCP,服务器程序输入源的IP地址,按下按钮,聆听运行后,按接受按钮,等待。如果客户端连接到连接浮现的是客户端地址和确认语句。
- 2023-08-04 01:05:04下载
- 积分:1
-
基于c#的时钟
资源描述本源程序是基于C#的时钟设计,能为初学者提供参考价值,为初学者提供基本的编写代码思路,
namespace Clock
{
public partial class MainForm : Form
{
private PointF center;
private float r;
private Pen hourPen;
private Pen minutePen;
private Pen secondPen;
private Thread timeThread;
public MainForm()
{
InitializeComponent();
ShowInTaskbar = false;//不在任务栏中显示
SetStyle(ControlStyles.DoubleBuffer, true);
SetStyle(ControlStyles.UserPaint,true);
SetStyle(ControlStyles.AllPaintingInWmPaint,true);
center = new PointF(ClientSize.Width/ 2.0f, ClientSize.Height/ 2.0f);
r = Math.Min(ClientSize.Width / 2.0f, ClientSize.Height / 2.0f);
hourPen = new Pen(Color.Black, 2.5f);
minutePen = new Pen(Color.Black, 1.5f);
secondPen = new Pen(Color.Black, 0.5f);
timeThread=new Thread(new ThreadStart(DrawTime));
timeThread.Start();
}
protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Graphics;
g.Clear(BackColor);
//g.SmoothingMode =
- 2022-01-26 05:22:52下载
- 积分:1
-
repaint static control button. Static Controls on the same multiple
重绘了静态控件按钮.同一静态控件上出现多个超连接,同样使用的API,测试使用MFC!-repaint static control button. Static Controls on the same multiple-Link, use the same APIs, testing the use of MFC!
- 2022-03-20 23:43:48下载
- 积分:1
-
This is the source code to write VC industrial controls, can be directly applied...
这是VC 写的源码工业控件,可直接用于工控显示效果相当好,绝对不亚于世纪飞扬的控件-This is the source code to write VC industrial controls, can be directly applied to industrial display very good, absolutely no less than a century, dust control
- 2023-07-08 01:40:04下载
- 积分:1
-
单击鼠标左键,就可以用星号打印出各种图形
单击鼠标左键,就可以用星号打印出各种图形-click of the mouse button, they can use an asterisk print out various graphics
- 2022-03-26 08:38:32下载
- 积分:1
-
the window title of the icon displayed on animation demo program has been prepar...
在窗口的标题条上显示动画图标演示程序 用VC++编写而成-the window title of the icon displayed on animation demo program has been prepared with VC
- 2023-06-26 07:50:04下载
- 积分:1
-
VC++写的电子书阅读器
VC++写的电子书阅读器,可以实现翻页功能,不是自己写的代码,这个功能还是相当不错的。可以在VC++环境下运行,没有任何人错误
- 2023-04-23 17:25:03下载
- 积分:1
-
Delphi7(BCB6)下支持Unicode的控件包,使用方法与标准控件相同...
Delphi7(BCB6)下支持Unicode的控件包,使用方法与标准控件相同-Delphi7 (BCB6) Unicode support for the control packet, use the same controls and standards
- 2023-03-11 13:45:03下载
- 积分:1
-
MFC文字滚动显示
在mfc中显示对话框,对话框内滚动显示文字,并可以改变对话框背景颜色和字体颜色,使字体背景变透明
- 2022-04-17 14:50:18下载
- 积分:1
-
A simple car racing game ,a very good help for those want to design games , made...
A simple car racing game ,a very good help for those want to design games , made in visual c++(MFC) ,simple programming with comments inside src code,IDE:visual studio
- 2022-06-02 13:00:06下载
- 积分:1