コード例 #1
0
        private void btnQLSV_Click(object sender, EventArgs e)
        {
            TTSV = new ThongTinSinhVien();
            this.pnlDisplay.Controls.Add(TTSV);

            foreach (Control crtl in this.pnlDisplay.Controls)
            {
                crtl.Visible = false;
            }

            this.ptbTroVe.Visible = true;
            this.TTSV.Visible     = true;
            this.TTSV.BringToFront();

            this.TTSV.LoadCboMaLop();
            this.TTSV.LoadCboMaKhoa();
        }
コード例 #2
0
        private void FrMain_Load(object sender, EventArgs e)
        {
            chart = new DanhGiaNangLuc();
            ////THHT = new TinhHinhHocTap();

            QLMH   = new QuanLyMonHoc();
            DiemSV = new DiemSinhVien();
            QLK    = new QuanLyKhoa();
            QLLH   = new QuanLyLopHoc();
            TTSV   = new ThongTinSinhVien();
            DMK    = new DoiMatKhau(account);
            TTTK   = new ThongTinTaiKhoan(account, DMK);
            inf    = new information();
            QLND   = new QuanLyNguoiDung();
            SLSVTK = new SoLuongSinhVienTheoKhoa();
            this.pnlDisplay.Controls.Add(SLSVTK);


            this.pnlDisplay.Controls.Add(QLND);

            this.pnlDisplay.Controls.Add(QLMH);
            this.pnlDisplay.Controls.Add(DiemSV);
            this.pnlDisplay.Controls.Add(QLK);
            this.pnlDisplay.Controls.Add(QLLH);
            this.pnlDisplay.Controls.Add(TTSV);
            this.pnlDisplay.Controls.Add(TTTK);
            this.pnlDisplay.Controls.Add(inf);
            this.pnlDisplay.Controls.Add(DMK);
            this.pnlDisplay.Controls.Add(chart);

            this.SLSVTK.Visible = false;
            this.chart.Visible  = false;
            this.QLND.Visible   = false;
            this.DiemSV.Visible = false;

            this.QLMH.Visible = false;
            this.QLK.Visible  = false;
            this.QLLH.Visible = false;
            this.TTSV.Visible = false;
            this.DMK.Visible  = false;
            this.TTTK.Visible = false;
            this.inf.Visible  = false;
        }