/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.EnduringGiftBox { public partial class UI_RushSaleGiftBoxUI { public GComponent target; public GComponent m_btnUp; public GComponent m_btnNext; public GComponent m_btnBack; public GGraph m_holderPaoBaby; public GTextField m_txtBoxItemName; public GTextField m_txtBoxResidueTime; public GList m_list; public GTextField m_txtUrc; public UI_BtnBuyPink m_btnBuyPink; public GGraph m_holderBtnBy; public UI_ComDiscount2 m_comDiscount; public GGraph m_holderZheKouChiXu; public GGraph m_holderZheKou; public GTextField m_txtLrc; public GGraph m_holderStar; public Transition m_t3; public const string URL = "ui://bdi1qe15yjmk29"; public const string PACKAGE_NAME = "EnduringGiftBox"; public const string RES_NAME = "RushSaleGiftBoxUI"; private static UI_RushSaleGiftBoxUI _proxy; public static UI_RushSaleGiftBoxUI Create(GObject gObject = null) { var ui = new UI_RushSaleGiftBoxUI(); if(gObject == null) ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GComponent)gObject; ui.Init(ui.target); return ui; } public static UI_RushSaleGiftBoxUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_RushSaleGiftBoxUI(); } var ui = _proxy; if(gObject == null) ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GComponent)gObject; ui.Init(ui.target); return ui; } public static void ProxyEnd() { if (_proxy != null) { _proxy.Dispose(); } } public static void ClearProxy() { ProxyEnd(); _proxy = null; } private void Init(GComponent comp) { m_btnUp = (GComponent)comp.GetChild("btnUp"); m_btnNext = (GComponent)comp.GetChild("btnNext"); m_btnBack = (GComponent)comp.GetChild("btnBack"); m_holderPaoBaby = (GGraph)comp.GetChild("holderPaoBaby"); m_txtBoxItemName = (GTextField)comp.GetChild("txtBoxItemName"); m_txtBoxResidueTime = (GTextField)comp.GetChild("txtBoxResidueTime"); m_list = (GList)comp.GetChild("list"); m_txtUrc = (GTextField)comp.GetChild("txtUrc"); m_btnBuyPink = (UI_BtnBuyPink)UI_BtnBuyPink.Create(comp.GetChild("btnBuyPink")); m_holderBtnBy = (GGraph)comp.GetChild("holderBtnBy"); m_comDiscount = (UI_ComDiscount2)UI_ComDiscount2.Create(comp.GetChild("comDiscount")); m_holderZheKouChiXu = (GGraph)comp.GetChild("holderZheKouChiXu"); m_holderZheKou = (GGraph)comp.GetChild("holderZheKou"); m_txtLrc = (GTextField)comp.GetChild("txtLrc"); m_holderStar = (GGraph)comp.GetChild("holderStar"); m_t3 = comp.GetTransition("t3"); } public void Dispose(bool disposeTarget = false) { m_btnUp = null; m_btnNext = null; m_btnBack = null; m_holderPaoBaby = null; m_txtBoxItemName = null; m_txtBoxResidueTime = null; m_list = null; m_txtUrc = null; m_btnBuyPink.Dispose(); m_btnBuyPink = null; m_holderBtnBy = null; m_comDiscount.Dispose(); m_comDiscount = null; m_holderZheKouChiXu = null; m_holderZheKou = null; m_txtLrc = null; m_holderStar = null; m_t3 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }