ButtonRenderer无边界和透明按钮的图像 [英] ButtonRenderer Borderless And Transparent Button With Image

查看:232
本文介绍了ButtonRenderer无边界和透明按钮的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!!!!

我正在使用ButtonRenderer创建一个按钮.

Good day all!!!

I am using ButtonRenderer to create a button.

ButtonRenderer.DrawButton(Graphics, ButtonBounds, ButtonImage, ImageBounds, false, ButtonState);



我的问题是我该怎么做:

01.按钮无边界;
02.使按钮颜色透明.

提前感谢您的帮助.



My question is how do I make:

01. The button borderless;
02. Make the button color transparent.

Thanx in advance for you help.

推荐答案

对于无边界按钮和带有图像,您可能需要查看下面的文章

具有渐变色和额外图像的自定义按钮控件(VB.NET) [ ^ ]

对于透明按钮,以下链接可能会有所帮助:

.NET中的透明按钮 [ http://stackoverflow.com/questions/1086621/drawing-a- transparent-button-in-c-sharp-winforms [ ^ ]
For borderless button and with image, you may want to check the article below

Custom Button Control with Gradient Colors and Extra Image (VB.NET)[^]

For transparent button, the following links may help:

Transparent Buttons in .NET[^]
http://stackoverflow.com/questions/1086621/drawing-a-transparent-button-in-c-sharp-winforms[^]


这篇关于ButtonRenderer无边界和透明按钮的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆