<< Click to Display Table of Contents >> Detectando clique na DataGridView |
![]() ![]() ![]() |
private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e)
{
this.Text = dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value.ToString();
}