下面的代码 CellContentDoubleClick 事件不能执行,请问如何解决?
private void gcMultiRow1_CellContentDoubleClick(object sender, CellEventArgs e)
{
MessageBox.Show("CellContentDoubleClick");
}
private void gcMultiRow1_MouseDown(object sender, MouseEventArgs e)
{
GcMultiRow gcMultiRow = (GcMultiRow)sender;
gcMultiRow.DoDragDrop(gcMultiRow.SelectedRows.ToList(), DragDropEffects.Copy);
} |
|