private void ProcessInterface_OnProcessExit(object sender, ProcessEventArgs args) { Cursor.Current = Cursors.Default; updateClickCommand.CanExecuteChanged(); if (args.Code == 0) { return; // Zero return code == SUCCESS } UpdateProcessError.SetError(UpdateCommand, $"Update process FAILED with code {args.Code}"); }
private void ClearErrors() { UpdateProcessError.Clear(); }