Exemple #1
0
        private void btnTiga_Click(object sender, EventArgs e)
        {
            formLantai1 FormLantai1 = formLantai1.getInstance();

            this.Close();
            FormLantai1.Show();
            FormLantai1.GetLantaiPic(3);
            FormLantai1.LoadPointer(3);
        }
Exemple #2
0
        private void btnDua_Click(object sender, EventArgs e)
        {
            formLantai1 FormLantai1 = new formLantai1();

            this.Close();
            FormLantai1.Show();
            FormLantai1.GetLantaiPic(2);
            FormLantai1.LoadPointer(2);
        }
Exemple #3
0
        private void TombolTigaTekan(ArgumenKendaliTombol e)
        {
            if (e.mataX == null || e.mataY == null)
            {
                kendali.NoLook();
            }

            if (e.status)
            {
                formLantai1 FormLantai1 = formLantai1.getInstance();
                FormLantai1.Show();
                FormLantai1.GetLantaiPic(3);
                FormLantai1.LoadPointer(3);
                timer1.Stop();
                kendali.Close();
                this.Close();
            }

            progressBarTiga.Value = e.DataKor;
        }