Ejemplo n.º 1
0
        //Opens an existing lootbook.
        public void OpenLootBook()
        {
            DataHandler handler = new DataHandler();

            book              = handler.ReadData();
            view_items        = (CollectionView)CollectionViewSource.GetDefaultView(book.lootlist);
            view_items.Filter = LootFilter;
        }
Ejemplo n.º 2
0
 //Creates a new lootbook.
 public void NewLootBook()
 {
     book              = new LootBook();
     view_items        = (CollectionView)CollectionViewSource.GetDefaultView(book.lootlist);
     view_items.Filter = LootFilter;
 }