private void btnEdit_Click(object sender, EventArgs e) { this.Hide(); IPrincipal userPrincipal = new GenericPrincipal(WindowsIdentity.GetCurrent(), new string[] { RolesList.CHANGE_GLOSSARY }); GlossaryMainteance glmFr = new GlossaryMainteance(userPrincipal); glmFr.ShowDialog(); this.Close(); }
private void btnDanhMuc_Click(object sender, EventArgs e) { this.Hide(); IPrincipal userPrincipal = new GenericPrincipal(WindowsIdentity.GetCurrent(), Session.Instance.UserRole); GlossaryMainteance glMaFr = new GlossaryMainteance(userPrincipal); glMaFr.ShowDialog(); this.Show(); }