private void Register_Button_Click(object sender, EventArgs e)
        {
            int rowindex        = ModulesDataGrid.CurrentCell.RowIndex;
            int ModuleNameIndex = 0;

            string SelectedModule = ModulesDataGrid.Rows[rowindex].Cells[ModuleNameIndex].Value.ToString();

            debug_text.Text = SelectedModule;
            studyCourse.AddModules(student.GetStudentID(), SelectedModule);

            MessageBox.Show("Je inschrijving is succesvol voltooid!", "Succesvolle inschrijving", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }