提交
This commit is contained in:
parent
f21ed7f087
commit
88a19893d2
25
CMWTAT_DIGITAL.sln
Normal file
25
CMWTAT_DIGITAL.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27130.2036
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CMWTAT_DIGITAL", "CMWTAT_DIGITAL\CMWTAT_DIGITAL.csproj", "{961DE925-B82C-4515-8FBD-6805E36D1212}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{961DE925-B82C-4515-8FBD-6805E36D1212}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{961DE925-B82C-4515-8FBD-6805E36D1212}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{961DE925-B82C-4515-8FBD-6805E36D1212}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{961DE925-B82C-4515-8FBD-6805E36D1212}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {653ED007-6FEF-4A82-9898-F60578205F1C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
18
CMWTAT_DIGITAL/App.xaml
Normal file
18
CMWTAT_DIGITAL/App.xaml
Normal file
@ -0,0 +1,18 @@
|
||||
<Application x:Class="CMWTAT_DIGITAL.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:CMWTAT_KMS"
|
||||
StartupUri="MainWindow.xaml"
|
||||
>
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Dark.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Pink.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml" />
|
||||
<ResourceDictionary Source="Lang/en.xaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
17
CMWTAT_DIGITAL/App.xaml.cs
Normal file
17
CMWTAT_DIGITAL/App.xaml.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using CMWTAT_DIGITAL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
|
||||
namespace CMWTAT_KMS
|
||||
{
|
||||
/// <summary>
|
||||
/// App.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
}
|
BIN
CMWTAT_DIGITAL/CMWTAT.ico
Normal file
BIN
CMWTAT_DIGITAL/CMWTAT.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 394 KiB |
BIN
CMWTAT_DIGITAL/CMWTAT.png
Normal file
BIN
CMWTAT_DIGITAL/CMWTAT.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 153 KiB |
198
CMWTAT_DIGITAL/CMWTAT_DIGITAL.csproj
Normal file
198
CMWTAT_DIGITAL/CMWTAT_DIGITAL.csproj
Normal file
@ -0,0 +1,198 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<TargetPlatformVersion>10.0.10240.0</TargetPlatformVersion>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{961DE925-B82C-4515-8FBD-6805E36D1212}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>CMWTAT_DIGITAL</RootNamespace>
|
||||
<AssemblyName>CMWTAT_DIGITAL</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>CMWTAT.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject>CMWTAT_DIGITAL.Program</StartupObject>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MaterialDesignColors, Version=1.1.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MaterialDesignColors.1.1.3\lib\net45\MaterialDesignColors.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="MaterialDesignThemes.Wpf, Version=2.5.0.1205, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MaterialDesignThemes.2.5.0.1205\lib\net45\MaterialDesignThemes.Wpf.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Runtime" />
|
||||
<Reference Include="System.Runtime.InteropServices.WindowsRuntime" />
|
||||
<Reference Include="System.Runtime.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="Windows.Data" />
|
||||
<Reference Include="Windows.Foundation" />
|
||||
<Reference Include="Windows.UI" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="Lang\en.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Lang\ja.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Lang\zh.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Domain\IsSN.cs" />
|
||||
<Compile Include="Domain\NotifyPropertyChangedExtension.cs" />
|
||||
<Compile Include="Domain\ViewModel.cs" />
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="OSVersionInfoClass.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="app.config" />
|
||||
<None Include="app.manifest">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="CMWTAT.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="..\packages\MaterialDesignColors.1.1.3\lib\net45\MaterialDesignColors.dll">
|
||||
<Link>Res\MaterialDesignColors.dll</Link>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="..\packages\MaterialDesignThemes.2.5.0.1205\lib\net45\MaterialDesignThemes.Wpf.dll">
|
||||
<Link>Res\MaterialDesignThemes.Wpf.dll</Link>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll">
|
||||
<Link>Res\Newtonsoft.Json.dll</Link>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Res\gatherosstate.exe" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Res\slc.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Res\slmgr.vbs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="bin\Debug\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Res\gatherosstateltsc.exe" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
20
CMWTAT_DIGITAL/CMWTAT_DIGITAL.csproj.user
Normal file
20
CMWTAT_DIGITAL/CMWTAT_DIGITAL.csproj.user
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<StartArguments>
|
||||
</StartArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
||||
<StartArguments>-l -%3f</StartArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
82
CMWTAT_DIGITAL/Domain/IsSN.cs
Normal file
82
CMWTAT_DIGITAL/Domain/IsSN.cs
Normal file
@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace CMWTAT_DIGITAL.Domain
|
||||
{
|
||||
class IsSN : ValidationRule
|
||||
{
|
||||
#region 匹配方法
|
||||
|
||||
/// <summary>
|
||||
/// 验证字符串是否匹配正则表达式描述的规则
|
||||
/// </summary>
|
||||
/// <param name="inputStr">待验证的字符串</param>
|
||||
/// <param name="patternStr">正则表达式字符串</param>
|
||||
/// <returns>是否匹配</returns>
|
||||
public static bool IsMatch(string inputStr, string patternStr)
|
||||
{
|
||||
return IsMatch(inputStr, patternStr, false, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 验证字符串是否匹配正则表达式描述的规则
|
||||
/// </summary>
|
||||
/// <param name="inputStr">待验证的字符串</param>
|
||||
/// <param name="patternStr">正则表达式字符串</param>
|
||||
/// <param name="ifIgnoreCase">匹配时是否不区分大小写</param>
|
||||
/// <returns>是否匹配</returns>
|
||||
public static bool IsMatch(string inputStr, string patternStr, bool ifIgnoreCase)
|
||||
{
|
||||
return IsMatch(inputStr, patternStr, ifIgnoreCase, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 验证字符串是否匹配正则表达式描述的规则
|
||||
/// </summary>
|
||||
/// <param name="inputStr">待验证的字符串</param>
|
||||
/// <param name="patternStr">正则表达式字符串</param>
|
||||
/// <param name="ifIgnoreCase">匹配时是否不区分大小写</param>
|
||||
/// <param name="ifValidateWhiteSpace">是否验证空白字符串</param>
|
||||
/// <returns>是否匹配</returns>
|
||||
public static bool IsMatch(string inputStr, string patternStr, bool ifIgnoreCase, bool ifValidateWhiteSpace)
|
||||
{
|
||||
if (!ifValidateWhiteSpace && string.IsNullOrEmpty(inputStr))
|
||||
return false;//如果不要求验证空白字符串而此时传入的待验证字符串为空白字符串,则不匹配
|
||||
Regex regex = null;
|
||||
if (ifIgnoreCase)
|
||||
regex = new Regex(patternStr, RegexOptions.IgnoreCase);//指定不区分大小写的匹配
|
||||
else
|
||||
regex = new Regex(patternStr);
|
||||
return regex.IsMatch(inputStr);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public override ValidationResult Validate(object value, CultureInfo cultureInfo)
|
||||
{
|
||||
//Console.WriteLine("\""+value+"\"");
|
||||
//return string.IsNullOrWhiteSpace((value ?? "").ToString())
|
||||
// ? new ValidationResult(false, "Key is required.")
|
||||
// : ValidationResult.ValidResult;
|
||||
|
||||
string pattern = @"^[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}$";
|
||||
|
||||
if (IsMatch((value ?? "").ToString(), pattern))
|
||||
{
|
||||
return ValidationResult.ValidResult;
|
||||
|
||||
}
|
||||
else if (string.IsNullOrWhiteSpace((value ?? "").ToString()))
|
||||
{
|
||||
return new ValidationResult(false, "Please enter the key for the current edition.");
|
||||
}
|
||||
else
|
||||
{
|
||||
return new ValidationResult(false, "Invalid format.");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
20
CMWTAT_DIGITAL/Domain/NotifyPropertyChangedExtension.cs
Normal file
20
CMWTAT_DIGITAL/Domain/NotifyPropertyChangedExtension.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CMWTAT_DIGITAL.Domain
|
||||
{
|
||||
public static class NotifyPropertyChangedExtension
|
||||
{
|
||||
public static void MutateVerbose<TField>(this INotifyPropertyChanged instance, ref TField field, TField newValue, Action<PropertyChangedEventArgs> raise, [CallerMemberName] string propertyName = null)
|
||||
{
|
||||
if (EqualityComparer<TField>.Default.Equals(field, newValue)) return;
|
||||
field = newValue;
|
||||
raise?.Invoke(new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
37
CMWTAT_DIGITAL/Domain/ViewModel.cs
Normal file
37
CMWTAT_DIGITAL/Domain/ViewModel.cs
Normal file
@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CMWTAT_DIGITAL.Domain
|
||||
{
|
||||
class ViewModel : INotifyPropertyChanged
|
||||
{
|
||||
private string _sn;
|
||||
|
||||
public ViewModel()
|
||||
{
|
||||
LongListToTestComboVirtualization = new List<int>(Enumerable.Range(0, 1000));
|
||||
}
|
||||
|
||||
public string SN
|
||||
{
|
||||
get { return _sn; }
|
||||
set
|
||||
{
|
||||
this.MutateVerbose(ref _sn, value, RaisePropertyChanged());
|
||||
}
|
||||
}
|
||||
|
||||
public IList<int> LongListToTestComboVirtualization { get; }
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
private Action<PropertyChangedEventArgs> RaisePropertyChanged()
|
||||
{
|
||||
return args => PropertyChanged?.Invoke(this, args);
|
||||
}
|
||||
}
|
||||
}
|
213
CMWTAT_DIGITAL/Lang/en.xaml
Normal file
213
CMWTAT_DIGITAL/Lang/en.xaml
Normal file
@ -0,0 +1,213 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<!--
|
||||
Version: 2.5.0.0
|
||||
-->
|
||||
|
||||
<!--FontFamily Dictionary-->
|
||||
|
||||
<FontFamily x:Key="Font">
|
||||
Roboto
|
||||
</FontFamily>
|
||||
|
||||
<!--String Dictionary-->
|
||||
|
||||
<sys:String x:Key="OK">
|
||||
OK
|
||||
</sys:String>
|
||||
<sys:String x:Key="Cancel">
|
||||
Cancel
|
||||
</sys:String>
|
||||
<sys:String x:Key="Refuse">
|
||||
Refuse
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateBtn">
|
||||
Thanks developer and donate a dinner
|
||||
</sys:String>
|
||||
<sys:String x:Key="Exit">
|
||||
Exit
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateNow">
|
||||
Update Now
|
||||
</sys:String>
|
||||
<sys:String x:Key="Ignore">
|
||||
Ignore
|
||||
</sys:String>
|
||||
<sys:String x:Key="TitleName">
|
||||
CMWTAT Digital Edition
|
||||
</sys:String>
|
||||
<sys:String x:Key="AppName">
|
||||
CMWTAT Digital Edition V2
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateTitle">
|
||||
A new version available!
|
||||
</sys:String>
|
||||
<sys:String x:Key="CurrentVersion">
|
||||
Current Version
|
||||
</sys:String>
|
||||
<sys:String x:Key="LatestVersion">
|
||||
Latest Version
|
||||
</sys:String>
|
||||
<sys:String x:Key="Auto_Mode">
|
||||
Auto Mode
|
||||
</sys:String>
|
||||
<sys:String x:Key="Manual_Mode">
|
||||
Manual Mode
|
||||
</sys:String>
|
||||
<sys:String x:Key="Activate_Button">
|
||||
Activate
|
||||
</sys:String>
|
||||
<sys:String x:Key="Convert_versions">
|
||||
Convert versions (Install Key without Activate)
|
||||
</sys:String>
|
||||
<sys:String x:Key="test">
|
||||
Test Text
|
||||
</sys:String>
|
||||
<sys:String x:Key="Loading">
|
||||
Loading
|
||||
</sys:String>
|
||||
<sys:String x:Key="Activating">
|
||||
Activating
|
||||
</sys:String>
|
||||
<sys:String x:Key="Complete">
|
||||
Complete
|
||||
</sys:String>
|
||||
<sys:String x:Key="notifyIconTitle">
|
||||
CloudMoe Windows 10 Activation Toolkit V2
|
||||
</sys:String>
|
||||
<sys:String x:Key="Running">
|
||||
Running.
|
||||
</sys:String>
|
||||
<sys:String x:Key="Experimental">
|
||||
Experimental
|
||||
</sys:String>
|
||||
<sys:String x:Key="Attention">
|
||||
Attention
|
||||
</sys:String>
|
||||
<sys:String x:Key="System_Edition">
|
||||
System edition
|
||||
</sys:String>
|
||||
<sys:String x:Key="May_be_not_be_supported">
|
||||
Unable to correctly identify your operating system edition in support list, may be not be supported.
|
||||
</sys:String>
|
||||
<sys:String x:Key="Only_find_experimental">
|
||||
Only found experimental options that can be used with this operating system edition, little hope of activation success.
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_May_be_not_be_supported_try">
|
||||
Your system edition may not be supported, program will exit. you can try add --expact or -e to startup.
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_May_be_not_be_supported_exit">
|
||||
Your system edition may not be supported, program will exit.
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_Disconnect_to_server_exit">
|
||||
Unable to connect to server, Please check the network and try to try again later, program will exit.
|
||||
</sys:String>
|
||||
<sys:String x:Key="Disconnect_to_server_exit">
|
||||
Unable to connect to server, Please check the network and try to try again later, program will exit.
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Converting">
|
||||
Converting
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Activating">
|
||||
Activating
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Getting_Key">
|
||||
Getting Key via Internet
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_Key">
|
||||
Getting Key via Internet
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Uninstalling_old_Key">
|
||||
Uninstalling old Key
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Uninstalling_old_Key">
|
||||
Uninstalling old Key
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Uninstalling_old_Key_Exp">
|
||||
Uninstalling old Key (Experimental)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Installing_Key">
|
||||
Installing Key
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Installing_Key">
|
||||
Installing Key
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_edition_code_Exp">
|
||||
Getting edition code (Experimental)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Prepare_for_the_next_step_Exp">
|
||||
Prepare for the next step (Experimental)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Writing_old_OS">
|
||||
Writing feature of old Windows version
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_free_upgrade_permissions">
|
||||
Getting free upgrade permissions
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Cleaning_changes">
|
||||
Cleaning changes
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_digital_license">
|
||||
Getting digital license
|
||||
</sys:String>
|
||||
<sys:String x:Key="CompleteTitle">
|
||||
Complete
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorTitle">
|
||||
Error
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorCode">
|
||||
Code:
|
||||
</sys:String>
|
||||
<sys:String x:Key="SysMsg">
|
||||
System return:
|
||||
</sys:String>
|
||||
|
||||
<!--
|
||||
Attention:
|
||||
DO NOT USE ANY Indentation in Preserve Mode, Please!
|
||||
-->
|
||||
|
||||
<sys:String x:Key="HelpText" xml:space="preserve">
|
||||
This application now supports the use of console args to startup! -a	--auto		Auto activate. -h	--hide		Run with hide mode (Only be worked with -auto). -e	--expact		Experimental activation. -l	--log		Output log to file. -?	--help		Show this help Dialog.
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextConverted" xml:space="preserve">
|
||||
Congratulation! Windows 10 has been successful converted.
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextActivated" xml:space="preserve">
|
||||
Congratulation! Windows 10 has been successful activated.
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateText" xml:space="preserve">
|
||||
We found a new version for CloudMoe Windows 10 Activation Toolkit Digital Edition. Please update to the latest version to make sure it works.
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateMustText" xml:space="preserve">
|
||||
We found a new version for CloudMoe Windows 10 Activation Toolkit Digital Edition. And because your version is too old, so you MUST update to the latest version to make sure it works.
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-0" xml:space="preserve">
|
||||
Activate Windows 10 requires a network to gets the product key :)
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1" xml:space="preserve">
|
||||
Cannot to uninstall old key. :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1.1" xml:space="preserve">
|
||||
Cannot to install key, may be you choose or enter a incorrect version. :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1.2" xml:space="preserve">
|
||||
Cannot to get edition code. :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-2" xml:space="preserve">
|
||||
Cannot to install key, may be you choose or enter a incorrect version. :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-3" xml:space="preserve">
|
||||
Time out, may be you choose or enter a incorrect version. :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-4" xml:space="preserve">
|
||||
Activation Failed. :( Maybe: 1.This edition/version of Windows does not support digital license activation. 2. Unable to connect to Microsoft Windows Activation Server. 3. Other unexpected problems. You can try to wait a minute or try again later.
|
||||
</sys:String>
|
||||
<sys:String x:Key="Only_find_ltok" xml:space="preserve">
|
||||
Only found Long-Term Offline KMS (LTOK) options that can be used with this operating system edition. This means that it will not be activate automatically after you reinstalled the system. But don't worry, this is different from the legacy KMS activation method (it can keep activating for 180 days in offline environment). LTOK (The prefix is Offline-KMS) can keep activating for up to 19 years even it is without networking!
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextWillActivated" xml:space="preserve">
|
||||
Congratulation! Windows 10 is ready to activate. However, it seems that Windows cannot connect to the Microsoft Activation Server. Your system will be activated automatically the next time the server is connected.
|
||||
</sys:String>
|
||||
</ResourceDictionary>
|
213
CMWTAT_DIGITAL/Lang/ja.xaml
Normal file
213
CMWTAT_DIGITAL/Lang/ja.xaml
Normal file
@ -0,0 +1,213 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<!--
|
||||
Version: 2.5.0.0
|
||||
-->
|
||||
|
||||
<!--FontFamily Dictionary-->
|
||||
|
||||
<FontFamily x:Key="Font">
|
||||
Yu Gothic UI
|
||||
</FontFamily>
|
||||
|
||||
<!--String Dictionary-->
|
||||
|
||||
<sys:String x:Key="OK">
|
||||
はい
|
||||
</sys:String>
|
||||
<sys:String x:Key="Cancel">
|
||||
キャンセル
|
||||
</sys:String>
|
||||
<sys:String x:Key="Refuse">
|
||||
リフューズ
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateBtn">
|
||||
寄付します
|
||||
</sys:String>
|
||||
<sys:String x:Key="Exit">
|
||||
終了
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateNow">
|
||||
今すぐアップデート
|
||||
</sys:String>
|
||||
<sys:String x:Key="Ignore">
|
||||
無視する
|
||||
</sys:String>
|
||||
<sys:String x:Key="TitleName">
|
||||
雲萌 Windows 10 デジタルライセンス認証アプリ
|
||||
</sys:String>
|
||||
<sys:String x:Key="AppName">
|
||||
CMWTAT Digital Edition V2
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateTitle">
|
||||
新しいバージョンがあります!
|
||||
</sys:String>
|
||||
<sys:String x:Key="CurrentVersion">
|
||||
バージョン
|
||||
</sys:String>
|
||||
<sys:String x:Key="LatestVersion">
|
||||
ラストバージョン
|
||||
</sys:String>
|
||||
<sys:String x:Key="Auto_Mode">
|
||||
オートモード
|
||||
</sys:String>
|
||||
<sys:String x:Key="Manual_Mode">
|
||||
マニュアルモード
|
||||
</sys:String>
|
||||
<sys:String x:Key="Activate_Button">
|
||||
認証
|
||||
</sys:String>
|
||||
<sys:String x:Key="Convert_versions">
|
||||
エディション変換 (キーをインストールするが、認証しません)
|
||||
</sys:String>
|
||||
<sys:String x:Key="test">
|
||||
テストテキスト
|
||||
</sys:String>
|
||||
<sys:String x:Key="Loading">
|
||||
ローディング
|
||||
</sys:String>
|
||||
<sys:String x:Key="Activating">
|
||||
認証中
|
||||
</sys:String>
|
||||
<sys:String x:Key="Complete">
|
||||
コンプリート
|
||||
</sys:String>
|
||||
<sys:String x:Key="notifyIconTitle">
|
||||
雲萌 Windows 10 認証アプリ V2
|
||||
</sys:String>
|
||||
<sys:String x:Key="Running">
|
||||
実行中。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Experimental">
|
||||
実験性
|
||||
</sys:String>
|
||||
<sys:String x:Key="Attention">
|
||||
注意
|
||||
</sys:String>
|
||||
<sys:String x:Key="System_Edition">
|
||||
システムエディション
|
||||
</sys:String>
|
||||
<sys:String x:Key="May_be_not_be_supported">
|
||||
あなたのシステムエディションが判別できません、対応していないかもしれません。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Only_find_experimental">
|
||||
このシステムエディションに実験性オプションしか取れません、認証成功の可能性は極めて低い。
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_May_be_not_be_supported_try">
|
||||
あなたのシステムエディションは対応していないかもしれません。アプリは終了する。試して、--expactまたは-eを追加することでアプリ起動してください。
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_May_be_not_be_supported_exit">
|
||||
あなたのシステムエディションは対応していないかもしれません。アプリは終了する。
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_Disconnect_to_server_exit">
|
||||
サーバーに接続できません、インターネット接続を確認するまたは後で試してください、アプリは終了します。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Disconnect_to_server_exit">
|
||||
サーバーに接続できません、インターネット接続を確認するまたは後で試してください、アプリは終了します。
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Converting">
|
||||
変換中
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Activating">
|
||||
ライセンス認証中
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Getting_Key">
|
||||
インターネットを通じてキーを取得しています
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_Key">
|
||||
インターネットを通じてキーを取得しています
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Uninstalling_old_Key">
|
||||
以前のキーをアンインストールしています
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Uninstalling_old_Key">
|
||||
以前のキーをアンインストールしています
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Uninstalling_old_Key_Exp">
|
||||
以前のキーをアンインストールしています(実験性)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Installing_Key">
|
||||
キーをインストールしています
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Installing_Key">
|
||||
キーをインストールしています
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_edition_code_Exp">
|
||||
エディションコードを取得中(実験性)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Prepare_for_the_next_step_Exp">
|
||||
次のステップに準備しています(実験性)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Writing_old_OS">
|
||||
旧システムの特徴を書き込み中
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_free_upgrade_permissions">
|
||||
無償アップグレード権限を取得中
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Cleaning_changes">
|
||||
変更がクリーンアップされます
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_digital_license">
|
||||
デジタルライセンスを取得中
|
||||
</sys:String>
|
||||
<sys:String x:Key="CompleteTitle">
|
||||
コンプリート
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorTitle">
|
||||
エラー
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorCode">
|
||||
コード:
|
||||
</sys:String>
|
||||
<sys:String x:Key="SysMsg">
|
||||
システムメッセージ:
|
||||
</sys:String>
|
||||
|
||||
<!--
|
||||
Attention:
|
||||
DO NOT USE ANY Indentation in Preserve Mode, Please!
|
||||
-->
|
||||
|
||||
<sys:String x:Key="HelpText" xml:space="preserve">
|
||||
このアプリは起動時にコンソール引数を使用できるようになりました! -a	--auto		自動認証。 -h	--hide		非表示モードで実行 (-autoと一緒に使用するだけ可能)。 -e	--expact		実験性認証。 -l	--log		ログをファイルに出力。 -?	--help		この説明ダイアログボックスを表示する。
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextConverted" xml:space="preserve">
|
||||
おめでとう! Windows 10 エディション変換成功。
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextActivated" xml:space="preserve">
|
||||
おめでとう! Windows 10 認証成功。
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateText" xml:space="preserve">
|
||||
雲萌 Windows10 デジタルライセンス認証アプリの新しいバージョン発見しました。 最新バージョンにアップデートしてください。
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateMustText" xml:space="preserve">
|
||||
雲萌 Windows10 デジタルライセンス認証アプリの新しいバージョン発見しました。 アプリが古すぎるため、最新バージョンにアップデートしてから利用ください。
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-0" xml:space="preserve">
|
||||
Windows10ライセンス認証にはインターネットを通じてキーを取得する必要があります :)
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1" xml:space="preserve">
|
||||
以前のキーをアンインストールできません :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1.1" xml:space="preserve">
|
||||
キーをインストールできません、選択または入力されたエディションが間違っているかもしれません :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1.2" xml:space="preserve">
|
||||
エディションコードを取得できません :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-2" xml:space="preserve">
|
||||
キーをインストールできません、選択または入力されたエディションが間違っているかもしれません :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-3" xml:space="preserve">
|
||||
タイムアウト,選択または入力されたエディションが間違っているかもしれません :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-4" xml:space="preserve">
|
||||
認証失敗。 :( 多分: 1. このエディション/バージョンの Windows はデジタルライセンス認証が適用しない。 2. マイクロソフトの認証サーバーに接続できません。 3. その他。 暫くお待ちくださいまたはあとでもう一度やり直してください。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Only_find_ltok" xml:space="preserve">
|
||||
このシステムエディションに適用されたのは長期オフラインKMS(LTOK)オプションしか見つかりません。これによってシステムを再インストールした時自動的にライセンス認証しませんが、心配する必要はありません。この方法(LTOK)でライセンス認証後、インターネット接続なしでも最大19年間稼働を継続できます!
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextWillActivated" xml:space="preserve">
|
||||
おめでとうございます! Windows 10はライセンス認証の準備が出来ています。 でも、マイクロソフトのライセンス認証サーバーに接続できませんみたいです。 システムは認証サーバーに接続出来る次第に自動的にライセンス認証します。
|
||||
</sys:String>
|
||||
</ResourceDictionary>
|
213
CMWTAT_DIGITAL/Lang/zh.xaml
Normal file
213
CMWTAT_DIGITAL/Lang/zh.xaml
Normal file
@ -0,0 +1,213 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib">
|
||||
|
||||
<!--
|
||||
Version: 2.5.0.0
|
||||
-->
|
||||
|
||||
<!--FontFamily Dictionary-->
|
||||
|
||||
<FontFamily x:Key="Font">
|
||||
Microsoft YaHei UI
|
||||
</FontFamily>
|
||||
|
||||
<!--String Dictionary-->
|
||||
|
||||
<sys:String x:Key="OK">
|
||||
好
|
||||
</sys:String>
|
||||
<sys:String x:Key="Cancel">
|
||||
取消
|
||||
</sys:String>
|
||||
<sys:String x:Key="Refuse">
|
||||
丑拒
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateBtn">
|
||||
请顿晚饭,感谢作者
|
||||
</sys:String>
|
||||
<sys:String x:Key="Exit">
|
||||
退出
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateNow">
|
||||
立即更新
|
||||
</sys:String>
|
||||
<sys:String x:Key="Ignore">
|
||||
忽略
|
||||
</sys:String>
|
||||
<sys:String x:Key="TitleName">
|
||||
云萌 Windows 10 数字权利激活工具
|
||||
</sys:String>
|
||||
<sys:String x:Key="AppName">
|
||||
CMWTAT Digital Edition V2
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateTitle">
|
||||
新版本可用!
|
||||
</sys:String>
|
||||
<sys:String x:Key="CurrentVersion">
|
||||
当前版本
|
||||
</sys:String>
|
||||
<sys:String x:Key="LatestVersion">
|
||||
最新版本
|
||||
</sys:String>
|
||||
<sys:String x:Key="Auto_Mode">
|
||||
自动模式
|
||||
</sys:String>
|
||||
<sys:String x:Key="Manual_Mode">
|
||||
手动模式
|
||||
</sys:String>
|
||||
<sys:String x:Key="Activate_Button">
|
||||
激活
|
||||
</sys:String>
|
||||
<sys:String x:Key="Convert_versions">
|
||||
版本无缝转换 (安装产品密钥而不激活)
|
||||
</sys:String>
|
||||
<sys:String x:Key="test">
|
||||
测试文本
|
||||
</sys:String>
|
||||
<sys:String x:Key="Loading">
|
||||
载入中
|
||||
</sys:String>
|
||||
<sys:String x:Key="Activating">
|
||||
激活中
|
||||
</sys:String>
|
||||
<sys:String x:Key="Complete">
|
||||
完成
|
||||
</sys:String>
|
||||
<sys:String x:Key="notifyIconTitle">
|
||||
云萌 Windows 10 激活工具 V2
|
||||
</sys:String>
|
||||
<sys:String x:Key="Running">
|
||||
运行中。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Experimental">
|
||||
实验性
|
||||
</sys:String>
|
||||
<sys:String x:Key="Attention">
|
||||
注意
|
||||
</sys:String>
|
||||
<sys:String x:Key="System_Edition">
|
||||
系统版本
|
||||
</sys:String>
|
||||
<sys:String x:Key="May_be_not_be_supported">
|
||||
无法在支持列表里识别您的操作系统版本,可能不受支持。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Only_find_experimental">
|
||||
只找到用于此版本系统的实验性选项,成功概率极低。
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_May_be_not_be_supported_try">
|
||||
你的系统版本可能不受支持,程序即将退出。不过你可以尝试添加 --expact 或者 -e 参数来启动。
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_May_be_not_be_supported_exit">
|
||||
你的系统版本可能不受支持,程序即将退出。
|
||||
</sys:String>
|
||||
<sys:String x:Key="notify_Disconnect_to_server_exit">
|
||||
无法连接服务器,请检查网络并尝试稍后重试,程序即将退出。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Disconnect_to_server_exit">
|
||||
无法连接服务器,请检查网络并尝试稍后重试,程序即将退出。
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Converting">
|
||||
转换中
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Activating">
|
||||
激活中
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Getting_Key">
|
||||
正在通过网络获取产品密钥
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_Key">
|
||||
正在通过网络获取产品密钥
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Uninstalling_old_Key">
|
||||
正在卸载旧的产品密钥
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Uninstalling_old_Key">
|
||||
正在卸载旧的产品密钥
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Uninstalling_old_Key_Exp">
|
||||
正在卸载旧的产品密钥(实验性)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunInstall_Installing_Key">
|
||||
正在安装产品密钥
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Installing_Key">
|
||||
正在安装产品密钥
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_edition_code_Exp">
|
||||
正在获取版本代号(实验性)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Prepare_for_the_next_step_Exp">
|
||||
正在准备下一步(实验性)
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Writing_old_OS">
|
||||
正在写入旧系统残留特征
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_free_upgrade_permissions">
|
||||
正在获取免费升级许可
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Cleaning_changes">
|
||||
正在清理更改
|
||||
</sys:String>
|
||||
<sys:String x:Key="RunAct_Getting_digital_license">
|
||||
正在获取数字许可证
|
||||
</sys:String>
|
||||
<sys:String x:Key="CompleteTitle">
|
||||
完成
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorTitle">
|
||||
错误
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorCode">
|
||||
代码:
|
||||
</sys:String>
|
||||
<sys:String x:Key="SysMsg">
|
||||
系统返回:
|
||||
</sys:String>
|
||||
|
||||
<!--
|
||||
Attention:
|
||||
DO NOT USE ANY Indentation in Preserve Mode, Please!
|
||||
-->
|
||||
|
||||
<sys:String x:Key="HelpText" xml:space="preserve">
|
||||
这个应用现已支持通过控制台参数启动! -a	--auto		自动激活。 -h	--hide		隐藏模式运行 (只能与 -auto 一起使用)。 -e	--expact	实验性激活。 -l	--log		输出日志到文件。 -?	--help		显示此说明对话框。
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextConverted" xml:space="preserve">
|
||||
祝贺! Windows 10 已经成功转换。
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextActivated" xml:space="preserve">
|
||||
祝贺! Windows 10 已经成功激活。
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateText" xml:space="preserve">
|
||||
我们发现了新版本的 云萌 Windows10 数字权利激活工具。 请更新到最新版本来确保它可以正常工作。
|
||||
</sys:String>
|
||||
<sys:String x:Key="UpdateMustText" xml:space="preserve">
|
||||
我们发现了新版本的 云萌 Windows10 数字权利激活工具。 由于您的版本太旧,所以您必须更新到最新版本来确保它可以正常工作。
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-0" xml:space="preserve">
|
||||
激活Windows10需要网络获取产品密钥 :)
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1" xml:space="preserve">
|
||||
无法卸载旧密钥 :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1.1" xml:space="preserve">
|
||||
无法安装密钥,可能没有选择或输入正确的版本 :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-1.2" xml:space="preserve">
|
||||
无法获取版本代号 :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-2" xml:space="preserve">
|
||||
无法安装密钥,可能没有选择或输入正确的版本 :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-3" xml:space="preserve">
|
||||
执行超时,可能没有选择正确或输入的版本 :(
|
||||
</sys:String>
|
||||
<sys:String x:Key="ErrorMsg-4" xml:space="preserve">
|
||||
激活失败。 :( 可能因为: 1. 此版本/类型的 Windows 不支持数字权利(数字许可证)方式激活。 2. 无法连接到微软Windows激活服务器。 3. 其它未知问题。 你可以尝试稍等片刻或者稍后重试。
|
||||
</sys:String>
|
||||
<sys:String x:Key="Only_find_ltok" xml:space="preserve">
|
||||
只找到用于此版本系统的长期离线KMS(批量激活)选项。 这表示您将不能在下次重装系统后自动激活。 不过无需担心,这不同于传统的KMS激活方式(离线状态下可以保持激活180天) 长期离线KMS(Offline-KMS)即使不联网也可以保持激活长达19年!
|
||||
</sys:String>
|
||||
<sys:String x:Key="DonateTextWillActivated" xml:space="preserve">
|
||||
祝贺! Windows 10 已经快要激活成功了。 不过似乎Windows无法连接到微软激活服务器, 当下次连接上服务器时系统将会自动激活。
|
||||
</sys:String>
|
||||
</ResourceDictionary>
|
237
CMWTAT_DIGITAL/MainWindow.xaml
Normal file
237
CMWTAT_DIGITAL/MainWindow.xaml
Normal file
@ -0,0 +1,237 @@
|
||||
<Window x:Class="CMWTAT_DIGITAL.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:domain="clr-namespace:CMWTAT_DIGITAL.Domain"
|
||||
xmlns:local="clr-namespace:CMWTAT_DIGITAL"
|
||||
mc:Ignorable="d"
|
||||
Title="{DynamicResource TitleName}" Height="550" Width="450"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||||
TextElement.FontWeight="Regular"
|
||||
TextElement.FontSize="13"
|
||||
TextOptions.TextFormattingMode="Ideal"
|
||||
TextOptions.TextRenderingMode="Aliased"
|
||||
Background="{DynamicResource MaterialDesignPaper}"
|
||||
ResizeMode="NoResize"
|
||||
d:DataContext="{d:DesignInstance domain:ViewModel, d:IsDesignTimeCreatable=False}"
|
||||
Icon="CMWTAT.ico"
|
||||
Closing="Window_Closing"
|
||||
FontFamily="{DynamicResource Font}"
|
||||
Activated="Window_Activated"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
>
|
||||
<!--FontFamily="{DynamicResource MaterialDesignFont}"-->
|
||||
<Grid>
|
||||
<Grid Margin="30,30,30,30" VerticalAlignment="Center">
|
||||
<StackPanel>
|
||||
<materialDesign:Card Padding="30" Margin="0,0,0,0" materialDesign:ShadowAssist.ShadowDepth="Depth3" UniformCornerRadius="8">
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" ><Run Text="{DynamicResource AppName}"/></TextBlock>
|
||||
</materialDesign:Card>
|
||||
<materialDesign:Card Padding="30,30" Margin="0,30,0,0" materialDesign:ShadowAssist.ShadowDepth="Depth3" UniformCornerRadius="8">
|
||||
<StackPanel>
|
||||
<Grid>
|
||||
<ComboBox x:Name="SystemEditionText" DisplayMemberPath="DisplayOS" VerticalAlignment="Center" Visibility="Visible"/>
|
||||
<TextBox x:Name="SystemEditionTextInput" materialDesign:HintAssist.Hint="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" MaxLength="29" xmlns:input="clr-namespace:System.Windows.Input;assembly=PresentationCore" input:InputMethod.IsInputMethodEnabled="False" VerticalAlignment="Center" Visibility="Hidden" TextChanged="SystemEditionTextInput_TextChanged">
|
||||
<TextBox.Text>
|
||||
<Binding Path="SN" UpdateSourceTrigger="PropertyChanged">
|
||||
<Binding.ValidationRules>
|
||||
<domain:IsSN ValidatesOnTargetUpdated="True"/>
|
||||
</Binding.ValidationRules>
|
||||
</Binding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
</Grid>
|
||||
<!--<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="SystemEditionText" Text="Checking System" />-->
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal" Margin="0,30,0,0">
|
||||
<RadioButton x:Name="AutoRadio" Content="{DynamicResource Auto_Mode}" Margin="30,0,30,0" IsChecked="True" Checked="A_RadioButton_Checked"/>
|
||||
<RadioButton x:Name="ManualRadio" Content="{DynamicResource Manual_Mode}" Margin="30,0,30,0" Checked="M_RadioButton_Checked"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
<materialDesign:Card Margin="0,30,0,0" VerticalAlignment="Top" materialDesign:ShadowAssist.ShadowDepth="Depth3" Height="65" UniformCornerRadius="8">
|
||||
<Button FontFamily="{DynamicResource Font}" x:Name="actbtn" Content="{DynamicResource Activate_Button}" materialDesign:ShadowAssist.ShadowDepth="Depth0" Click="Activate_Button_Click" Margin="0" Height="65" />
|
||||
</materialDesign:Card>
|
||||
<materialDesign:Card Margin="0,30,0,0" VerticalAlignment="Top" materialDesign:ShadowAssist.ShadowDepth="Depth3" Height="65" UniformCornerRadius="8">
|
||||
<Button FontFamily="{DynamicResource Font}" x:Name="installbtn" Content="{DynamicResource Convert_versions}" materialDesign:ShadowAssist.ShadowDepth="Depth0" Click="installbtn_Click" Margin="0" Height="65"/>
|
||||
</materialDesign:Card>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<Grid x:Name="DialogHostGrid" Visibility="Hidden">
|
||||
<materialDesign:DialogHost x:Name="DialogWait" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="32,24,32,24">
|
||||
<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" Margin="0,24,0,0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="14" Text="{DynamicResource Loading}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogActProg" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="32,24,32,24">
|
||||
<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="activatingtext" Margin="0,24,0,0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="14" Text="{DynamicResource Activating}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogWithCancel" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="24,24,24,8">
|
||||
<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" Margin="24,16,24,0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="14" Text="{DynamicResource Loading}" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="8,0,8,8">
|
||||
<Button FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}"
|
||||
CommandParameter="Sample2Cancel"
|
||||
HorizontalAlignment="Center" Content="{DynamicResource Cancel}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogWithOK" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="16,16,16,8">
|
||||
<!--<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />-->
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" Text="Title" />
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" Margin="0,8,0,0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="14" Text="Hello World" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="8,0,8,8">
|
||||
<Button FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}"
|
||||
CommandParameter="Sample2Cancel"
|
||||
HorizontalAlignment="Center" Content="{DynamicResource OK}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogHelp" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="16,16,16,8">
|
||||
<!--<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />-->
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" Text="Help"></TextBlock>
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" Margin="0,8,0,0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="14" Text="{DynamicResource HelpText}"></TextBlock>
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="8,0,8,8">
|
||||
<Button FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}"
|
||||
CommandParameter="Sample2Cancel"
|
||||
HorizontalAlignment="Center" Content="{DynamicResource OK}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogWithExit" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="16,16,16,8">
|
||||
<!--<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />-->
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogWithExitTitle" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" Text="{DynamicResource ErrorTitle}"/>
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogWithExitText" Margin="0,8,0,0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="14" Text="{DynamicResource Disconnect_to_server_exit}"/>
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="8,0,8,8">
|
||||
<Button FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Click="Exit_Button_Click"
|
||||
HorizontalAlignment="Center" Content="{DynamicResource Exit}"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogWithOKToCloseDialog" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="16,16,16,8">
|
||||
<!--<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />-->
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogWithOKToCloseDialogTitle" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" >Title</TextBlock>
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogWithOKToCloseDialogText" Margin="0,8,0,0" HorizontalAlignment="Center" VerticalAlignment="Bottom" FontSize="14" >Text</TextBlock>
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="8,0,8,8">
|
||||
<Button FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}"
|
||||
HorizontalAlignment="Center" Content="{DynamicResource OK}"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogWithOKToCloseDialogDonate" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="16,16,16,8">
|
||||
<!--<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />-->
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogWithOKToCloseDialogDonateTitle" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" Text="{DynamicResource Complete}" />
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogWithOKToCloseDialogDonateText" Margin="0,8,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom" FontSize="14" Text="{DynamicResource DonateTextActivated}" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="8,0,8,8">
|
||||
<Button FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" HorizontalAlignment="Center" Content="{DynamicResource Refuse}"/>
|
||||
<Button FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Click="Donate_Button_Click" HorizontalAlignment="Center" Content="{DynamicResource DonateBtn}"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
<materialDesign:DialogHost x:Name="DialogUpdate" IsOpen="False">
|
||||
<materialDesign:DialogHost.DialogContent>
|
||||
<Grid>
|
||||
<materialDesign:Card UniformCornerRadius="8" materialDesign:ShadowAssist.ShadowDepth="Depth3">
|
||||
<StackPanel>
|
||||
<StackPanel Margin="16,16,16,8">
|
||||
<!--<ProgressBar Style="{DynamicResource MaterialDesignCircularProgressBar}" HorizontalAlignment="Center" Margin="0,0,0,0" IsIndeterminate="True" Value="0" VerticalAlignment="Top" Width="32" Height="32" />-->
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogUpdateTitle" Margin="0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" Text="{DynamicResource UpdateTitle}" />
|
||||
<TextBlock FontFamily="{DynamicResource Font}" Style="{DynamicResource MaterialDesignTitleTextBlock}" x:Name="DialogUpdateText" Margin="0,8,0,0" HorizontalAlignment="Left" VerticalAlignment="Bottom" FontSize="14" Text="{DynamicResource UpdateText}" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="8,0,8,8">
|
||||
<Button x:Name="IgnoreUpdate" FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Command="{x:Static materialDesign:DialogHost.CloseDialogCommand}" HorizontalAlignment="Center" Content="{DynamicResource Ignore}"/>
|
||||
<Button x:Name="UpdateBtn" FontFamily="{DynamicResource Font}" Style="{StaticResource MaterialDesignFlatButton}" IsCancel="True"
|
||||
Click="UpdateBtn_Click" HorizontalAlignment="Center" Content="{DynamicResource UpdateNow}"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</materialDesign:Card>
|
||||
</Grid>
|
||||
</materialDesign:DialogHost.DialogContent>
|
||||
</materialDesign:DialogHost>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
</Window>
|
1552
CMWTAT_DIGITAL/MainWindow.xaml.cs
Normal file
1552
CMWTAT_DIGITAL/MainWindow.xaml.cs
Normal file
File diff suppressed because it is too large
Load Diff
1089
CMWTAT_DIGITAL/OSVersionInfoClass.cs
Normal file
1089
CMWTAT_DIGITAL/OSVersionInfoClass.cs
Normal file
File diff suppressed because it is too large
Load Diff
112
CMWTAT_DIGITAL/Program.cs
Normal file
112
CMWTAT_DIGITAL/Program.cs
Normal file
@ -0,0 +1,112 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace CMWTAT_DIGITAL
|
||||
{
|
||||
public static class Program
|
||||
{
|
||||
|
||||
public static bool autoact = false;
|
||||
public static bool hiderun = false;
|
||||
public static bool expact = false;
|
||||
public static bool log2file = false;
|
||||
public static bool showhelp = false;
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
|
||||
public static void Main(string[] startup_args)
|
||||
{
|
||||
//添加程序集解析事件
|
||||
//AppDomain.CurrentDomain.AssemblyResolve += (sender, args) =>
|
||||
//{
|
||||
// String resourceName = "CMWTAT_DIGITAL.Res." +
|
||||
|
||||
// new AssemblyName(args.Name).Name + ".dll";
|
||||
|
||||
// Console.WriteLine("Load Assembly: " + resourceName);
|
||||
|
||||
// using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
|
||||
// {
|
||||
// if (stream == null)
|
||||
// return null;
|
||||
|
||||
// Byte[] assemblyData = new Byte[stream.Length];
|
||||
|
||||
// stream.Read(assemblyData, 0, assemblyData.Length);
|
||||
|
||||
// return Assembly.Load(assemblyData);
|
||||
// }
|
||||
//};
|
||||
var loadedAssemblies = new Dictionary<string, Assembly>();
|
||||
AppDomain.CurrentDomain.AssemblyResolve += (sender, args) =>
|
||||
{
|
||||
String resourceName = "CMWTAT_DIGITAL.Res." +
|
||||
new AssemblyName(args.Name).Name + ".dll";
|
||||
|
||||
//Must return the EXACT same assembly, do not reload from a new stream
|
||||
if (loadedAssemblies.TryGetValue(resourceName, out Assembly loadedAssembly))
|
||||
{
|
||||
return loadedAssembly;
|
||||
}
|
||||
|
||||
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName))
|
||||
{
|
||||
if (stream == null)
|
||||
return null;
|
||||
Byte[] assemblyData = new Byte[stream.Length];
|
||||
|
||||
stream.Read(assemblyData, 0, assemblyData.Length);
|
||||
|
||||
var assembly = Assembly.Load(assemblyData);
|
||||
loadedAssemblies[resourceName] = assembly;
|
||||
return assembly;
|
||||
}
|
||||
};
|
||||
|
||||
foreach (string arg in startup_args)
|
||||
{
|
||||
Console.WriteLine("arg: " + arg);
|
||||
if (arg == "-a" || arg == "--auto")
|
||||
{
|
||||
Console.WriteLine("AUTO: True");
|
||||
autoact = true;
|
||||
}
|
||||
if (arg == "-h" || arg == "--hide")
|
||||
{
|
||||
Console.WriteLine("HIDE: True");
|
||||
hiderun = true;
|
||||
}
|
||||
if (arg == "-e" || arg == "--expact")
|
||||
{
|
||||
Console.WriteLine("EXPACT: True");
|
||||
expact = true;
|
||||
}
|
||||
if (arg == "-l" || arg == "--log")
|
||||
{
|
||||
Console.WriteLine("LOG: True");
|
||||
log2file = true;
|
||||
}
|
||||
if (arg == "-?" || arg == "--help")
|
||||
{
|
||||
Console.WriteLine("SHOWHELP: True");
|
||||
showhelp = true;
|
||||
}
|
||||
}
|
||||
|
||||
CMWTAT_DIGITAL.App app = new CMWTAT_DIGITAL.App();//WPF项目的Application实例,用来启动WPF项目的
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
55
CMWTAT_DIGITAL/Properties/AssemblyInfo.cs
Normal file
55
CMWTAT_DIGITAL/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,55 @@
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("CMWTAT Digital Edition V2")]
|
||||
[assembly: AssemblyDescription("CloudMoe Windows 10 Activation Toolkit V2")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("CloudMoe Network")]
|
||||
[assembly: AssemblyProduct("CMWTAT Digital Edition V2")]
|
||||
[assembly: AssemblyCopyright("Copyright © CloudMoe Saltfish Studio 2018")]
|
||||
[assembly: AssemblyTrademark("CloudMoe Saltfish Studio")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||
//请将此类型的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
//若要开始生成可本地化的应用程序,请设置
|
||||
//.csproj 文件中的 <UICulture>CultureYouAreCodingWith</UICulture>
|
||||
//例如,如果您在源文件中使用的是美国英语,
|
||||
//使用的是美国英语,请将 <UICulture> 设置为 en-US。 然后取消
|
||||
//对以下 NeutralResourceLanguage 特性的注释。 更新
|
||||
//以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
|
||||
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //主题特定资源词典所处位置
|
||||
//(未在页面中找到资源时使用,
|
||||
//或应用程序资源字典中找到时使用)
|
||||
ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
|
||||
//(未在页面中找到资源时使用,
|
||||
//、应用程序或任何主题专用资源字典中找到时使用)
|
||||
)]
|
||||
|
||||
|
||||
// 程序集的版本信息由下列四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 生成号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
||||
// 方法是按如下所示使用“*”: :
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2.5.0.0")]
|
||||
[assembly: AssemblyFileVersion("2.5.0.0")]
|
113
CMWTAT_DIGITAL/Properties/Resources.Designer.cs
generated
Normal file
113
CMWTAT_DIGITAL/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,113 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMWTAT_DIGITAL.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一个强类型的资源类,用于查找本地化的字符串等。
|
||||
/// </summary>
|
||||
// 此类是由 StronglyTypedResourceBuilder
|
||||
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
|
||||
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
|
||||
// (以 /str 作为命令选项),或重新生成 VS 项目。
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 返回此类使用的缓存的 ResourceManager 实例。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CMWTAT_DIGITAL.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重写当前线程的 CurrentUICulture 属性
|
||||
/// 重写当前线程的 CurrentUICulture 属性。
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static System.Drawing.Icon CMWTAT_ICON {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("CMWTAT_ICON", resourceCulture);
|
||||
return ((System.Drawing.Icon)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Byte[] 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static byte[] gatherosstate {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("gatherosstate", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Byte[] 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static byte[] gatherosstateltsc {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("gatherosstateltsc", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Byte[] 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static byte[] slc {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("slc", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Byte[] 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static byte[] slmgr {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("slmgr", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
136
CMWTAT_DIGITAL/Properties/Resources.resx
Normal file
136
CMWTAT_DIGITAL/Properties/Resources.resx
Normal file
@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="CMWTAT_ICON" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\CMWTAT.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="gatherosstate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Res\gatherosstate.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="gatherosstateltsc" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Res\gatherosstateltsc.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="slc" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Res\slc.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="slmgr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Res\slmgr.vbs;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
</root>
|
26
CMWTAT_DIGITAL/Properties/Settings.Designer.cs
generated
Normal file
26
CMWTAT_DIGITAL/Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMWTAT_DIGITAL.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.7.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
7
CMWTAT_DIGITAL/Properties/Settings.settings
Normal file
7
CMWTAT_DIGITAL/Properties/Settings.settings
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
3
CMWTAT_DIGITAL/app.config
Normal file
3
CMWTAT_DIGITAL/app.config
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/></startup></configuration>
|
74
CMWTAT_DIGITAL/app.manifest
Normal file
74
CMWTAT_DIGITAL/app.manifest
Normal file
@ -0,0 +1,74 @@
|
||||
<?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="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!-- UAC 清单选项
|
||||
如果想要更改 Windows 用户帐户控制级别,请使用
|
||||
以下节点之一替换 requestedExecutionLevel 节点。n
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
|
||||
如果你的应用程序需要此虚拟化来实现向后兼容性,则删除此
|
||||
元素。
|
||||
-->
|
||||
<requestedExecutionLevel level="highestAvailable" 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"。-->
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
</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>
|
6
CMWTAT_DIGITAL/packages.config
Normal file
6
CMWTAT_DIGITAL/packages.config
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MaterialDesignColors" version="1.1.3" targetFramework="net45" />
|
||||
<package id="MaterialDesignThemes" version="2.5.0.1205" targetFramework="net452" />
|
||||
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net452" />
|
||||
</packages>
|
BIN
CMWTAT_Digital_Release_2_5_0_0.exe
Normal file
BIN
CMWTAT_Digital_Release_2_5_0_0.exe
Normal file
Binary file not shown.
BIN
CMWTAT_Digital_Release_2_5_0_0.zip
Normal file
BIN
CMWTAT_Digital_Release_2_5_0_0.zip
Normal file
Binary file not shown.
342
LICENSE
Normal file
342
LICENSE
Normal file
@ -0,0 +1,342 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
|
||||
Copyright (c) 2018 TGSAN
|
||||
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
|
||||
Copyright (C) 2018 TGSAN
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
{signature of Ty Coon}, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
15
_config.yml
Normal file
15
_config.yml
Normal file
@ -0,0 +1,15 @@
|
||||
theme: jekyll-theme-cayman
|
||||
show_downloads: false
|
||||
title: CloudMoe Windows 10 Toolkit Digital Edition
|
||||
description: CloudMoe Windows 10 Acivation Toolkit get digital license, the best open source Win 10 activator in GitHub. <br>GitHub 上最棒的开源 Win10 数字权利(数字许可证)激活工具!
|
||||
# SEORelate
|
||||
google_site_verification :
|
||||
bing_site_verification :
|
||||
alexa_site_verification :
|
||||
yandex_site_verification :
|
||||
tags: [Digital License, Windows 10 Acivation Toolkit, Activator]
|
||||
navbar-links:
|
||||
Resources:
|
||||
- Learn markdown: "http://www.markdowntutorial.com/"
|
||||
- GitHub Pages: "https://pages.github.com/"
|
||||
|
BIN
images/2.2.0.1.jpg
Normal file
BIN
images/2.2.0.1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 105 KiB |
BIN
images/UI.jpg
Normal file
BIN
images/UI.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
Loading…
Reference in New Issue
Block a user