Exemplo n.º 1
0
 protected virtual void OnLoadProgressEvent(OfficeHandlerEventArgs e)
 {
     EventHandler<OfficeHandlerEventArgs> handler = RaiseProgressEvent;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Exemplo n.º 2
0
 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);
     }
 }