From 3721f282da85ceccb4e543fa4670b66fbe332096 Mon Sep 17 00:00:00 2001 From: WMJ Date: Fri, 21 Jun 2024 14:58:07 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=81=E9=87=8D=E6=9E=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Functions/Editor/EditModel.cs | 14 -------------- App/Functions/Editor/IEditView.cs | 17 +++++++++++++++++ App/PDFPatcher.csproj | 1 + 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 App/Functions/Editor/IEditView.cs diff --git a/App/Functions/Editor/EditModel.cs b/App/Functions/Editor/EditModel.cs index 1d8a90f..aa111c2 100644 --- a/App/Functions/Editor/EditModel.cs +++ b/App/Functions/Editor/EditModel.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using System.IO; -using System.Windows.Forms; using PDFPatcher.Common; using PDFPatcher.Model; using PDFPatcher.Processor; @@ -87,17 +86,4 @@ namespace PDFPatcher.Functions.Editor } } - internal interface IEditView - { - bool AffectsDescendantBookmarks { get; } - ToolStripSplitButton UndoButton { get; } - AutoBookmarkForm AutoBookmark { get; } - BookmarkEditorView Bookmark { get; } - PdfViewerControl Viewer { get; } - ToolStrip ViewerToolbar { get; } - ToolStrip BookmarkToolbar { get; } - SplitContainer MainPanel { get; } - string DocumentPath { get; set; } - } - } \ No newline at end of file diff --git a/App/Functions/Editor/IEditView.cs b/App/Functions/Editor/IEditView.cs new file mode 100644 index 0000000..1093693 --- /dev/null +++ b/App/Functions/Editor/IEditView.cs @@ -0,0 +1,17 @@ +using System.Windows.Forms; + +namespace PDFPatcher.Functions.Editor +{ + internal interface IEditView + { + bool AffectsDescendantBookmarks { get; } + ToolStripSplitButton UndoButton { get; } + AutoBookmarkForm AutoBookmark { get; } + BookmarkEditorView Bookmark { get; } + PdfViewerControl Viewer { get; } + ToolStrip ViewerToolbar { get; } + ToolStrip BookmarkToolbar { get; } + SplitContainer MainPanel { get; } + string DocumentPath { get; set; } + } +} \ No newline at end of file diff --git a/App/PDFPatcher.csproj b/App/PDFPatcher.csproj index 52c7edc..db17c72 100644 --- a/App/PDFPatcher.csproj +++ b/App/PDFPatcher.csproj @@ -94,6 +94,7 @@ Configuration.resx + UserControl