摘要: 按[Down] 自动增加新行按[CTRL+Down] DataGridView自动增加最后一行 1 if (e.Control == true && e.KeyCode == Keys.Down) 2 { 3 if (m_gridView.IsLastRow) 4 { 5 DataRowView CurrRow = m_currentBindingSource.Current as DataRowView; 6 m_gridView.AddNewRow(); 7 int row = m_gridView.FocusedRowHandle; 8 foreach (GridColu 阅读全文
posted @ 2011-03-02 16:30 家有良田三亩八 阅读(979) 评论(0) 推荐(1) 编辑