NET中Winforms按钮周围的虚线矩形

NET中Winforms按钮周围的虚线矩形

本文介绍了VB.NET中Winforms按钮周围的虚线矩形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Iam在这个问题上停留了相当长的时间.我在vb.net winform中有一个按钮控件.我想将焦点设置在使用了btnSave.Select()的按钮上,但是此函数将焦点设置在按钮上,而不在按钮周围显示虚线矩形.如何以编程方式在按钮控件周围创建虚线矩形?请帮忙.真的很紧急!


谢谢与问候,
Girish



Iam stuck with this issue for quite some time. I have a button control in a vb.net winform. I want to set focus on this button for which i have used the btnSave.Select(), but this function sets the focus on the button without displaying the dashed rectangle around the button. How can i create dashed rectangle around a button control programatically? Please help. This is really urgent!


Thanks & Regards,
Girish

推荐答案




这篇关于VB.NET中Winforms按钮周围的虚线矩形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 14:14