自建C#工程(Menu菜单添加快捷键)
在网上有很多的教程说的大家都比较迷糊,很简单的东西就是没人说,我这也是一面自学一面分享,一面在网上查资料。希望能对和我有同样需求的人一些帮助,不要像我走了很多弯路,也没有经验,也没有人能指导你,真的是一团乱麻。
1、Wpf窗口(一部分来源于网络)
<Window x:Class="smart_home_server.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:smart_home_server"
mc:Ignorable="d"
Title="Smart Home-Server" Height=</