예제 #1
0
        protected override void OnClose()
        {
            base.OnClose();
            if (RoomListModel.Instance.RoomKind > 0 && _state == 1)
            {
                ChangeState(2);
            }
            else
            {
                if (App.History.LastHistory() == YxEHistoryPathType.Hall)
                {
                    CurPanelManager.ShowWindow(YxEWindowName.GameHall);
                }
                else
                {
                    GameListController.Instance.ShowGameList(GameListModel.Instance.CurGroup);
                }
            }
//            else HallMainController.Instance.ReturnHall();
        }
예제 #2
0
 /// <summary>
 /// 注册
 /// </summary>
 public void OnRester()
 {
     HiddenWindow();
     CurPanelManager.ShowWindow(YxEWindowName.Register);
     App.History.RecordHistory(YxEHistoryPathType.Register);
 }
예제 #3
0
 public void OnBackLogin()
 {
     HiddenWindow();
     App.History.RecordHistory(YxEHistoryPathType.Login);
     CurPanelManager.ShowWindow(YxEWindowName.Login);
 }