Ejemplo n.º 1
0
        private void ShowSelectContentForm(string courseKey, string courseName, string typeKey)
        {
            SelectContentForm frm = new SelectContentForm(log, courseKey, courseName, typeKey);

            this.Hide();
            frm.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            closeForm = true;
            SelectContentForm frm = new SelectContentForm(log, courseKey, courseName, typeKey);

            this.Dispose();
            frm.Show();
        }
Ejemplo n.º 3
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (!closeForm)
     {
         SelectContentForm frm = new SelectContentForm(log, courseKey, courseName, typeKey);
         this.Dispose();
         frm.Show();
     }
 }