/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Poem { public partial class UI_ComNormal { public GComponent target; public Controller m_c1; public GButton m_btnShop; public GButton m_btnReward; public GButton m_btnTab0; public GButton m_btnTab1; public GButton m_btnTab2; public GTextField m_txtTheme; public GTextField m_txtTime; public GTextField m_txtRewardCount; public GGroup m_grpTime; public GComboBox m_comBoBox; public UI_ComScroll m_comScroll; public GList m_listRank; public GTextField m_txtRank; public GGroup m_grpResult; public const string URL = "ui://iyz778gkr9ri114"; public const string PACKAGE_NAME = "Poem"; public const string RES_NAME = "ComNormal"; private static UI_ComNormal _proxy; public static UI_ComNormal Create(GObject gObject = null) { var ui = new UI_ComNormal(); 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_ComNormal Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComNormal(); } 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_c1 = comp.GetController("c1"); m_btnShop = (GButton)comp.GetChild("btnShop"); m_btnReward = (GButton)comp.GetChild("btnReward"); m_btnTab0 = (GButton)comp.GetChild("btnTab0"); m_btnTab1 = (GButton)comp.GetChild("btnTab1"); m_btnTab2 = (GButton)comp.GetChild("btnTab2"); m_txtTheme = (GTextField)comp.GetChild("txtTheme"); m_txtTime = (GTextField)comp.GetChild("txtTime"); m_txtRewardCount = (GTextField)comp.GetChild("txtRewardCount"); m_grpTime = (GGroup)comp.GetChild("grpTime"); m_comBoBox = (GComboBox)comp.GetChild("comBoBox"); m_comScroll = (UI_ComScroll)UI_ComScroll.Create(comp.GetChild("comScroll")); m_listRank = (GList)comp.GetChild("listRank"); m_txtRank = (GTextField)comp.GetChild("txtRank"); m_grpResult = (GGroup)comp.GetChild("grpResult"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_btnShop = null; m_btnReward = null; m_btnTab0 = null; m_btnTab1 = null; m_btnTab2 = null; m_txtTheme = null; m_txtTime = null; m_txtRewardCount = null; m_grpTime = null; m_comBoBox = null; m_comScroll.Dispose(); m_comScroll = null; m_listRank = null; m_txtRank = null; m_grpResult = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }