-
一个改进的真彩位图按钮!
一个改进的真彩位图按钮!-an improved color bitmap button!
- 2022-09-02 12:45:03下载
- 积分:1
-
无组件上传,完成一样的功能 开发工具 JAVA+SERVLET+JAVABEAN
无组件上传,完成一样的功能 开发工具 JAVA+SERVLET+JAVABEAN-components, completed the same function Java development tools SERVLET JAVABEAN
- 2023-05-18 19:45:04下载
- 积分: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
-
VC6实现的,Activex Control按钮的实现和消息传递响应。
VC6实现的,Activex Control按钮的实现和消息传递响应。-VC6 achieved, Activex Control button and realize messaging response.
- 2022-02-01 12:25:47下载
- 积分:1
-
一个好用的按钮控件
一个好用的按钮控件-a handy button controls
- 2023-03-14 16:15:03下载
- 积分:1
-
各种控件的演示
各种控制装置的演示
- 2023-04-08 19:00:04下载
- 积分:1
-
WinAPI Sample, including CerateWIndow. REgister WIndows Class, Dispatch message
WinAPI Sample, including CerateWIndow. REgister WIndows Class, Dispatch message-WinAPI Sample, including CerateWIndow. REgister WIndows Implants ss, Dispatch message
- 2022-01-31 15:26:34下载
- 积分:1
-
WinCE achieve Tap and Hold function
WinCE 上实现 Tap and Hold 功能-WinCE achieve Tap and Hold function
- 2022-03-03 04:08:41下载
- 积分:1
-
自绘制XP风格的按钮
自绘制XP风格的按钮-XP style button
- 2022-02-04 22:58:21下载
- 积分:1
-
这是一个封装了部分Windows API的控件,它可以实现以下功能:1、Windows关机;2、自动发EMail、自动打开一个主页;3、调用默认程序打开各种类型...
这是一个封装了部分Windows API的控件,它可以实现以下功能:1、Windows关机;2、自动发EMail、自动打开一个主页;3、调用默认程序打开各种类型的文件;4、将自己的程序让Win95启动时执行;5、变VB5.0的工具栏为平面工具栏;6、打开屏幕保护程序;7、打开、关闭CDRom;8、改变Form的标题栏颜色;9、Enable Didable Ctrl+Alt+DEl;10、改变屏幕分辨率;11、播放Mid、Wav音;12、得到硬盘可用空间;13、隐藏、显现鼠标;14、变鼠标为动画光标;15、隐藏、显现任务栏;16、以一PictureBox的图片填充整个Form的背景;17、改变桌面图案- This was seals partial Windows API to control below, it was
allowed to realize the function: 1st, Windows Guan Ji; 2nd,
automatically sends EMail, automatically opens a main page; 3rd, the
transfer tacitly approves the procedure to open each kind of type the
document; 4th, lets own procedure time the Win95 start carries out;
5th, changes VB5.0 the tool fence for the plane tool fence; 6th, opens
the screen saver; 7th, opens, closes CDRom; 8th, changes Form the
title block color; 9th, Enable Didable Ctrl Alt DEl; 10th, change
screen resolution; 11th, broadcasts Mid, the Wav sound; 12th, obtains
the hard disk to be possible to use the space; 13th, the hideaway,
appears the mouse;
- 2022-04-20 16:52:57下载
- 积分:1