-
谷 歌 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
-
圆形按钮
圆形按钮-Circular Button
- 2023-07-07 08:45:02下载
- 积分:1
-
一个很好的VC实例,看看吧,如果你是一个初学者,这个程序好许有用的...
一个很好的VC实例,看看吧,如果你是一个初学者,这个程序好许有用的-a good example of the VC, let"s see it, if you are a beginner, this procedure useful good Hsu
- 2022-06-21 09:19:49下载
- 积分:1
-
asas documented detailed enough! Without detailing specific software features, t...
asas文件足够详细!如果不详细说明具体的软件功能,开发人员就一文不值
- 2022-12-22 08:55:03下载
- 积分:1
-
鼠标控制演示。提供了一个鼠标控制的类,包括移动、限制隐藏等功能...
鼠标控制演示。提供了一个鼠标控制的类,包括移动、限制隐藏等功能-mouse control demonstration. For a mouse-controlled categories, including mobile, hidden features such as restrictions
- 2023-03-15 12:55:04下载
- 积分:1
-
三级网络的学习材料,仅供参考,,,,,, 把zip改为doc即可
三级网络的学习材料,仅供参考,,,,,, 把zip改为doc即可-three network of learning materials for reference Bowl put zip can read doc
- 2022-01-24 09:11:56下载
- 积分:1
-
image processing Image Graphics 3D graphics objects
图象处理程序 图形图象 图形学 三维物体-image processing Image Graphics 3D graphics objects
- 2022-07-05 13:01:13下载
- 积分:1
-
lt; Lt; Vc programming selected 500 cases gt; Gt; Source code Chapter 4 column w...
< vc编程精选500例>>源代码第4章 标题栏与菜单栏.rar-lt; Lt; Vc programming selected 500 cases gt; Gt; Source code Chapter 4 column with the title menu bar. Rar
- 2023-08-24 16:30:05下载
- 积分:1
-
请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码...
请认真阅读您的文件包然后写出其具体功能(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码-dhs r er df v,cm c gjr rt
- 2022-02-06 08:18:38下载
- 积分:1
-
scanner control, details of the contents of the cases can refer to the original...
扫描仪控制,有关详细的内容可以参考本例的原码-scanner control, details of the contents of the cases can refer to the original code!
- 2022-04-14 16:55:22下载
- 积分:1