private void btnKegiatan_Click(object sender, EventArgs e) { formKegiatan FormKegiatan = new formKegiatan(); FormKegiatan.Show(); this.Close(); }
public static formKegiatan getInstance() { if (Instance == null || Instance.IsDisposed) { Instance = new formKegiatan(); } else { Instance.BringToFront(); } return(Instance); }
private void KgtnTekan(ArgumenKendaliTombol e) { if (e.mataX == null || e.mataY == null) { kendali.NoLook(); } if (e.status) { formKegiatan FormKegiatan = formKegiatan.getInstance(); FormKegiatan.Show(); kendali.Close(); timer1.Stop(); this.Close(); } progressBarKegiatan.Value = e.DataKor; }