private void processCourseListStartBtn_Click(object sender, EventArgs e)
        {
            List <Course> courses = LookupTable.GetLookupTable();

            Program._openFileDialog.ShowDialog();
            string file = Program._openFileDialog.FileName;

            if (file != "File Not Found")
            {
                LookupTable lt = new LookupTable(courses);

                lt.SetExcelDocument(file);
                if (!lt.IsValid())
                {
                    lt.Valid();
                    MessageBox.Show("Please use an Excel file with the .xlsx extension.", "Error", MessageBoxButtons.OK);
                    return;
                }

                lt.CompareExcelDocumentAndLookupTable();
                if (!lt.IsValid())
                {
                    lt.Valid();
                    MessageBox.Show("Please use an Excel file with the following columns:\r\nCourse Name | Number of Meetings", "Error", MessageBoxButtons.OK);
                    return;
                }

                lt.SaveAsXML();
                courses = LookupTable.GetLookupTable();
                MessageBox.Show("The Course Lookup Table has been updated.", "Update Complete", MessageBoxButtons.OK);
            }
            Program._courseList.Show();
            this.Hide();
        }
 public void StartMeetingCreation()
 {
     _courses = LookupTable.GetLookupTable();
     _meeting_worker.RunWorkerAsync();
 }
 private void SetListOfCourses()
 {
     this.ListOfCourses.Text = "";
     _courses = LookupTable.GetLookupTable();
     CurrentLookupTable_Load();
 }