黄学彪
2020-04-02 9904031f5291daaf56985146bb671f25e18ebbdf
ZigbeeApp/Shared/Phone/CommonForm/DialogCommonForm.cs
@@ -21,6 +21,10 @@
        /// </summary>
        public bool CloseFormByClickBack = true;
        /// <summary>
        /// 调用AddForm函数时,是否自动调用ShowForm函数,,默认自动调用
        /// </summary>
        public bool AutoLoadShowFormMethord = true;
        /// <summary>
        /// 原来的滑动标识
        /// </summary>
        private bool oldScrollEnabled = false;
@@ -82,8 +86,11 @@
            //初始化界面框架
            this.InitForm();
            //执行ShowForm()方法
            this.LoadShowFormMethod(parameter);
            if (this.AutoLoadShowFormMethord == true)
            {
                //执行ShowForm()方法
                this.LoadShowFormMethod(parameter);
            }
        }
        #endregion