private void BackButton_Click(object sender, EventArgs e)
        {
            Form quanlydausach = new QuanLyDauSach();

            quanlydausach.TopLevel = false;
            quanlydausach.Dock     = DockStyle.Fill;
            Backround_Panel.Controls.Add(quanlydausach);
            Backround_Panel.Tag = quanlydausach;
            quanlydausach.BringToFront();
            quanlydausach.Show();
        }
Esempio n. 2
0
        private void iconBt_Sach_Click(object sender, EventArgs e)
        {
            ActivateButton(sender);
            //ActivateButton(sender);
            //OpenChildForm(new QuanLyDauSach());
            panelDesktop.Controls.Clear();
            Form quanLydausach = new QuanLyDauSach();

            quanLydausach.TopLevel = false;

            panelDesktop.Controls.Add(quanLydausach);
            quanLydausach.Dock = DockStyle.Fill;
            //Backround_Panel.Tag = quanlycuonsach;
            //quanlycuonsach.BringToFront();
            quanLydausach.Show();
        }