Example #1
0
        public bool      single;   //隐藏所有打开的面板

        public ShowMode(bool auto, MutexRule mutex, bool cover, BaseShow baseShow, bool single)
        {
            this.auto     = auto;
            this.mutex    = mutex;
            this.cover    = cover;
            this.baseShow = baseShow;
            this.single   = single;
        }
        public BaseShow   baseShow; //父级的显示状态

        public ShowMode(bool auto, MutexRule mutex, bool cover, BaseShow baseShow, bool single)
        {
            this._auto    = auto ? on : off;
            this._cover   = cover ? on : off;
            this._single  = single ? on : off;
            this.mutex    = mutex;
            this.baseShow = baseShow;
        }