我是新来的,我想在我的程序(WPF)左侧设置一个图标。 我将它复制到了一个Image文件夹中! 代码:
<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">