public void Run() { try { MOnSaveBitmap.OnBitmapReady(MFilterBitmap, SaveType.Filter); } catch (Exception e) { Console.WriteLine(e); } }
public void Run() { try { MOnSaveBitmap.OnBitmapReady(MFilterBitmap, SaveType.Filter); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public void OnBitmapReady(Bitmap saveBitmap, SaveType type) { try { Log.Error("NiceArtEditorView", "saveFilter: " + saveBitmap); MImgSource.SetImageBitmap(saveBitmap); MImageFilterView.Visibility = ViewStates.Gone; MOnSaveBitmap.OnBitmapReady(saveBitmap, type); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public void OnBitmapReady(Bitmap saveBitmap, SaveType type) { try { Log.Error("NiceArtEditorView", "saveFilter: " + saveBitmap); MImgSource.SetImageBitmap(saveBitmap); MImageFilterView.Visibility = ViewStates.Gone; MOnSaveBitmap.OnBitmapReady(saveBitmap, type); } catch (Exception e) { Console.WriteLine(e); } }
public async void SaveFilter(INiceArt.IOnSaveBitmap onSaveBitmap) { try { MOnSaveBitmap = onSaveBitmap; if (MImageFilterView.Visibility == ViewStates.Visible) { await MImageFilterView.SaveBitmap(this); } else { onSaveBitmap.OnBitmapReady(MImgSource.GetBitmap(), SaveType.Normal); } } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public async void SaveFilter(INiceArt.IOnSaveBitmap onSaveBitmap) { try { MOnSaveBitmap = onSaveBitmap; if (MImageFilterView.Visibility == ViewStates.Visible) { await MImageFilterView.SaveBitmap(this); } else { onSaveBitmap.OnBitmapReady(MImgSource.GetBitmap(), SaveType.Normal); } } catch (Exception e) { Console.WriteLine(e); } }