private void ErrorHappened(object sender, EventArgs e) { LastError = e as AVSOfficeEWSEditor.Editor.Events.ErrorDescription; if (LastError != null) { AllHappenedErrors.Add(LastError); } }
public void Reset() { AllHappenedErrors.Clear(); LastError = null; }