private void BTNClose_Click(object sender, EventArgs e) { this.Close(); FormTutorial tutorial = new FormTutorial(); tutorial.Show(); }
//eventhandler tombol Misi menggunakan interaksi klik private void BtnMisi_Click(object sender, EventArgs e) { SFXSeleksi(); FormTutorial FormGame = new FormTutorial(); FormGame.Show(); this.Hide(); }
//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; }
//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 }