author suo
  class BaseUIControl { protected _dataCenter : UIDataCenter = null ; protected _viewCenter : UIViewCenter = null ; constructor ( ) { } public init ( dataCenter , viewCenter ) { this . _dataCenter = dataCenter ; this . _viewCenter = viewCenter ; } public onInit ( ) { } public onShow ( ) { } public onOpenAgain ( ) { } public onHide ( ) { } public dispose ( ) { this . _viewCenter = null ; this . _dataCenter = null ; } }