private void ExecutedMemoryStatisticsCommand(object sender, ExecutedRoutedEventArgs e)
 {
     MemoryStatistics.AddOrRemove();
     MemoryStatMenuItem.IsChecked = MemoryStatistics.IsEnabled;
 }
 private void ExecutedMemoryStatistics(object sender, ExecutedRoutedEventArgs e)
 {
     MemoryStatistics.AddOrRemove();
     IsMemoryStatEnabled = MemoryStatistics.IsEnabled;
 }