
9 changed files with 186 additions and 0 deletions
-
1.gitignore
-
6NuGet.Config
-
9X5Coder/App.xaml
-
31X5Coder/App.xaml.cs
-
BINX5Coder/Images/leaf.ico
-
37X5Coder/MainWindow.xaml
-
28X5Coder/MainWindow.xaml.cs
-
48X5Coder/X5Coder.csproj
-
26码神工具.sln
@ -0,0 +1,6 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<configuration> |
|||
<packageSources> |
|||
<add key="Telerik UI for WPF 2020.1.218" value="C:\Program Files (x86)\Progress\Telerik UI for WPF R1 2020\Binaries\NetCore\NuGet" /> |
|||
</packageSources> |
|||
</configuration> |
@ -0,0 +1,9 @@ |
|||
<Application x:Class="X5Coder.App" |
|||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|||
xmlns:local="clr-namespace:X5Coder" |
|||
StartupUri="MainWindow.xaml"> |
|||
<Application.Resources> |
|||
|
|||
</Application.Resources> |
|||
</Application> |
@ -0,0 +1,31 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Configuration; |
|||
using System.Data; |
|||
using System.Linq; |
|||
using System.Threading.Tasks; |
|||
using System.Windows; |
|||
using NewLife.Log; |
|||
|
|||
namespace X5Coder |
|||
{ |
|||
/// <summary>
|
|||
/// App.xaml 的交互逻辑
|
|||
/// </summary>
|
|||
public partial class App : Application |
|||
{ |
|||
public App() |
|||
{ |
|||
this.InitializeComponent(); |
|||
} |
|||
|
|||
protected override void OnStartup(StartupEventArgs e) |
|||
{ |
|||
#if NET45
|
|||
XTrace.UseWinForm(); |
|||
#endif
|
|||
|
|||
base.OnStartup(e); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,37 @@ |
|||
<Window |
|||
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:X5Coder" |
|||
x:Class="X5Coder.MainWindow" |
|||
mc:Ignorable="d" |
|||
UseLayoutRounding="True" |
|||
Title="新生命码神工具" Height="450" Width="800" WindowStartupLocation="CenterScreen"> |
|||
<Grid> |
|||
<Menu> |
|||
<MenuItem Header="开发工具"> |
|||
<MenuItem Header="正则表达式"/> |
|||
<MenuItem Header="图标水印" /> |
|||
<MenuItem Header="加密解密"/> |
|||
<MenuItem Header="语音助手"/> |
|||
<Separator/> |
|||
<MenuItem Header="文件夹统计"/> |
|||
<MenuItem Header="文件编码"/> |
|||
</MenuItem> |
|||
<MenuItem Header="数据工具"> |
|||
<MenuItem Header="数据建模"/> |
|||
</MenuItem> |
|||
<MenuItem Header="网络通信"> |
|||
<MenuItem Header="网络工具"/> |
|||
<MenuItem Header="RPC工具" /> |
|||
<MenuItem Header="串口工具"/> |
|||
<MenuItem Header="地图接口"/> |
|||
</MenuItem> |
|||
<MenuItem Header="帮助"> |
|||
<MenuItem Header="检查更新"/> |
|||
<MenuItem Header="关于"/> |
|||
</MenuItem> |
|||
</Menu> |
|||
</Grid> |
|||
</Window> |
@ -0,0 +1,28 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using System.Windows; |
|||
using System.Windows.Controls; |
|||
using System.Windows.Data; |
|||
using System.Windows.Documents; |
|||
using System.Windows.Input; |
|||
using System.Windows.Media; |
|||
using System.Windows.Media.Imaging; |
|||
using System.Windows.Navigation; |
|||
using System.Windows.Shapes; |
|||
|
|||
namespace X5Coder |
|||
{ |
|||
/// <summary>
|
|||
/// MainWindow.xaml 的交互逻辑
|
|||
/// </summary>
|
|||
public partial class MainWindow : Window |
|||
{ |
|||
public MainWindow() |
|||
{ |
|||
InitializeComponent(); |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,48 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> |
|||
|
|||
<PropertyGroup> |
|||
<OutputType>WinExe</OutputType> |
|||
<TargetFrameworks>net45;netcoreapp3.1</TargetFrameworks> |
|||
<UseWPF>true</UseWPF> |
|||
<AssemblyTitle>新生命码神工具</AssemblyTitle> |
|||
<Description>众多开发者工具</Description> |
|||
<Company>新生命开发团队</Company> |
|||
<Copyright>©2002-2020 新生命开发团队</Copyright> |
|||
<Version>8.0.2020.0425</Version> |
|||
<FileVersion>8.0.2020.0425</FileVersion> |
|||
<AssemblyVersion>8.0.*</AssemblyVersion> |
|||
<Deterministic>false</Deterministic> |
|||
<ApplicationIcon>Images\leaf.ico</ApplicationIcon> |
|||
<OutputPath>..\Bin\</OutputPath> |
|||
<DebugType>pdbonly</DebugType> |
|||
<Optimize>true</Optimize> |
|||
<DefineConstants>TRACE</DefineConstants> |
|||
</PropertyGroup> |
|||
|
|||
<PropertyGroup Condition="'$(Configuration)'=='Debug'"> |
|||
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants> |
|||
<DebugType>full</DebugType> |
|||
<Optimize>false</Optimize> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(TargetFramework)'=='net45'"> |
|||
<DefineConstants>$(DefineConstants);__WIN__;NET45</DefineConstants> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'"> |
|||
<DefineConstants>$(DefineConstants);__WIN__;NC30;__CORE__</DefineConstants> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<None Remove="Images\leaf.ico" /> |
|||
</ItemGroup> |
|||
|
|||
<ItemGroup> |
|||
<PackageReference Include="NewLife.Core" Version="8.7.2020.501" /> |
|||
<PackageReference Include="NewLife.XCode" Version="9.17.2020.501" /> |
|||
</ItemGroup> |
|||
|
|||
<ItemGroup> |
|||
<Resource Include="Images\leaf.ico"> |
|||
<CopyToOutputDirectory>Never</CopyToOutputDirectory> |
|||
</Resource> |
|||
</ItemGroup> |
|||
|
|||
</Project> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue