我们将Button down属性设置为Boolean

时间:2012-03-29 18:46:40

标签: .net winforms delphi c#-4.0 dfm

我被指派将delphi代码转换为.Net,并且想知道我们是否有像delphi那样的按钮属性? 如此链接所述 How to make a Delphi TSpeedButton stay pressed if it's the only one in the group

我们可以在.Net Button控件中实现这种行为吗?

1 个答案:

答案 0 :(得分:6)

尝试使用CheckBox控件。将Appearance属性设置为Button,使其看起来像切换按钮。

相关问题