在 VB.net 中更改按钮悬停颜色
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18639547/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Change the button hover color in VB.net
提问by Kasun Raditha Rajapakse
I'm creating a windows store app and i want to
我正在创建一个 Windows 商店应用程序,我想
- change the button color when the mouse hover on the button
- use an image as a button
- 当鼠标悬停在按钮上时更改按钮颜色
- 使用图像作为按钮
I am using VS 2012 and using VB.net.
我正在使用 VS 2012 并使用 VB.net。
Thanks
谢谢
回答by Rupesh
You can create a mousehover event in your code behind and in that you can do whatever you want. A perfect and precise answer of both of your questions is the following video Click here
你可以在你的代码中创建一个 mousehover 事件,你可以做任何你想做的事情。您的两个问题的完美而准确的答案是以下视频 单击此处

