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();
        }
Exemple #2
0
        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();
        }