-
基于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
-
简单的小程序,实现的是随机出10道四则运算的题目,同时可以批改和打分。主要在界面方面花了点时间...
简单的小程序,实现的是随机出10道四则运算的题目,同时可以批改和打分。主要在界面方面花了点时间-simple small programs to achieve the 10 random out four computing topics, but can also mark and scoring. The main interface spent time
- 2023-07-06 00:20:03下载
- 积分:1
-
用c#编写的office 的控件
用c#编写的office 的控件-prepared by the office of Control
- 2022-03-04 08:15:36下载
- 积分:1
-
source code of EasyDraw
EasyDraw的源代码,需要的可以下载。-source code of EasyDraw
- 2022-02-13 05:41:42下载
- 积分:1
-
选择指针表。可以方便的获取指针的方法。谢谢!
选择指针表。可以方便的获取指针的方法。谢谢!-choice target table. Easy access to the target method. Thank you!
- 2022-01-26 00:58:53下载
- 积分:1
-
Delphi下D3D UI绘制
应用背景DELPHI下D3D UI绘制,有个简单的界面和按钮,有隐藏和移动功能,支持中文,DELPHI下D3D UI绘制,有个简单的界面和按钮,有隐藏和移动功能,支持中文关键技术DELPHI下D3D UI绘制,DELPHI下D3D UI绘制,DELPHI下D3D UI绘制,DELPHI下D3D UI绘制,DELPHI下D3D UI绘制,DELPHI下D3D UI绘制,DELPHI下D3D UI绘制,
- 2022-06-19 08:26:39下载
- 积分:1
-
学生成绩管理系统
有管理员、教师和学生三种用户
每种用户都有自己的界面
管理员可设置初始密码和创建账户以及开课
教师可以录入成绩
学生可以查...
学生成绩管理系统
有管理员、教师和学生三种用户
每种用户都有自己的界面
管理员可设置初始密码和创建账户以及开课
教师可以录入成绩
学生可以查看成绩-Three kinds of users: administrators, teachers and students
they all have their own interface
- 2022-06-19 06:32:20下载
- 积分:1
-
VC.NET2003实现个人信息输入系统,界面清晰…
VC.NET2003实现个人信息输入系统,界面清晰,程序完美.-VC.NET2003 achieve personal information into the system and interface clear and perfect procedures.
- 2022-08-16 16:59:39下载
- 积分:1
-
yards from the Primitive : thinking in java
本原码来自:thinking in java-yards from the Primitive : thinking in java
- 2023-07-15 14:10:03下载
- 积分:1
-
30款后台模板源代码
应用背景
后台管理系统模板界面,纯脚本与CSS打造,是你开发系统中不可缺少的资源;
界面清新,大气,可以通过与JqueryUI集成开发出属于你自己的大气管理系统
关键技术
主要运用到了HTML、CSS、jquery等一系列界面脚本技术。开发者可以通过脚本修改和样式调整,修改出自己需要的后台管理系统样式,充分与自身系统集成。
- 2022-01-23 11:23:57下载
- 积分:1