private void OnError(Ddeml.MONERRSTRUCT mon) { var args = new DdemlErrorActivityEventArgs(mon.wLastError, mon.hTask); if (ErrorActivity != null) ErrorActivity(this, args); }
private void OnError(Ddeml.MONERRSTRUCT mon) { var args = new DdemlErrorActivityEventArgs(mon.wLastError, mon.hTask); ErrorActivity?.Invoke(this, args); }