private void btnCrear_Click(object sender, EventArgs e)
 {
     if (txtcaja.Text == "")
     {
         MessageBox.Show("Llenar informacion completa ( Caja/Tipo de Envio)", "Verificar", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
     else
     {
         Consultar.IngresarFedex(GlobalVar.Compania, txtcaja.Text);
         Consultar.ObtenerIdCargaFedex(ref idcajafedex);
         MessageBox.Show("Carga Agregada, ID_CARGA =" + idcajafedex, "Verificar", MessageBoxButtons.OK, MessageBoxIcon.Information);
         Fedex fedex = new Fedex();
         this.Visible = false;
         fedex.ShowDialog(this);
         fedex.Dispose();
         this.Visible = true;
     }
 }
        private void fedexToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Fedex fedexx = new Fedex();

            fedexx.ShowDialog();
        }