public UCXBoxLogin(DetectionParamsItem paramsItem, LogManagerBase logManager) { InitializeComponent(); if (null == paramsItem) { throw new ArgumentNullException("paramsItem"); } if (null == logManager) { throw new ArgumentNullException("logManager"); } CookieCleaner.CleanCookies("xbox"); this.HttperParamsItem = paramsItem; this.LogManager = logManager; this.Server = this.HttperParamsItem.CurrentGameServer; this.webBrowser.DocumentCompleted += webBrowser_DocumentCompleted; this.webBrowser.AllowNavigation = true; this.webBrowser.ScriptErrorsSuppressed = true; //this.webBrowser.Document.Cookie }
public FrmTest() { InitializeComponent(); CookieCleaner.CleanCookies("apple"); }