Beispiel #1
0
 private void addPDFToLesson_Click(object sender, EventArgs e)
 {
     if (pdfv == null)
     {
         pdfv             = new PDFView();
         pdfv.MdiParent   = this;
         pdfv.FormClosed += new FormClosedEventHandler(pdfv_FormClosed);
         pdfv.Show();
         pdfv.changeDir(cdir + "\\" + lesson, lesson);
     }
     else
     {
         pdfv.Activate();
     }
 }
Beispiel #2
0
        private void viewPDFBtn_Click(object sender, EventArgs e)
        {
            PDFView pdf = new PDFView();

            pdf.Show();
        }