public static Handeco_DetailCompany LoadCompany(string url, bool reload = false, bool loadImage = false) { Handeco_LoadDetailCompany load = new Handeco_LoadDetailCompany(url); load.Load(reload, loadImage); return(load.Data); }
public static Handeco_Company LoadDetailCompany(Handeco_HeaderCompany header, bool reload = false, bool loadImage = false) { Handeco_DetailCompany detail = Handeco_LoadDetailCompany.LoadCompany(header.urlDetail, reload, loadImage); return(new Handeco_Company { header = header, detail = detail }); }
public static void Init() { Handeco_LoadHeaderFromWeb.ClassInit(XmlConfig.CurrentConfig.GetElement("Handeco/Header")); Handeco_LoadHeader.ClassInit(XmlConfig.CurrentConfig.GetElement("Handeco/Header")); Handeco_LoadDetailCompanyFromWeb.ClassInit(XmlConfig.CurrentConfig.GetElement("Handeco/Detail")); Handeco_LoadDetailCompany.ClassInit(XmlConfig.CurrentConfig.GetElement("Handeco/Detail")); __xmlCompanyListFile = XmlConfig.CurrentConfig.GetExplicit("Handeco/Xml/XmlCompanyListFile"); __xmlDetailCompanyListFile = XmlConfig.CurrentConfig.GetExplicit("Handeco/Xml/XmlDetailCompanyListFile"); }