Ejemplo n.º 1
0
    private void OnClickConfirm(IUIObject a_oObject)
    {
        if (this.m_bFacebookBtn && this.m_Item != null)
        {
            Facebook_Feed_Dlg facebook_Feed_Dlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.FACEBOOK_FEED_DLG) as Facebook_Feed_Dlg;

            if (facebook_Feed_Dlg != null)
            {
                facebook_Feed_Dlg.SetType(eFACEBOOK_FEED_TYPE.ENCHANT_ITEM, this.m_Item);
            }
        }
        this.Close();
    }
Ejemplo n.º 2
0
    private void ClickFaceBookButton(IUIObject obj)
    {
        Facebook_Feed_Dlg facebook_Feed_Dlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.FACEBOOK_FEED_DLG) as Facebook_Feed_Dlg;

        if (facebook_Feed_Dlg != null)
        {
            NrCharKindInfo charKindInfo = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindInfo(this.m_i32SelectCharKind);

            if (charKindInfo != null)
            {
                facebook_Feed_Dlg.SetType(eFACEBOOK_FEED_TYPE.DKALCHE_SOL, this.m_pSolInfo);
            }
            else
            {
                NrTSingleton <FormsManager> .Instance.CloseForm(G_ID.FACEBOOK_FEED_DLG);
            }
        }
    }