示例#1
0
        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();
        }
示例#2
0
 public MainHelper()
 {
     sf = new SafeToPull();
     this.CurrentBook = new Models.Book();
     this.Document    = new HtmlDocument();
 }