private void dataGridView1_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
{
if (e.ColumnIndex == -1 || e.RowIndex == -1)
return;
}
{
if (e.ColumnIndex == -1 || e.RowIndex == -1)
return;
}
解决方案 »
- byte转为string 乱码
- 高手的来
- 默认按钮 第一个按钮太霸道 windows程序
- 刚学C# 小弟不会用comboBox选择功能,大哥们教教我哈!
- 散一次分,程序员的BT题,交换两个int值的最短代码
- 请帮忙搜索几个WIN2K序列号
- 如何用VS.NET 的 C#创建一个ASP.NET的web应用程序
- 我希望我会的东西对你有帮助!!!
- 请问我在程序的主窗体建立了一个sqlconnection,在子窗体中如何引用它?
- 新人求助!winform中报表不显示数据,请大神进来解答
- datagridview自动编号
- C# Winform程序用OleDbDataAdapter配合DataGird更新数据库问题
{
DataGridView.HitTestInfo info = this.dataGridView1.HitTest(e.X, e.Y);
if (info.ColumnIndex == -1 || info.RowIndex == -1) return;
..............
}
重写OnDoubleClick 方法
重写OnDoubleClick 方法