mirror of
https://github.com/wmjordan/PDFPatcher.git
synced 2026-10-17 04:41:14 +08:00
!重构代码
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user