lu
2025-04-06 4a8df7e654aa502694bcff271b216c46e26c788b
DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs
@@ -1,18 +1,8 @@
using DevExpress.Utils.VisualEffects;
using DevExpress.XtraBars;
using DevExpress.XtraEditors;
using Gs.DevApp.DevFrm.Rpt;
using Gs.DevApp.DevFrm.Rpt;
using Gs.DevApp.DevFrm.Sys;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Gs.DevApp.UserControl
@@ -65,8 +55,16 @@
            _bl = _ckRptService();
            if (_bl)
            {
                var frm = new RptPreview(guidKey, rptParameter);
                frm.ShowDialog();
                try
                {
                    using (Form frm = new RptPreview(guidKey, rptParameter))
                    {
                        frm.ShowDialog();
                    }
                }
                catch (Exception)
                {
                }
                return;
            }