Пример #1
0
 private void nom_pv_Click(object sender, EventArgs e)
 {
     using (datosTraza dT = new datosTraza(4, pv, ordPv, envPv))
     {
         dT.ShowDialog();
     }
 }
Пример #2
0
        private void nom_dist_Click(object sender, EventArgs e)
        {
            if (tipo.CompareTo("1") == 0)
            {
                using (datosTraza dT = new datosTraza(3,Distribuidor, ordDist, enviDist, ordPv, envPv))
                {
                    dT.ShowDialog();
                }

            }
            else if (tipo.CompareTo("2") == 0)
            {
                using (datosTraza dT = new datosTraza(Distribuidor, ordDist, enviDist))
                {
                    dT.ShowDialog();
                }
            }
        }
Пример #3
0
 private void nom_empaque_Click(object sender, EventArgs e)
 {
     if (tipo.CompareTo("4") != 0)
     {
         using (datosTraza dT = new datosTraza(Empaque, Lote, ordDist, enviDist))
         {
             dT.ShowDialog();
         }
     }
     else
     {
         using (datosTraza dT = new datosTraza(4,Empaque, Lote))
         {
             dT.ShowDialog();
         }
     }
 }
Пример #4
0
 private void nom_ape_productor_Click(object sender, EventArgs e)
 {
     using(datosTraza dT = new datosTraza(Huerta, Productor))
     {
         dT.ShowDialog();
     }
 }