public new void findWidget() { m_topEditCardPosGo = UtilApi.TransFindChildByPObjAndPath(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.GoTopEditCardPos); m_cardSetCardLayoutV = new AuxLayoutV(); m_cardSetCardLayoutV.elemWidth = 285; m_cardSetCardLayoutV.elemHeight = 78; m_cardSetCardLayoutV.pntGo = UtilApi.TransFindChildByPObjAndPath(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.CardSetCardListParent); m_cardSetCardLayoutV.selfGo = UtilApi.TransFindChildByPObjAndPath(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.CardSetCardListCon); m_cardSetCardLayoutV.hideLayout(); m_cardSetLayoutV = new AuxLayoutV(); m_cardSetLayoutV.elemWidth = 285; m_cardSetLayoutV.elemHeight = 78; m_cardSetLayoutV.pntGo = UtilApi.TransFindChildByPObjAndPath(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.CardSetListParent); m_cardSetLayoutV.selfGo = UtilApi.TransFindChildByPObjAndPath(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.CardSetListCont); m_btnArr[(int)WdscCardSetPnl_BtnIndex.eBtnNewCardSet] = new AuxBasicButton(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.BtnNewCardSet); m_btnArr[(int)WdscCardSetPnl_BtnIndex.eBtnRet] = new AuxDynImageStaticGoButton(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.BtnRet); updateRetBtnImage(true); m_cardSetCardCntText = new AuxLabel(m_tuJianData.m_form.m_GUIWin.m_uiRoot, TuJianPath.TextCardSetCardCnt); }
public void add2Layout(AuxLayoutV cardLayoutV) { cardLayoutV.addElem(m_auxDynImageDynGoButton.selfGo, true); this.findWidget(); this.addEventHandle(); }
public void removeFromLayout(AuxLayoutV cardLayoutV) { cardLayoutV.removeElem(m_auxDynImageDynGoButton.selfGo, true); }
public void add2Layout(AuxLayoutV cardLayoutV) { cardLayoutV.addElem(m_auxDynTexDynGOButton.selfGo, true); }