using System; using System.Collections.Generic; using System.Text; namespace PDFPatcher.Functions { interface IDocumentEditor { event EventHandler DocumentChanged; string DocumentPath { get; } void CloseDocument(); void Reopen(); } public sealed class DocumentChangedEventArgs : EventArgs { public string Path { get; private set; } internal DocumentChangedEventArgs(string path) { Path = path; } } }