예제 #1
0
        public UploadOrganizer()
        {
            uploadProgress = new frmProgress();
            uploadProgress.Show();
            uploadProgress.Hide();

            uploader = new Uploader();

            uploader.UploadStarted += uploader_UploadStarted;
            uploader.UploadFinished += uploader_UploadFinished;
            uploader.UploadProgress += uploader_UploadProgress;

            isRunning = true;

            pipeReaderThread = new Thread(new ThreadStart(PipeReaderThread));
            pipeReaderThread.Start();
        }
예제 #2
0
        public UploadOrganizer()
        {
            uploadProgress = new frmProgress();
            uploadProgress.Show();
            uploadProgress.Hide();

            uploader = new Uploader();

            uploader.UploadStarted  += uploader_UploadStarted;
            uploader.UploadFinished += uploader_UploadFinished;
            uploader.UploadProgress += uploader_UploadProgress;

            isRunning = true;

            pipeReaderThread = new Thread(new ThreadStart(PipeReaderThread));
            pipeReaderThread.Start();
        }