Accounting/Assets/DragonSoul/Scripts/UI/Auto/Package1/UI_MainUI.cs

73 lines
2.3 KiB
C#
Raw Normal View History

2023-09-24 21:35:44 +08:00
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
using FairyGUI;
using FairyGUI.Utils;
using DragonSoul.Shared;
using System;
namespace DragonSoul.UI
{
public partial class UI_MainUI
{
public const string UIPackageName = "Package1";
public const string UIResName = "MainUI";
public GComponent self;
public GList m_listMain;
public GList m_listLog;
public GButton m_btnLoad;
public GButton m_btnSave;
public GComboBox m_comboxCurrKey;
public GButton m_btnUpload;
public GButton m_btnDownload;
public GButton m_btnSort;
public GComboBox m_comboxSortType;
public GTextInput m_iptNewBook;
public GButton m_btnNewBook;
public GButton m_btnCreateData;
public const string URL = "ui://1dupo23lqyapdsg2";
public UI_MainUI(GObject go=null)
{
if (go == null)
{
throw new Exception($"can't create view : {this.GetType()}");
}
self = (GComponent)go;
var com = go.asCom;
if(com != null)
{
m_listMain = (GList)com.GetChildAt(2);
m_listLog = (GList)com.GetChildAt(3);
m_btnLoad = (GButton)com.GetChildAt(4);
m_btnSave = (GButton)com.GetChildAt(5);
m_comboxCurrKey = (GComboBox)com.GetChildAt(6);
m_btnUpload = (GButton)com.GetChildAt(7);
m_btnDownload = (GButton)com.GetChildAt(8);
m_btnSort = (GButton)com.GetChildAt(9);
m_comboxSortType = (GComboBox)com.GetChildAt(10);
m_iptNewBook = (GTextInput)com.GetChildAt(12);
m_btnNewBook = (GButton)com.GetChildAt(13);
m_btnCreateData = (GButton)com.GetChildAt(14);
}
}
public void Dispose()
{
self = null;
m_listMain = null;
m_listLog = null;
m_btnLoad = null;
m_btnSave = null;
m_comboxCurrKey = null;
m_btnUpload = null;
m_btnDownload = null;
m_btnSort = null;
m_comboxSortType = null;
m_iptNewBook = null;
m_btnNewBook = null;
m_btnCreateData = null;
}
}
}