SynchronizeBackupConfiguration() { CopyOperation co = configuration.CopyGroupInstance.CopyOperation; TargetCollection tc = co.Targets; tbSourcePath.Text = co.Source.Location; foreach (KeyValuePair <string, Target> t in tc.Targets) { lbTargets.Items.Add(t.Key); } cbIntervalUnit.SelectedIndex = (int)co.ScheduledFor.TimeUnitOfSchedule; tbInterval.Text = co.ScheduledFor.ScheduleString; }
CopyGroup() { copyOperation = new CopyOperation(); }