private void button1_Click(object sender, EventArgs e)
        {
            string username  = this.textBoxUsername.Text;
            string password  = this.textboxPassword.Text;
            string firstname = this.textBoxFirstname.Text;
            string lastname  = this.textBoxLastname.Text;

            DataController.GetUserTable().UpdateUserInfo(CurrentUser.UserId, username, password, firstname, lastname);
        }
        private void UserDetails_VisibleChanged(object sender, EventArgs e)
        {
            DataController.genData(CurrentUser.UserId);

            this.groupDataGridView.DataSource = DataController.GetGroups().getTable();
            this.groupDataGridView.DataMember = DataController.GetGroups().getTableName();

            this.dataGridViewCourses.DataSource = DataController.GetCourses().getCoursesTable();
            this.dataGridViewCourses.DataMember = DataController.GetCourses().getCoursesTableName();

            var userInfo = DataController.GetUserTable().GetUserInfoFromID(CurrentUser.UserId);

            this.textBoxUsername.Text  = userInfo.Item1;
            this.textboxPassword.Text  = userInfo.Item2;
            this.textBoxFirstname.Text = userInfo.Item3;
            this.textBoxLastname.Text  = userInfo.Item4;
        }
        private void buttonAddEvidence_Click(object sender, EventArgs e)
        {
            string evidenceName = this.textBoxEvidenceName.Text;
            int    skillId      = DataController.GetSkills().getSkillID(this.comboBoxSkill.SelectedItem.ToString());

            string[] names  = this.comboBoxUser.SelectedItem.ToString().Split(' ');
            int      userId = DataController.GetUserTable().GetUserID(names[0], names[1]);

            string description = this.descriptionTextBox.Text;

            DataController.GetEvidence().createEvidence(evidenceName, skillId, userId, description);

            if (us != null)
            {
                us.refreshTable();
            }
            if (ue != null)
            {
                ue.refreshTable();
            }
            this.Close();
        }