开发者

.NET CF Windows Forms - 3 state push button

开发者 https://www.devze.com 2023-01-18 01:08 出处:网络
H开发者_开发问答ow to create a 3 state push button that behaves like check box but looks like normal button?

H开发者_开发问答ow to create a 3 state push button that behaves like check box but looks like normal button?

Regards


Use a checkbox and change the Appareance property to "Button"


Subclass the Button class and add your custom properties and logic to support a simple state engine to represent your 3 value states.

0

精彩评论

暂无评论...
验证码 换一张
取 消