-
注册与卸载OCX
注册与卸载OCX--Register and uninstall OCX.
- 2023-02-10 07:10:03下载
- 积分:1
-
实现背景透明的按钮类(306KB)
实现背景透明的按钮类(306KB)-achieve transparent background category buttons (306KB)
- 2023-01-22 16:00:03下载
- 积分:1
-
复杂计算机,能进行多种计算,并能进行进制转换
复杂计算机,能进行多种计算,并能进行进制转换-complex computer that can be used for a wide variety of computing and can make the switch to decimalization conversion
- 2022-02-12 21:04:55下载
- 积分: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
-
一个简单的牌类控件,适用于各类棋牌类游戏使用
一个简单的牌类控件,适用于各类棋牌类游戏使用-a simple licensing category Controls, applicable to all types of games using Chess & Cards
- 2022-05-09 00:50:18下载
- 积分:1
-
用c#实现一个椭圆按钮,通过此程序,可说明C#的绘图机制
用c#实现一个椭圆按钮,通过此程序,可说明C#的绘图机制
-With c# Realize an oval button, through this procedure, may indicate C# Mapping mechanism
- 2022-03-19 18:36:38下载
- 积分:1
-
good button control (VC development of the Photo button, the button can be purch...
很好的按钮控件(VC中开发的图片按钮,能购实现按钮的鼠标变化)-good button control (VC development of the Photo button, the button can be purchased to achieve the mouse changes)
- 2022-01-28 08:09:53下载
- 积分:1
-
实施(模糊,控制,等)控制
本课题设计并实现了除手动控制外的六种控制方法(模糊控制和常规控制)
- 2022-03-01 08:04:13下载
- 积分:1
-
由控件控制绘图,选择颜色搭配
由控件控制绘图,选择颜色搭配-controlled by the control mapping, color selection mix
- 2022-01-29 02:15:26下载
- 积分:1
-
MFC库,VC++开发环境,椭圆按钮实现的封装,可直接用于其他工程...
MFC库,VC++开发环境,椭圆按钮实现的封装,可直接用于其他工程-MFC Library, VC++ Development environment, an oval button realize the package can be used directly in other projects
- 2022-02-09 21:14:55下载
- 积分:1