Пример #1
0
        private void btnNhaXuatBan_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frm = this.KiemTraTonTai(typeof(frmNhaXuatBan));

            if (frm != null)
            {
                frm.Activate();
            }
            else
            {
                frmNhaXuatBan f = new frmNhaXuatBan();
                f.MdiParent = this;
                f.Show();
            }
        }
Пример #2
0
        /*********************************************
        *********************************************
        *  Tab 4: Nhà Xuất Bản
        *********************************************
        *********************************************/
        private void btnNXB_Them_Click(object sender, EventArgs e)
        {
            frmNhaXuatBan frmNXB = new frmNhaXuatBan();

            frmNXB.ShowDialog(this);
        }