!重构代码

This commit is contained in:
WMJ
2024-06-21 14:58:07 +08:00
parent 96162b33a4
commit 3721f282da
3 changed files with 18 additions and 14 deletions
-14
View File
@@ -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; }
}
}
+17
View File
@@ -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; }
}
}
+1
View File
@@ -94,6 +94,7 @@
<DependentUpon>Configuration.resx</DependentUpon>
</Compile>
<Compile Include="Commands.cs" />
<Compile Include="Functions\Editor\IEditView.cs" />
<Compile Include="Functions\PatcherOptionsControl.cs">
<SubType>UserControl</SubType>
</Compile>