private void AssetBrowserDocument_IsActiveChanged(object sender, EventArgs e) { if (!AssetBrowserDocument.IsActive) { ThumbnailCache.Write(true); } }
private void Window_Unloaded(object sender, RoutedEventArgs e) { ThumbnailCache.Write(true); }