Exemple #1
0
 private void addPreTestToLesson_Click(object sender, EventArgs e)
 {
     if (pret == null)
     {
         pret             = new preTest();
         pret.MdiParent   = this;
         pret.FormClosed += new FormClosedEventHandler(pret_FormClosed);
         pret.Show();
         //Passes the directory with changes so the form can correctly save to a folder
         pret.changeDir(cdir + "\\" + lesson, lesson);
     }
     else
     {
         pret.Activate();
     }
 }
Exemple #2
0
        private void PreTestBtn_Click(object sender, EventArgs e)
        {
            preTest pre = new preTest();

            pre.Show();
        }