Esempio n. 1
0
        public ShareTaskWorker( DropBoxController dropboxController,ProxyServerController proxyServerController)
        {
            this.DropboxController = dropboxController;
            this.ProxyServerController = proxyServerController;

            this.ShareWorker = new BackgroundWorker();
            this.ShareWorker.DoWork += new DoWorkEventHandler( ShareWorker_DoWork );
            this.ShareWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler( ShareWorker_RunWorkerCompleted );
            this.ShareWorker.WorkerReportsProgress = true;
            this.ShareWorker.WorkerSupportsCancellation = true;
        }
Esempio n. 2
0
 private void Init_ProxyServerController()
 {
     log.Info("Initializing Proxy Server Controller");
     proxyServerController = new ProxyServerController( this.dropBoxController.Email );
 }
Esempio n. 3
0
 private void Init_ProxyServerController()
 {
     log.Info("Initializing Proxy Server Controller");
     proxyServerController = new ProxyServerController(this.dropBoxController.Email);
 }