我是新来的,我想在我的程序(WPF)的左侧设置一个图标。我把它复制到图像文件夹中。!代码:
<Window x:Class="Hotelverwaltung.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Icon="..\Fachlogik\Images\icon.png" Title="Hotelverwaltung"
Height="350" Width="525" Loaded="Window_Loaded">
Run Code Online (Sandbox Code Playgroud)
