private void InfoTekan(ArgumenKendaliTombol e) { PresenceCheck.Visible = false; if (e.CekMata) { PresenceCheck.Visible = true; } //Console.WriteLine(e.korelasiX + " " + e.korelasiY + " " + e.mataX + " " + e.mataY); if (e.mataX == null || e.mataY == null) { kendaliuser.NoLook(); } if (e.status) { formInformasi FormInformasi = formInformasi.getInstance(); FormInformasi.Show(); kendaliuser.Close(); timer1.Stop(); this.Close(); } progressBarInform.Value = e.DataKor; }
private void TombolBackTekan(ArgumenKendaliTombol e) { PresenceCheck.Visible = false; if (e.CekMata) { PresenceCheck.Visible = true; } if (e.mataX == null || e.mataY == null) { kendali.NoLook(); } if (e.status) { formPeta FormPeta = formPeta.getInstance(); FormPeta.Show(); timer1.Stop(); kendali.Close(); this.Close(); } progressBarBack.Value = e.DataKor; }
private void TombolUserTekan(ArgumenKendaliTombol eawal) { Console.WriteLine(eawal.mataX + " " + eawal.mataY + " " + eawal.korelasiX + " " + eawal.korelasiY + " " + eawal.DataKor); PresenceCheck.Visible = false; if (eawal.CekMata) { PresenceCheck.Visible = true; } if (eawal.mataX == null || eawal.mataY == null) { kendali.NoLook(); } if (eawal.status) { formUser FormUser = formUser.getInstance(); FormUser.Show(); this.Hide(); timer1.Stop(); } progressBar1.Value = eawal.DataKor; }