Exemplo n.º 1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            formPeta FormPeta = new formPeta();

            FormPeta.Show();
            this.Close();
        }
Exemplo n.º 2
0
 public static formPeta getInstance()
 {
     if (Instance == null || Instance.IsDisposed)
     {
         Instance = new formPeta();
     }
     else
     {
         Instance.BringToFront();
     }
     return(Instance);
 }
Exemplo n.º 3
0
        private void PetaTekan(ArgumenKendaliTombol e)
        {
            //Console.WriteLine(e.korelasiX + "  " + e.korelasiY + "  " + e.mataX + "  " + e.mataY);
            if (e.mataX == null || e.mataY == null)
            {
                kendaliuser.NoLook();
            }

            if (e.status)
            {
                formPeta FormPeta = formPeta.getInstance();
                FormPeta.Show();
                kendaliuser.Close();
                timer1.Stop();
                this.Close();
            }

            progressBarPeta.Value = e.DataKor;
        }
Exemplo n.º 4
0
        private void TombolBackTekan(ArgumenKendaliTombol e)
        {
            PresenceCheck.Visible = false;
            if (e.CekMata)
            {
                PresenceCheck.Visible = true;
            }

            if (e.mataX == null || e.mataY == null)
            {
                kendali.NoLook();
            }

            if (e.status)
            {
                formPeta FormPeta = formPeta.getInstance();
                FormPeta.Show();
                timer1.Stop();
                kendali.Close();
                this.Close();
            }

            progressBarBack.Value = e.DataKor;
        }