Ejemplo n.º 1
0
 /// <summary>
 /// Synchronizes the path of the Explorer Tool Window with
 /// the path of this document.
 /// </summary>
 private void OnSyncPathToExplorerCommand()
 {
     try
     {
         DocumentEvent?.Invoke(this, new FileBaseEvent(FileEventType.AdjustCurrentPath));
     }
     catch
     {
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// This method is executed to tell the surrounding framework to close the document.
 /// </summary>
 protected virtual void OnClose()
 {
     DocumentEvent?.Invoke(this, new FileBaseEvent(FileEventType.CloseDocument));
 }