摘要:
1. 功能 鼠标点击行首拖动换行 多行选择删除2. 主要代码 View Code privatevoiddgv_SelectionChanged(objectsender,EventArgse){if(dgv.Rows.Count>0&&selectionIdx>-1&&selectionIdx<dgv.Rows.Count-1)//(dgv.SelectedRows.Count>0)){if(dgv.Rows.Count<=selectionIdx)selectionIdx=dgv.Rows.Count-1;dgv.Rows[se 阅读全文