private void Return_Click(object sender, EventArgs e)
 {
     // Reset the fields
     Age.Value = 0;
     Membership.ResetText();
     FirstName.ResetText();
     Surname.ResetText();
     NameText.ResetText();
     PasswordBox.ResetText();
     m_controller.LoadView();
 }
        private void Register_Click(object sender, EventArgs e)
        {
            // Add data to the database if they are not null
            if (m_username != null && m_password != null && m_DoB != null && m_name != null && m_surname != null)
            {
                m_controller.AddData(m_name + "\n" + m_surname + "\n" + m_username + "\n" + m_password + "\n" + m_DoB + "\n" + m_membershipType);

                // Reset the fields
                Age.Value = 0;
                Membership.ResetText();
                FirstName.ResetText();
                Surname.ResetText();
                NameText.ResetText();
                PasswordBox.ResetText();
                m_controller.LoadView();
            }
        }