public SettingsForm()
        {
            this._Version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
            if (this.Config.CheckForUpdates)
            {
                System.Threading.ThreadPool.QueueUserWorkItem(this.CheckForUpdates);
            }

            InitializeComponent();

            this.utorrent = new WebUIAPI(this.Config);
            this.utorrent.TorrentAdded += new WebUIAPI.TorrentAddedEventHandler(utorrent_TorrentAdded);
            this.utorrent.DownloadComplete += new WebUIAPI.DownloadFinishedEventHandler(utorrent_DownloadComplete);
            this.utorrent.LoginError += new WebUIAPI.LoginErrorEventHandler(utorrent_LoginError);
            this.utorrent.Start();

            this.prowl = new Prowl(this.Config.Prowl);
            this.growl = new Growl(this.Config.Growl);
            this.twitter = new Twitter(this.Config.Twitter);
            this.boxcar = new Boxcar(this.Config.Boxcar);

            if (this.Config.Prowl.Enable)
            {
                this.prowl.ProwlError += new Prowl.ProwlErrorHandler(prowl_ProwlError);
            }

            this.btnBoxcarInvite.Enabled = this.Config.Boxcar.Enable;
        }
 public ClassRegistry()
 {
     this._config      = new Config();
     this._webuiapi    = new WebUIAPI(this._config);
     this._prowl       = new Prowl(this._config.Prowl);
     this._growl       = new Growl(this._config.Growl);
     this._twitter     = new Twitter(this._config.Twitter);
     this._boxcar      = new Boxcar(this._config.Boxcar);
 }