예제 #1
0
 private void barButtonItem_PhanQuyen_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     timer1.Start();
     if (!CheckExistForm("frmPhanQuyen"))
     {
         frmPhanQuyen phanquyen = new frmPhanQuyen();
         phanquyen.MdiParent = this;
         phanquyen.Show();
     }
     else
     {
         ActiveChildForm("frmPhanQuyen");
     }
 }
        private void btnPhanQuyenNhomNguoiDung_Click(object sender, EventArgs e)
        {
            frmPhanQuyen frm = new frmPhanQuyen();

            frm.Show();
        }