Author published on 2020-05-11 included in 安装 您可以MahApps.Metro通过NuGet UI或程序包管理器控制台进行安装。 在App.xaml(v1.6.5和更早版本)中添加资源
<Application x:Class="WpfApplication.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
在v2.0中的App.xaml中添加资源(重大更改)
<Application x:Class="WpfApplication.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
在主窗口中将Window更改为MetroWindow
<Controls:MetroWindow x:Class="WpfApplication.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Controls="http://metro.mahapps.com/winfx/xaml/controls"
Title="MainWindow"
Height="600"
Width="800">
<Grid>
<!-- your content -->
</Grid>
</Controls:MetroWindow>
using MahApps.
Win10正式版无法通过网上邻居访问局域网其它电脑该如何解决呢?升级到Win10正式版系统后,打开“网络”后找不到其它电脑,导致此类情况产生的重要原因是电脑未开启“文件和打印机共享”所造成的,同时还需要开启“来宾账号”,下面就具体来了解一下针对Win10无法访问局域网电脑的解决办法。 首先,右击桌面左下角的“Windows”按钮,从其右键菜单中选择“运行”项打开“运行”窗口,或者直接按“Windows+R”快速打开“运行窗口。 从打开的“运行”窗口中,输入命令“regedit”并按回车即可打开注册表编辑界面,如图所示: 依次展开“计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters”项,在右侧空白处右击鼠标,从其右键菜单中选择“新建”-“DWORD值(32位)”项。 然后将新创建的DWORD项重命名为“AllowInsecureGuestAuth”,同时将其值修改为“1”,点击“确定”完成设置操作。注:64位的系统同样需要添加32位的dword值。 接下来右击任务栏“网络”图标,从其右键菜单中选择“打开网络和共享中心”项进入。 待打开“网络和共享中心”窗口后,点击左上角的“更改高级共享设置”按钮,如图所示: 接下来从打开的“更改高级共享设置”界面中,展开“来宾或公用”栏目,勾选“启用网络发现”和“启用文件和打印共享”项,点击“保存设置”按钮。 开启“Server”服务:直接按“Windows+R”打开“运行”窗口,输入“services.msc”并按回车即可进入“服务”界面。 从打开的“服务”窗口中,找到“Server”服务,右击选择“属性”项。 并从打开的“属性”窗口中,将“启动类型”设置为“自动”,同时点击“启动”按钮以启动此服务,点击“确定”完成设置。 最后再尝试打开“网络”界面,就可以找到局域网中其它电脑和打印机、路由器等设备啦,如图所示:
https://www.ni.com/en-us/support/downloads/software-products/download.labview.html
上次文章提到使用个人retail密钥激活 » office2019使用以及密钥激活和破解 对于目前最新的office2019,今天逛了一下gayhub,看到KMS目前也可以支持office和windows的2019版
然后就和大家详细介绍下使用KMS激活微软全家桶的方法。
第一步 获取自己版本对应的激活key
office的Gvlk密钥地址: https://docs.microsoft.com/zh-cn/DeployOffice/vlactivation/gvlks windows的密钥地址: https://docs.microsoft.com/zh-cn/windows-server/get-started/kmsclientkeys
第二步 激活
windows激活:
slmgr /ipk 此处输入win序列号(上面网站里可以找到)
slmgr /skms kms.shax.vip
slmgr /ato (激活)
slmgr /dlv (查看激活状态)
office:
进入CMD操作界面,切换到OFFICE的安装目录,可先从我的电脑(win10叫『此电脑』)进入到office安装目录,以office2016为例, 进入到office安装目录的office16下,然后在空白处按住键盘shift+鼠标右键,在弹出的菜单中选择『在此处打开powershell窗口』,或者cmd窗口直接cd到目录(找不到的直接在快捷方式右击打开程序的位置,一直打开到.exe可执行程序目录)然后依次输入以下命令:
cscript ospp.vbs /sethst:kms.shax.vip
cscript ospp.vbs /act (激活)
cscript ospp.vbs /dstatus (查看激活状态)
目前理论支持激活几乎所有的非零售版,如果是零售版的,可以手动把key输入进去。
Global options for ospp.vbs 参数 说明 /inpkey:value Installs a product key (replaces existing key) with user-provided product key. Value option is required. /unpkey:value Uninstalls an installed product key with the last five digits of the product key to uninstall (as displayed by the /dstatus option). Value parameter is required. /inslic:value Installs a license with user-provided path of the .xrm-ms license. Value parameter is required. /dstatus Displays license information for installed product keys.
https://otp.landian.vip/zh-cn/