コード例 #1
0
        private void btnKegiatan_Click(object sender, EventArgs e)
        {
            formKegiatan FormKegiatan = new formKegiatan();

            FormKegiatan.Show();
            this.Close();
        }
コード例 #2
0
 public static formKegiatan getInstance()
 {
     if (Instance == null || Instance.IsDisposed)
     {
         Instance = new formKegiatan();
     }
     else
     {
         Instance.BringToFront();
     }
     return(Instance);
 }
コード例 #3
0
        private void KgtnTekan(ArgumenKendaliTombol e)
        {
            if (e.mataX == null || e.mataY == null)
            {
                kendali.NoLook();
            }

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

            progressBarKegiatan.Value = e.DataKor;
        }