private void toolStripButton5_Click(object sender, EventArgs e)
        {
            Form tela = new frmCategoria();

            tela.MdiParent = this;
            tela.Show();
        }
 private void categoriaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (userLog.tipoPerfil == "A")
     {
         Form tela = new frmCategoria();
         tela.ShowDialog();
     }
     else
     {
         MessageBox.Show("Somente administrador", "Atenção", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
        private void imgCategoria_Click(object sender, EventArgs e)
        {
            Form tela = new frmCategoria();

            tela.ShowDialog();
        }