hongyuniu

Whatever You Do, Do Your Best !

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年6月16日

摘要: 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 阅读全文
posted @ 2011-06-16 16:45 CsharpFish 阅读(2627) 评论(1) 推荐(1) 编辑