新建,改图标,随便搜下载一个exe图标 .icon文件。
目前成果
代码:
<Window x:Class="Wpfcainumber.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:Wpfcainumber"
mc:Ignorable="d"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Button Name="CertainButton" Content="确定" Click="CertainButton_Click" HorizontalAlignment="Left" Margin="304,90,0,0" VerticalAlignment="Top" Width="75"/