Exemple #1
0
        private void testBtn_Click(object sender, EventArgs e)
        {
            this.Close();
            VIDreader testform = new VIDreader();

            testform.Show();
        }
Exemple #2
0
 private void addVideoToLesson_Click(object sender, EventArgs e)
 {
     if (vr == null)
     {
         vr             = new VIDreader();
         vr.MdiParent   = this;
         vr.FormClosed += new FormClosedEventHandler(vr_FormClosed);
         vr.Show();
         vr.changeDir(cdir + "\\" + lesson, lesson);
     }
     else
     {
         vr.Activate();
     }
 }
Exemple #3
0
 void vr_FormClosed(object sender, FormClosedEventArgs e)
 {
     vr = null;
 }