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 btnInfo_Click(object sender, EventArgs e) { formInformasi FormInformasi = new formInformasi(); FormInformasi.Show(); this.Close(); }
public static formInformasi getInstance() { if (Instance == null || Instance.IsDisposed) { Instance = new formInformasi(); } else { Instance.BringToFront(); } return(Instance); }
private void BackTekan(ArgumenKendaliTombol e) { PresenceCheck.Visible = false; if (e.CekMata) { PresenceCheck.Visible = true; } if (e.mataX == null || e.mataY == null) { kendali.NoLook(); } if (e.status) { formInformasi FormInformasi = formInformasi.getInstance(); FormInformasi.Show(); timer1.Stop(); kendali.Close(); this.Close(); } progressBarBack.Value = e.DataKor; }