protected virtual void OnLoadProgressEvent(OfficeHandlerEventArgs e) { EventHandler<OfficeHandlerEventArgs> handler = RaiseProgressEvent; if (handler != null) { handler(this, e); } }
protected virtual void OnRaiseLoadedEvent(OfficeHandlerEventArgs e) { EventHandler<OfficeHandlerEventArgs> handler = RaiseSuccessEvent; if (handler != null) { e.Message += String.Format(" at {0}", DateTime.Now.ToString()); handler(this, e); } }