星期五, 八月 29, 2008

Interesting idea about a borderless button, which is actually a checkbox. the only problem so far is that when the button is clicked, for some reason it shows white background, need to find that setting.

Borderless Button - .NET C#: "- Don't use a Button control, but a CheckBox control.

- At design time, set the following properties:
-- Appearance = Button
-- FlatAppearance.BorderColor = whatever you like
-- FlatAppearance.BorderSize = 0
-- FlatAppearance.MouseDownBackColor = whatever you like
-- FlatAppearance.MouseOverBackColor = whatever you like
-- FlatStyle = Flat"

没有评论:

发表评论