陈嘉乐
2020-04-27 18b93d511dc764b469d7c4a7e755f7274f89cdb4
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