From 6462a029419c42439f0d4903f0a5876f3492dd42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A3=8A?= Date: Wed, 20 Apr 2022 00:24:03 +0800 Subject: [PATCH 01/18] =?UTF-8?q?=E6=96=B0=E7=89=88=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=8C=BA=E8=AE=BE=E7=BD=AE=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TextLocator/AreaEditWindow.xaml | 40 +++ TextLocator/AreaEditWindow.xaml.cs | 189 ++++++++++++++ TextLocator/AreaInfoItem.xaml | 27 ++ TextLocator/AreaInfoItem.xaml.cs | 61 +++++ TextLocator/AreaWindow.xaml | 88 ++++--- TextLocator/AreaWindow.xaml.cs | 270 +++++++++---------- TextLocator/Core/AppConst.cs | 4 + TextLocator/Entity/AreaInfo.cs | 32 +++ TextLocator/FileInfoItem.xaml.cs | 12 + TextLocator/FolderInfoItem.xaml | 10 +- TextLocator/HotkeyWindow.xaml | 2 +- TextLocator/Index/IndexCore.cs | 140 ++++++---- TextLocator/MainWindow.xaml | 14 +- TextLocator/MainWindow.xaml.cs | 346 +++++++++++++++---------- TextLocator/Properties/AssemblyInfo.cs | 4 +- TextLocator/Service/PdfFileService.cs | 4 +- TextLocator/SettingWindow.xaml | 14 +- TextLocator/SettingWindow.xaml.cs | 7 + TextLocator/TextLocator.csproj | 16 ++ TextLocator/Util/AppUtil.cs | 38 ++- TextLocator/Util/AreaUtil.cs | 199 ++++++++++++++ 21 files changed, 1143 insertions(+), 374 deletions(-) create mode 100644 TextLocator/AreaEditWindow.xaml create mode 100644 TextLocator/AreaEditWindow.xaml.cs create mode 100644 TextLocator/AreaInfoItem.xaml create mode 100644 TextLocator/AreaInfoItem.xaml.cs create mode 100644 TextLocator/Entity/AreaInfo.cs create mode 100644 TextLocator/Util/AreaUtil.cs diff --git a/TextLocator/AreaEditWindow.xaml b/TextLocator/AreaEditWindow.xaml new file mode 100644 index 0000000..97c3a2b --- /dev/null +++ b/TextLocator/AreaEditWindow.xaml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + +