Exemple #1
0
        private void label13_Click(object sender, EventArgs e)
        {
            salesmanLabel.BackColor  = Color.DimGray;
            ticketsLabel.BackColor   = Color.DimGray;
            managerLabel.BackColor   = Color.DimGray;
            busesLabel.BackColor     = Color.DimGray;
            adminLabels.BackColor    = Color.DimGray;
            customersLabel.BackColor = Color.DimGray;

            AdminPanel.Show();
            managersPanel.Hide();
            salesmanPanel.Hide();
            ticketsPanel.Hide();
            busesPanel.Hide();
            customersPanel.Hide();
            adminPanelView.Hide();

            homeLabel.Visible = false;
        }
        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;
        }