コード例 #1
0
        public void Save(Image curentImage)
        {
            SaveFileDialogWrapper saveDialog = new SaveFileDialogWrapper();
            string fileName = saveDialog.Save();

            if (!string.IsNullOrEmpty(fileName))
            {
                SaveBitmapByExtension(fileName,
                                      curentImage,
                                      FileExtension.GetImageFormatByFilterIndex(saveDialog.FilterIndex));
            }
        }
コード例 #2
0
ファイル: ImageManger.cs プロジェクト: xs2ranjeet/13ns9-1spr
        public void Save(Image curentImage)
        {
            SaveFileDialogWrapper saveDialog = new SaveFileDialogWrapper();
            string fileName = saveDialog.Save();

            if (!string.IsNullOrEmpty(fileName))
            {
                SaveBitmapByExtension(fileName,
                                 curentImage,
                                 FileExtension.GetImageFormatByFilterIndex(saveDialog.FilterIndex));
            }
        }