Exemple #1
0
 public void InitiateConfiguration(Control container, string configuration)
 {
     config   = FTPConfig.Load(configuration);
     gui      = new FTPConfigSelector(config);
     gui.Dock = DockStyle.Fill;
     gui.btnTestSettings.Click += btnTestSettings_Click;
     container.Controls.Add(gui);
 }
Exemple #2
0
 public IBackupTarget Prepare(string configuration)
 {
     return(new FTPTarget {
         config = FTPConfig.Load(configuration)
     });
 }