public static void AddWpfItem(StackPanel stk_items, IQuest vm)
 {
     if (vm.Type == Model.Voc)
     {
         VocWpfController.AddIntoItems(stk_items, vm as VocVM, true);
     }
     else if (vm.Type == Model.Pron)
     {
         PronWpfController.AddIntoItems(stk_items, vm as PronVM, true);
     }
     else if (vm.Type == Model.Spell)
     {
         SpellWpfController.AddIntoItems(stk_items, vm as SpellVM, true);
     }
 }
        private static void UpdateWpfItem(StackPanel item_line, IQuest vm)
        {
            item_line.Children.Clear();

            if (vm.Type == Model.Voc)
            {
                VocWpfController.AddIntoThis(vm as VocVM, item_line);
            }
            else if (vm.Type == Model.Pron)
            {
                PronWpfController.AddIntoThis(vm as PronVM, item_line);
            }
            else if (vm.Type == Model.Spell)
            {
                SpellWpfController.AddIntoThis(vm as SpellVM, item_line);
            }
        }