private void btnHome_Click(object sender, EventArgs e) { formUser FormUser = new formUser(); FormUser.Show(); this.Hide(); }
private void btnHome_Click(object sender, EventArgs e) { formUser Home = new formUser(); Home.Show(); this.Close(); }
private void btnUser_Click(object sender, EventArgs e) { formUser FormUser = formUser.getInstance(); FormUser.Show(); this.Hide(); }
private void btnBack_Click(object sender, EventArgs e) { formUser FormUser = new formUser(); FormUser.Show(); this.Close(); }
private void btnHome_Click(object sender, EventArgs e) { formUser Home = new formUser(); //home user = formUser, bukan formAwal Home.Show(); this.Close(); }
public static formUser getInstance() { if (Instance == null || Instance.IsDisposed) { Instance = new formUser(); } else { Instance.BringToFront(); } return(Instance); }
private void HomeTekan(ArgumenKendaliTombol e) { if (e.mataX == null || e.mataY == null) { kendali.NoLook(); } if (e.status) { formUser Home = formUser.getInstance(); Home.Show(); timer1.Stop(); kendali.Close(); this.Close(); } progressBarHome.Value = e.DataKor; }
private void TombolHomeTekan(ArgumenKendaliTombol e) { PresenceCheck.Visible = false; if (e.CekMata) { PresenceCheck.Visible = true; } if (e.mataX == null || e.mataY == null) { kendali.NoLook(); } if (e.status) { formUser Home = formUser.getInstance(); Home.Show(); timer1.Stop(); kendali.Close(); this.Close(); } progressBarHome.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; }