Esempio n. 1
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (checkBox1.Checked == true)
     {
         FeedManager.ToggleAutoUpdate(packages.Repo.Source, true);
     }
     else
     {
         FeedManager.ToggleAutoUpdate(packages.Repo.Source, false);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Sets a feed to be used with auto-updating.
 /// </summary>
 /// <typeparam name="ListViewItem"></typeparam>
 /// <param name="item">The feed that should be used for auto updates</param>
 /// <returns></returns>
 private void changeAutoUpdateSetting(ListViewItem item)
 {
     FeedManager.ToggleAutoUpdate(item.SubItems[1].Text, item.Checked);
 }
 private void CheckBox1CheckedChanged(object sender, EventArgs e)
 {
     FeedManager.ToggleAutoUpdate(_packages.Repo.Source, checkBox1.Checked);
 }