public void ClickOk(IUIObject obj) { ChallengeDlg challengeDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.CHALLENGE_DLG) as ChallengeDlg; if (challengeDlg != null) { challengeDlg.ChangeTab(); } this.Close(); }
public void GetChallengeOpenReward() { if (!NrTSingleton <FormsManager> .Instance.IsShow(G_ID.CHALLENGE_DLG)) { ChallengeDlg challengeDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.CHALLENGE_DLG) as ChallengeDlg; if (challengeDlg != null) { challengeDlg.ChangeTab(); } } }