代码恢复

CHL
Miyu Kawaii 1 year ago
parent 1f37599eab
commit cbdb281c98

@ -0,0 +1,13 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/modules.xml
/projectSettingsUpdater.xml
/.idea.WpfApp2.iml
/contentModel.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
</component>
</project>

Binary file not shown.

Binary file not shown.

@ -0,0 +1,9 @@
<Application x:Class="WpfApp2.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WpfApp2"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

@ -0,0 +1,11 @@
using System.Windows;
namespace WpfApp2
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}

@ -0,0 +1,10 @@
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

@ -0,0 +1,267 @@
<Window x:Class="WpfApp2.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfApp2"
Closed="Window_Closed"
mc:Ignorable="d"
Title="636software" Height="960" Width="1440">
<Grid ShowGridLines="False">
<Grid.RowDefinitions>
<RowDefinition Height="20"></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition Height="20"></RowDefinition>
</Grid.RowDefinitions>
<Menu
Width="{Binding ActualWidth, ElementName=window, Mode=OneWay}"
Margin="0,0,0,0"
Grid.RowSpan="1"
BorderBrush="Black"
TextBlock.TextAlignment="Center">
<MenuItem
StaysOpenOnClick="True"
Header=" 文件"
Height="20"
Width="50"
Name="文件"
BorderBrush="Gray">
<MenuItem Header="打开" Click="openFile_Click" Name="open"/>
<MenuItem Header="保存" Click="save_Click" Name="save"/>
<MenuItem Header="另存为" Click="saveTo_Click" Name="saveTo"/>
</MenuItem>
<MenuItem
Header=" 编辑"
Height="20" Width="50"
Name="编辑"
BorderBrush="Gray" HorizontalAlignment="Center" VerticalAlignment="Center">
<MenuItem Header="查找"/>
<MenuItem Header="替换"/>
<MenuItem Header="翻译加载的文件" Click="Translate_Click"/>
</MenuItem>
<MenuItem
Header=" 解包"
Height="20"
Width="50"
Name="解包"
BorderBrush="Gray">
<MenuItem Header="开始解包"/>
<MenuItem Header="开始封包"/>
</MenuItem>
<MenuItem
Header=" 设置"
Height="20"
Width="50"
Name="设置"
BorderBrush="Gray">
<MenuItem Header="选择翻译接口" Click="TransSourceSelectWnd_loaded"/>
<MenuItem Header="选择私有翻译接口" Click="TransSourceSelectPri"/>
<MenuItem Header="写入私有翻译接口" Click="TransSourceInWindow"/>
</MenuItem>
<MenuItem
Header=" 预览"
Height="20"
Width="50"
Name="预览"
BorderBrush="Gray">
<MenuItem Header="开始加载字幕翻译" Click="Hook_trans"/>
<MenuItem Header="开始外挂字幕翻译" Click="PrograssSelectWnd_loaded"/>
</MenuItem>
</Menu>
<Grid Name="Resource" Grid.RowSpan="2">
<Grid.RowDefinitions>
<RowDefinition Height="20"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50*"></ColumnDefinition>
<ColumnDefinition Width="119*"></ColumnDefinition>
<ColumnDefinition Width="119*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid
ShowGridLines="False"
Grid.ColumnSpan="1"
Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<TreeView Background="AliceBlue"
x:Name="ExplorerTreeView"
MouseDoubleClick="TreeViewItem_DoubleClick"
BorderBrush="Black"
Loaded="TreeView_Loaded"
Grid.Row="0" Grid.RowSpan="2">
<TreeView.ItemTemplate>
<HierarchicalDataTemplate x:Name="CurrentPath" ItemsSource="{Binding Children}">
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Name}" Margin="0,0,0,0"/>
</StackPanel>
</HierarchicalDataTemplate>
</TreeView.ItemTemplate>
<TreeView.ItemContainerStyle>
<Style TargetType="{x:Type TreeViewItem}">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Padding" Value="1,2"/>
<Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
<Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type TreeViewItem}">
<Border x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" SnapsToDevicePixels="True">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<ToggleButton x:Name="Expander" ClickMode="Press" IsChecked="{Binding IsExpanded, RelativeSource={RelativeSource TemplatedParent}}">
<ToggleButton.Style>
<Style TargetType="{x:Type ToggleButton}">
<Setter Property="Focusable" Value="False"/>
<Setter Property="Width" Value="16"/>
<Setter Property="Height" Value="16"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ToggleButton}">
<Border Background="Transparent" Height="16" Padding="5,5,5,5" Width="16">
<Path x:Name="ExpandPath" Data="M0,0 L0,6 L6,0 z" Fill="Black" HorizontalAlignment="Center" Margin="1,1,1,1" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsChecked" Value="True">
<Setter Property="Data" TargetName="ExpandPath" Value="M0,6 L6,6 L0,0 z"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ToggleButton.Style>
</ToggleButton>
<ContentPresenter x:Name="PART_Header" ContentSource="Header" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
<ItemsPresenter x:Name="ItemsHost" Grid.Column="1" Grid.Row="1"/>
</Grid>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsExpanded" Value="False">
<Setter Property="Visibility" TargetName="ItemsHost" Value="Collapsed"/>
</Trigger>
<Trigger Property="HasItems" Value="False">
<Setter Property="Visibility" TargetName="Expander" Value="Hidden"/>
</Trigger>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Background" Value="Blue"/>
<Setter Property="Foreground" Value="White"/>
</Trigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="HasHeader" Value="False"/>
<Condition Property="Width" Value="Auto"/>
</MultiTrigger.Conditions>
<Setter Property="MinWidth" Value="75"/>
</MultiTrigger>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition Property="HasHeader" Value="False"/>
<Condition Property="Height" Value="Auto"/>
</MultiTrigger.Conditions>
<Setter Property="MinHeight" Value="19"/>
</MultiTrigger>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</TreeView.ItemContainerStyle>
</TreeView>
</Grid>
<Grid Name="TextPreview" Grid.Row="1" Grid.ColumnSpan="2" Grid.Column="1" Height="Auto">
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<ListView Width="{Binding Width,ElementName=InputList,Mode=OneWay}"
x:Name="InputList"
Grid.Row="1"
Grid.Column="0"
AlternationCount="2"
ScrollViewer.VerticalScrollBarVisibility="Hidden"
ScrollViewer.ScrollChanged="MainWindow_Loaded">
<ListView.View>
<GridView>
<GridViewColumn DisplayMemberBinding="{Binding Path=name}" Header="name" Width="40"/>
<GridViewColumn DisplayMemberBinding="{Binding Path=message}" Header="message" Width="550"/>
</GridView>
</ListView.View>
<ListView.ItemContainerStyle>
<Style TargetType="{x:Type ListViewItem}">
<Setter Property="Height" Value="20"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListViewItem}">
<Border BorderBrush="Gray" BorderThickness="0,0,0,1" Background="{TemplateBinding Background}">
<StackPanel>
<GridViewRowPresenter Content="{TemplateBinding Content}" Columns="{TemplateBinding GridView.ColumnCollection}"/>
</StackPanel>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ListView.ItemContainerStyle>
</ListView>
<ListView Width="{Binding Width, ElementName=Outpulist,Mode=OneWay}"
x:Name="Outpulist"
Grid.Row="1"
Grid.Column="2"
AlternationCount="2"
ScrollViewer.ScrollChanged="MainWindow_Loaded">
<ListView.View>
<GridView>
<GridViewColumn DisplayMemberBinding="{Binding Path=name}" Header="name" Width="40"/>
<GridViewColumn x:Name="messageEditBox" Header="message" Width="550">
<GridViewColumn.CellTemplate>
<DataTemplate>
<TextBox Text="{Binding Path=message}"
Width="{Binding ActualWidth,ElementName=Outpulist,Mode=OneWay}"
BorderBrush="#0000"
Visibility="Visible"
TextChanged="TextBox_TextChanged"/>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
</GridView>
</ListView.View>
<ListView.ItemContainerStyle>
<Style TargetType="{x:Type ListViewItem}">
<Setter Property="Height" Value="20"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListViewItem}">
<Border BorderBrush="Gray" BorderThickness="0,0,0,1" Background="{TemplateBinding Background}">
<GridViewRowPresenter Content="{TemplateBinding Content}" Columns="{TemplateBinding GridView.ColumnCollection}"/>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ListView.ItemContainerStyle>
</ListView>
</Grid>
</Grid>
<StatusBar Grid.Row="2">
<TextBlock HorizontalAlignment="Right" Text="当前翻译接口为:"/>
<TextBlock HorizontalAlignment="Right" Text="{Binding Apiname}" />
</StatusBar>
</Grid>
</Window>

@ -0,0 +1,225 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Media;
using WpfApp2.model;
using WpfApp2.tools;
using WpfApp2.view;
using WpfApp2.viewModel;
namespace WpfApp2
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
private AllClassAndInterfaceWellBeManipulatedInThisFileAndCallThroughFunction a = new();
private List<Charactor> chara = new();
private List<Charactor> outPut = new();
private EditorViewModel editorViewModel = new();
private string JSONstring;
private string OutPut;
public MainWindow()
{
InitializeComponent();
}
//鼠标双击事件
private void TreeViewItem_DoubleClick(Object sender, MouseButtonEventArgs e)
{
System.Windows.Controls.TreeView item = e.Source as System.Windows.Controls.TreeView;
var sourceObject = item.SelectedItem as FileItem;
if (sourceObject.IsDirectory != true)
{
JSONstring = File.ReadAllText(sourceObject.path);
List<Charactor> chara = JsonConvert.DeserializeObject<List<Charactor>>(JSONstring);
InputList.ItemsSource = (System.Collections.IEnumerable)chara;
}
else
{
ExplorerTreeView.ItemsSource = CreateFileList(sourceObject.path);
}
}
private void TreeView_Loaded(object sender, RoutedEventArgs e)
{
ExplorerTreeView.Items.Clear();
var path = @"E:\Works\software636\src\WpfApp2\WpfApp2\SourceFile";
var rootNode = CreateFileList(path);
ExplorerTreeView.ItemsSource = rootNode;
}
//创建模板类利用listgetset实现文件列表的读取
public static ObservableCollection<FileItem> CreateFileList(string path)
{
var directories = Directory.GetDirectories(path);
var fileItemList = new ObservableCollection<FileItem>();
var files = Directory.GetFiles(path);
FileItem parentItem = new FileItem()
{
Name = "..",
path = Directory.GetParent(path).FullName,
IsDirectory = true,
Children = new ObservableCollection<FileItem>()
};
fileItemList.Add(parentItem);
foreach (var item in directories)
{
FileItem fileItem = new FileItem()
{
Name = System.IO.Path.GetFileName(item),
path = item,
IsDirectory = true,
Children = new ObservableCollection<FileItem>()
};
fileItemList.Add(fileItem);
}
foreach (var item in files)
{
if (System.IO.Path.GetExtension(item) == ".json")
{
FileItem fileItem = new FileItem()
{
Name = System.IO.Path.GetFileNameWithoutExtension(item) + System.IO.Path.GetExtension(item),
path = item,
IsDirectory = false,
};
fileItemList.Add(fileItem);
}
}
return fileItemList;
}
ScrollViewer sv1;
ScrollViewer sv2;
void MainWindow_Loaded(object sender, RoutedEventArgs e)
{
sv1 = VisualTreeHelper.GetChild(VisualTreeHelper.GetChild(this.InputList, 0), 0) as ScrollViewer;
sv2 = VisualTreeHelper.GetChild(VisualTreeHelper.GetChild(this.Outpulist, 0), 0) as ScrollViewer;
sv1.ScrollChanged += new ScrollChangedEventHandler(sv1_ScrollChanged);
sv2.ScrollChanged += new ScrollChangedEventHandler(sv2_ScrollChanged);
}
void sv1_ScrollChanged(object sender, ScrollChangedEventArgs e)
{
sv2.ScrollToVerticalOffset(sv1.VerticalOffset);
}
void sv2_ScrollChanged(object sender, ScrollChangedEventArgs e)
{
sv1.ScrollToVerticalOffset(sv2.VerticalOffset);
}
void tempTranslationVoid(List<Charactor> charactor)
{
string JSONstring2 = File.ReadAllText(FileItem.jsonPath);
List<Charactor> chara2 = JsonConvert.DeserializeObject<List<Charactor>>(JSONstring2);
Outpulist.ItemsSource = (System.Collections.IEnumerable)chara2;
}
private void TransSourceSelectWnd_loaded(object sender, RoutedEventArgs e)
{
var window = new TranslationSourceSelect();
window.ShowDialog();
}
private void PrograssSelectWnd_loaded(object sender, RoutedEventArgs e)
{
var window = new TranslationText();
window.Show();
}
private void Hook_trans(object sender, RoutedEventArgs e)
{
var window = new ProgressSelect();
window.Show();
}
private void TransSourceInWindow(object sender, RoutedEventArgs e)
{
var window = new TransSourceInWindow();
window.ShowDialog();
}
private void TransSourceSelectPri(object sender, RoutedEventArgs e)
{
var windows = new TransSourceSelectPri();
windows.ShowDialog();
}
private void Translate_Click(object sender, RoutedEventArgs e)
{
chara = JsonConvert.DeserializeObject<List<Charactor>>(JSONstring);
List<string> temp = new();
foreach (Charactor cha in chara)
{
temp.Add(cha.message);
}
string c = String.Join("\r", temp);
string result = a.NetBaiDu(c, chara);
outPut = JsonConvert.DeserializeObject<List<Charactor>>(result);
Outpulist.ItemsSource = outPut;
editorViewModel.charactors = outPut;
editorViewModel.SaveJsonToFile("E:\\Works\\software636\\src\\WpfApp2\\WpfApp2\\OutputFile\\testOutput.json", editorViewModel.charactors);
}
private async void TextBox_TextChanged(object sender, TextChangedEventArgs e)
{
await Task.Delay(1000);
System.Windows.Controls.TextBox textBox = (System.Windows.Controls.TextBox)sender;
int lineIndex = textBox.GetLineIndexFromCharacterIndex(textBox.CaretIndex);
outPut[lineIndex].message = textBox.Text;
editorViewModel.charactors = outPut;
editorViewModel.SaveJsonToFile("E:\\Works\\software636\\src\\WpfApp2\\WpfApp2\\OutputFile\\testOutput.json", editorViewModel.charactors);
}
private void openFile_Click(object sender, RoutedEventArgs e)
{
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Filter = "json文件|*.json";
if (openFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
JSONstring = File.ReadAllText(openFileDialog.FileName);
chara = JsonConvert.DeserializeObject<List<Charactor>>(JSONstring);
InputList.ItemsSource = chara;
}
}
private void save_Click(object sender, RoutedEventArgs e)
{
editorViewModel.charactors = outPut;
editorViewModel.SaveJsonToFile("E:\\Works\\software636\\src\\WpfApp2\\WpfApp2\\OutputFile\\testOutput.json", editorViewModel.charactors);
}
private void saveTo_Click(object sender, RoutedEventArgs e)
{
editorViewModel.charactors = outPut;
OutPut = JsonConvert.SerializeObject(outPut);
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.Filter = "JSON文件|*.json";
if (saveFileDialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
if (saveFileDialog.FileName != "")
{
FileStream fs = (FileStream)saveFileDialog.OpenFile();
byte[] gein = Encoding.UTF8.GetBytes(OutPut);
fs.Write(gein, 0, gein.Length);
fs.Close();
}
}
}
private void Window_Closed(object sender, EventArgs e)
{
System.Windows.Application.Current.Shutdown();
}
}
}

@ -0,0 +1 @@
[{"name":"将臣","message":"“……”"},{"name":null,"message":"按照紫蝶的话,决定吹夜风。"},{"name":null,"message":"话虽如此,也不是没有目的的夜晚散步。"},{"name":"将臣","message":"“——呼。”"},{"name":null,"message":"一边笔直地挥下竹刀,一边吸引左脚。"},{"name":null,"message":"突然停住的竹刀。另外,笔直地举起,把吸引的左脚向后下降。"},{"name":"将臣","message":"“——呼。”"},{"name":null,"message":"然后再次挥动竹刀的同时,这次右脚下降。"},{"name":null,"message":"就这样一直保持着正面的姿态,脑子里却一直在想事情。"},{"name":"将臣","message":"“回去了……不回去了……回去了……不回去了。”"},{"name":null,"message":"每次挥下竹刀,都会说出那样的话。"},{"name":null,"message":"话虽如此,因为不是花占卜,所以也不是有确切的结束。"},{"name":null,"message":"一想到这一点,手臂的动作自然地变得缓慢了。"},{"name":"将臣","message":"“……嗯……”"},{"name":null,"message":"并不是什么让人烦恼的事。"},{"name":"将臣","message":"“结果,我想怎么做,就这样而已。”"},{"name":null,"message":"如果你想回到适合居住的街道就回去。"},{"name":null,"message":"也不是再也回不来了。祖父和廉太郎们也在。"},{"name":null,"message":"只要想来,马上就能再来。"},{"name":null,"message":"相反,如果你想在这里多待一会儿,那也就说出来就好了。"},{"name":null,"message":"也可以在旅馆和廉太郎家受到照顾吧。"},{"name":null,"message":"应该不会有那么讨厌的表情……大概吧。"},{"name":null,"message":"所以,只要给出答案……。"},{"name":"将臣","message":"“像这样烦恼的话……应该是想留下来吧。”"},{"name":null,"message":"为什么胸口不舒服呢?"},{"name":null,"message":"有什么东西卡住了,怎么也做不到,很恶心……。"},{"name":"将臣","message":"“不能断言留下来,这是最好的理由吧……?”"},{"name":"将臣","message":"“光是明白了这一点就值得挥动竹刀吗?”"},{"name":null,"message":"运动很好,差不多该回房间了吧。"},{"name":"将臣","message":"“……话说回来,里面还有灯。”"},{"name":null,"message":"也许连那样的事情都没注意到,视野变得狭窄了。"},{"name":"将臣","message":"“有人在吗?”"},{"name":null,"message":"进去一看,那里有一个意外的身影。"},{"name":null,"message":"以认真的表情跳舞的朝武先生的身姿。"},{"name":null,"message":"虽然是在舞蹈的供奉上看了好几次的样子,但是在这样的时间里看还是第一次呢。"},{"name":null,"message":"大部分都是在日落之前结束的。"},{"name":null,"message":"恐怕到现在为止都是考虑到在山上驱魔的吧。"},{"name":"将臣","message":"“……”"},{"name":null,"message":"没有注意到我的事吗,凛然的气氛不破坏继续飞舞的朝武先生。"},{"name":null,"message":"还是那么厉害的集中力啊。"},{"name":null,"message":"没有混乱的动作,已经渗透到身体里了。"},{"name":null,"message":"和确认每一个动作的我的样子完全不同。"},{"name":null,"message":"被那美丽所吸引……一见钟情。"},{"name":"将臣","message":"“(……这是你第几次看得入迷了?)”"},{"name":"将臣","message":"“(至今为止看过好几次的舞,现在也这样看得入迷了。)”"},{"name":"将臣","message":"“(……)”"},{"name":null,"message":"然后我一直静静地眺望着,直到朝武的舞蹈结束。"},{"name":"芳乃","message":"“……啊……”"},{"name":"将臣","message":"“辛苦了,朝武先生。”"},{"name":"芳乃","message":"“啊,啊,有地,你在干什么?连竹刀都拿着……”"},{"name":"芳乃","message":"“有可疑的人吗?”"},{"name":"将臣","message":"“不是的。我只是假装而已。随便借一下院内。”"},{"name":"芳乃","message":"“我想这也没关系……从这个时间开始?弄不好的话有地先生会被当成可疑的人哦?”"},{"name":"将臣","message":"“……也许确实如此。”"},{"name":"芳乃","message":"“嗯,我想晚上参拜的人应该没有……”"},{"name":"将臣","message":"“朝武才是。为什么要从这个时间开始跳舞?”"},{"name":"芳乃","message":"“那个……爸爸和茉子说今天可以休息。”"},{"name":"芳乃","message":"“虽然试着按照那句话休息了一下……但是怎么也静不下来。”"},{"name":null,"message":"那么长的时间里,每天都不缺吧。"},{"name":null,"message":"我的训练并没有那么熟悉身体。"},{"name":null,"message":"如果不烦恼的话,大概很高兴休息了吧。"}]

@ -0,0 +1,211 @@
[
{
"name": "将臣",
"message": "「………」"
},
{
"message": "ムラサメちゃんの言葉に従い、夜風に当たることにした。"
},
{
"message": "と言っても、あてのない夜の散歩というわけではない。"
},
{
"name": "将臣",
"message": "「――フッ」"
},
{
"message": "竹刀を真っ直ぐ振りおろしながら、左足を引き付ける。"
},
{
"message": "ピタリと止めた竹刀。また、真っ直ぐに振り上げ、引きつけた左足を後ろに下げた。"
},
{
"name": "将臣",
"message": "「――フッ」"
},
{
"message": "そして再び竹刀を振り下ろすのと同時に、今度は右足を下げる。"
},
{
"message": "こうして正面素振りを続けながらも、頭の中はずっと考え事をしたままだ。"
},
{
"name": "将臣",
"message": "「帰るっ……帰らないっ……帰るっ……帰らないっ」"
},
{
"message": "竹刀を振り下ろす度に、そんなことを口にする。"
},
{
"message": "とはいえ花占いじゃないんだから、きっちりした終わりがあるわけでもない。"
},
{
"message": "それを思うと、自然と腕の動きがゆっくりになっていった。"
},
{
"name": "将臣",
"message": "「……ふぅー……」"
},
{
"message": "別に、頭を悩ませるほどの事じゃない。"
},
{
"name": "将臣",
"message": "「結局、俺がどうしたいか、それだけなんだよな」"
},
{
"message": "住みやすい街に戻りたいなら戻ればいい。"
},
{
"message": "二度と戻って来れないわけでもない。祖父ちゃんや、廉太郎たちもいる。"
},
{
"message": "来たいと思えば、すぐにまた来られる。"
},
{
"message": "逆に、もう少しここにいたいのなら、それも言えばいいだけだ。"
},
{
"message": "旅館や、廉太郎の家にお世話になることもできるだろう。"
},
{
"message": "そんな嫌な顔はされないはずだ……多分。"
},
{
"message": "だから、答えを出してさえしまえば……。"
},
{
"name": "将臣",
"message": "「こんな風に悩むってことは……残りたいって思ってるってことだろうけど」"
},
{
"message": "胸がスッキリしないのはなんでだろう?"
},
{
"message": "何かがひっかかって、どうしようもなく気持ち悪い……。"
},
{
"name": "将臣",
"message": "「残るって言い切れないのは、それが一番の理由かな……?」"
},
{
"name": "将臣",
"message": "「それがわかっただけでも竹刀を振った価値があるかな」"
},
{
"message": "いい運動になったし、そろそろ部屋に戻ろうか。"
},
{
"name": "将臣",
"message": "「……っていうか、まだ奥に灯りが」"
},
{
"message": "そんなことにも気付かないぐらい、視野が狭まっていたのかもしれない。"
},
{
"name": "将臣",
"message": "「誰かいるのかな?」"
},
{
"message": "中に入ってみると、そこには意外な姿があった。"
},
{
"message": "真剣な表情で、舞を踊る朝武さんの姿。"
},
{
"message": "舞の奉納などで何度も見た姿ではあるけれど、こんな時間に見るのは初めてだな。"
},
{
"message": "大抵は日が沈む前に終わらせてしまう。"
},
{
"message": "おそらく、今までは山でのお祓いを考慮してだったんだろう。"
},
{
"name": "将臣",
"message": "「………」"
},
{
"message": "俺の事に気付いていないのか、凛とした雰囲気を崩すことなく舞い続ける朝武さん。"
},
{
"message": "相変わらず凄い集中力だよなぁ。"
},
{
"message": "乱れることのないその動きは、もはや身体にしみついた動き。"
},
{
"message": "一つ一つの動きを確認してる俺の素振りとは全然違う。"
},
{
"message": "その美しさに目を奪われるというか……見惚れてしまう。"
},
{
"name": "将臣",
"message": "「(……こうして見惚れるの、何度目だろう?)」"
},
{
"name": "将臣",
"message": "「(今までに何度も見たことある舞。なのに、今もこうして見惚れてしまう)」"
},
{
"name": "将臣",
"message": "「(………)」"
},
{
"message": "そうして俺は、朝武さんの舞が終わるまで、静かに眺め続けていた。"
},
{
"name": "芳乃",
"message": "「……はぁ……」"
},
{
"name": "将臣",
"message": "「お疲れ様、朝武さん」"
},
{
"name": "芳乃",
"message": "「え、あ、有地さん、何してるんですか? 竹刀まで持って……」"
},
{
"name": "芳乃",
"message": "「不審者でもいましたか?」"
},
{
"name": "将臣",
"message": "「違う違う。ちょっと素振りをしてたんだ。勝手に境内を借りて」"
},
{
"name": "芳乃",
"message": "「それは構わないと思いますが……こんな時間から? 下手したら有地さんが不審者にされますよ?」"
},
{
"name": "将臣",
"message": "「……確かにそうかも」"
},
{
"name": "芳乃",
"message": "「まあ、夜に参る人なんてそういないとは思いますが……」"
},
{
"name": "将臣",
"message": "「朝武さんこそ。どうしてこんな時間から舞を?」"
},
{
"name": "芳乃",
"message": "「それが……お父さんや茉子からは今日ぐらいは休んでいいんじゃないかと言われて」"
},
{
"name": "芳乃",
"message": "「その言葉に従って休んではみたものの……どうにもこうにも落ち着かなくて」"
},
{
"message": "それだけ長い間、欠かさずに毎日続けてたってことなんだろう。"
},
{
"message": "俺のトレーニングは、そこまで身体に馴染んだりはしてない。"
},
{
"message": "悩んでなかったら、多分喜んで休んでいただろう。"
}
]

@ -0,0 +1,211 @@
[
{
"name": "将臣",
"message": "「………」"
},
{
"message": "ムラサメちゃんの言葉に従い、夜風に当たることにした。"
},
{
"message": "と言っても、あてのない夜の散歩というわけではない。"
},
{
"name": "将臣",
"message": "「――フッ」"
},
{
"message": "竹刀を真っ直ぐ振りおろしながら、左足を引き付ける。"
},
{
"message": "ピタリと止めた竹刀。また、真っ直ぐに振り上げ、引きつけた左足を後ろに下げた。"
},
{
"name": "将臣",
"message": "「――フッ」"
},
{
"message": "そして再び竹刀を振り下ろすのと同時に、今度は右足を下げる。"
},
{
"message": "こうして正面素振りを続けながらも、頭の中はずっと考え事をしたままだ。"
},
{
"name": "将臣",
"message": "「帰るっ……帰らないっ……帰るっ……帰らないっ」"
},
{
"message": "竹刀を振り下ろす度に、そんなことを口にする。"
},
{
"message": "とはいえ花占いじゃないんだから、きっちりした終わりがあるわけでもない。"
},
{
"message": "それを思うと、自然と腕の動きがゆっくりになっていった。"
},
{
"name": "将臣",
"message": "「……ふぅー……」"
},
{
"message": "別に、頭を悩ませるほどの事じゃない。"
},
{
"name": "将臣",
"message": "「結局、俺がどうしたいか、それだけなんだよな」"
},
{
"message": "住みやすい街に戻りたいなら戻ればいい。"
},
{
"message": "二度と戻って来れないわけでもない。祖父ちゃんや、廉太郎たちもいる。"
},
{
"message": "来たいと思えば、すぐにまた来られる。"
},
{
"message": "逆に、もう少しここにいたいのなら、それも言えばいいだけだ。"
},
{
"message": "旅館や、廉太郎の家にお世話になることもできるだろう。"
},
{
"message": "そんな嫌な顔はされないはずだ……多分。"
},
{
"message": "だから、答えを出してさえしまえば……。"
},
{
"name": "将臣",
"message": "「こんな風に悩むってことは……残りたいって思ってるってことだろうけど」"
},
{
"message": "胸がスッキリしないのはなんでだろう?"
},
{
"message": "何かがひっかかって、どうしようもなく気持ち悪い……。"
},
{
"name": "将臣",
"message": "「残るって言い切れないのは、それが一番の理由かな……?」"
},
{
"name": "将臣",
"message": "「それがわかっただけでも竹刀を振った価値があるかな」"
},
{
"message": "いい運動になったし、そろそろ部屋に戻ろうか。"
},
{
"name": "将臣",
"message": "「……っていうか、まだ奥に灯りが」"
},
{
"message": "そんなことにも気付かないぐらい、視野が狭まっていたのかもしれない。"
},
{
"name": "将臣",
"message": "「誰かいるのかな?」"
},
{
"message": "中に入ってみると、そこには意外な姿があった。"
},
{
"message": "真剣な表情で、舞を踊る朝武さんの姿。"
},
{
"message": "舞の奉納などで何度も見た姿ではあるけれど、こんな時間に見るのは初めてだな。"
},
{
"message": "大抵は日が沈む前に終わらせてしまう。"
},
{
"message": "おそらく、今までは山でのお祓いを考慮してだったんだろう。"
},
{
"name": "将臣",
"message": "「………」"
},
{
"message": "俺の事に気付いていないのか、凛とした雰囲気を崩すことなく舞い続ける朝武さん。"
},
{
"message": "相変わらず凄い集中力だよなぁ。"
},
{
"message": "乱れることのないその動きは、もはや身体にしみついた動き。"
},
{
"message": "一つ一つの動きを確認してる俺の素振りとは全然違う。"
},
{
"message": "その美しさに目を奪われるというか……見惚れてしまう。"
},
{
"name": "将臣",
"message": "「(……こうして見惚れるの、何度目だろう?)」"
},
{
"name": "将臣",
"message": "「(今までに何度も見たことある舞。なのに、今もこうして見惚れてしまう)」"
},
{
"name": "将臣",
"message": "「(………)」"
},
{
"message": "そうして俺は、朝武さんの舞が終わるまで、静かに眺め続けていた。"
},
{
"name": "芳乃",
"message": "「……はぁ……」"
},
{
"name": "将臣",
"message": "「お疲れ様、朝武さん」"
},
{
"name": "芳乃",
"message": "「え、あ、有地さん、何してるんですか? 竹刀まで持って……」"
},
{
"name": "芳乃",
"message": "「不審者でもいましたか?」"
},
{
"name": "将臣",
"message": "「違う違う。ちょっと素振りをしてたんだ。勝手に境内を借りて」"
},
{
"name": "芳乃",
"message": "「それは構わないと思いますが……こんな時間から? 下手したら有地さんが不審者にされますよ?」"
},
{
"name": "将臣",
"message": "「……確かにそうかも」"
},
{
"name": "芳乃",
"message": "「まあ、夜に参る人なんてそういないとは思いますが……」"
},
{
"name": "将臣",
"message": "「朝武さんこそ。どうしてこんな時間から舞を?」"
},
{
"name": "芳乃",
"message": "「それが……お父さんや茉子からは今日ぐらいは休んでいいんじゃないかと言われて」"
},
{
"name": "芳乃",
"message": "「その言葉に従って休んではみたものの……どうにもこうにも落ち着かなくて」"
},
{
"message": "それだけ長い間、欠かさずに毎日続けてたってことなんだろう。"
},
{
"message": "俺のトレーニングは、そこまで身体に馴染んだりはしてない。"
},
{
"message": "悩んでなかったら、多分喜んで休んでいただろう。"
}
]

@ -0,0 +1,74 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
<StartupObject>WpfApp2.App</StartupObject>
<ImplicitUsings>disable</ImplicitUsings>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>AnyCPU;x64</Platforms>
<UseWindowsForms>True</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<Compile Remove="tools\IndexConverter.cs" />
<Compile Remove="tools\JsonGenerate.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<Folder Include="OutputFile\" />
<Folder Include="SourceFile\" />
<Folder Include="test\" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x64\leptonica-1.82.0.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x64\tesseract50.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x86\leptonica-1.82.0.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x86\tesseract50.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x86\leptonica-1.82.0.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x86\tesseract50.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x64\leptonica-1.82.0.dll" />
</ItemGroup>
<ItemGroup>
<None Remove="C:\Users\82590\.nuget\packages\tesseract\5.2.0\build\\..\x64\tesseract50.dll" />
</ItemGroup>
<ItemGroup>
<COMReference Include="{215d64d2-031c-33c7-96e3-61794cd1ee61}">
<WrapperTool>tlbimp</WrapperTool>
<VersionMinor>4</VersionMinor>
<VersionMajor>2</VersionMajor>
<Guid>215d64d2-031c-33c7-96e3-61794cd1ee61</Guid>
</COMReference>
</ItemGroup>
</Project>

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
<ItemGroup>
<Compile Update="view\ScreenshotWindow.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="view\TranslationSourceSelect.xaml.cs">
<SubType>Code</SubType>
</Compile>
<Compile Update="view\TranslationText.xaml.cs">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Page Update="view\ScreenshotWindow.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="view\TranslationSourceSelect.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="view\TranslationText.xaml">
<SubType>Designer</SubType>
</Page>
</ItemGroup>
</Project>

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="GetProcessName.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 清单选项
如果想要更改 Windows 用户帐户控制级别,请使用
以下节点之一替换 requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
如果你的应用程序需要此虚拟化来实现向后兼容性,则移除此
元素。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- 设计此应用程序与其一起工作且已针对此应用程序进行测试的
Windows 版本的列表。取消评论适当的元素,
Windows 将自动选择最兼容的环境。 -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- 指示该应用程序可感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI无需
选择加入。选择加入此设置的 Windows 窗体应用程序(面向 .NET Framework 4.6)还应
在其 app.config 中将 "EnableWindowsFormsHighDpiAutoResizing" 设置设置为 "true"。
将应用程序设为感知长路径。请参阅 https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
-->
<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>

@ -0,0 +1,143 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"WpfApp2/1.0.0": {
"dependencies": {
"Newtonsoft.Json": "13.0.3",
"System.Runtime.WindowsRuntime": "4.7.0",
"Tesseract": "5.2.0",
"Tesseract.Drawing": "5.2.0"
},
"runtime": {
"WpfApp2.dll": {}
}
},
"Microsoft.NETCore.Platforms/3.1.0": {},
"Microsoft.Win32.SystemEvents/6.0.0": {},
"Newtonsoft.Json/13.0.3": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.3.27908"
}
}
},
"System.Drawing.Common/6.0.0": {
"dependencies": {
"Microsoft.Win32.SystemEvents": "6.0.0"
}
},
"System.Reflection.Emit/4.7.0": {},
"System.Runtime.WindowsRuntime/4.7.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "3.1.0"
},
"runtime": {
"lib/netstandard2.0/System.Runtime.WindowsRuntime.dll": {
"assemblyVersion": "4.0.15.0",
"fileVersion": "4.700.19.56404"
}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp3.0/System.Runtime.WindowsRuntime.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.0.15.0",
"fileVersion": "4.700.19.56404"
}
}
},
"Tesseract/5.2.0": {
"dependencies": {
"System.Reflection.Emit": "4.7.0"
},
"runtime": {
"lib/netstandard2.0/Tesseract.dll": {
"assemblyVersion": "5.2.0.0",
"fileVersion": "5.2.0.0"
}
}
},
"Tesseract.Drawing/5.2.0": {
"dependencies": {
"System.Drawing.Common": "6.0.0",
"Tesseract": "5.2.0"
},
"runtime": {
"lib/netstandard2.0/Tesseract.Drawing.dll": {
"assemblyVersion": "5.2.0.0",
"fileVersion": "5.2.0.0"
}
}
}
}
},
"libraries": {
"WpfApp2/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
"path": "microsoft.netcore.platforms/3.1.0",
"hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512"
},
"Microsoft.Win32.SystemEvents/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hqTM5628jSsQiv+HGpiq3WKBl2c8v1KZfby2J6Pr7pEPlK9waPdgEO6b8A/+/xn/yZ9ulv8HuqK71ONy2tg67A==",
"path": "microsoft.win32.systemevents/6.0.0",
"hashPath": "microsoft.win32.systemevents.6.0.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"path": "newtonsoft.json/13.0.3",
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
},
"System.Drawing.Common/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==",
"path": "system.drawing.common/6.0.0",
"hashPath": "system.drawing.common.6.0.0.nupkg.sha512"
},
"System.Reflection.Emit/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VR4kk8XLKebQ4MZuKuIni/7oh+QGFmZW3qORd1GvBq/8026OpW501SzT/oypwiQl4TvT8ErnReh/NzY9u+C6wQ==",
"path": "system.reflection.emit/4.7.0",
"hashPath": "system.reflection.emit.4.7.0.nupkg.sha512"
},
"System.Runtime.WindowsRuntime/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-RQxUkf37fp7MSWbOfKRjUjyudyfZb2u79YY5i1s+d7vuD80A7kmr2YfefO0JprQUhanxSm8bhXigCVfX2kEh+w==",
"path": "system.runtime.windowsruntime/4.7.0",
"hashPath": "system.runtime.windowsruntime.4.7.0.nupkg.sha512"
},
"Tesseract/5.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YB7feJlrTWSXtK8+WaCcseGSPK/1r2d2FWeKGyndlrPwYClrzTlCoHD4/oQEUjKafmpkWlhTZZ7pxiRJYZgj6w==",
"path": "tesseract/5.2.0",
"hashPath": "tesseract.5.2.0.nupkg.sha512"
},
"Tesseract.Drawing/5.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ORuub0AagnAGPjdhO8qNxI6Z+2dXUmqWFy6qSjQ+Wr56SxQiV2jNvGM9Tpluvd7F5vwJeqXEWQnzFvGL6iHfjA==",
"path": "tesseract.drawing/5.2.0",
"hashPath": "tesseract.drawing.5.2.0.nupkg.sha512"
}
}
}

@ -0,0 +1,15 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
]
}
}

@ -0,0 +1,109 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"WpfApp2/1.0.0": {
"dependencies": {
"Newtonsoft.Json": "13.0.3",
"System.Drawing.Common": "7.0.0",
"runtimepack.Microsoft.Windows.SDK.NET.Ref": "10.0.19041.28"
},
"runtime": {
"WpfApp2.dll": {}
}
},
"runtimepack.Microsoft.Windows.SDK.NET.Ref/10.0.19041.28": {
"runtime": {
"Microsoft.Windows.SDK.NET.dll": {
"assemblyVersion": "10.0.19041.24",
"fileVersion": "10.0.19041.28"
},
"WinRT.Runtime.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.1.40881"
}
}
},
"Microsoft.Win32.SystemEvents/7.0.0": {
"runtime": {
"lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
},
"runtimeTargets": {
"runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
}
},
"Newtonsoft.Json/13.0.3": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.3.27908"
}
}
},
"System.Drawing.Common/7.0.0": {
"dependencies": {
"Microsoft.Win32.SystemEvents": "7.0.0"
},
"runtime": {
"lib/net6.0/System.Drawing.Common.dll": {
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
},
"runtimeTargets": {
"runtimes/win/lib/net6.0/System.Drawing.Common.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
}
}
}
},
"libraries": {
"WpfApp2/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"runtimepack.Microsoft.Windows.SDK.NET.Ref/10.0.19041.28": {
"type": "runtimepack",
"serviceable": false,
"sha512": ""
},
"Microsoft.Win32.SystemEvents/7.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-2nXPrhdAyAzir0gLl8Yy8S5Mnm/uBSQQA7jEsILOS1MTyS7DbmV1NgViMtvV1sfCD1ebITpNwb1NIinKeJgUVQ==",
"path": "microsoft.win32.systemevents/7.0.0",
"hashPath": "microsoft.win32.systemevents.7.0.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"path": "newtonsoft.json/13.0.3",
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
},
"System.Drawing.Common/7.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KIX+oBU38pxkKPxvLcLfIkOV5Ien8ReN78wro7OF5/erwcmortzeFx+iBswlh2Vz6gVne0khocQudGwaO1Ey6A==",
"path": "system.drawing.common/7.0.0",
"hashPath": "system.drawing.common.7.0.0.nupkg.sha512"
}
}
}

@ -0,0 +1,15 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
]
}
}

@ -0,0 +1,125 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"WpfApp2/1.0.0": {
"dependencies": {
"CommunityToolkit.Mvvm": "8.2.1",
"Newtonsoft.Json": "13.0.3",
"System.Drawing.Common": "7.0.0",
"runtimepack.Microsoft.Windows.SDK.NET.Ref": "10.0.19041.29"
},
"runtime": {
"WpfApp2.dll": {}
}
},
"runtimepack.Microsoft.Windows.SDK.NET.Ref/10.0.19041.29": {
"runtime": {
"Microsoft.Windows.SDK.NET.dll": {
"assemblyVersion": "10.0.19041.24",
"fileVersion": "10.0.19041.29"
},
"WinRT.Runtime.dll": {
"assemblyVersion": "2.0.0.0",
"fileVersion": "2.0.3.42921"
}
}
},
"CommunityToolkit.Mvvm/8.2.1": {
"runtime": {
"lib/net6.0/CommunityToolkit.Mvvm.dll": {
"assemblyVersion": "8.2.0.0",
"fileVersion": "8.2.1.1"
}
}
},
"Microsoft.Win32.SystemEvents/7.0.0": {
"runtime": {
"lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
},
"runtimeTargets": {
"runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
}
},
"Newtonsoft.Json/13.0.3": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.3.27908"
}
}
},
"System.Drawing.Common/7.0.0": {
"dependencies": {
"Microsoft.Win32.SystemEvents": "7.0.0"
},
"runtime": {
"lib/net6.0/System.Drawing.Common.dll": {
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
},
"runtimeTargets": {
"runtimes/win/lib/net6.0/System.Drawing.Common.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "7.0.0.0",
"fileVersion": "7.0.22.51805"
}
}
}
}
},
"libraries": {
"WpfApp2/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"runtimepack.Microsoft.Windows.SDK.NET.Ref/10.0.19041.29": {
"type": "runtimepack",
"serviceable": false,
"sha512": ""
},
"CommunityToolkit.Mvvm/8.2.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-I24ofWVEdplxYjUez9/bljv/qb8r8Ccj6cvYXHexNBegLaD3iDy3QrzAAOYVMmfGWIXxlU1ZtECQNfU07+6hXQ==",
"path": "communitytoolkit.mvvm/8.2.1",
"hashPath": "communitytoolkit.mvvm.8.2.1.nupkg.sha512"
},
"Microsoft.Win32.SystemEvents/7.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-2nXPrhdAyAzir0gLl8Yy8S5Mnm/uBSQQA7jEsILOS1MTyS7DbmV1NgViMtvV1sfCD1ebITpNwb1NIinKeJgUVQ==",
"path": "microsoft.win32.systemevents/7.0.0",
"hashPath": "microsoft.win32.systemevents.7.0.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"path": "newtonsoft.json/13.0.3",
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
},
"System.Drawing.Common/7.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KIX+oBU38pxkKPxvLcLfIkOV5Ien8ReN78wro7OF5/erwcmortzeFx+iBswlh2Vz6gVne0khocQudGwaO1Ey6A==",
"path": "system.drawing.common/7.0.0",
"hashPath": "system.drawing.common.7.0.0.nupkg.sha512"
}
}
}

@ -0,0 +1,15 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
]
}
}

@ -0,0 +1,14 @@
using System.Collections.ObjectModel;
namespace WpfApp2.model
{
public class FileItem
{
public string Name { get; set; }
public string path { get; set; }
public bool IsDirectory { get; set; }
public ObservableCollection<FileItem> Children { get; set; }
public static string jsonPath = "E:\\Works\\software636\\src\\WpfApp2\\WpfApp2\\OutputFile\\testOutput.json";
public static string getJsonPath = "E:\\Works\\software636\\src\\WpfApp2\\WpfApp2\\SourceFile\\inputTestFile.json";
}
}

@ -0,0 +1,8 @@
namespace WpfApp2
{
public class Charactor
{
public string name { get; set; }
public string message { get; set; }
}
}

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]

@ -0,0 +1,71 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "542E7E46DDE92486838196A7783AE34DE56BC715"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfApp2;
namespace WpfApp2 {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public void InitializeComponent() {
#line 5 "..\..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
}
/// <summary>
/// Application Entry Point.
/// </summary>
[System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public static void Main() {
WpfApp2.App app = new WpfApp2.App();
app.InitializeComponent();
app.Run();
}
}
}

@ -0,0 +1,71 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "542E7E46DDE92486838196A7783AE34DE56BC715"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfApp2;
namespace WpfApp2 {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public void InitializeComponent() {
#line 5 "..\..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
}
/// <summary>
/// Application Entry Point.
/// </summary>
[System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public static void Main() {
WpfApp2.App app = new WpfApp2.App();
app.InitializeComponent();
app.Run();
}
}
}

@ -0,0 +1,296 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B0ABDE2DED1810AAD950E21D8277B7E84F5FDB18"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfApp2;
namespace WpfApp2 {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 26 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 28 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem open;
#line default
#line hidden
#line 29 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem save;
#line default
#line hidden
#line 30 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem saveTo;
#line default
#line hidden
#line 35 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 44 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 53 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 61 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 67 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid Resource;
#line default
#line hidden
#line 87 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TreeView ExplorerTreeView;
#line default
#line hidden
#line 102 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TreeView OutputTreeView;
#line default
#line hidden
#line 116 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid TextPreview;
#line default
#line hidden
#line 124 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView InputList;
#line default
#line hidden
#line 138 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView Outpulist;
#line default
#line hidden
#line 154 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox StatusBar;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfApp2;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 2:
this.open = ((System.Windows.Controls.MenuItem)(target));
return;
case 3:
this.save = ((System.Windows.Controls.MenuItem)(target));
return;
case 4:
this.saveTo = ((System.Windows.Controls.MenuItem)(target));
return;
case 5:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 6:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 7:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 8:
#line 55 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.TransSourceSelectWnd_loaded);
#line default
#line hidden
return;
case 9:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 10:
#line 63 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PrograssSelectWnd_loaded);
#line default
#line hidden
return;
case 11:
this.Resource = ((System.Windows.Controls.Grid)(target));
return;
case 12:
this.ExplorerTreeView = ((System.Windows.Controls.TreeView)(target));
#line 88 "..\..\..\MainWindow.xaml"
this.ExplorerTreeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_DoubleClick);
#line default
#line hidden
#line 90 "..\..\..\MainWindow.xaml"
this.ExplorerTreeView.Loaded += new System.Windows.RoutedEventHandler(this.TreeView_Loaded);
#line default
#line hidden
return;
case 13:
this.OutputTreeView = ((System.Windows.Controls.TreeView)(target));
#line 103 "..\..\..\MainWindow.xaml"
this.OutputTreeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_DoubleClick);
#line default
#line hidden
#line 105 "..\..\..\MainWindow.xaml"
this.OutputTreeView.Loaded += new System.Windows.RoutedEventHandler(this.TreeView_Loaded);
#line default
#line hidden
return;
case 14:
this.TextPreview = ((System.Windows.Controls.Grid)(target));
return;
case 15:
this.InputList = ((System.Windows.Controls.ListView)(target));
#line 128 "..\..\..\MainWindow.xaml"
this.InputList.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.MainWindow_Loaded));
#line default
#line hidden
return;
case 16:
this.Outpulist = ((System.Windows.Controls.ListView)(target));
#line 142 "..\..\..\MainWindow.xaml"
this.Outpulist.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.MainWindow_Loaded));
#line default
#line hidden
return;
case 17:
this.StatusBar = ((System.Windows.Controls.TextBox)(target));
return;
}
this._contentLoaded = true;
}
}
}

@ -0,0 +1,296 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B0ABDE2DED1810AAD950E21D8277B7E84F5FDB18"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
using WpfApp2;
namespace WpfApp2 {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 26 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 28 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem open;
#line default
#line hidden
#line 29 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem save;
#line default
#line hidden
#line 30 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem saveTo;
#line default
#line hidden
#line 35 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 44 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 53 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 61 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.MenuItem ;
#line default
#line hidden
#line 67 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid Resource;
#line default
#line hidden
#line 87 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TreeView ExplorerTreeView;
#line default
#line hidden
#line 102 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TreeView OutputTreeView;
#line default
#line hidden
#line 116 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Grid TextPreview;
#line default
#line hidden
#line 124 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView InputList;
#line default
#line hidden
#line 138 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView Outpulist;
#line default
#line hidden
#line 154 "..\..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBox StatusBar;
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/WpfApp2;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 2:
this.open = ((System.Windows.Controls.MenuItem)(target));
return;
case 3:
this.save = ((System.Windows.Controls.MenuItem)(target));
return;
case 4:
this.saveTo = ((System.Windows.Controls.MenuItem)(target));
return;
case 5:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 6:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 7:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 8:
#line 55 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.TransSourceSelectWnd_loaded);
#line default
#line hidden
return;
case 9:
this. = ((System.Windows.Controls.MenuItem)(target));
return;
case 10:
#line 63 "..\..\..\MainWindow.xaml"
((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.PrograssSelectWnd_loaded);
#line default
#line hidden
return;
case 11:
this.Resource = ((System.Windows.Controls.Grid)(target));
return;
case 12:
this.ExplorerTreeView = ((System.Windows.Controls.TreeView)(target));
#line 88 "..\..\..\MainWindow.xaml"
this.ExplorerTreeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_DoubleClick);
#line default
#line hidden
#line 90 "..\..\..\MainWindow.xaml"
this.ExplorerTreeView.Loaded += new System.Windows.RoutedEventHandler(this.TreeView_Loaded);
#line default
#line hidden
return;
case 13:
this.OutputTreeView = ((System.Windows.Controls.TreeView)(target));
#line 103 "..\..\..\MainWindow.xaml"
this.OutputTreeView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.TreeViewItem_DoubleClick);
#line default
#line hidden
#line 105 "..\..\..\MainWindow.xaml"
this.OutputTreeView.Loaded += new System.Windows.RoutedEventHandler(this.TreeView_Loaded);
#line default
#line hidden
return;
case 14:
this.TextPreview = ((System.Windows.Controls.Grid)(target));
return;
case 15:
this.InputList = ((System.Windows.Controls.ListView)(target));
#line 128 "..\..\..\MainWindow.xaml"
this.InputList.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.MainWindow_Loaded));
#line default
#line hidden
return;
case 16:
this.Outpulist = ((System.Windows.Controls.ListView)(target));
#line 142 "..\..\..\MainWindow.xaml"
this.Outpulist.AddHandler(System.Windows.Controls.ScrollViewer.ScrollChangedEvent, new System.Windows.Controls.ScrollChangedEventHandler(this.MainWindow_Loaded));
#line default
#line hidden
return;
case 17:
this.StatusBar = ((System.Windows.Controls.TextBox)(target));
return;
}
this._contentLoaded = true;
}
}
}

@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp2")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("WpfApp2")]
[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp2")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// 由 MSBuild WriteCodeFragment 类生成。

@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net6.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = WpfApp2
build_property.ProjectDir = E:\Works\software636\src\WpfApp2\WpfApp2\

@ -0,0 +1,6 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.Linq;
global using global::System.Threading;
global using global::System.Threading.Tasks;

@ -0,0 +1,38 @@
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.csproj.AssemblyReference.cache
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.csproj.ResolveComReference.cache
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\x86\leptonica-1.82.0.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\x86\tesseract50.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\x64\leptonica-1.82.0.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\x64\tesseract50.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\WpfApp2.exe
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\WpfApp2.deps.json
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\WpfApp2.runtimeconfig.json
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\WpfApp2.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\WpfApp2.pdb
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\Newtonsoft.Json.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\System.Runtime.WindowsRuntime.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\Tesseract.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\Tesseract.Drawing.dll
E:\Works\software636\src\WpfApp2\WpfApp2\bin\Debug\net6.0-windows\runtimes\win\lib\netcoreapp3.0\System.Runtime.WindowsRuntime.dll
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\MainWindow.g.cs
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\view\ProgressSelect.g.cs
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\view\TranslationSourceSelect.g.cs
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\view\TranslationText.g.cs
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\App.g.cs
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2_MarkupCompile.cache
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2_MarkupCompile.lref
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\MainWindow.baml
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\view\ProgressSelect.baml
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\view\TranslationSourceSelect.baml
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\view\TranslationText.baml
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.g.resources
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.GeneratedMSBuildEditorConfig.editorconfig
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.AssemblyInfoInputs.cache
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.AssemblyInfo.cs
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.csproj.CoreCompileInputs.cache
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.csproj.CopyComplete
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.dll
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\refint\WpfApp2.dll
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.pdb
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\WpfApp2.genruntimeconfig.cache
E:\Works\software636\src\WpfApp2\WpfApp2\obj\Debug\net6.0-windows\ref\WpfApp2.dll

@ -0,0 +1,162 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"Microsoft.NETCore.Platforms/3.1.0": {},
"Microsoft.Win32.SystemEvents/6.0.0": {
"runtime": {
"lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
},
"runtimeTargets": {
"runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"Newtonsoft.Json/13.0.3": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.3.27908"
}
}
},
"System.Drawing.Common/6.0.0": {
"dependencies": {
"Microsoft.Win32.SystemEvents": "6.0.0"
},
"runtime": {
"lib/net6.0/System.Drawing.Common.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
},
"runtimeTargets": {
"runtimes/unix/lib/net6.0/System.Drawing.Common.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
},
"runtimes/win/lib/net6.0/System.Drawing.Common.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
},
"System.Reflection.Emit/4.7.0": {},
"System.Runtime.WindowsRuntime/4.7.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "3.1.0"
},
"runtime": {
"lib/netstandard2.0/System.Runtime.WindowsRuntime.dll": {
"assemblyVersion": "4.0.15.0",
"fileVersion": "4.700.19.56404"
}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp3.0/System.Runtime.WindowsRuntime.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "4.0.15.0",
"fileVersion": "4.700.19.56404"
}
}
},
"Tesseract/5.2.0": {
"dependencies": {
"System.Reflection.Emit": "4.7.0"
},
"runtime": {
"lib/netstandard2.0/Tesseract.dll": {
"assemblyVersion": "5.2.0.0",
"fileVersion": "5.2.0.0"
}
}
},
"Tesseract.Drawing/5.2.0": {
"dependencies": {
"System.Drawing.Common": "6.0.0",
"Tesseract": "5.2.0"
},
"runtime": {
"lib/netstandard2.0/Tesseract.Drawing.dll": {
"assemblyVersion": "5.2.0.0",
"fileVersion": "5.2.0.0"
}
}
}
}
},
"libraries": {
"Microsoft.NETCore.Platforms/3.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
"path": "microsoft.netcore.platforms/3.1.0",
"hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512"
},
"Microsoft.Win32.SystemEvents/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-hqTM5628jSsQiv+HGpiq3WKBl2c8v1KZfby2J6Pr7pEPlK9waPdgEO6b8A/+/xn/yZ9ulv8HuqK71ONy2tg67A==",
"path": "microsoft.win32.systemevents/6.0.0",
"hashPath": "microsoft.win32.systemevents.6.0.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
"path": "newtonsoft.json/13.0.3",
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
},
"System.Drawing.Common/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==",
"path": "system.drawing.common/6.0.0",
"hashPath": "system.drawing.common.6.0.0.nupkg.sha512"
},
"System.Reflection.Emit/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VR4kk8XLKebQ4MZuKuIni/7oh+QGFmZW3qORd1GvBq/8026OpW501SzT/oypwiQl4TvT8ErnReh/NzY9u+C6wQ==",
"path": "system.reflection.emit/4.7.0",
"hashPath": "system.reflection.emit.4.7.0.nupkg.sha512"
},
"System.Runtime.WindowsRuntime/4.7.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-RQxUkf37fp7MSWbOfKRjUjyudyfZb2u79YY5i1s+d7vuD80A7kmr2YfefO0JprQUhanxSm8bhXigCVfX2kEh+w==",
"path": "system.runtime.windowsruntime/4.7.0",
"hashPath": "system.runtime.windowsruntime.4.7.0.nupkg.sha512"
},
"Tesseract/5.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-YB7feJlrTWSXtK8+WaCcseGSPK/1r2d2FWeKGyndlrPwYClrzTlCoHD4/oQEUjKafmpkWlhTZZ7pxiRJYZgj6w==",
"path": "tesseract/5.2.0",
"hashPath": "tesseract.5.2.0.nupkg.sha512"
},
"Tesseract.Drawing/5.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ORuub0AagnAGPjdhO8qNxI6Z+2dXUmqWFy6qSjQ+Wr56SxQiV2jNvGM9Tpluvd7F5vwJeqXEWQnzFvGL6iHfjA==",
"path": "tesseract.drawing/5.2.0",
"hashPath": "tesseract.drawing.5.2.0.nupkg.sha512"
}
}
}

@ -0,0 +1,23 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
],
"additionalProbingPaths": [
"C:\\Users\\82590\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\82590\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configProperties": {
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
}
}
}

@ -0,0 +1,25 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp2")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("WpfApp2")]
[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp2")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// 由 MSBuild WriteCodeFragment 类生成。

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save