private void btnPrestasi_Click(object sender, EventArgs e) { formPrestasi FormPrestasi = new formPrestasi(); FormPrestasi.Show(); this.Close(); }
public static formPrestasi getInstance() { if (Instance == null || Instance.IsDisposed) { Instance = new formPrestasi(); } else { Instance.BringToFront(); } return(Instance); }
private void PrestasiTekan(ArgumenKendaliTombol e) { if (e.mataX == null || e.mataY == null) { kendali.NoLook(); } if (e.status) { formPrestasi FormPrestasi = formPrestasi.getInstance(); FormPrestasi.Show(); kendali.Close(); timer1.Stop(); this.Close(); } progressBarPrestasi.Value = e.DataKor; }