public ProgramHome() { //Initialize(); //return; sf = new SafeToPull(); System.Threading.Thread thdBrowser = new System.Threading.Thread(Initialize); thdBrowser.SetApartmentState(System.Threading.ApartmentState.STA); thdBrowser.Start(); //HideScriptErrors(); }
public MainHelper() { sf = new SafeToPull(); this.CurrentBook = new Models.Book(); this.Document = new HtmlDocument(); }