コード例 #1
0
        private void BackBtn_Click(object sender, EventArgs e)
        {
            this.Close();
            IMGreader lc = new IMGreader();

            lc.Show();
        }
コード例 #2
0
 private void addImageToLesson_Click(object sender, EventArgs e)
 {
     if (img == null)
     {
         img             = new IMGreader();
         img.MdiParent   = this;
         img.FormClosed += new FormClosedEventHandler(img_FormClosed);
         img.Show();
         img.changeDir(cdir + "\\" + lesson, lesson);
     }
     else
     {
         img.Activate();
     }
 }
コード例 #3
0
 void img_FormClosed(object sender, FormClosedEventArgs e)
 {
     img = null;
 }