Ejemplo n.º 1
0
 private void Button1_Click(object sender, EventArgs e)
 {
     try
     {
         Cajas cajas = new Cajas(this, Convert.ToInt32(lista.CurrentRow.Cells["ID"].Value), 0);
         cajas.Show();
         this.Enabled = false;
     } catch
     {
     }
 }
Ejemplo n.º 2
0
 private void BtnEmpaquetado_Click(object sender, EventArgs e)
 {
     if (datos.Rows[0]["empaquetadoF"].Equals("") || datos.Rows[0]["empaquetadoF"] == null || datos.Rows[0]["empaquetadoF"].Equals("NULL"))
     {
         Cajas form = new Cajas(this, IdCotizacion);
         form.Show();
         this.Enabled = false;
     }
     else
     {
         DialogResult preguntaM = MetroFramework.MetroMessageBox.Show(this, "Este evento ya ha ocurrido", "Aviso", MessageBoxButtons.OK);
     }
 }