Exemplo n.º 1
0
        private void bw_upload_DoWork(object sender, DoWorkEventArgs e)
        {
            for (int i = 0; i < nNewFilesCount; i++)
            {
                bw_upload.ReportProgress(i + 1);

                ServerPaths[i] = oFTP.UploadFile(oFile.Path[i], oFile.Path[i].Split('\\').Last(), oFile.Group[i], oHopdong.Ma_Tuyen_Dung);
                Thread.Sleep(100);
            }
        }
Exemplo n.º 2
0
        private void bw_upload_DoWork(object sender, DoWorkEventArgs e)
        {
            for (int i = 0; i < nNewFilesCount; i++)
            {
                bw_upload.ReportProgress(i + 1);

                ServerPaths[i] = oFTP.UploadFile(oFile.Path[i], oFile.Path[i].Split('\\').Last(), oFile.Group[i], thongTinQuyetDinh1.txt_MaQD.Text);
                Thread.Sleep(100);
            }
        }