public void SelectItem() { UIListItemContainer selectItem = this.m_nlbItemList.GetSelectItem(); if (null == selectItem) { return; } if (selectItem.Data == null) { return; } if (this.m_eAuctionRegisterType == AuctionDefine.eAUCTIONREGISTERTYPE.eAUCTIONREGISTERTYPE_ITEM) { ITEM iTEM = selectItem.data as ITEM; if (iTEM.IsLock()) { Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("726"), SYSTEM_MESSAGE_TYPE.NORMAL_MESSAGE_GREEN); return; } AuctionMainDlg auctionMainDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.AUCTION_MAIN_DLG) as AuctionMainDlg; if (auctionMainDlg != null) { auctionMainDlg.SetSelectItem(iTEM); } } else if (this.m_eAuctionRegisterType == AuctionDefine.eAUCTIONREGISTERTYPE.eAUCTIONREGISTERTYPE_SOL) { NkSoldierInfo nkSoldierInfo = selectItem.data as NkSoldierInfo; if (nkSoldierInfo.IsAtbCommonFlag(1L)) { Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("879"), SYSTEM_MESSAGE_TYPE.NORMAL_MESSAGE_GREEN); } else { AuctionMainDlg auctionMainDlg2 = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.AUCTION_MAIN_DLG) as AuctionMainDlg; if (auctionMainDlg2 != null) { auctionMainDlg2.SetSelectSol(nkSoldierInfo); } } } NrTSingleton <FormsManager> .Instance.CloseForm(G_ID.AUCTION_ITEMSELECT_DLG); }