-
- 2022-02-20 19:53:45下载
- 积分: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
-
游戏,拼图
游戏,拼图游戏,拼图,玩过的都知道的
- 2022-03-30 05:23:44下载
- 积分:1
-
课程管理和绩效管理,ASP的前景,台湾SQL2…
用于课程表管理和成绩的管理,前台ASP后,台SQL2000,非常方便实用-for curriculum management and performance management, ASP prospects, Taiwan SQL2000, very convenient and practical
- 2023-04-25 13:50:04下载
- 积分:1
-
GIS中对地图的基本操作,如地图的加载和显示,以及要素特征的查找等等。...
GIS中对地图的基本操作,如地图的加载和显示,以及要素特征的查找等等。-GIS map of the basic operations, such as maps and display the load, and the characteristics of the elements of search and so on.
- 2022-02-06 22:34:19下载
- 积分:1
-
是一个用VC++编写的八皇后问题,可以实现显示八皇后的所有可能情况...
是一个用VC++编写的八皇后问题,可以实现显示八皇后的所有可能情况-Is a use VC++ Prepared 8 Queen
- 2022-09-16 19:50:02下载
- 积分:1
-
vc++实时曲线
VC6下的实时显示曲线// 设置网格间距void SetGridResolutionX(int nGridReluX);// 设置网格间距void SetGridResolutionY(int nGridReluY);// 设置网格滚动速度,正值为从左向右滚动,0不动void SetGridScrollSpeedX(int nSpeedX);// 正值为从上到下滚动,0不动void SetGridScrollSpeedY(int nSpeedY);// 网格线宽度void SetGridLineWidth(int nWidth);// 背景色void SetGridBackClr(COLORREF clr);// // 锁定数据显示范围void LockRang(bool bfLo
- 2022-01-28 15:55:44下载
- 积分:1
-
对windows中drag
对windows中drag-drop操作进行有巧妙的封装,使拖曳操作的编程变得简单易用,有类的使用例子代码。-Of windows in the drag-drop operations are clever packaging, so that programming drag operation become easy to use, there are examples of the use of category code.
- 2022-05-09 09:51:57下载
- 积分:1
-
CRYPTAGE AES
AES 256 地球 de cryptage asymétrique 魁 permet de 编码器联合国信号 afin de le rendre + sécurise。ce 方案 représente 联合国代码源 et il est développé en c + +。
- 2022-02-10 01:48:47下载
- 积分:1
-
针对周立功公司的USB_CAN转换器开发的CAN总线通信例子,用VC6编程...
针对周立功公司的USB_CAN转换器开发的CAN总线通信例子,用VC6编程-against the USB_CAN converter developed CAN bus communication examples, using VC6 Programming
- 2022-05-29 21:29:31下载
- 积分:1