示例#1
0
文件: frmMain.cs 项目: lkh/thanhpham
        private void themSachToolStripButton_Click(object sender, EventArgs e)
        {
            //QuanLyLoaiSach frmQL = new QuanLyLoaiSach();
            //frmQL.TopLevel = false;
            //frmQL.FormBorderStyle = FormBorderStyle.None;
            //frmQL.Dock = DockStyle.Fill;
            //panel1.Controls.Add(frmQL);
            //frmQL.Top = panel1.Top;
            //frmQL.Left = (panel1.Right - panel1.Left) / 2;
            //frmQL.Show();

            frmSuaLoaiSach frmQLS = new frmSuaLoaiSach();

            frmQLS.ShowDialog();
        }
示例#2
0
文件: frmMain.cs 项目: lkh/thanhpham
        private void ThemsachToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSuaLoaiSach frm = new frmSuaLoaiSach();

            frm.ShowDialog();
        }