//eventhandler untuk tombol Mulai akan menjalankan method untuk mengacak id serta membuka form Game private void BtnStart_Click(object sender, EventArgs e) { SFXSeleksi(); SetRandomSequence(); FormStartGame Start = new FormStartGame(); Start.Show(); }
/////////////// Eventhandler Kendali mata ///////// private void TombolStartTekan(ArgumenKendaliTombol e) { if (e.status) { SFXSeleksi(); SetRandomSequence(); FormStartGame Start = new FormStartGame(); Start.Show(); this.Close(); } }