Пример #1
0
 void AppendItem(IndexInfo item)
 {
     listView1.Items.Add(new ListViewItem(new string[] { item.Path, item.Text.Length + " symbols" })
     {
         Tag = item
     });
 }
Пример #2
0
 public static void AddIndex(IndexInfo ii)
 {
     if (Indexes.Any(z => z.Path == ii.Path))
     {
         return;
     }
     Indexes.Add(ii);
     if (IndexAdded != null)
     {
         IndexAdded(ii);
     }
 }
Пример #3
0
 private void Stuff_IndexAdded(IndexInfo obj)
 {
     AppendItem(obj);
 }