Andrew Kogler
Andrew Kogler

Reputation: 51

Adding a button to a Windows Form App in Visual Studios 2010

so I'm creating an app for an internal tool and am trying to transfer the functionality of a check box on one of the forms to a button. Using the designer interface, what would be the best way of doing this? Thanks in advance!

Upvotes: 0

Views: 770

Answers (2)

Sriram Sakthivel
Sriram Sakthivel

Reputation: 73472

Check Appearance Property of CheckBox itself. I get this from rwiti answer which reminds me CheckBox too has Appearance property.

chk.Appearance = Appearance.Button;

You're done..

Upvotes: 1

Rwiti
Rwiti

Reputation: 1066

Use a RadioButton and do this

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

Upvotes: 1

Related Questions