提交记录新增Core/Core.csproj+54 −0看文件
新增Core/Librarys/Win32API.cs+25 −0看文件
新增Core/Properties/AssemblyInfo.cs+36 −0看文件
新增Core/Servicers/Instances/Main.cs+27 −0看文件
新增Core/Servicers/Instances/Observer.cs+41 −0看文件
新增Core/Servicers/Interfaces/IMain.cs+23 −0看文件
新增Core/Servicers/Interfaces/IObserver.cs+23 −0看文件
新增Tai.sln+31 −0看文件
新增UI/App.config+14 −0看文件
新增UI/App.xaml+10 −0看文件
新增UI/App.xaml.cs+39 −0看文件
新增UI/MainWindow.xaml+12 −0看文件
新增UI/MainWindow.xaml.cs+29 −0看文件
新增UI/Properties/AssemblyInfo.cs+55 −0看文件
新增UI/Properties/Resources.Designer.cs+63 −0看文件
新增UI/Properties/Resources.resx+117 −0看文件
新增UI/Properties/Settings.Designer.cs+26 −0看文件
新增UI/Properties/Settings.settings+7 −0看文件
新增UI/UI.csproj+120 −0看文件
新增UI/packages.config+8 −0看文件
| @@ -0,0 +1,54 @@ | ||
| 1 | 新增:<?xml version="1.0" encoding="utf-8"?> | |
| 2 | 新增:<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| 3 | 新增: <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |
| 4 | 新增: <PropertyGroup> | |
| 5 | 新增: <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
| 6 | 新增: <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
| 7 | 新增: <ProjectGuid>{FA57023C-3399-45A4-A339-E453002BD878}</ProjectGuid> | |
| 8 | 新增: <OutputType>Library</OutputType> | |
| 9 | 新增: <AppDesignerFolder>Properties</AppDesignerFolder> | |
| 10 | 新增: <RootNamespace>Core</RootNamespace> | |
| 11 | 新增: <AssemblyName>Core</AssemblyName> | |
| 12 | 新增: <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> | |
| 13 | 新增: <FileAlignment>512</FileAlignment> | |
| 14 | 新增: <Deterministic>true</Deterministic> | |
| 15 | 新增: <TargetFrameworkProfile /> | |
| 16 | 新增: </PropertyGroup> | |
| 17 | 新增: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
| 18 | 新增: <DebugSymbols>true</DebugSymbols> | |
| 19 | 新增: <DebugType>full</DebugType> | |
| 20 | 新增: <Optimize>false</Optimize> | |
| 21 | 新增: <OutputPath>bin\Debug\</OutputPath> | |
| 22 | 新增: <DefineConstants>DEBUG;TRACE</DefineConstants> | |
| 23 | 新增: <ErrorReport>prompt</ErrorReport> | |
| 24 | 新增: <WarningLevel>4</WarningLevel> | |
| 25 | 新增: </PropertyGroup> | |
| 26 | 新增: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
| 27 | 新增: <DebugType>pdbonly</DebugType> | |
| 28 | 新增: <Optimize>true</Optimize> | |
| 29 | 新增: <OutputPath>bin\Release\</OutputPath> | |
| 30 | 新增: <DefineConstants>TRACE</DefineConstants> | |
| 31 | 新增: <ErrorReport>prompt</ErrorReport> | |
| 32 | 新增: <WarningLevel>4</WarningLevel> | |
| 33 | 新增: </PropertyGroup> | |
| 34 | 新增: <ItemGroup> | |
| 35 | 新增: <Reference Include="System" /> | |
| 36 | 新增: <Reference Include="System.Core" /> | |
| 37 | 新增: <Reference Include="System.Xml.Linq" /> | |
| 38 | 新增: <Reference Include="System.Data.DataSetExtensions" /> | |
| 39 | 新增: <Reference Include="Microsoft.CSharp" /> | |
| 40 | 新增: <Reference Include="System.Data" /> | |
| 41 | 新增: <Reference Include="System.Net.Http" /> | |
| 42 | 新增: <Reference Include="System.Xml" /> | |
| 43 | 新增: </ItemGroup> | |
| 44 | 新增: <ItemGroup> | |
| 45 | 新增: <Compile Include="Librarys\Win32API.cs" /> | |
| 46 | 新增: <Compile Include="Properties\AssemblyInfo.cs" /> | |
| 47 | 新增: <Compile Include="Servicers\Instances\Main.cs" /> | |
| 48 | 新增: <Compile Include="Servicers\Instances\Observer.cs" /> | |
| 49 | 新增: <Compile Include="Servicers\Interfaces\IMain.cs" /> | |
| 50 | 新增: <Compile Include="Servicers\Interfaces\IObserver.cs" /> | |
| 51 | 新增: </ItemGroup> | |
| 52 | 新增: <ItemGroup /> | |
| 53 | 新增: <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |
| 54 | 新增:</Project> | |
| 文件末尾没有换行 | ||
| @@ -0,0 +1,25 @@ | ||
| 1 | 新增:using System; | |
| 2 | 新增:using System.Collections.Generic; | |
| 3 | 新增:using System.Linq; | |
| 4 | 新增:using System.Runtime.InteropServices; | |
| 5 | 新增:using System.Text; | |
| 6 | 新增:using System.Threading.Tasks; | |
| 7 | 新增: | |
| 8 | 新增:namespace Core.Librarys | |
| 9 | 新增:{ | |
| 10 | 新增: public static class Win32API | |
| 11 | 新增: { | |
| 12 | 新增: public delegate void WinEventDelegate(IntPtr hWinEventHook, uint eventType, | |
| 13 | 新增: IntPtr hwnd, int idObject, int idChild, uint dwEventThread, uint dwmsEventTime); | |
| 14 | 新增: [DllImport("user32.dll")] | |
| 15 | 新增: public static extern IntPtr SetWinEventHook(uint eventMin, uint eventMax, IntPtr | |
| 16 | 新增: hmodWinEventProc, WinEventDelegate lpfnWinEventProc, uint idProcess, | |
| 17 | 新增: uint idThread, uint dwFlags); | |
| 18 | 新增: | |
| 19 | 新增: [DllImport("user32.dll")] | |
| 20 | 新增: public static extern bool UnhookWinEvent(IntPtr hWinEventHook); | |
| 21 | 新增: | |
| 22 | 新增: [DllImport("user32.dll", CharSet = CharSet.Auto)] | |
| 23 | 新增: public static extern int GetWindowThreadProcessId(IntPtr hwnd, out int ID); | |
| 24 | 新增: } | |
| 25 | 新增:} | |
| @@ -0,0 +1,36 @@ | ||
| 1 | 新增:using System.Reflection; | |
| 2 | 新增:using System.Runtime.CompilerServices; | |
| 3 | 新增:using System.Runtime.InteropServices; | |
| 4 | 新增: | |
| 5 | 新增:// 有关程序集的一般信息由以下 | |
| 6 | 新增:// 控制。更改这些特性值可修改 | |
| 7 | 新增:// 与程序集关联的信息。 | |
| 8 | 新增:[assembly: AssemblyTitle("Core")] | |
| 9 | 新增:[assembly: AssemblyDescription("")] | |
| 10 | 新增:[assembly: AssemblyConfiguration("")] | |
| 11 | 新增:[assembly: AssemblyCompany("")] | |
| 12 | 新增:[assembly: AssemblyProduct("Core")] | |
| 13 | 新增:[assembly: AssemblyCopyright("Copyright © 2021")] | |
| 14 | 新增:[assembly: AssemblyTrademark("")] | |
| 15 | 新增:[assembly: AssemblyCulture("")] | |
| 16 | 新增: | |
| 17 | 新增:// 将 ComVisible 设置为 false 会使此程序集中的类型 | |
| 18 | 新增://对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 | |
| 19 | 新增://请将此类型的 ComVisible 特性设置为 true。 | |
| 20 | 新增:[assembly: ComVisible(false)] | |
| 21 | 新增: | |
| 22 | 新增:// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID | |
| 23 | 新增:[assembly: Guid("fa57023c-3399-45a4-a339-e453002bd878")] | |
| 24 | 新增: | |
| 25 | 新增:// 程序集的版本信息由下列四个值组成: | |
| 26 | 新增:// | |
| 27 | 新增:// 主版本 | |
| 28 | 新增:// 次版本 | |
| 29 | 新增:// 生成号 | |
| 30 | 新增:// 修订号 | |
| 31 | 新增:// | |
| 32 | 新增://可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 | |
| 33 | 新增://通过使用 "*",如下所示: | |
| 34 | 新增:// [assembly: AssemblyVersion("1.0.*")] | |
| 35 | 新增:[assembly: AssemblyVersion("1.0.0.0")] | |
| 36 | 新增:[assembly: AssemblyFileVersion("1.0.0.0")] | |
| @@ -0,0 +1,27 @@ | ||
| 1 | 新增:using Core.Servicers.Interfaces; | |
| 2 | 新增:using System; | |
| 3 | 新增:using System.Collections.Generic; | |
| 4 | 新增:using System.Linq; | |
| 5 | 新增:using System.Text; | |
| 6 | 新增:using System.Threading.Tasks; | |
| 7 | 新增: | |
| 8 | 新增:namespace Core.Servicers.Instances | |
| 9 | 新增:{ | |
| 10 | 新增: public class Main : IMain | |
| 11 | 新增: { | |
| 12 | 新增: private readonly IObserver observer; | |
| 13 | 新增: public Main(IObserver observer) | |
| 14 | 新增: { | |
| 15 | 新增: this.observer = observer; | |
| 16 | 新增: } | |
| 17 | 新增: public void Run() | |
| 18 | 新增: { | |
| 19 | 新增: observer.Start(); | |
| 20 | 新增: } | |
| 21 | 新增: | |
| 22 | 新增: public void Exit() | |
| 23 | 新增: { | |
| 24 | 新增: observer?.Stop(); | |
| 25 | 新增: } | |
| 26 | 新增: } | |
| 27 | 新增:} | |
| @@ -0,0 +1,41 @@ | ||
| 1 | 新增:using Core.Librarys; | |
| 2 | 新增:using Core.Servicers.Interfaces; | |
| 3 | 新增:using System; | |
| 4 | 新增:using System.Collections.Generic; | |
| 5 | 新增:using System.Diagnostics; | |
| 6 | 新增:using System.Linq; | |
| 7 | 新增:using System.Text; | |
| 8 | 新增:using System.Threading.Tasks; | |
| 9 | 新增: | |
| 10 | 新增:namespace Core.Servicers.Instances | |
| 11 | 新增:{ | |
| 12 | 新增: public class Observer : IObserver | |
| 13 | 新增: { | |
| 14 | 新增: private IntPtr hook; | |
| 15 | 新增: Win32API.WinEventDelegate winEventDelegate; | |
| 16 | 新增: | |
| 17 | 新增: public Observer() | |
| 18 | 新增: { | |
| 19 | 新增: winEventDelegate = new Win32API.WinEventDelegate(WinEventProc); | |
| 20 | 新增: } | |
| 21 | 新增: public void Start() | |
| 22 | 新增: { | |
| 23 | 新增: hook = Win32API.SetWinEventHook(0x0003, 0x0003, IntPtr.Zero, | |
| 24 | 新增: winEventDelegate, 0, 0, 0); | |
| 25 | 新增: } | |
| 26 | 新增: | |
| 27 | 新增: private static void WinEventProc(IntPtr hWinEventHook, uint eventType, IntPtr hwnd, int idObject, int idChild, uint dwEventThread, uint dwmsEventTime) | |
| 28 | 新增: { | |
| 29 | 新增: int processID = 0; | |
| 30 | 新增: Win32API.GetWindowThreadProcessId(hwnd, out processID); | |
| 31 | 新增: Process process = Process.GetProcessById(processID); | |
| 32 | 新增: Debug.WriteLine(process.ProcessName); | |
| 33 | 新增: } | |
| 34 | 新增: | |
| 35 | 新增: | |
| 36 | 新增: public void Stop() | |
| 37 | 新增: { | |
| 38 | 新增: Win32API.UnhookWinEvent(hook); | |
| 39 | 新增: } | |
| 40 | 新增: } | |
| 41 | 新增:} | |
| @@ -0,0 +1,23 @@ | ||
| 1 | 新增:using System; | |
| 2 | 新增:using System.Collections.Generic; | |
| 3 | 新增:using System.Linq; | |
| 4 | 新增:using System.Text; | |
| 5 | 新增:using System.Threading.Tasks; | |
| 6 | 新增: | |
| 7 | 新增:namespace Core.Servicers.Interfaces | |
| 8 | 新增:{ | |
| 9 | 新增: /// <summary> | |
| 10 | 新增: /// 主要服务 | |
| 11 | 新增: /// </summary> | |
| 12 | 新增: public interface IMain | |
| 13 | 新增: { | |
| 14 | 新增: /// <summary> | |
| 15 | 新增: /// 启动服务 | |
| 16 | 新增: /// </summary> | |
| 17 | 新增: void Run(); | |
| 18 | 新增: /// <summary> | |
| 19 | 新增: /// 退出服务 | |
| 20 | 新增: /// </summary> | |
| 21 | 新增: void Exit(); | |
| 22 | 新增: } | |
| 23 | 新增:} | |
| @@ -0,0 +1,23 @@ | ||
| 1 | 新增:using System; | |
| 2 | 新增:using System.Collections.Generic; | |
| 3 | 新增:using System.Linq; | |
| 4 | 新增:using System.Text; | |
| 5 | 新增:using System.Threading.Tasks; | |
| 6 | 新增: | |
| 7 | 新增:namespace Core.Servicers.Interfaces | |
| 8 | 新增:{ | |
| 9 | 新增: /// <summary> | |
| 10 | 新增: /// 观察者,用于监听应用程序获取焦点事件 | |
| 11 | 新增: /// </summary> | |
| 12 | 新增: public interface IObserver | |
| 13 | 新增: { | |
| 14 | 新增: /// <summary> | |
| 15 | 新增: /// 启动观察 | |
| 16 | 新增: /// </summary> | |
| 17 | 新增: void Start(); | |
| 18 | 新增: /// <summary> | |
| 19 | 新增: /// 停止观察 | |
| 20 | 新增: /// </summary> | |
| 21 | 新增: void Stop(); | |
| 22 | 新增: } | |
| 23 | 新增:} | |
| @@ -0,0 +1,31 @@ | ||
| 1 | 新增: | |
| 2 | 新增:Microsoft Visual Studio Solution File, Format Version 12.00 | |
| 3 | 新增:# Visual Studio Version 17 | |
| 4 | 新增:VisualStudioVersion = 17.0.31912.275 | |
| 5 | 新增:MinimumVisualStudioVersion = 10.0.40219.1 | |
| 6 | 新增:Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Core\Core.csproj", "{FA57023C-3399-45A4-A339-E453002BD878}" | |
| 7 | 新增:EndProject | |
| 8 | 新增:Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UI", "UI\UI.csproj", "{24270E1E-8C24-40B0-A463-98753DFAA4AE}" | |
| 9 | 新增:EndProject | |
| 10 | 新增:Global | |
| 11 | 新增: GlobalSection(SolutionConfigurationPlatforms) = preSolution | |
| 12 | 新增: Debug|Any CPU = Debug|Any CPU | |
| 13 | 新增: Release|Any CPU = Release|Any CPU | |
| 14 | 新增: EndGlobalSection | |
| 15 | 新增: GlobalSection(ProjectConfigurationPlatforms) = postSolution | |
| 16 | 新增: {FA57023C-3399-45A4-A339-E453002BD878}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |
| 17 | 新增: {FA57023C-3399-45A4-A339-E453002BD878}.Debug|Any CPU.Build.0 = Debug|Any CPU | |
| 18 | 新增: {FA57023C-3399-45A4-A339-E453002BD878}.Release|Any CPU.ActiveCfg = Release|Any CPU | |
| 19 | 新增: {FA57023C-3399-45A4-A339-E453002BD878}.Release|Any CPU.Build.0 = Release|Any CPU | |
| 20 | 新增: {24270E1E-8C24-40B0-A463-98753DFAA4AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | |
| 21 | 新增: {24270E1E-8C24-40B0-A463-98753DFAA4AE}.Debug|Any CPU.Build.0 = Debug|Any CPU | |
| 22 | 新增: {24270E1E-8C24-40B0-A463-98753DFAA4AE}.Release|Any CPU.ActiveCfg = Release|Any CPU | |
| 23 | 新增: {24270E1E-8C24-40B0-A463-98753DFAA4AE}.Release|Any CPU.Build.0 = Release|Any CPU | |
| 24 | 新增: EndGlobalSection | |
| 25 | 新增: GlobalSection(SolutionProperties) = preSolution | |
| 26 | 新增: HideSolutionNode = FALSE | |
| 27 | 新增: EndGlobalSection | |
| 28 | 新增: GlobalSection(ExtensibilityGlobals) = postSolution | |
| 29 | 新增: SolutionGuid = {EC745831-4BEE-4E09-953C-32E76AC383B1} | |
| 30 | 新增: EndGlobalSection | |
| 31 | 新增:EndGlobal | |
| @@ -0,0 +1,14 @@ | ||
| 1 | 新增:<?xml version="1.0" encoding="utf-8"?> | |
| 2 | 新增:<configuration> | |
| 3 | 新增: <startup> | |
| 4 | 新增: <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> | |
| 5 | 新增: </startup> | |
| 6 | 新增: <runtime> | |
| 7 | 新增: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | |
| 8 | 新增: <dependentAssembly> | |
| 9 | 新增: <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | |
| 10 | 新增: <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /> | |
| 11 | 新增: </dependentAssembly> | |
| 12 | 新增: </assemblyBinding> | |
| 13 | 新增: </runtime> | |
| 14 | 新增:</configuration> | |
| @@ -0,0 +1,10 @@ | ||
| 1 | 新增:<Application x:Class="UI.App" | |
| 2 | 新增: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| 3 | 新增: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| 4 | 新增: xmlns:local="clr-namespace:UI" | |
| 5 | 新增: Startup="OnStartup" | |
| 6 | 新增: > | |
| 7 | 新增: <Application.Resources> | |
| 8 | 新增: | |
| 9 | 新增: </Application.Resources> | |
| 10 | 新增:</Application> | |
| @@ -0,0 +1,39 @@ | ||
| 1 | 新增:using Core.Servicers.Instances; | |
| 2 | 新增:using Core.Servicers.Interfaces; | |
| 3 | 新增:using Microsoft.Extensions.DependencyInjection; | |
| 4 | 新增:using System; | |
| 5 | 新增:using System.Collections.Generic; | |
| 6 | 新增:using System.Configuration; | |
| 7 | 新增:using System.Data; | |
| 8 | 新增:using System.Linq; | |
| 9 | 新增:using System.Threading.Tasks; | |
| 10 | 新增:using System.Windows; | |
| 11 | 新增: | |
| 12 | 新增:namespace UI | |
| 13 | 新增:{ | |
| 14 | 新增: /// <summary> | |
| 15 | 新增: /// App.xaml 的交互逻辑 | |
| 16 | 新增: /// </summary> | |
| 17 | 新增: public partial class App : Application | |
| 18 | 新增: { | |
| 19 | 新增: private readonly ServiceProvider serviceProvider; | |
| 20 | 新增: public App() | |
| 21 | 新增: { | |
| 22 | 新增: var serviceCollection = new ServiceCollection(); | |
| 23 | 新增: ConfigureServices(serviceCollection); | |
| 24 | 新增: serviceProvider = serviceCollection.BuildServiceProvider(); | |
| 25 | 新增: | |
| 26 | 新增: } | |
| 27 | 新增: private void ConfigureServices(IServiceCollection services) | |
| 28 | 新增: { | |
| 29 | 新增: services.AddSingleton<IObserver, Observer>(); | |
| 30 | 新增: services.AddSingleton<IMain, Main>(); | |
| 31 | 新增: } | |
| 32 | 新增: | |
| 33 | 新增: private void OnStartup(object sender, StartupEventArgs e) | |
| 34 | 新增: { | |
| 35 | 新增: var main = serviceProvider.GetService<IMain>(); | |
| 36 | 新增: main.Run(); | |
| 37 | 新增: } | |
| 38 | 新增: } | |
| 39 | 新增:} | |
| @@ -0,0 +1,12 @@ | ||
| 1 | 新增:<Window x:Class="UI.MainWindow" | |
| 2 | 新增: xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| 3 | 新增: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
| 4 | 新增: xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
| 5 | 新增: xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
| 6 | 新增: xmlns:local="clr-namespace:UI" | |
| 7 | 新增: mc:Ignorable="d" | |
| 8 | 新增: Title="MainWindow" Height="450" Width="800"> | |
| 9 | 新增: <Grid> | |
| 10 | 新增: | |
| 11 | 新增: </Grid> | |
| 12 | 新增:</Window> | |
| @@ -0,0 +1,29 @@ | ||
| 1 | 新增:using Core; | |
| 2 | 新增:using System; | |
| 3 | 新增:using System.Collections.Generic; | |
| 4 | 新增:using System.Linq; | |
| 5 | 新增:using System.Text; | |
| 6 | 新增:using System.Threading.Tasks; | |
| 7 | 新增:using System.Windows; | |
| 8 | 新增:using System.Windows.Controls; | |
| 9 | 新增:using System.Windows.Data; | |
| 10 | 新增:using System.Windows.Documents; | |
| 11 | 新增:using System.Windows.Input; | |
| 12 | 新增:using System.Windows.Media; | |
| 13 | 新增:using System.Windows.Media.Imaging; | |
| 14 | 新增:using System.Windows.Navigation; | |
| 15 | 新增:using System.Windows.Shapes; | |
| 16 | 新增: | |
| 17 | 新增:namespace UI | |
| 18 | 新增:{ | |
| 19 | 新增: /// <summary> | |
| 20 | 新增: /// MainWindow.xaml 的交互逻辑 | |
| 21 | 新增: /// </summary> | |
| 22 | 新增: public partial class MainWindow : Window | |
| 23 | 新增: { | |
| 24 | 新增: public MainWindow() | |
| 25 | 新增: { | |
| 26 | 新增: InitializeComponent(); | |
| 27 | 新增: } | |
| 28 | 新增: } | |
| 29 | 新增:} | |
| @@ -0,0 +1,55 @@ | ||
| 1 | 新增:using System.Reflection; | |
| 2 | 新增:using System.Resources; | |
| 3 | 新增:using System.Runtime.CompilerServices; | |
| 4 | 新增:using System.Runtime.InteropServices; | |
| 5 | 新增:using System.Windows; | |
| 6 | 新增: | |
| 7 | 新增:// 有关程序集的一般信息由以下 | |
| 8 | 新增:// 控制。更改这些特性值可修改 | |
| 9 | 新增:// 与程序集关联的信息。 | |
| 10 | 新增:[assembly: AssemblyTitle("Test")] | |
| 11 | 新增:[assembly: AssemblyDescription("")] | |
| 12 | 新增:[assembly: AssemblyConfiguration("")] | |
| 13 | 新增:[assembly: AssemblyCompany("")] | |
| 14 | 新增:[assembly: AssemblyProduct("UI")] | |
| 15 | 新增:[assembly: AssemblyCopyright("Copyright © 2021")] | |
| 16 | 新增:[assembly: AssemblyTrademark("")] | |
| 17 | 新增:[assembly: AssemblyCulture("")] | |
| 18 | 新增: | |
| 19 | 新增:// 将 ComVisible 设置为 false 会使此程序集中的类型 | |
| 20 | 新增://对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 | |
| 21 | 新增://请将此类型的 ComVisible 特性设置为 true。 | |
| 22 | 新增:[assembly: ComVisible(false)] | |
| 23 | 新增: | |
| 24 | 新增://若要开始生成可本地化的应用程序,请设置 | |
| 25 | 新增://.csproj 文件中的 <UICulture>CultureYouAreCodingWith</UICulture> | |
| 26 | 新增://例如,如果您在源文件中使用的是美国英语, | |
| 27 | 新增://使用的是美国英语,请将 <UICulture> 设置为 en-US。 然后取消 | |
| 28 | 新增://对以下 NeutralResourceLanguage 特性的注释。 更新 | |
| 29 | 新增://以下行中的“en-US”以匹配项目文件中的 UICulture 设置。 | |
| 30 | 新增: | |
| 31 | 新增://[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] | |
| 32 | 新增: | |
| 33 | 新增: | |
| 34 | 新增:[assembly: ThemeInfo( | |
| 35 | 新增: ResourceDictionaryLocation.None, //主题特定资源词典所处位置 | |
| 36 | 新增: //(未在页面中找到资源时使用, | |
| 37 | 新增: //或应用程序资源字典中找到时使用) | |
| 38 | 新增: ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置 | |
| 39 | 新增: //(未在页面中找到资源时使用, | |
| 40 | 新增: //、应用程序或任何主题专用资源字典中找到时使用) | |
| 41 | 新增:)] | |
| 42 | 新增: | |
| 43 | 新增: | |
| 44 | 新增:// 程序集的版本信息由下列四个值组成: | |
| 45 | 新增:// | |
| 46 | 新增:// 主版本 | |
| 47 | 新增:// 次版本 | |
| 48 | 新增:// 生成号 | |
| 49 | 新增:// 修订号 | |
| 50 | 新增:// | |
| 51 | 新增://可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 | |
| 52 | 新增://通过使用 "*",如下所示: | |
| 53 | 新增:// [assembly: AssemblyVersion("1.0.*")] | |
| 54 | 新增:[assembly: AssemblyVersion("1.0.0.0")] | |
| 55 | 新增:[assembly: AssemblyFileVersion("1.0.0.0")] | |
| @@ -0,0 +1,63 @@ | ||
| 1 | 新增://------------------------------------------------------------------------------ | |
| 2 | 新增:// <auto-generated> | |
| 3 | 新增:// 此代码由工具生成。 | |
| 4 | 新增:// 运行时版本:4.0.30319.42000 | |
| 5 | 新增:// | |
| 6 | 新增:// 对此文件的更改可能会导致不正确的行为,并且如果 | |
| 7 | 新增:// 重新生成代码,这些更改将会丢失。 | |
| 8 | 新增:// </auto-generated> | |
| 9 | 新增://------------------------------------------------------------------------------ | |
| 10 | 新增: | |
| 11 | 新增:namespace UI.Properties { | |
| 12 | 新增: using System; | |
| 13 | 新增: | |
| 14 | 新增: | |
| 15 | 新增: /// <summary> | |
| 16 | 新增: /// 一个强类型的资源类,用于查找本地化的字符串等。 | |
| 17 | 新增: /// </summary> | |
| 18 | 新增: // 此类是由 StronglyTypedResourceBuilder | |
| 19 | 新增: // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 | |
| 20 | 新增: // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen | |
| 21 | 新增: // (以 /str 作为命令选项),或重新生成 VS 项目。 | |
| 22 | 新增: [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] | |
| 23 | 新增: [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | |
| 24 | 新增: [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | |
| 25 | 新增: internal class Resources { | |
| 26 | 新增: | |
| 27 | 新增: private static global::System.Resources.ResourceManager resourceMan; | |
| 28 | 新增: | |
| 29 | 新增: private static global::System.Globalization.CultureInfo resourceCulture; | |
| 30 | 新增: | |
| 31 | 新增: [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] | |
| 32 | 新增: internal Resources() { | |
| 33 | 新增: } | |
| 34 | 新增: | |
| 35 | 新增: /// <summary> | |
| 36 | 新增: /// 返回此类使用的缓存的 ResourceManager 实例。 | |
| 37 | 新增: /// </summary> | |
| 38 | 新增: [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | |
| 39 | 新增: internal static global::System.Resources.ResourceManager ResourceManager { | |
| 40 | 新增: get { | |
| 41 | 新增: if (object.ReferenceEquals(resourceMan, null)) { | |
| 42 | 新增: global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UI.Properties.Resources", typeof(Resources).Assembly); | |
| 43 | 新增: resourceMan = temp; | |
| 44 | 新增: } | |
| 45 | 新增: return resourceMan; | |
| 46 | 新增: } | |
| 47 | 新增: } | |
| 48 | 新增: | |
| 49 | 新增: /// <summary> | |
| 50 | 新增: /// 重写当前线程的 CurrentUICulture 属性,对 | |
| 51 | 新增: /// 使用此强类型资源类的所有资源查找执行重写。 | |
| 52 | 新增: /// </summary> | |
| 53 | 新增: [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] | |
| 54 | 新增: internal static global::System.Globalization.CultureInfo Culture { | |
| 55 | 新增: get { | |
| 56 | 新增: return resourceCulture; | |
| 57 | 新增: } | |
| 58 | 新增: set { | |
| 59 | 新增: resourceCulture = value; | |
| 60 | 新增: } | |
| 61 | 新增: } | |
| 62 | 新增: } | |
| 63 | 新增:} | |
| @@ -0,0 +1,117 @@ | ||
| 1 | 新增:<?xml version="1.0" encoding="utf-8"?> | |
| 2 | 新增:<root> | |
| 3 | 新增: <!-- | |
| 4 | 新增: Microsoft ResX Schema | |
| 5 | 新增: | |
| 6 | 新增: Version 2.0 | |
| 7 | 新增: | |
| 8 | 新增: The primary goals of this format is to allow a simple XML format | |
| 9 | 新增: that is mostly human readable. The generation and parsing of the | |
| 10 | 新增: various data types are done through the TypeConverter classes | |
| 11 | 新增: associated with the data types. | |
| 12 | 新增: | |
| 13 | 新增: Example: | |
| 14 | 新增: | |
| 15 | 新增: ... ado.net/XML headers & schema ... | |
| 16 | 新增: <resheader name="resmimetype">text/microsoft-resx</resheader> | |
| 17 | 新增: <resheader name="version">2.0</resheader> | |
| 18 | 新增: <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | |
| 19 | 新增: <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | |
| 20 | 新增: <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | |
| 21 | 新增: <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | |
| 22 | 新增: <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | |
| 23 | 新增: <value>[base64 mime encoded serialized .NET Framework object]</value> | |
| 24 | 新增: </data> | |
| 25 | 新增: <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | |
| 26 | 新增: <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | |
| 27 | 新增: <comment>This is a comment</comment> | |
| 28 | 新增: </data> | |
| 29 | 新增: | |
| 30 | 新增: There are any number of "resheader" rows that contain simple | |
| 31 | 新增: name/value pairs. | |
| 32 | 新增: | |
| 33 | 新增: Each data row contains a name, and value. The row also contains a | |
| 34 | 新增: type or mimetype. Type corresponds to a .NET class that support | |
| 35 | 新增: text/value conversion through the TypeConverter architecture. | |
| 36 | 新增: Classes that don't support this are serialized and stored with the | |
| 37 | 新增: mimetype set. | |
| 38 | 新增: | |
| 39 | 新增: The mimetype is used for serialized objects, and tells the | |
| 40 | 新增: ResXResourceReader how to depersist the object. This is currently not | |
| 41 | 新增: extensible. For a given mimetype the value must be set accordingly: | |
| 42 | 新增: | |
| 43 | 新增: Note - application/x-microsoft.net.object.binary.base64 is the format | |
| 44 | 新增: that the ResXResourceWriter will generate, however the reader can | |
| 45 | 新增: read any of the formats listed below. | |
| 46 | 新增: | |
| 47 | 新增: mimetype: application/x-microsoft.net.object.binary.base64 | |
| 48 | 新增: value : The object must be serialized with | |
| 49 | 新增: : System.Serialization.Formatters.Binary.BinaryFormatter | |
| 50 | 新增: : and then encoded with base64 encoding. | |
| 51 | 新增: | |
| 52 | 新增: mimetype: application/x-microsoft.net.object.soap.base64 | |
| 53 | 新增: value : The object must be serialized with | |
| 54 | 新增: : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | |
| 55 | 新增: : and then encoded with base64 encoding. | |
| 56 | 新增: | |
| 57 | 新增: mimetype: application/x-microsoft.net.object.bytearray.base64 | |
| 58 | 新增: value : The object must be serialized into a byte array | |
| 59 | 新增: : using a System.ComponentModel.TypeConverter | |
| 60 | 新增: : and then encoded with base64 encoding. | |
| 61 | 新增: --> | |
| 62 | 新增: <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | |
| 63 | 新增: <xsd:element name="root" msdata:IsDataSet="true"> | |
| 64 | 新增: <xsd:complexType> | |
| 65 | 新增: <xsd:choice maxOccurs="unbounded"> | |
| 66 | 新增: <xsd:element name="metadata"> | |
| 67 | 新增: <xsd:complexType> | |
| 68 | 新增: <xsd:sequence> | |
| 69 | 新增: <xsd:element name="value" type="xsd:string" minOccurs="0" /> | |
| 70 | 新增: </xsd:sequence> | |
| 71 | 新增: <xsd:attribute name="name" type="xsd:string" /> | |
| 72 | 新增: <xsd:attribute name="type" type="xsd:string" /> | |
| 73 | 新增: <xsd:attribute name="mimetype" type="xsd:string" /> | |
| 74 | 新增: </xsd:complexType> | |
| 75 | 新增: </xsd:element> | |
| 76 | 新增: <xsd:element name="assembly"> | |
| 77 | 新增: <xsd:complexType> | |
| 78 | 新增: <xsd:attribute name="alias" type="xsd:string" /> | |
| 79 | 新增: <xsd:attribute name="name" type="xsd:string" /> | |
| 80 | 新增: </xsd:complexType> | |
| 81 | 新增: </xsd:element> | |
| 82 | 新增: <xsd:element name="data"> | |
| 83 | 新增: <xsd:complexType> | |
| 84 | 新增: <xsd:sequence> | |
| 85 | 新增: <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |
| 86 | 新增: <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | |
| 87 | 新增: </xsd:sequence> | |
| 88 | 新增: <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> | |
| 89 | 新增: <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | |
| 90 | 新增: <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | |
| 91 | 新增: </xsd:complexType> | |
| 92 | 新增: </xsd:element> | |
| 93 | 新增: <xsd:element name="resheader"> | |
| 94 | 新增: <xsd:complexType> | |
| 95 | 新增: <xsd:sequence> | |
| 96 | 新增: <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | |
| 97 | 新增: </xsd:sequence> | |
| 98 | 新增: <xsd:attribute name="name" type="xsd:string" use="required" /> | |
| 99 | 新增: </xsd:complexType> | |
| 100 | 新增: </xsd:element> | |
| 101 | 新增: </xsd:choice> | |
| 102 | 新增: </xsd:complexType> | |
| 103 | 新增: </xsd:element> | |
| 104 | 新增: </xsd:schema> | |
| 105 | 新增: <resheader name="resmimetype"> | |
| 106 | 新增: <value>text/microsoft-resx</value> | |
| 107 | 新增: </resheader> | |
| 108 | 新增: <resheader name="version"> | |
| 109 | 新增: <value>2.0</value> | |
| 110 | 新增: </resheader> | |
| 111 | 新增: <resheader name="reader"> | |
| 112 | 新增: <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
| 113 | 新增: </resheader> | |
| 114 | 新增: <resheader name="writer"> | |
| 115 | 新增: <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | |
| 116 | 新增: </resheader> | |
| 117 | 新增:</root> | |
| 文件末尾没有换行 | ||
| @@ -0,0 +1,26 @@ | ||
| 1 | 新增://------------------------------------------------------------------------------ | |
| 2 | 新增:// <auto-generated> | |
| 3 | 新增:// 此代码由工具生成。 | |
| 4 | 新增:// 运行时版本:4.0.30319.42000 | |
| 5 | 新增:// | |
| 6 | 新增:// 对此文件的更改可能会导致不正确的行为,并且如果 | |
| 7 | 新增:// 重新生成代码,这些更改将会丢失。 | |
| 8 | 新增:// </auto-generated> | |
| 9 | 新增://------------------------------------------------------------------------------ | |
| 10 | 新增: | |
| 11 | 新增:namespace UI.Properties { | |
| 12 | 新增: | |
| 13 | 新增: | |
| 14 | 新增: [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | |
| 15 | 新增: [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.0.3.0")] | |
| 16 | 新增: internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { | |
| 17 | 新增: | |
| 18 | 新增: private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); | |
| 19 | 新增: | |
| 20 | 新增: public static Settings Default { | |
| 21 | 新增: get { | |
| 22 | 新增: return defaultInstance; | |
| 23 | 新增: } | |
| 24 | 新增: } | |
| 25 | 新增: } | |
| 26 | 新增:} | |
| @@ -0,0 +1,7 @@ | ||
| 1 | 新增:<?xml version='1.0' encoding='utf-8'?> | |
| 2 | 新增:<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)"> | |
| 3 | 新增: <Profiles> | |
| 4 | 新增: <Profile Name="(Default)" /> | |
| 5 | 新增: </Profiles> | |
| 6 | 新增: <Settings /> | |
| 7 | 新增:</SettingsFile> | |
| 文件末尾没有换行 | ||
| @@ -0,0 +1,120 @@ | ||
| 1 | 新增:<?xml version="1.0" encoding="utf-8"?> | |
| 2 | 新增:<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| 3 | 新增: <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | |
| 4 | 新增: <PropertyGroup> | |
| 5 | 新增: <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
| 6 | 新增: <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
| 7 | 新增: <ProjectGuid>{24270E1E-8C24-40B0-A463-98753DFAA4AE}</ProjectGuid> | |
| 8 | 新增: <OutputType>WinExe</OutputType> | |
| 9 | 新增: <RootNamespace>UI</RootNamespace> | |
| 10 | 新增: <AssemblyName>Tai</AssemblyName> | |
| 11 | 新增: <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> | |
| 12 | 新增: <FileAlignment>512</FileAlignment> | |
| 13 | 新增: <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | |
| 14 | 新增: <WarningLevel>4</WarningLevel> | |
| 15 | 新增: <Deterministic>true</Deterministic> | |
| 16 | 新增: <TargetFrameworkProfile /> | |
| 17 | 新增: </PropertyGroup> | |
| 18 | 新增: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
| 19 | 新增: <PlatformTarget>AnyCPU</PlatformTarget> | |
| 20 | 新增: <DebugSymbols>true</DebugSymbols> | |
| 21 | 新增: <DebugType>full</DebugType> | |
| 22 | 新增: <Optimize>false</Optimize> | |
| 23 | 新增: <OutputPath>bin\Debug\</OutputPath> | |
| 24 | 新增: <DefineConstants>DEBUG;TRACE</DefineConstants> | |
| 25 | 新增: <ErrorReport>prompt</ErrorReport> | |
| 26 | 新增: <WarningLevel>4</WarningLevel> | |
| 27 | 新增: </PropertyGroup> | |
| 28 | 新增: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
| 29 | 新增: <PlatformTarget>AnyCPU</PlatformTarget> | |
| 30 | 新增: <DebugType>pdbonly</DebugType> | |
| 31 | 新增: <Optimize>true</Optimize> | |
| 32 | 新增: <OutputPath>bin\Release\</OutputPath> | |
| 33 | 新增: <DefineConstants>TRACE</DefineConstants> | |
| 34 | 新增: <ErrorReport>prompt</ErrorReport> | |
| 35 | 新增: <WarningLevel>4</WarningLevel> | |
| 36 | 新增: </PropertyGroup> | |
| 37 | 新增: <ItemGroup> | |
| 38 | 新增: <Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
| 39 | 新增: <HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.6.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath> | |
| 40 | 新增: </Reference> | |
| 41 | 新增: <Reference Include="Microsoft.Extensions.DependencyInjection, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL"> | |
| 42 | 新增: <HintPath>..\packages\Microsoft.Extensions.DependencyInjection.6.0.0\lib\net461\Microsoft.Extensions.DependencyInjection.dll</HintPath> | |
| 43 | 新增: </Reference> | |
| 44 | 新增: <Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL"> | |
| 45 | 新增: <HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.6.0.0\lib\net461\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath> | |
| 46 | 新增: </Reference> | |
| 47 | 新增: <Reference Include="System" /> | |
| 48 | 新增: <Reference Include="System.Data" /> | |
| 49 | 新增: <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> | |
| 50 | 新增: <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath> | |
| 51 | 新增: </Reference> | |
| 52 | 新增: <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> | |
| 53 | 新增: <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath> | |
| 54 | 新增: </Reference> | |
| 55 | 新增: <Reference Include="System.Xml" /> | |
| 56 | 新增: <Reference Include="Microsoft.CSharp" /> | |
| 57 | 新增: <Reference Include="System.Core" /> | |
| 58 | 新增: <Reference Include="System.Xml.Linq" /> | |
| 59 | 新增: <Reference Include="System.Data.DataSetExtensions" /> | |
| 60 | 新增: <Reference Include="System.Net.Http" /> | |
| 61 | 新增: <Reference Include="System.Xaml"> | |
| 62 | 新增: <RequiredTargetFramework>4.0</RequiredTargetFramework> | |
| 63 | 新增: </Reference> | |
| 64 | 新增: <Reference Include="WindowsBase" /> | |
| 65 | 新增: <Reference Include="PresentationCore" /> | |
| 66 | 新增: <Reference Include="PresentationFramework" /> | |
| 67 | 新增: </ItemGroup> | |
| 68 | 新增: <ItemGroup> | |
| 69 | 新增: <ApplicationDefinition Include="App.xaml"> | |
| 70 | 新增: <Generator>MSBuild:Compile</Generator> | |
| 71 | 新增: <SubType>Designer</SubType> | |
| 72 | 新增: </ApplicationDefinition> | |
| 73 | 新增: <Page Include="MainWindow.xaml"> | |
| 74 | 新增: <Generator>MSBuild:Compile</Generator> | |
| 75 | 新增: <SubType>Designer</SubType> | |
| 76 | 新增: </Page> | |
| 77 | 新增: <Compile Include="App.xaml.cs"> | |
| 78 | 新增: <DependentUpon>App.xaml</DependentUpon> | |
| 79 | 新增: <SubType>Code</SubType> | |
| 80 | 新增: </Compile> | |
| 81 | 新增: <Compile Include="MainWindow.xaml.cs"> | |
| 82 | 新增: <DependentUpon>MainWindow.xaml</DependentUpon> | |
| 83 | 新增: <SubType>Code</SubType> | |
| 84 | 新增: </Compile> | |
| 85 | 新增: </ItemGroup> | |
| 86 | 新增: <ItemGroup> | |
| 87 | 新增: <Compile Include="Properties\AssemblyInfo.cs"> | |
| 88 | 新增: <SubType>Code</SubType> | |
| 89 | 新增: </Compile> | |
| 90 | 新增: <Compile Include="Properties\Resources.Designer.cs"> | |
| 91 | 新增: <AutoGen>True</AutoGen> | |
| 92 | 新增: <DesignTime>True</DesignTime> | |
| 93 | 新增: <DependentUpon>Resources.resx</DependentUpon> | |
| 94 | 新增: </Compile> | |
| 95 | 新增: <Compile Include="Properties\Settings.Designer.cs"> | |
| 96 | 新增: <AutoGen>True</AutoGen> | |
| 97 | 新增: <DependentUpon>Settings.settings</DependentUpon> | |
| 98 | 新增: <DesignTimeSharedInput>True</DesignTimeSharedInput> | |
| 99 | 新增: </Compile> | |
| 100 | 新增: <EmbeddedResource Include="Properties\Resources.resx"> | |
| 101 | 新增: <Generator>ResXFileCodeGenerator</Generator> | |
| 102 | 新增: <LastGenOutput>Resources.Designer.cs</LastGenOutput> | |
| 103 | 新增: </EmbeddedResource> | |
| 104 | 新增: <None Include="packages.config" /> | |
| 105 | 新增: <None Include="Properties\Settings.settings"> | |
| 106 | 新增: <Generator>SettingsSingleFileGenerator</Generator> | |
| 107 | 新增: <LastGenOutput>Settings.Designer.cs</LastGenOutput> | |
| 108 | 新增: </None> | |
| 109 | 新增: </ItemGroup> | |
| 110 | 新增: <ItemGroup> | |
| 111 | 新增: <None Include="App.config" /> | |
| 112 | 新增: </ItemGroup> | |
| 113 | 新增: <ItemGroup> | |
| 114 | 新增: <ProjectReference Include="..\Core\Core.csproj"> | |
| 115 | 新增: <Project>{fa57023c-3399-45a4-a339-e453002bd878}</Project> | |
| 116 | 新增: <Name>Core</Name> | |
| 117 | 新增: </ProjectReference> | |
| 118 | 新增: </ItemGroup> | |
| 119 | 新增: <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |
| 120 | 新增:</Project> | |
| 文件末尾没有换行 | ||
| @@ -0,0 +1,8 @@ | ||
| 1 | 新增:<?xml version="1.0" encoding="utf-8"?> | |
| 2 | 新增:<packages> | |
| 3 | 新增: <package id="Microsoft.Bcl.AsyncInterfaces" version="6.0.0" targetFramework="net461" /> | |
| 4 | 新增: <package id="Microsoft.Extensions.DependencyInjection" version="6.0.0" targetFramework="net461" /> | |
| 5 | 新增: <package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="6.0.0" targetFramework="net461" /> | |
| 6 | 新增: <package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net461" /> | |
| 7 | 新增: <package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net461" /> | |
| 8 | 新增:</packages> | |
| 文件末尾没有换行 | ||

