Пример #1
0
        private void btnThemSach_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form frm = formCheck(typeof(frmQuanLySach));

            if (frm == null)
            {
                frmQuanLySach f = new frmQuanLySach();
                f.MdiParent = this;
                f.Show();
            }
            else
            {
                frm.Activate();
            }
        }
Пример #2
0
        /*********************************************
        *********************************************
        *  Tab 1: Sách
        *********************************************
        *********************************************/
        private void btnSach_Them_Click(object sender, EventArgs e)
        {
            frmQuanLySach frmQLSach = new frmQuanLySach();

            frmQLSach.ShowDialog();
        }