public void Handle(SaveSPDFileEvent e) { var bytes = SPD.GetBytes(); File.WriteAllBytes(e.FilePath, bytes); MessageBox.Show( $"Successfully SPD saved to {e.FilePath}", "Success", MessageBoxButton.OK, MessageBoxImage.Information ); }