-1
好吧,我的應用程序使用WPF,我的應用程序的背景圖片我想換另一種背景與下載和使用在WPF在C#中不同的菜單不同的背景
每個不同的菜單變化「menuComboBox」
目前其僅在
「Trainer.ContentPage」 ,在 的ImageSource = 「/訓練師;組件/資源/ content.jpg」 找到
IVE作出規定以接收不同的菜單選項背景文件通令牌, 我可以訪問具有:
oS.fullUrl = $"http://Mysite-testing.net/t_server/download.php?token={selectedMenu.key}";
怎樣下載和在我的應用程序的WPF安裝使用下載的背景圖像和C#代碼明智
<TextBlock Text="Select Menu:" Foreground="White" VerticalAlignment="Center" Grid.Column="2" Margin="16,0,0,0"/>
<ComboBox Name="menuComboBox" Width="Auto" Margin="8,0,0,0" VerticalAlignment="Center" Grid.Column="3"
IsEnabled="{Binding IsChecked, Converter={StaticResource InverseBooleanConverter}, ElementName=enableButton}"
SelectionChanged="menuComboBox_SelectionChanged"/>