public void OnCancel() { try { App.UpdateLoading(true); HandleCancel?.Invoke(); } catch (Exception e) { // ignored } finally { App.UpdateLoading(false); } }
public void OnCancel() { HandleCancel?.Invoke(); }
private async Task HandleCloseDiaglog(MouseEventArgs e) { Visiable = false; await HandleCancel.InvokeAsync(e); }