public void BuildStack(StackPanel stk_items) { var watcher = new Stopwatch(); watcher.Start(); stk_items.Children.Clear(); foreach (VocVM Voc in Filtered_quests.Take(30)) { VocWpfController.AddIntoItems(stk_items, Voc, false); } Footer.Log("Showing " + Filtered_quests.Take(30).Count() + " Vocabulary of a total of " + Filtered_quests.Count() + ". Loaded in " + watcher.Elapsed.TotalSeconds + " seconds."); }
public void BuildStack(StackPanel stk_items) { var watcher = new Stopwatch(); watcher.Start(); stk_items.Children.Clear(); foreach (PronVM Pron in Filtered_quests.Take(30)) { PronWpfController.AddIntoItems(stk_items, Pron, false); } Footer.Log("Showing " + Filtered_quests.Take(30).Count() + " Pronunciation of a total of " + Filtered_quests.Count() + ". Loaded in " + watcher.Elapsed.TotalSeconds + " seconds."); }