Saturday, October 1, 2011

How to create a Toggle Button in C#(.NET)

Toggle Buttons are necessary controls that a programmer may require for developing winform applications,but
toggle button Control is not included in the Standard C# IDE as a Control but it can be created by using the CheckBox Control.

The following steps describes creating a Toggle Button Control from a check box Control in C#

  • Add a Check Box Control to the Windows Form Application Form from the Tool Box
     
  • Select the Check box and from the Property windows change the Property 'Appearance' from 'Normal' to 'Button'.
  • Done the Toggle Button is Created and is Ready to Go.To use it add the To Do code to its Check Changed Event.

No comments:

Post a Comment

Which is the Best Photo Watermarking Software

Photo Theft is becoming more and more common in the web with the outburst of social websites like Facebook,Google Plus and Image sharing se...