摘要:
private void toolStripMenuItem3_Click(object sender, EventArgs e) { int selectedCellCount =dataGridView1.GetCellCount(DataGridViewElementStates.Selected); if (selectedCellCount > 0) { if (dataGridView1.AreAllCellsSelected(true)) {... 阅读全文