事件没有注册吧
DataGridView1.CellClick += new DataGridViewCellEventHandler(DataGridView1_CellClick);public void DataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { MessageBox.Show("1234");}