private void MWindow_SizeChanged(object sender, SizeChangedEventArgs e) { if (loaded) { Filterer.resizeLists(); } }
private void refreshDisplay() { int[] selected = getSelectedIndexes(myGrid); myGrid.Children.Clear(); TabControl masterControl = Filterer.Display(); setSelectedIndexes(selected, masterControl); myGrid.Children.Add(masterControl); Filterer.resizeLists(); countLabel.Content = Files.Language["count01"] + Filterer.ItemsCount + "/" + Filterer.ItemsTotal + " (" + (((double)Filterer.ItemsCount) / Filterer.ItemsTotal * 100).ToString("N2") + "%)"; }