Click here to Skip to main content
15,909,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Good Programmers How Can i get A lage visible Checkbox For a voting sytem Because i can't resize the original that visual Studio 2010 has please help im doing a asp.net applicaton
Posted

1 solution

One option would be to create a new Class e.g. LargeCheckbox and inherit from CheckBox, then override the OnPaint method, and draw you own custom implementation of the checked / unchecked states.

See the aritcle for introduction to inheritance and overriding. This example also looks at the checkbox :)

Create A Custom CheckBox Control[^]
 
Share this answer
 
v2
Comments
sparbery 6-Jul-11 10:47am    
thanks ill give it a try
Sergey Alexandrovich Kryukov 6-Jul-11 11:21am    
Sure, this is the way; my 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900