private void button3_Click(object sender, EventArgs e)
        {
            Boolean validConf = false;

            if (listBox1.SelectedIndex == -1)
            {
                MessageBox.Show("Please Choose a conference to enter");
            }
            else
            {
                validConf = Program.MainSystem.validateConference(SearchResults[listBox1.SelectedIndex]);
                if (validConf)
                {
                    currentCon = SearchResults[listBox1.SelectedIndex];
                    currentCon.Participant.Add(Program.MainSystem.LoggedIn);
                    currentCon.Participant = currentCon.Participant.Distinct().ToList();
                    ConferenceForm startConference = new ConferenceForm(currentCon);

                    startConference.Show();
                }
                else
                {
                    MessageBox.Show("You do not have the skills to enter this conference");
                }
            }
        }
        private void button3_Click(object sender, EventArgs e)
        {
            Boolean validConf = false;
            if (listBox1.SelectedIndex == -1)
            {
                MessageBox.Show("Please Choose a conference to enter");
            }
            else
            {
                validConf = Program.MainSystem.validateConference(SearchResults[listBox1.SelectedIndex]);
                if (validConf)
                {
                   currentCon = SearchResults[listBox1.SelectedIndex];
                   currentCon.Participant.Add(Program.MainSystem.LoggedIn);
                   currentCon.Participant = currentCon.Participant.Distinct().ToList();
                   ConferenceForm startConference = new ConferenceForm(currentCon);

                    startConference.Show();

                }
                else
                {
                    MessageBox.Show("You do not have the skills to enter this conference");
                }
            }
        }