private void pictureBox4_Click(object sender, EventArgs e) { sp.Play(); this.Hide(); f1.ShowDialog(); this.Close(); }
private void pictureBox18_Click(object sender, EventArgs e) { SoundPlayer sp = new SoundPlayer(@"C:\Users\Attachai\Source\Repos\FormWerewolf\WindowsFormsApp2\Resources\PressButton.wav"); sp.Play(); Mainmanu f1 = new Mainmanu(); this.Hide(); f1.ShowDialog(); this.Close(); }