private void CB_DesCondFisica_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { TB_Otros1.Focus(); CB_DesCondFisica.BackColor = SystemColors.Control; } }
private void TB_ObservCondFisica_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { TB_Otros1.Focus(); } else if (e.KeyCode == Keys.Escape) { TB_ObservCondFisica.Text = ""; } }
private void CB_NecCondFisica_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { if (CB_NecCondFisica.Checked) { TB_Otros1.Focus(); } else { CB_DesCondFisica.Focus(); CB_DesCondFisica.Select(); CB_DesCondFisica.BackColor = Color.DarkSlateGray; } CB_NecCondFisica.BackColor = SystemColors.Control; } }