コード例 #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();
        }