public void UnloadPreview() { PreviewStatusText = "Preview is not loaded."; if (currentHandler == null) { return; } currentHandler.UnloadPreview(); currentHandler = null; }