Files
PDFPatcher/App/Functions/IDocumentEditor.cs
T
2022-01-06 09:08:16 +08:00

25 lines
456 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;
}
}
}