Esempio n. 1
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            formUser FormUser = new formUser();

            FormUser.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            formUser Home = new formUser();

            Home.Show();
            this.Close();
        }
Esempio n. 3
0
        private void btnUser_Click(object sender, EventArgs e)
        {
            formUser FormUser = formUser.getInstance();

            FormUser.Show();
            this.Hide();
        }
Esempio n. 4
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            formUser FormUser = new formUser();

            FormUser.Show();
            this.Close();
        }
Esempio n. 5
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            formUser Home = new formUser(); //home user = formUser, bukan formAwal

            Home.Show();
            this.Close();
        }
Esempio n. 6
0
 public static formUser getInstance()
 {
     if (Instance == null || Instance.IsDisposed)
     {
         Instance = new formUser();
     }
     else
     {
         Instance.BringToFront();
     }
     return(Instance);
 }
Esempio n. 7
0
        private void HomeTekan(ArgumenKendaliTombol e)
        {
            if (e.mataX == null || e.mataY == null)
            {
                kendali.NoLook();
            }

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

            progressBarHome.Value = e.DataKor;
        }
Esempio n. 8
0
        private void TombolHomeTekan(ArgumenKendaliTombol e)
        {
            PresenceCheck.Visible = false;
            if (e.CekMata)
            {
                PresenceCheck.Visible = true;
            }

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

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

            progressBarHome.Value = e.DataKor;
        }
Esempio n. 9
0
        private void TombolUserTekan(ArgumenKendaliTombol eawal)
        {
            Console.WriteLine(eawal.mataX + "     " + eawal.mataY + "    " + eawal.korelasiX + "      " + eawal.korelasiY + "        " + eawal.DataKor);
            PresenceCheck.Visible = false;
            if (eawal.CekMata)
            {
                PresenceCheck.Visible = true;
            }

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

            if (eawal.status)
            {
                formUser FormUser = formUser.getInstance();
                FormUser.Show();
                this.Hide();
                timer1.Stop();
            }

            progressBar1.Value = eawal.DataKor;
        }