예제 #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();
            }
        }
예제 #2
0
파일: Main.cs 프로젝트: yihyun/LTTQ
        private void navBarItem5_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frmLoaiSP sp1 = new frmLoaiSP();

            sp1.Show();
        }