There are 3 songs in the program, how to make the next one play on completion of one music file, and so on until the program finishes its work.
private void enter_Click(object sender, EventArgs e)// Вход { SoundPlayer splay = new SoundPlayer(@"c:\music.play_.wav"); splay.Play(); string[] file = DownloadFileFromServer("http://", "members"); for (int i = 0; i < file.Length; i++) { if (enter_login.Text == file[i]&& enter_password.Text==file[i+1]) { chat_panel.Visible = true; login_text.Text = enter_login.Text; password_text.Text = enter_password.Text; nickname = enter_login.Text; } } if (chat_panel.Visible == false) MessageBox.Show("Неверный логин или пароль"); }к
SoundPlayerclass is what? Windows Media Player or something else? - BlackWitcher 2:49 PM