-
数码管显示数字变化
数码管显示数字变化-figures change
- 2023-04-09 19:00:03下载
- 积分:1
-
这是一个关于图形颜色填充的界面程序
可以填充不同颜色
这是一个关于图形颜色填充的界面程序
可以填充不同颜色-This is a fill color graphics on the interface procedures can be filled with different colors
- 2022-11-18 17:25: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
-
一个简单的实现“全屏显示”的例子,简单明了,非常容易读懂。...
一个简单的实现“全屏显示”的例子,简单明了,非常容易读懂。-Realize a simple
- 2023-07-21 14:00:08下载
- 积分:1
-
一个用来选择文件夹的类的源码
一个用来选择文件夹的类的源码- Uses for to choose the folder the kind of source code
- 2022-03-12 16:57:07下载
- 积分:1
-
可通过改变窗口大小来改变窗口颜色详见CColorWindowView::OnDraw(CDC* pDC)...
可通过改变窗口大小来改变窗口颜色详见CColorWindowView::OnDraw(CDC* pDC)-can change the window size to change the window colors detailed CColorWindowView : : OnDraw (CDC* pDC)
- 2022-02-02 15:44:55下载
- 积分:1
-
自动调整列的宽度,使不出现水平滚动条的CListCtrl控件。(该控件最多只能有1列)...
自动调整列的宽度,使不出现水平滚动条的CListCtrl控件。(该控件最多只能有1列)-Automatically adjust the column width, so that the horizontal scroll bar does not appear in CListCtrl control. (The control can only have one)
- 2022-05-08 13:54:08下载
- 积分:1
-
实现了文件的拷贝功能,使一个很好的文件拷贝测试程序,用来做小型的联系使用...
实现了文件的拷贝功能,使一个很好的文件拷贝测试程序,用来做小型的联系使用-achieve a functional copy of the document, a copy of the document very good test procedures used in making use of small links
- 2022-11-11 07:45:04下载
- 积分:1
-
一个用VB编写的系统托盘区气泡提示,非常经典,试过了就知道!...
一个用VB编写的系统托盘区气泡提示,非常经典,试过了就知道!-VB prepared using a system tray bubble prompted the district, very classic, tried it out!
- 2022-05-30 13:40:29下载
- 积分:1
-
可以写出xp那样的界面4
可以写出xp那样的界面4-could write xp interface as 4
- 2022-09-20 01:55:03下载
- 积分:1