private void récupererParFtpToolStripMenuItem_Click(object sender, EventArgs e) { browserDialog.Tag = "Dossier Cible"; if (browserDialog.ShowDialog() == DialogResult.OK) { FtpForm ftpForm = new FtpForm(); ftpForm.setMode(FtpForm.EMode.DOWNLOAD); //todo : ajouter le dossier cible ftpForm.setInfo(this.paroleManager, this.videoFilepath, browserDialog.SelectedPath); ftpForm.Show(); } }
private void envoyerParFtpToolStripMenuItem_Click(object sender, EventArgs e) { //todo voir si on garde if (infoTime.name.Trim().Length == 0) { MessageBox.Show("Impossible d'envoyer un time sans nom"); } else { FtpForm ftpForm = new FtpForm(); ftpForm.setMode(FtpForm.EMode.UPLOAD); //this.Enabled = false; ftpForm.setInfo(this.paroleManager, this.videoFilepath, infoTime.name); ftpForm.Show(); } }
private void envoyerParFtpToolStripMenuItem_Click(object sender, EventArgs e) { //todo voir si on garde if (false && this.timeNameLabel.Text.Trim().CompareTo("") == 0) { MessageBox.Show("Impossible d'envoyer un time sans nom"); } else { FtpForm ftpForm = new FtpForm(); ftpForm.setMode(FtpForm.EMode.UPLOAD); //this.Enabled = false; ftpForm.setInfo(this.paroleManager, this.videoFilepath, null); ftpForm.Show(); } }