Exemple #1
0
 /// <summary>
 /// 界面显示之前调用
 /// </summary>
 protected override void OnStart(INotification notification)
 {
     if (selectTeamMediator == null)
     {
         selectTeamMediator = Facade.RetrieveMediator("SelectTeamMediator") as SelectTeamMediator;
     }
     msg = notification.Body as TeamListMsg;
     panel.teamGrid.enabled = true;
     panel.teamGrid.BindCustomCallBack(UpdateTeamGrid);
     panel.teamGrid.StartCustom();
 }
Exemple #2
0
 /// <summary>
 /// 关闭界面调用 释放内存
 /// </summary>
 protected override void OnDestroy()
 {
     selectTeamMediator = null;
     base.OnDestroy();
 }