Exemplo n.º 1
0
        private void btnTiga_Click(object sender, EventArgs e)
        {
            formLantai1 FormLantai1 = formLantai1.getInstance();

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

            this.Close();
            FormLantai1.Show();
            FormLantai1.GetLantaiPic(2);
            FormLantai1.LoadPointer(2);
        }
Exemplo n.º 3
0
 public static formLantai1 getInstance()
 {
     if (Instance == null || Instance.IsDisposed)
     {
         Instance = new formLantai1();
     }
     else
     {
         Instance.BringToFront();
     }
     return(Instance);
 }
Exemplo n.º 4
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;
        }