UI_ActivityHuaRongDaoUI.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ActivityHuaRongDao
  4. {
  5. public partial class UI_ActivityHuaRongDaoUI
  6. {
  7. public GComponent target;
  8. public UI_item m_item;
  9. public UI_items m_items;
  10. public GTextField m_seconds;
  11. public GGroup m_tips;
  12. public GButton m_btnBack;
  13. public GButton m_btnLookPic;
  14. public GButton m_btnRefresh;
  15. public const string URL = "ui://wf8geywtnx120";
  16. public const string PACKAGE_NAME = "ActivityHuaRongDao";
  17. public const string RES_NAME = "ActivityHuaRongDaoUI";
  18. private static UI_ActivityHuaRongDaoUI _proxy;
  19. public static UI_ActivityHuaRongDaoUI Create(GObject gObject = null)
  20. {
  21. var ui = new UI_ActivityHuaRongDaoUI();
  22. if(gObject == null)
  23. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  24. else
  25. ui.target = (GComponent)gObject;
  26. ui.Init(ui.target);
  27. return ui;
  28. }
  29. public static UI_ActivityHuaRongDaoUI Proxy(GObject gObject = null)
  30. {
  31. if(_proxy == null)
  32. {
  33. _proxy = new UI_ActivityHuaRongDaoUI();
  34. }
  35. var ui = _proxy;
  36. if(gObject == null)
  37. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  38. else
  39. ui.target = (GComponent)gObject;
  40. ui.Init(ui.target);
  41. return ui;
  42. }
  43. public static void ProxyEnd()
  44. {
  45. if (_proxy != null)
  46. {
  47. _proxy.Dispose();
  48. }
  49. }
  50. public static void ClearProxy()
  51. {
  52. ProxyEnd();
  53. _proxy = null;
  54. }
  55. private void Init(GComponent comp)
  56. {
  57. m_item = (UI_item)UI_item.Create(comp.GetChild("item"));
  58. m_items = (UI_items)UI_items.Create(comp.GetChild("items"));
  59. m_seconds = (GTextField)comp.GetChild("seconds");
  60. m_tips = (GGroup)comp.GetChild("tips");
  61. m_btnBack = (GButton)comp.GetChild("btnBack");
  62. m_btnLookPic = (GButton)comp.GetChild("btnLookPic");
  63. m_btnRefresh = (GButton)comp.GetChild("btnRefresh");
  64. }
  65. public void Dispose(bool disposeTarget = false)
  66. {
  67. m_item.Dispose();
  68. m_item = null;
  69. m_items.Dispose();
  70. m_items = null;
  71. m_seconds = null;
  72. m_tips = null;
  73. m_btnBack = null;
  74. m_btnLookPic = null;
  75. m_btnRefresh = null;
  76. if(disposeTarget && target != null)
  77. {
  78. target.RemoveFromParent();
  79. target.Dispose();
  80. }
  81. target = null;
  82. }
  83. }
  84. }