bug
lu
6 天以前 3ba209dab53170b3450ceeaea07f9499790a56a5
DevApp/Gs.DevApp/UserControl/UcBtnPrint.cs
@@ -128,6 +128,11 @@
            return false;
        }
        /// <summary>
        /// 设置批量按钮可见性
        /// </summary>
        /// <param name="blPiLiang"></param>
        public void SetPlButton(bool blPiLiang)
        {
            if (blPiLiang == true)
@@ -137,9 +142,22 @@
        }
        /// <summary>
        /// 设置确定按钮可见性
        /// </summary>
        /// <param name="blPiLiang"></param>
        public void SetPrintButton(bool blPiLiang)
        {
            if (blPiLiang == true)
                this.lay1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
            else
                this.lay1.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
        }
        /// <summary>
        /// 
        /// </summary>
        private void _print() {
        private void _print()
        {
            var _bl = false;
            _bl = _ckRptService();
            if (_bl)
@@ -153,10 +171,12 @@
                }
                catch (Exception)
                {
                }
                return;
            }
            MsgHelper.ShowError("没有设计模板,请先设计模板!");
        }
    }
}