public MainForm() { Constants.IsReset = false; InitializeComponent(); _uiLogging = new UILogging(rtxtLog); _dictTabViewCart = new Dictionary <SiteType, TabPage> { { SiteType.ChampsSports, tabChampsSports }, { SiteType.Eastbay, tabEastbay }, { SiteType.Footaction, tabFootaction }, { SiteType.FootLocker, tabFootLocker } }; _dictCartViewControl = new Dictionary <SiteType, CartView> { { SiteType.ChampsSports, cartViewChampsSports }, { SiteType.Eastbay, cartViewEastbay }, { SiteType.Footaction, cartViewFootaction }, { SiteType.FootLocker, cartViewFootLocker } }; //Build click-once isActivated = true; //Build wyday //RegisterTurboActivate(); }
protected Simulator(UILogging spiderLogging, SimulatorView simulatorView, PageModel pageModel) { _simulatorView = simulatorView; _pageModel = pageModel; _url = _pageModel.PageUrl; _spiderLogging = spiderLogging; //_navigator.DoWork += NavigatorDoWork; }
public static Simulator GetSimulator(UILogging spiderLogging, SimulatorView simulatorView, PageModel pageModel) { switch (pageModel.Type) { case SiteType.ChampsSports: return(new ChampsSportsSimulator(spiderLogging, simulatorView, pageModel)); case SiteType.Eastbay: return(new EastbaySimulator(spiderLogging, simulatorView, pageModel)); case SiteType.Footaction: return(new FootactionSimulator(spiderLogging, simulatorView, pageModel)); case SiteType.FootLocker: return(new FootLockerSimulator(spiderLogging, simulatorView, pageModel)); } return(null); }
public FootactionSimulator(UILogging spiderLogging, SimulatorView simulatorView, PageModel pageModel) : base(spiderLogging, simulatorView, pageModel) { }
public ChampsSportsSimulator(UILogging spiderLogging, SimulatorView simulatorView, PageModel pageModel) : base(spiderLogging, simulatorView, pageModel) { }
public EastbaySimulator(UILogging spiderLogging, SimulatorView simulatorView, PageModel pageModel) : base(spiderLogging, simulatorView, pageModel) { }