Exemple #1
0
 private void btnAdminNoticia_Click(object sender, EventArgs e)
 {
     if (this.ValidarPermiso(CGlobal.Formularios.NOTICIAS))
     {
         Form form = new admin.Noticias();
         form.Show();
     }
     else
     {
         MessageBox.Show("No tiene permisos para ingresar a esta opción", "No tiene permisos", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Exemple #2
0
        private void btnAdminNoticia_Click(object sender, EventArgs e)
        {
            if (this.ValidarPermiso(CGlobal.Formularios.NOTICIAS))
            {
                Form form = new admin.Noticias();
                form.Show();            
            }
            else
            {
                MessageBox.Show("No tiene permisos para ingresar a esta opción", "No tiene permisos", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }

        }