예제 #1
0
 public MainForm()
 {
     InitializeComponent();
     this.currentView = this.viewerWindow;
     if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
     {
         LogManager.Log("Downloading site async");
         new ScraperService().ScrapVideosAsync(this, new SearchParameters {  Url= "http://www.xvideos.com/new/"});
         this.Text = Constants.AppTitle;
     }
     this.fakeView = new NotepadForm(this);
 }
예제 #2
0
 public MainForm()
 {
     InitializeComponent();
     this.currentView = this.viewerWindow;
     if (LicenseManager.UsageMode != LicenseUsageMode.Designtime)
     {
         LogManager.Log("Downloading site async");
         new ScraperService().ScrapVideosAsync(this, new SearchParameters {
             Url = "http://www.xvideos.com/new/"
         });
         this.Text = Constants.AppTitle;
     }
     this.fakeView = new NotepadForm(this);
 }