Ejemplo n.º 1
0
 public FtpTime(ParoleManager paroleManagerS, String videoFilePathS, String folderForReceiveS)
 {
     paroleManager    = paroleManagerS;
     videoFilePath    = videoFilePathS;
     folderForReceive = folderForReceiveS;
     ZipMode          = true;
 }
Ejemplo n.º 2
0
 public FtpTime(ParoleManager paroleManagerS, String videoFilePathS, String folderForReceiveS)
 {
     paroleManager = paroleManagerS;
     videoFilePath = videoFilePathS;
     folderForReceive = folderForReceiveS;
     ZipMode = true;
 }
Ejemplo n.º 3
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);*/
        }
Ejemplo n.º 4
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);*/
        }
Ejemplo n.º 5
0
        public mainForm()
        {
            //
            // Required for Windows Form Designer support
            //

            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //

            paroleManager = new ParoleManager();

            //gestion des events
            paroleManager.onCurrentLineChangedEvent += new System.EventHandler(this.displayCurrentLine);
            paroleManager.onCurrentLineActiveChangedEvent += new System.EventHandler(this.displayCurrentLineActive);
            paroleManager.onFrameChangedEvent += new System.EventHandler(this.displayAllFrames);
            paroleManager.onFrameFileChangedEvent += new System.EventHandler(this.displayFrameFile);
            paroleManager.onLyricFileChangedEvent += new System.EventHandler(this.displayLyricFile);
            paroleManager.onToyundaFileChangedEvent += new System.EventHandler(this.displayToyundFile);
            paroleManager.onColorChangedEvent += new System.EventHandler(this.displayColor);
            paroleManager.init(//this.frameRichTextBox, //this.parolesText,
                //this.frameFileText,
                //this.paroleFileTextBox,
                //this.toyundaFileText,
                //wavPanel,
                //lineText,
                //sylText,
                //prevColorPanel,
              //duringColorPanel,
              //afterColorPanel
              );

            generateurManager = new GenerateurManager(this.console, this.consoleErreur);
            List<Generateur> generateurList = generateurManager.getGeneratorList();
            generateurComboBox.Items.Clear();
            videoFilepath = "";
            for (int i = 0; i < generateurList.Count; ++i)
            {

                generateurComboBox.Items.Add(generateurList[i].getDisplay());
                if (i == 0)
                {
                    generateurComboBox.SelectedIndex = 0;
                }
            }
            encodeur = new Encodeur();
            running = false;
            infoTime = new selectName.Info("", "", 0, "", "", "");
            frameChanged = false;
            this.selectNameForm = null;
        }