private void NUMEROS_KeyPress(object sender, KeyPressEventArgs e)
 {
     if ((int)e.KeyChar == (int)Keys.Enter)
     {
         TXTMOTIVO.Focus();
     }
 }
 void LIMPIAR()
 {
     TXTFACTURA.Clear();
     TXTGUIA.Clear();
     CMBTRANSPORTISTA.SelectedIndex = 0;
     comboBox1.SelectedIndex        = 0;
     TXTMOTIVO.Clear();
     TRAER_NUMERO_GUIA();
     DGVDATA.Rows.Clear();
 }
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked == true)
     {
         CMBMOTIVO.Visible = false; TXTMOTIVO.Clear();
     }
     if (checkBox1.Checked == false)
     {
         CMBMOTIVO.Visible = true; TXTMOTIVO.Text = CMBMOTIVO.Text; TXTMOTIVO.Visible = true;
     }
 }
 private void button2_Click(object sender, EventArgs e)
 {
     DGVDATA.Rows.Clear();
     TXTCAN.Clear();
     TXTFACTURA.Clear();
     TXTGUIA.Clear();
     TXTLOTE.Clear();
     TXTMOTIVO.Clear();
     TXTPROD.Clear();
     textBox2.Clear();
 }