-
大小: 0.05M文件类型: .zip金币: 1下载: 0 次发布日期: 2020-12-14
- 语言: C#
- 标签: GridView DataGridView 全选 复选框
资源简介
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms; //需要引用
using System.Drawing; //需要引用;GDI基本图像
namespace WindowsFormsApplication1
{
public delegate void CheckBoxClickedHandler(bool state);
public class DataGridViewCheckBoxHeaderCellEventArgs : EventArgs
{
bool _bChecked;
public DataGridViewCheckBoxHeaderCellEventArgs(bool bChecked)
{
_bChecked = bChecked;
}
public bool Checked
{
get { return _bChecked; }
}
}
class DatagridViewCheckBoxHeaderCell : DataGridViewColumnHeaderCell
{
Point checkBoxLocation;
Size checkBoxSize;
bool _checked = false;
Point _cellLocation
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-12-10 09:07 WindowsFormsApplication1\
目录 0 2013-12-10 09:48 WindowsFormsApplication1\WindowsFormsApplication1\
文件 914 2013-12-09 20:26 WindowsFormsApplication1\WindowsFormsApplication1.sln
文件 26112 2013-12-10 09:52 WindowsFormsApplication1\WindowsFormsApplication1.suo
目录 0 2013-12-10 09:31 WindowsFormsApplication1\WindowsFormsApplication1\bin\
目录 0 2013-12-10 09:52 WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\
文件 13824 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
文件 28160 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
文件 11600 2013-12-10 09:52 WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
文件 490 2010-03-17 22:39 WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
目录 0 2013-12-10 09:31 WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\
文件 3478 2013-12-10 09:39 WindowsFormsApplication1\WindowsFormsApplication1\DataGridViewCheckBoxHeaderCell.cs
文件 2127 2013-12-10 09:52 WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs
文件 4026 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\Form1.Designer.cs
文件 6543 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\Form1.resx
目录 0 2013-12-10 09:07 WindowsFormsApplication1\WindowsFormsApplication1\obj\
目录 0 2013-12-10 09:07 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\
目录 0 2013-12-10 09:52 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\
文件 4501 2013-12-10 09:52 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6647 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
目录 0 2013-12-09 20:26 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\TempPE\
文件 2803 2013-12-10 09:52 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt
文件 13824 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.exe
文件 180 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Form1.resources
文件 28160 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.pdb
文件 180 2013-12-10 09:51 WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources
文件 505 2013-12-10 09:48 WindowsFormsApplication1\WindowsFormsApplication1\Program.cs
目录 0 2013-12-10 09:07 WindowsFormsApplication1\WindowsFormsApplication1\Properties\
文件 1398 2013-12-09 20:26 WindowsFormsApplication1\WindowsFormsApplication1\Properties\AssemblyInfo.cs
文件 2898 2013-12-09 20:26 WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.Designer.cs
文件 5612 2013-12-09 20:26 WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.resx
............此处省略3个文件信息
- 上一篇:C#设计模式汇总
- 下一篇:C# 员工考勤管理系统源码
相关资源
- C#访问SQL显示到DataGridView,同时根据
- DataGridView修改后直接保存到数据库程
- C# 导入excel到datagridview
- C#dataGridView中输入框自动提示、自动完
- ASP.NET固定GridView表头_SuperTables
- 两个DataGridView通过委托实时传值,安
- TreeDataGridView
- ASP.NET 三层结构下使用GridView增删改查
- C# winform datagridview 里的下拉框中 既可
- GridView的增删改查功能
- DataGridView列标头带数据筛选功能(含
- C#winform DataGridView checkbox复选框 实现
- WPF-DataGrid中CheckBox实现全选与非全选
- C#_winform_DataGridView_checkbox复选框_实现
- C# DataGridView单元格中动态添加多个控
- Q758437.zip c#中如何将datagridview中的数据
- asp.net c#gridview对数据进行绑定增加查
- C#从Excel中提取数据到DataGridView中显示
- C# 从Excel导入数据到DataGridView、SqlSe
- C#对DataGridView进行添加、修改、删除数
- C# datagridview 与数据源绑定后对数据的
- Winform DataGridView中利用WebClient异步加载
- 复选下拉框用于Gridview筛选
- ASP.net GridView双击事件,弹出一个窗口
- c#窗体中的DataGridView及TreeView的应用
- winform(c#) DataGridView控件多维合并表
- ASP.NET GridView做增删改查操作
- winform DataGridView 多行及表头单元格的
- Datagridview分页控件
- c#记事本源码新建、保存、另存为、打
评论
共有 条评论