private void btnAgregar_Click(object sender, EventArgs e)
        {
            mantenimientos.procesos_iniciales.agregaPresentaciones pre = new mantenimientos.procesos_iniciales.agregaPresentaciones();
            pre.Codigo = txtCodigo.Text;
            pre.ShowDialog();

            if (pre.IngresadoN)
            {
                cargarTablaPresentaciones();
            }
        }
 private void btnAgr_Click(object sender, EventArgs e)
 {
     mantenimientos.procesos_iniciales.agregaPresentaciones ap = new mantenimientos.procesos_iniciales.agregaPresentaciones();
     ap.Codigo = codigo;
     ap.ShowDialog();
     if (ap.IngresadoN)
     {
         cargado = false;
         cargarTablas();
         cargarListas();
         cargado = true;
     }
 }
Beispiel #3
0
 private void txtCodigo_Leave(object sender, EventArgs e)
 {
     if (txtCodigo.TextLength != 0)
     {
         if (!validarExistencias())
         {
         }
         else
         {
             mantenimientos.procesos_iniciales.agregaPresentaciones ap = new mantenimientos.procesos_iniciales.agregaPresentaciones();
             ap.Codigo = txtCodigo.Text;
             ap.ShowDialog();
             if (ap.IngresadoN)
             {
                 ingresado = true;
                 this.Close();
             }
         }
     }
 }
 private void btnAgregaPresentaciones_Click_1(object sender, EventArgs e)
 {
     mantenimientos.procesos_iniciales.agregaPresentaciones ap = new mantenimientos.procesos_iniciales.agregaPresentaciones();
     ap.ShowDialog();
 }