private void CB_DesTerc_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { TB_Idioma.Focus(); CB_DesTerc.BackColor = SystemColors.Control; } }
private void TB_ObservTerciaria_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { TB_Idioma.Focus(); } else if (e.KeyCode == Keys.Escape) { TB_ObservTerciaria.Text = ""; } }
private void CB_NecTerc_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { if (CB_NecTerc.Checked) { TB_Idioma.Focus(); } else { CB_DesTerc.Focus(); CB_DesTerc.Select(); CB_DesTerc.BackColor = Color.DarkSlateGray; } CB_NecTerc.BackColor = SystemColors.Control; } }