-
谷 歌 Chrome进度条
翻译 maninwest@Codeforge 作者:VallarasuS@CodeProject这里展示如何从头开始创建一个 Go ogle Chrome 主题的 进度条。任何进度条控件都依赖于一个值及表示进度值的图形。 Goo gle Chrome 下载程序有个圆圈表示进度。使用代码ChromeProgressBaris 跟 Chrome ProgressBar 的工作原理一样。将进度值转化为一个圆圈图形来表示.private void PaintProgress(PaintEventArgs e)
{ using( SolidBrush progressBrush = new SolidBrush(this.ProgressColor))
{
Rectangle rect = LayoutInternal.ProgressRectangle;
rect.Inflate(-2, -2);
rect.Height -= 2; rect.Width -= 2; float startAngle = -90; float sweepAngle = Progress / 100 * 360;
e.Graphics.FillPie(progressBrush, rect, startAngle, sweepAngle);
}
}这里是如何使用图形路径和4条线绘制圆圈和细分部分。对 Graphics 对象的剪切部分进行调整来剪切圆圈外的线。private void PaintBorder(PaintEventArgs e)
{
GraphicsPath borderPath = new GraphicsPath();
Rectangle progressRect = LayoutInternal.Prog
- 2022-08-08 07:55:37下载
- 积分:1
-
XP Style CBitmapButton (CHoverBitmapButton) Style and theme aware bitmaps, give...
XP Style CBitmapButton (CHoverBitmapButton) Style and theme aware bitmaps, give your old apps a new look under Windows XP.
- 2022-03-01 11:08:02下载
- 积分:1
-
一个小程序,用来实现经过帐号密码两重验证的按钮功能.可以用它来实现任何需要简单密码登录的按钮功能....
一个小程序,用来实现经过帐号密码两重验证的按钮功能.可以用它来实现任何需要简单密码登录的按钮功能.-a small program used to achieve double after account password verification button. It can be used to meet any need simple password to login button.
- 2023-03-09 19:55:03下载
- 积分:1
-
This algorithm is a procedure. Builder 6.0 in the C compiler through.
这是一个算法实现程序. 在C++Builder 6.0编译通过.-This algorithm is a procedure. Builder 6.0 in the C compiler through.
- 2022-05-25 14:51:06下载
- 积分:1
-
实现背景透明的按钮类(306KB)
实现背景透明的按钮类(306KB)-achieve transparent background category buttons (306KB)
- 2023-01-22 16:00:03下载
- 积分:1
-
Control button can control the button to add images, set colors, patterns and se...
按钮控件
可以在按钮控件上添加图片,设置颜色,并可设置鼠标形态等-Control button can control the button to add images, set colors, patterns and settings, such as mouse
- 2022-03-23 23:30:34下载
- 积分:1
-
c语言开发的数据库查询程序,能够自动生成sql的查询语句
c语言开发的数据库查询程序,能够自动生成sql的查询语句-database query procedures, to the automatic generation sql query
- 2022-06-26 09:57:50下载
- 积分:1
-
cinq input ui is used for formatting input data in the a b c range of data input
cinq input ui is used for formatting input data in the a b c range of data input
- 2022-06-21 02:09:24下载
- 积分:1
-
A very practical type of button controls, you can achieve various of effects bu...
一个很实用的按钮控件类,可以实现各种按钮特效,里面包含了实例和其中的按钮类。对于希望能够做特色按钮的朋友们非常有用-A very practical type of button controls, you can achieve various of effects buttons.It contains examples and source code of effect buttons. It s quite useful for the friends who wish to make effect button feature.
- 2022-01-25 14:04:01下载
- 积分:1
-
一个很好的文件夹类
一个很好的文件夹类-a good folder category
- 2022-06-15 10:03:34下载
- 积分:1