public Login()
        {
            InitializeComponent();

            addcourse = new AddCourse();
            adddep    = new AddDepartment();
            addq      = new AddQusetion();
            newupdper = new AddTeacher();
            newadm    = new AdminPanel();
            abou      = new about();



            frep       = new FrmReports();
            fpass      = new ForgetPassword();
            smester    = new Semester();
            pmenu      = new TeacherMenu();
            pcourses   = new FrmPersonelsCourses();
            pchapters  = new FrmChapters();
            fexampaper = new FrmExamPaper();


            abou.frm1      = this;
            addcourse.frm1 = this;
            adddep.frm1    = this;
            addq.frm1      = this;

            newadm.frm1    = this;
            newupdper.frm1 = this;

            fpass.frm1      = this;
            frep.frm1       = this;
            smester.frm1    = this;
            pmenu.frm1      = this;
            pcourses.frm1   = this;
            pchapters.frm1  = this;
            fexampaper.frm1 = this;
        }
Ejemplo n.º 2
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            AddDepartment d = new AddDepartment();

            d.ShowDialog();
        }
Ejemplo n.º 3
0
        private void newDepartmentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddDepartment d = new AddDepartment();

            d.ShowDialog();
        }