Example #1
0
        //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();
        }
Example #2
0
        /////////////// Eventhandler Kendali mata /////////
        private void TombolStartTekan(ArgumenKendaliTombol e)
        {
            if (e.status)
            {
                SFXSeleksi();

                SetRandomSequence();
                FormStartGame Start = new FormStartGame();
                Start.Show();
                this.Close();
            }
        }