Exemple #1
0
        public virtual async void OnBitmapLoaded(Bitmap sourceBitmap)
        {
            try
            {
                await MImageFilterView.SetFilterEffect(PhotoFilter.None);

                MImageFilterView.SetSourceBitmap(sourceBitmap);
                Log.Debug("NiceArtEditorView", "onBitmapLoaded() called with: sourceBitmap = [" + sourceBitmap + "]");
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        public virtual async void OnBitmapLoaded(Bitmap sourceBitmap)
        {
            try
            {
                await MImageFilterView.SetFilterEffect(PhotoFilter.None);

                MImageFilterView.SetSourceBitmap(sourceBitmap);
                Log.Debug("NiceArtEditorView", "onBitmapLoaded() called with: sourceBitmap = [" + sourceBitmap + "]");
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }