示例#1
0
        private void navBarItem_DMNhanvien_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frmQLNhanvien frm = new frmQLNhanvien();

            foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
            {
                if (frm.Name == _mdi_child.Name)
                {
                    _mdi_child.Close();
                }
            }
            frm.MdiParent = this;
            frm.Show();
        }
示例#2
0
        private void navBarItemQLSV_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frmQLNhanvien qlsv = new frmQLNhanvien();

            foreach (frmQLNhanvien f in this.MdiChildren)
            {
                if (f.Name == qlsv.Name)
                {
                    f.Close();
                }
            }
            qlsv.MdiParent = this;
            qlsv.Show();
        }
示例#3
0
        private void bt_dmNhanvien_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmQLNhanvien frm = new frmQLNhanvien();

            foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
            {
                if (frm.Name == _mdi_child.Name)
                {
                    _mdi_child.Close();
                }
            }
            frm.MdiParent = this;
            frm.Show();
        }
示例#4
0
        private void nvnghiviec_bar_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmQLNhanvien qlsv = new frmQLNhanvien(9);

            foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
            {
                if (qlsv.Name == _mdi_child.Name)
                {
                    _mdi_child.Close();
                }
            }
            qlsv.MdiParent = this;
            qlsv.Show();
        }
示例#5
0
        private void barbt_nvdangconhieulucbaohiem_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmQLNhanvien qlsv = new frmQLNhanvien(8);

            foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
            {
                if (qlsv.Name == _mdi_child.Name)
                {
                    _mdi_child.Close();
                }
            }
            qlsv.MdiParent = this;
            qlsv.Show();
        }
示例#6
0
        private void barbt_nvchuakyhopdonglannao_ItemClick(object sender, ItemClickEventArgs e)
        {
            frmQLNhanvien qlsv = new frmQLNhanvien(1);

            foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
            {
                if (qlsv.Name == _mdi_child.Name)
                {
                    _mdi_child.Close();
                }
            }
            qlsv.MdiParent = this;
            qlsv.Show();
        }
示例#7
0
        private void navBarItemQLSV_LinkClicked_1(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            frmQLNhanvien qlsv = new frmQLNhanvien();

            foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
            {
                if (qlsv.Name == _mdi_child.Name)
                {
                    _mdi_child.Close();
                }
            }
            qlsv.MdiParent = this;
            qlsv.Show();
        }