public MarketPlaceCalculator(Account account, HtmlDocument htmlDocument, HtmlWeb htmlWeb, MarketPlaceQueue queue,
     Settings settings, Languages languages)
 {
     this.account = account;
     this.htmlDocument = htmlDocument;
     this.htmlWeb = htmlWeb;
     this.queue = queue;
     this.settings = settings;
     language = languages.GetLanguage(settings.LanguageId);
 }
Esempio n. 2
0
 public ProcessCenter()
 {
     InitializeComponent();
     settings = new Settings();
     account = new Account();
     map = new Map();
     map.DeserializeValleys();
     valleyTypeList = new ValleyTypeList();
     DeserializeValleyTypeList();
     DeserializeSettings();
     languages = new Languages();
     DeserializeLanguage();
     actions = new Actions();
     DeserializeActions();
     htmlWeb.UseCookies = true;
     Timer timer = new Timer {Interval = 1000, Enabled = true};
     timer.Tick += TimerTick;
 }