Files
PDFPatcher/App/Functions/IDocumentEditor.cs
T
2021-12-24 20:35:03 +08:00

25 lines
459 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace PDFPatcher.Functions
{
interface IDocumentEditor
{
event EventHandler<DocumentChangedEventArgs> 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;
}
}
}