private void OnClickIcon(IUIObject obj) { ICON_TYPE type = this.GetType(obj); this.SetBlinkValue((int)type, 0f); switch (type) { case ICON_TYPE.WHISPER: this.ShowHiteSwitch(G_ID.WHISPER_DLG); break; case ICON_TYPE.POST: if (this.ShowHiteSwitch(G_ID.POST_DLG)) { PostDlg postDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.POST_DLG) as PostDlg; if (postDlg != null) { postDlg.ChangeTab_RecvList(); } } break; case ICON_TYPE.GAMEGUIDE: this.ShowHiteSwitch(G_ID.GAMEGUIDE_DLG); break; case ICON_TYPE.MINE_RECORED: this.ShowHiteSwitch(G_ID.MINE_RECORD_DLG); break; } }
public void ClickGuildPost(IUIObject obj) { PostDlg postDlg = NrTSingleton <FormsManager> .Instance.LoadForm(G_ID.POST_DLG) as PostDlg; if (postDlg != null) { postDlg.SetSendState(PostDlg.eSEND_STATE.eSEND_STATE_NEWGUILD); } }
private static void PostLinkFunc() { NrTSingleton <FormsManager> .Instance.ShowForm(G_ID.POST_DLG); PostDlg postDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.POST_DLG) as PostDlg; if (postDlg != null) { postDlg.ChangeTab_RecvList(); } }
public override void ExcuteGameGuide() { NrTSingleton <FormsManager> .Instance.ShowForm(G_ID.POST_DLG); PostDlg postDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.POST_DLG) as PostDlg; if (postDlg != null) { postDlg.ChangeTab_RecvList(); } this.InitData(); }
public void Post(IUIObject obj) { if (!NrTSingleton <FormsManager> .Instance.IsShow(G_ID.POST_DLG)) { NrTSingleton <FormsManager> .Instance.ShowForm(G_ID.POST_DLG); PostDlg postDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.POST_DLG) as PostDlg; if (postDlg != null) { postDlg.ChangeTab_RecvList(); } } else { NrTSingleton <FormsManager> .Instance.CloseForm(G_ID.POST_DLG); } }
private void ClickConfirm(IUIObject ojb) { UIListItemContainer selectedItem = this.m_FriendList.SelectedItem; if (null == selectedItem) { return; } string strName = (string)selectedItem.Data; PostDlg postDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.POST_DLG) as PostDlg; if (postDlg != null) { postDlg.ConfirmRequestByName(strName); } FriendPush_DLG friendPush_DLG = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.FRIEND_PUSH_DLG) as FriendPush_DLG; if (friendPush_DLG != null) { friendPush_DLG.ConfirmRequestByName(strName); } this.Close(); }