private void btnEdit_Click(object sender, EventArgs e)
        {
            bool open = false;

            foreach (Form f in Application.OpenForms)
            {
                if (f == eq)
                {
                    open = true;
                }
            }
            if (!open)
            {
                eq = new AtribuirEquipas(dGVEquipas.SelectedRows[0].Cells[0].FormattedValue.ToString());
                eq.Show();
            }
            else
            {
                eq.Focus();
            }
        }
        private void btnAdd_Click(object sender, EventArgs e)
        {
            bool open = false;

            foreach (Form f in Application.OpenForms)
            {
                if (f == eq)
                {
                    open = true;
                }
            }
            if (!open)
            {
                eq = new AtribuirEquipas();
                eq.Show();
            }
            else
            {
                eq.Focus();
            }
        }