private void On_FriendSys_Friend_Confrim(CSPkg msg)
        {
            SCPKG_CMD_ADD_FRIEND_CONFIRM stFriendAddConfirmRsp = msg.stPkgData.stFriendAddConfirmRsp;
            COMDT_FRIEND_INFO            stUserInfo            = stFriendAddConfirmRsp.stUserInfo;

            if (stFriendAddConfirmRsp.dwResult == 0)
            {
                Singleton <CUIManager> .GetInstance().OpenTips(UT.GetText("Friend_Tips_BeFriend_Ok"), false, 1f, null, new object[0]);

                Singleton <CFriendContoller> .GetInstance().model.Remove(CFriendModel.FriendType.RequestFriend, stUserInfo.stUin);

                Singleton <CFriendContoller> .GetInstance().model.Add(CFriendModel.FriendType.GameFriend, stUserInfo, false);

                Singleton <CFriendContoller> .GetInstance().model.SortGameFriend();

                CFriendView view = Singleton <CFriendContoller> .GetInstance().view;

                if ((view != null) && view.IsActive())
                {
                    view.Refresh();
                }
            }
            else
            {
                Singleton <CUIManager> .GetInstance().OpenTips(UT.ErrorCode_String(stFriendAddConfirmRsp.dwResult), false, 1f, null, new object[0]);

                this.Remove_And_Refresh(CFriendModel.FriendType.RequestFriend, stUserInfo.stUin);
            }
        }
 private void OnOpenMentorPage(CUIEvent uievt)
 {
     CFriendView.OpenFriendTab(CFriendView.Tab.Mentor);
     uievt.m_srcFormScript.Close();
     Singleton <CUIManager> .GetInstance().CloseForm(RankingSystem.s_rankingForm);
 }