Exemple #1
0
 private void selectFoldersOnlyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.DeSelectAll();
     for (int i = 0; i < this.checkedListBox1.Items.Count; i++)
     {
         MainForm.TagInfo cb = this.checkedListBox1.Items[i] as MainForm.TagInfo;
         if (cb.Type == "Delete_Folder")
         {
             this.checkedListBox1.SetItemChecked(i, true);
         }
     }
 }
Exemple #2
0
 private void selectBooksOnlyToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.DeSelectAll();
     for (int i = 0; i < this.checkedListBox1.Items.Count; i++)
     {
         MainForm.TagInfo cb = this.checkedListBox1.Items[i] as MainForm.TagInfo;
         if ((cb.Type == "Overwrite_TTL") || (cb.Type == "Save_TTL") ||
             (cb.Type == "Copy_TTL"))
         {
             this.checkedListBox1.SetItemChecked(i, true);
         }
     }
 }