public void Save(Image curentImage) { SaveFileDialogWrapper saveDialog = new SaveFileDialogWrapper(); string fileName = saveDialog.Save(); if (!string.IsNullOrEmpty(fileName)) { SaveBitmapByExtension(fileName, curentImage, FileExtension.GetImageFormatByFilterIndex(saveDialog.FilterIndex)); } }