Пример #1
0
    public void ClickDetailInfo(IUIObject obj)
    {
        UIListItemContainer selectItem = this.m_nlbItemList.GetSelectItem();

        if (null == selectItem)
        {
            return;
        }
        if (selectItem.Data == null)
        {
            return;
        }
        ITEM iTEM = selectItem.data as ITEM;

        if (iTEM != null)
        {
            AuctionMainDlg.ShowItemDetailInfo(iTEM, (G_ID)base.WindowID);
        }
        else
        {
            NkSoldierInfo nkSoldierInfo = selectItem.data as NkSoldierInfo;
            if (nkSoldierInfo != null)
            {
                AuctionMainDlg.ShowSolDetailInfo(nkSoldierInfo, this);
            }
        }
    }
 public void ClickDetailInfo(IUIObject obj)
 {
     if (this.m_RegisterItem != null)
     {
         AuctionMainDlg.ShowItemDetailInfo(this.m_RegisterItem.Item, (G_ID)base.WindowID);
     }
     else if (this.m_RegisterSol != null)
     {
         AuctionMainDlg.ShowSolDetailInfo(this.m_RegisterSol, this);
     }
 }
Пример #3
0
 public void ClickDetailInfo(IUIObject obj)
 {
     if (this.m_SelectItem != null)
     {
         AuctionMainDlg.ShowItemDetailInfo(this.m_SelectItem, (G_ID)base.WindowID);
     }
     else if (this.m_SelectSoldierInfo != null)
     {
         AuctionMainDlg.ShowSolDetailInfo(this.m_SelectSoldierInfo, this);
     }
 }