CaptnCario
CaptnCario
CC#
Created by CaptnCario on 5/24/2024 in #help
Play a Sound file as a URL Link in WPF
c#
private void soundButton_Click(object sender, RoutedEventArgs e)
{
MediaPlayer playSound = new MediaPlayer();
playSound.Open(new Uri("https://www.pokewiki.de/images/5/53/Ruf_393.mp3"));
playSound.Play();
}
c#
private void soundButton_Click(object sender, RoutedEventArgs e)
{
MediaPlayer playSound = new MediaPlayer();
playSound.Open(new Uri("https://www.pokewiki.de/images/5/53/Ruf_393.mp3"));
playSound.Play();
}
Does anybody have an Idea, why it isnt working, it always says its null
5 replies
CC#
Created by CaptnCario on 5/19/2024 in #help
Remove Tab Control
I want to have the Tab Items in here and remove the TabStrip. The thing is, in the same time I need to change the background image when I click on a other TabItem Anyone an Idea how I can fix this issue. I had the idea to make it invisible but i dont know how
2 replies