Answer the question
In order to leave comments, you need to log in
How can I add different music to each form individually in a WindowsForms application that consists of several forms?
Does a specific kind of code work only on one (first) form, and on the rest it gives an error?
private void tab_russ_Load(object sender, EventArgs e)
{
System.Media.SoundPlayer Audio2;
Audio2 = new System.Media.SoundPlayer(Properties.Resources.RUS);
Audio2.Play();
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question