Пример #1
0
 protected override void _initControl(Dictionary <string, IUIBaseControl> host)
 {
     this.progLoading        = (host["progLoading"] as IUIProgressBar);
     this.statusLoading      = (host["statusLoading"] as IUIText);
     this.uiLight            = (host["uiLight"] as IUIImageBox);
     this.progLoading.maxNum = 100f;
 }
Пример #2
0
        public override void dispose()
        {
            base.dispose();
            bool flag = this.progressBar != null;

            if (flag)
            {
                this.progressBar.dispose();
                this.progressBar = null;
            }
        }