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; }
public override void dispose() { base.dispose(); bool flag = this.progressBar != null; if (flag) { this.progressBar.dispose(); this.progressBar = null; } }