private void pic_pau_st_Click(object sender, EventArgs e) { start_pau = !start_pau; if (start_pau) { audiochayGame.Stop(); pic_pau_st.Image = Properties.Resources.start_icon; TM_NguoiHung.Stop(); TM_BiaVang.Stop(); } else { audiochayGame.PlayLooping(); pic_pau_st.Image = Properties.Resources.pause_icon; TM_NguoiHung.Start(); TM_BiaVang.Start(); } }
private void StopGame() { TM_NguoiHung.Stop(); TM_BiaVang.Stop(); }