Example #1
0
 void Button10_Click(object sender, EventArgs e)
 {
     if (listBox1.SelectedIndex == -1)
     {
         return;
     }
     Forms.SetupScheduledSyncForm f = new Forms.SetupScheduledSyncForm(ManagedDrives[listBox1.SelectedIndex]);
     f.ShowDialog();
     ScheduledSyncs.Add(f.result);
     scheduledSyncsListBox.Items.Add(ManagedDrives[listBox1.SelectedIndex].Name);
 }
Example #2
0
 void Button10_Click(object sender, EventArgs e)
 {
     if (listBox1.SelectedIndex == -1)
         return;
     Forms.SetupScheduledSyncForm f = new Forms.SetupScheduledSyncForm(ManagedDrives[listBox1.SelectedIndex]);
     f.ShowDialog();
     ScheduledSyncs.Add(f.result);
     scheduledSyncsListBox.Items.Add(ManagedDrives[listBox1.SelectedIndex].Name);
 }