public void CleanUp()
 {
     FEvents.AfterChangeClientFileHeaderProperty = null;
     FEvents.AfterClientFileNameChange           = null;
     FEvents.AfterClientFileSave         = null;
     FEvents.AfterCurrentDocumentChange  = null;
     FEvents.AfterDocumentAdd            = null;
     FEvents.AfterDocumentRemove         = null;
     FEvents.BeforeClientFileNameChange  = null;
     FEvents.BeforeClientFileSave        = null;
     FEvents.BeforeCurrentDocumentChange = null;
     FEvents.BeforeDocumentAdd           = null;
     FEvents.BeforeDocumentRemove        = null;
     FEvents.BeforeReturnStatusChange    = null;
     FEvents = null;
 }
 public void Init()
 {
     FEvents = (IAppClientFileEventsService)TestHost.CurrentInstance.AppInstance;
 }