Example #1
0
        private void btnPrestasi_Click(object sender, EventArgs e)
        {
            formPrestasi FormPrestasi = new formPrestasi();

            FormPrestasi.Show();
            this.Close();
        }
Example #2
0
 public static formPrestasi getInstance()
 {
     if (Instance == null || Instance.IsDisposed)
     {
         Instance = new formPrestasi();
     }
     else
     {
         Instance.BringToFront();
     }
     return(Instance);
 }
Example #3
0
        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;
        }