Ejemplo n.º 1
0
        private void InfoTekan(ArgumenKendaliTombol e)
        {
            PresenceCheck.Visible = false;
            if (e.CekMata)
            {
                PresenceCheck.Visible = true;
            }

            //Console.WriteLine(e.korelasiX + "  " + e.korelasiY + "  " + e.mataX + "  " + e.mataY);
            if (e.mataX == null || e.mataY == null)
            {
                kendaliuser.NoLook();
            }

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

            progressBarInform.Value = e.DataKor;
        }
Ejemplo n.º 2
0
        private void btnInfo_Click(object sender, EventArgs e)
        {
            formInformasi FormInformasi = new formInformasi();

            FormInformasi.Show();
            this.Close();
        }
Ejemplo n.º 3
0
 public static formInformasi getInstance()
 {
     if (Instance == null || Instance.IsDisposed)
     {
         Instance = new formInformasi();
     }
     else
     {
         Instance.BringToFront();
     }
     return(Instance);
 }
Ejemplo n.º 4
0
        private void BackTekan(ArgumenKendaliTombol e)
        {
            PresenceCheck.Visible = false;
            if (e.CekMata)
            {
                PresenceCheck.Visible = true;
            }

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

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

            progressBarBack.Value = e.DataKor;
        }