/// <summary>
 /// 当UIState切出时调用
 /// <param name="changeType">切换类型</param>
 /// <param name="oldStateName">老状态名,可能为空和null</param>
 /// <param name="newStateName">新状态名,可能为空和null</param>
 /// </summary>
 protected override void OnUIStateOut(int changeType, string oldStateName, string newStateName)
 {
     if (_launchForm != null)
     {
         DisposeFormClass(ref _launchForm);
         _launchForm = null;
     }
 }
 /// <summary>
 /// 当销毁时调用调用
 /// </summary>
 protected override void OnUninitialize()
 {
     if (_launchForm != null)
     {
         DisposeFormClass(ref _launchForm);
         _launchForm = null;
     }
 }
 /// <summary>
 /// 当UIState切入时调用
 /// </summary>
 /// <param name="changeType">切换类型</param>
 /// <param name="oldStateName">老状态名,可能为空和null</param>
 /// <param name="newStateName">新状态名,可能为空和null</param>
 /// <param name="stateParam">状态参数</param>
 protected override void OnUIStateIn(int changeType, string oldStateName, string newStateName, object stateParam)
 {
     if (string.Equals(newStateName, "UILaunch"))
     {
         if (_launchForm == null)
         {
             _launchForm = CreateFormClass <UILaunchForm>(false);
         }
     }
 }