2013年12月11日

DataGridView 使用CheckBox选中行

摘要: 在winform中使用checbox很多。上次那个项目里就用到了,写了一个不太好用,后来翻阅了一下微软提供的样码,我觉得有必要给大家分享一下。 // This event handler manually raises the CellValueChanged event // by calling the CommitEdit method. public void DataGridView1_CurrentCellDirtyStateChanged(object sender, EventArgs e) { ... 阅读全文

posted @ 2013-12-11 13:45 南方青年 阅读(6127) 评论(0) 推荐(0) 编辑

Windows Form 分页。

摘要: 其实功能实现很简单。我做的是一个通用的分页控件。项目时间很紧,可能有点粗糙。欢迎大家斧正。不说了直接贴代码吧。using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;using System.Data.Common;using System.Collections; namespace Common{ 阅读全文

posted @ 2013-12-11 11:26 南方青年 阅读(1063) 评论(0) 推荐(0) 编辑

导航