示例#1
0
        private void BTNClose_Click(object sender, EventArgs e)
        {
            this.Close();
            FormTutorial tutorial = new FormTutorial();

            tutorial.Show();
        }
示例#2
0
        //eventhandler tombol Misi menggunakan interaksi klik
        private void BtnMisi_Click(object sender, EventArgs e)
        {
            SFXSeleksi();
            FormTutorial FormGame = new FormTutorial();

            FormGame.Show();
            this.Hide();
        }
示例#3
0
        //eventhandler tombol Tahukah kamu menggunakan interaksi eyetracking
        private void TombolTahukahKamu(ArgumenKendaliTombol eawal)
        {
            if (eawal.CekMata)
            {
                PresenceCheck.Visible = true;
            }
            if (eawal.status)
            {
                FormTutorial FormGame = FormTutorial.getInstance();
                FormGame.Show();
                this.Hide();
                TimerTombol.Stop();
                TimerTombol.Tick -= TimerTombol_Tick;
            }

            BtnTahu.BackColor  = Color.FromArgb(eawal.DataKor, 0, 150, 185);
            progressBar2.Value = eawal.DataKor;
        }
示例#4
0
        //eventhandler tombol Misi menggunakan interaksi eyetracking
        private void TombolMisiTekan(ArgumenKendaliTombol eawal)
        {
            PresenceCheck.Visible = false;
            if (eawal.CekMata)
            {
                PresenceCheck.Visible = true;
            }
            if (eawal.status)
            {
                FormTutorial FormGame = FormTutorial.getInstance();
                FormGame.Show();
                this.Hide();
                TimerTombol.Stop();
                TimerTombol.Tick -= TimerTombol_Tick;
            }

            BtnMisi.BackColor  = Color.FromArgb(eawal.DataKor, 0, 150, 185);   //untuk opacity
            progressBar1.Value = eawal.DataKor;                                //untuk progressbar
        }