in c# how can i repeat a code that i write in a form key down event each time i press that key i mean i want to re run that code each time i press the key i think this can be so simple for u cause i am beginner thanks this code is what i already tried
if (e.KeyCode == Keys.Down)
{
textBox1.TabStop = true;
dataGridView1.Focus();
label1.Text = dataGridView1.SelectedRows[0].Cells[0].Value.ToString();
}