private EmptyCacheClick ( object sender, |
||
sender | object | |
e | ||
return | void |
private void EmptyCacheClick(object sender, RoutedEventArgs e)
{
MessageBoxResult result = MessageBox.Show("Are you sure you want to empty the cache folder?",
"Please confirm...", MessageBoxButton.YesNo, MessageBoxImage.Question);
if (result == MessageBoxResult.Yes)
{
_presenter.EmptyCacheDirectory(Preferences.CacheLocation);
SetCacheSize();
}
}