-
用c语言编写的,可以同时显示文字和图片的按钮类的源代码
用c语言编写的,可以同时显示文字和图片的按钮类的源代码-use of language, language can also showed pictures of the button and type of source code
- 2023-02-19 13:35:03下载
- 积分:1
-
daotbl.zip
daotbl.zip
- 2022-03-26 18:09:26下载
- 积分:1
-
播放avi动画的按钮控件
播放avi动画的按钮控件- Broadcasts the avi animation the button to control
- 2022-11-01 13:40:03下载
- 积分:1
-
GlowButton - 发光的按钮控件
翻译 maninwest@Codeforge 作者:John Underhill @ Codeproject最近我在查看 KMP Player 软件上的一些图形元素(如果你想看看好的图形设计,我建议你也查看一下)。我在项目中需要的是一个简单的发光按钮控件,用于玩家控制的,这不是什么太神奇的东西,只是在鼠标悬停时能够改变颜色。让图像更改颜色很简单,只需修改 ImageAttribute 的颜色矩阵:private void DrawColoredImage(Graphics g, Image img, Rectangle bounds, Color clr)
{
using (ImageAttributes ia = new ImageAttributes())
{
ColorMatrix cm = new ColorMatrix();
// convert and refactor color palette
cm.Matrix00 = ParseColor(clr.R);
cm.Matrix11 = ParseColor(clr.G);
cm.Matrix22 = ParseColor(clr.B);
cm.Matrix33 = ParseColor(clr.A);
cm.Matrix44 = 1f;
// set matrix
ia.SetColorMatrix(cm);
// draw
g.DrawImage(img, bounds, 0, 0, img.Width,
img.Height, GraphicsUnit.Pixel, ia);
}
}示例代码中的 ParseColor 会将位转化为浮点值。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-07-25 02:55:04下载
- 积分:1
-
在按钮上贴上位图,使按钮变得更漂亮。
在按钮上贴上位图,使按钮变得更漂亮。-posted in the upper map button, the button becomes more beautiful.
- 2022-06-14 04:23:22下载
- 积分:1
-
一个聚类算法,最近邻吸收高效聚类方法,可以实现图案的较好分辨...
一个聚类算法,最近邻吸收高效聚类方法,可以实现图案的较好分辨- Gathers a kind of algorithm, the most close neighbor absorbs
highly effective gathers a kind of method, may realize the design to
distinguish well
- 2022-01-25 21:11:54下载
- 积分:1
-
从Static派生,可以任意改变静态文本背景颜色和字体的颜色。...
从Static派生,可以任意改变静态文本背景颜色和字体的颜色。-derived from Static can arbitrarily change the static text background color and font colors.
- 2022-03-18 13:02:20下载
- 积分: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
-
skin effect of VC interface design with the U.S. share
skin 效果的 VC 界面设计 与大家一起分享-skin effect of VC interface design with the U.S. share
- 2022-02-12 18:17:20下载
- 积分:1
-
一个LED时钟显示程序,用vc实现,效果挺不错,支持一下啊~
一个LED时钟显示程序,用vc实现,效果挺不错,支持一下啊~-A LED clock display program with vc realize the results very good, support you ah ~
- 2022-03-17 18:54:49下载
- 积分:1