更改按钮和框架 [英] Changing buttons and frames

查看:68
本文介绍了更改按钮和框架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改表格的框架或按钮?



通过更改,我的意思是颜色,形状等..?







我想在光标上面改变按钮颜色。



谢谢。

解决方案

感谢您澄清问题。



以下是CodeProject文章,供您了解相关技术:

WinForm Extended [ ^ ]。



这两个CodeProject文章也很有用:

Winforms SkinFramework [ ^ ] ,

WinForms Form Skin [ ^ ]。



我建议你避免这种深度定制,因为它需要P /调用并因此杀死平台兼容性,您可以使用纯 FCL System.Windows.Forms library。



享受,

-SA


这取决于您正在开发的应用程序的类型。例如,如果您使用的是 Windows窗体,那么您可能会发现这篇文章很有趣:在Visual Studio .NET中形成Windows窗体和控件 [ ^ ]。


你的问题应该更具体来获取好的答案。如果您想要更改HTML对象的属性。如果这是真的,你可以使用jQuery和CSS。



http:// api.jquery.com/css/ [ ^ ]



以下是一个快速示例:



< script> 

How can i change a form''s frame or buttons?

By change, i mean colors,shapes etc..?



And i would like to change a buttons color when the cursor on it.

Thanks.

解决方案

Thank you for the clarification of the question.

Here is the CodeProject article for you to learn about related techniques:
WinForm Extended[^].

These two CodeProject articles can also be useful:
Winforms SkinFramework[^],
WinForms Form Skin[^].

I would advise you to avoid such deep customization, as it requires P/Invoke and hence kills platform compatibility which you could have with pure FCL System.Windows.Forms library.

Enjoy,
—SA


It depends on the kind of application you are developing. For instance, if you are using Windows Forms then you may find this article interesting: "Shaped Windows Forms and Controls in Visual Studio .NET"[^].


Your question should be more specific to get good answers. If you are wanting to change attributes of HTML objects. If this is true you can use jQuery and CSS.

http://api.jquery.com/css/[^]

Here is a quick sample:

<script>


这篇关于更改按钮和框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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