摘要: private DataGridViewTextBoxEditingControl CellEdit = null; // 声明 一个 CellEdit private void dgvConsume_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { CellEdit = (DataGridViewTextBoxEditingControl)e.Control; CellEdit.SelectAll(); CellEdit.KeyPress += Cells_KeyPres. 阅读全文
posted @ 2013-09-22 17:29 xalyf 阅读(279) 评论(0) 推荐(1) 编辑