在Visual Studios 2010中向Windows窗体应用程序添加按钮



所以我正在为一个内部工具创建一个应用程序,并试图将其中一个表单上的复选框功能转移到一个按钮上。使用设计器界面,最好的方法是什么?提前感谢!

检查复选框本身的外观属性。我从rwiti答案中得到这个,它提醒我CheckBox也有Appearance属性。

chk.Appearance = Appearance.Button;

你完了。。

使用RadioButton并执行此

this.radioButton1.Appearance = System.Windows.Forms.Appearance.Button;

相关内容

最新更新