投票系统的大型复选框 [英] Large Checkbox for voting system
本文介绍了投票系统的大型复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
好程序员,我如何获得一个可见的复选框,用于投票系统,因为我无法调整Visual Studio 2010具有的原始尺寸,请帮助我进行asp.net applicaton
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
推荐答案
一个选项是创建一个新的类,例如LargeCheckbox
并从CheckBox
继承,然后重写OnPaint方法,并绘制您自己的选中/未选中状态的实现.
有关继承和重载的介绍,请参见aritcle.此示例还查看了复选框:)
创建自定义复选框控件 [
One option would be to create a new Class e.g.LargeCheckbox
and inherit fromCheckBox
, 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[^]
这篇关于投票系统的大型复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文