private async void InkPresenter_StrokesCollected(InkPresenter sender, InkStrokesCollectedEventArgs args) { try { InputReady?.Invoke(this, await MnistHelper.GetHandWrittenImageAsync(inkGrid)); } catch (Exception ex) { PageService?.ShowNotification(ex.Message); } }
private async void InkPresenter_StrokesCollected(InkPresenter sender, InkStrokesCollectedEventArgs args) { InputReady?.Invoke(this, await MnistHelper.GetHandWrittenImageAsync(inkGrid)); }