Пример #1
0
        public void setInfo(ParoleManager paroleManagerS, String videoFilePathS, String folderForReceiveS)
        {
            /*if (ftpTime != null)
            {
                ftpTime.onMessage -= new System.EventHandler(this.displayFtpMessage);
                ftpTime.onUpload -= new System.EventHandler(this.displayUploadStep);
                ftpTime.onFinish -= new System.EventHandler(this.displayFinish);
            }*/

            ftpTime = null;
            ftpTime = new FtpTime(paroleManagerS, videoFilePathS, folderForReceiveS);
            /*ftpTime.onMessage += new System.EventHandler(this.displayFtpMessage);
            ftpTime.onUpload += new System.EventHandler(this.displayUploadStep);
            ftpTime.onFinish += new System.EventHandler(this.displayFinish);*/
        }
Пример #2
0
        public void setInfo(ParoleManager paroleManagerS, String videoFilePathS, String folderForReceiveS)
        {
            /*if (ftpTime != null)
             * {
             *  ftpTime.onMessage -= new System.EventHandler(this.displayFtpMessage);
             *  ftpTime.onUpload -= new System.EventHandler(this.displayUploadStep);
             *  ftpTime.onFinish -= new System.EventHandler(this.displayFinish);
             * }*/

            ftpTime = null;
            ftpTime = new FtpTime(paroleManagerS, videoFilePathS, folderForReceiveS);

            /*ftpTime.onMessage += new System.EventHandler(this.displayFtpMessage);
             * ftpTime.onUpload += new System.EventHandler(this.displayUploadStep);
             * ftpTime.onFinish += new System.EventHandler(this.displayFinish);*/
        }