private void btn_ver_Click(object sender, EventArgs e)
 {
     Popup.Frm_detalle_explosion_material frm = new Popup.Frm_detalle_explosion_material();
     frm.ShowDialog();
 }
 private void dgv_explosion_DoubleClick(object sender, EventArgs e)
 {
     Popup.Frm_detalle_explosion_material frm = new Popup.Frm_detalle_explosion_material();
     frm.xtipop = "OP";
     frm.xserop = Equivalencias.Left(dgv_explosion.GetRowCellValue(dgv_explosion.FocusedRowHandle, "orden").ToString(), 4);
     frm.xnumop = Equivalencias.Right(dgv_explosion.GetRowCellValue(dgv_explosion.FocusedRowHandle, "orden").ToString(), 5).PadLeft(10,'0');
     frm.xarticid = dgv_explosion.GetRowCellValue(dgv_explosion.FocusedRowHandle, "articid").ToString();
     frm.xarticidold = dgv_explosion.GetRowCellValue(dgv_explosion.FocusedRowHandle, "articidold").ToString();
     frm.xarticname = dgv_explosion.GetRowCellValue(dgv_explosion.FocusedRowHandle, "articname").ToString();
     frm.ShowDialog();
 }