-
谷 歌 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
-
Button Extern class by C#
Useage: Create Button from images, and it can set co...
C#写的ImageButoon类
可以根据图片创建按钮, 并可以通过设置掩码色创建不规则按钮 -Button Extern class by C#
Useage: Create Button from images, and it can set colormask to create iamge button.
- 2022-05-24 13:32:32下载
- 积分:1
-
利用单片机来控制传感器的测量物体的微振动,当物体微振动时把信号传输给了传感器,利用传感器采集的数据给了单片机,让单片机做具体的操作...
利用单片机来控制传感器的测量物体的微振动,当物体微振动时把信号传输给了传感器,利用传感器采集的数据给了单片机,让单片机做具体的操作- Using monolithic integrated circuit control sensor survey
object micro vibration, when object micro vibration has given the
signalling the sensor, gathered the data using the sensor to give the
monolithic integrated circuit, let the monolithic integrated circuit
make the concrete operation
- 2022-05-15 05:36:52下载
- 积分:1
-
方位投影的坐标转换,既可单点计算,也可批量计算,转换的结果既用列表显示,用可以用文件保存,同时还可以打开查看...
方位投影的坐标转换,既可单点计算,也可批量计算,转换的结果既用列表显示,用可以用文件保存,同时还可以打开查看-position projection coordinates conversion, single-point calculations can also be calculated batch, change is the result of using the list, can be used with the file, but can also open View
- 2022-07-02 19:22:27下载
- 积分:1
-
一个基于对话框的应用程序,有20几个颜色不同形状各异的按钮。值得下载!...
一个基于对话框的应用程序,有20几个颜色不同形状各异的按钮。值得下载!-a dialog-based applications, several are 20 different colors of different shapes button. Worth downloading!
- 2022-05-21 07:22:33下载
- 积分:1
-
创建漂亮的动画按钮
创建漂亮的动画按钮-create beautiful animation button
- 2022-02-03 03:13:08下载
- 积分:1
-
自定义按钮类,只作交流用,不足之处见谅
自定义按钮类,只作交流用,不足之处见谅-Custom button class, only for the exchange of use, inadequate forgive me ............
- 2023-03-25 23:25:03下载
- 积分:1
-
金山快译
金山快译-Jinshan soon translated INTEREST
- 2022-03-21 02:41:38下载
- 积分:1
-
按钮上的按钮,按按钮按按钮,但D。
在按钮上加按钮,要按哪个按钮就按哪个按钮,但并不影响其他按钮的显示效果,就象是分开的一样,看看就知道了。-button on the button increases, which according to which button by button, but does not affect other button display, as are separate, to see will know.
- 2022-02-09 10:46:04下载
- 积分:1
-
用 Win API 实现自绘按钮类 ,有个好界面。
用 Win API 实现自绘按钮类 ,有个好界面。-Win API drawn from the category buttons, a good interface.
- 2022-01-24 18:13:35下载
- 积分:1