李晓亮的博客

导航

文章分类 -  WinForm基础

[摘]C#Winform中怎么在DataGridView中动态添加DateTimePicker列
摘要:View Code usingSystem;usingSystem.Windows.Forms;namespaceMasterSoft.WinUI{///<summary>///DataGridView中的日历列///</summary>///<example>///DataGridViewCalendarColumnordBillSubConsignmentDateDataGridViewCalendarColumn=newDataGridViewCalendarColumn();///ordBillSubConsignmentDateDataGridVi 阅读全文

posted @ 2012-03-12 23:39 LeeXiaoLiang 阅读(362) 评论(0) 推荐(0)

Combo控件用法小结
摘要:1.为Combo绑定数据代码1 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicstaticvoidInitCombo(ComboBoxCombo1,boolbUseEmpty){try{ArrayListarrStatus=newArra... 阅读全文

posted @ 2010-10-27 16:58 LeeXiaoLiang 阅读(369) 评论(0) 推荐(0)

第三方控件C1.Win.C1FlexGrid用法小结
摘要:1.为指定列设置DataMap代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//DataMap必须是一个字典集合publicvoidSetGridDataMap(C1.Win.C1FlexGridGrid1,stringstrColName){t... 阅读全文

posted @ 2010-10-27 16:49 LeeXiaoLiang 阅读(2535) 评论(0) 推荐(0)

e.KeyCode与e.KeyChar小结
摘要:代码部分代码1Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--//KeyCode存在于KeyEventArgs中,KeyChar存在于KeyPressEventArgs中privatevoidKeyTest(System.Windows.Forms.K... 阅读全文

posted @ 2010-10-27 16:34 LeeXiaoLiang 阅读(858) 评论(0) 推荐(0)