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(); }
/// <summary> /// 注册 /// </summary> public void OnRester() { HiddenWindow(); CurPanelManager.ShowWindow(YxEWindowName.Register); App.History.RecordHistory(YxEHistoryPathType.Register); }
public void OnBackLogin() { HiddenWindow(); App.History.RecordHistory(YxEHistoryPathType.Login); CurPanelManager.ShowWindow(YxEWindowName.Login); }