【发布时间】:2018-11-21 18:43:47
【问题描述】:
如何添加这个声音image
就像我在 xaml 中使用背景制作的一样。
<Controls:FlipView.Background>
<ImageBrush ImageSource="Gamedata/MainMenuBackground.jpg"/>
</Controls:FlipView.Background>
我已经试过了,但是没有用
SoundPlayer PlaySound = new SoundPlayer(@"pack://application:,,,/Gamedata/Sounds/MenuClick.wav");
PlaySound.Load();
【问题讨论】:
标签: wpf resources soundplayer