private void editarCategoria()
 {
     if (dataGridViewCategorias.SelectedCells.Count > 0)
     {
         FormInsertarCategoria nueva = new FormInsertarCategoria(this, dataGridViewCategorias.SelectedRows[0].Cells[0].Value.ToString());
         nueva.Show();
     }
 }
        private void añadirToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormInsertarCategoria nueva = new FormInsertarCategoria(this);

            nueva.Show();
        }