Exemple #1
0
        private void btnLoaiSP_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form frmLSP = this.KiemTraTonTai(typeof(frmLoaiSP));

            if (frmLSP != null)
            {
                frmLSP.Activate();
            }
            else
            {
                frmLoaiSP flsp = new frmLoaiSP();
                flsp.MdiParent = this;
                flsp.Show();
            }
        }
Exemple #2
0
        private void navBarItem5_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frmLoaiSP sp1 = new frmLoaiSP();

            sp1.Show();
        }