C# WINFORM help with adding a MusicPlayer
Could someone help me with my project please?
I'll explain what I have to do. I have 3 buttons (Play, Pause, and Skip) on multiple different .cs forms. Could maybe use a different class file to manage the Music Player although would like to know how to achieve this. The music must be seamless when switching back and forth between the .cs forms while being controllable with the buttons on each of the forms. Thank you so much to anyone that could help with this as it's took many hours with lots of troubleshooting. Or any ideas of what could help would be great ❤️
9 Replies
Bump. Anyone able to help please?
What is the problem and what do you have so far? There isn't much that can be done with just your description
Hey @exokem I have an example project created to test it out before putting it in the main project
![No description](https://cdn.answeroverflow.com/1178844933264785428/Screenshot_2023-11-27_234843.png)
![No description](https://cdn.answeroverflow.com/1178845008661598380/Screenshot_2023-11-27_234905.png)
![No description](https://cdn.answeroverflow.com/1178845091264217158/Screenshot_2023-11-27_234928.png)
![No description](https://cdn.answeroverflow.com/1178845141209989222/Screenshot_2023-11-27_234939.png)
Please let me know what I should do to add a music player across all forms in the application to be controlled from each form with the play, pause, and skip buttons appreciate any help
I forgot to add that it must be embedded to be released as a single exe file without needing all the music files
![PepePls](https://cdn.discordapp.com/emojis/448631453618798603.gif)
there are apis to play sound files, but i don't think they have even a pause feature