private void AdvanceButton_Click(object sender, EventArgs e)
        {
            //ForgroundPanel.Controls.Clear();
            Form quanlycuonsach = new QuanLyCuonSach();

            quanlycuonsach.TopLevel = false;
            quanlycuonsach.Dock     = DockStyle.Fill;
            Backround_Panel.Controls.Add(quanlycuonsach);
            Backround_Panel.Tag = quanlycuonsach;
            quanlycuonsach.BringToFront();
            quanlycuonsach.Show();
        }
Exemple #2
0
        private void btShowCuonSach_Click(object sender, EventArgs e)
        {
            MaDS  = txbMaDS.Text;
            TenDS = txbTenDS.Text;
            Form quanlycuonsach = new QuanLyCuonSach();

            quanlycuonsach.TopLevel = false;
            Backround_Panel.Controls.Add(quanlycuonsach);
            quanlycuonsach.Dock = DockStyle.Fill;
            Backround_Panel.Tag = quanlycuonsach;
            quanlycuonsach.BringToFront();
            quanlycuonsach.Show();
        }