private void dateTimePicker1_KeyPress(object sender, KeyPressEventArgs e) { if ((int)e.KeyChar == (int)Keys.Enter) { TXTFACTURA.Focus(); } }
private void NUEVA_DEVOLUCION_Load(object sender, EventArgs e) { comboBox2.SelectedIndex = 0; STPC.Text = Environment.MachineName; LLENAR_LINEA(); LLENAR_TRANSPORTISTA(); CMBUM.SelectedIndex = 0; TXTFACTURA.Focus(); MOSTRAR_RUC_DIRECCION(); MOSTRAR_RUC_TRASNPORTE(); TRAER_NUMERO_GUIA(); }