static void Main(string[] args) { HStockDataDA HSDA = new HStockDataDA(); HStockDataFac HSDF = new HStockDataFac(HSDA); HSDA.DownloadDone += (e) => { Console.WriteLine(e.FileName+"\n"+e.Link); }; List<HStockDataObject> HstockData = new List<HStockDataObject>(); HSDF.LoadAll(HstockData); Console.ReadLine(); }
public HStockDataFac(HStockDataDA HSDA) { this.HSDA = HSDA; }