/// <summary>
        /// This is the constructor for create
        /// </summary>
        public SetupDetail()
        {
            InitializeComponent();

            _setupManager = new SetupManager();
            _eventManager = new LogicLayer.EventManager();

            try
            {
                _events = _eventManager.RetrieveAllEvents();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            // The combobox for all of the event names for the user to choose from
            //cboEventName.ItemsSource = _events;
            // Jared Addition
            cboEventName.Items.Clear();
            if (_events != null)
            {
                foreach (var item in _events)
                {
                    cboEventName.Items.Add(item.EventTitle);
                }
            }


            dtpDateEntered.IsEnabled = false;
            btnSetupList.Visibility  = Visibility.Hidden;

            dtpDateEntered.SelectedDate = DateTime.Now;
        }
 /// <summary>
 /// @Author: Phillip Hansen
 ///
 /// Method for populating the events
 /// </summary>
 private void populateEvents()
 {
     try
     {
         _events = _eventManager.RetrieveAllEvents();
         dgEvents.ItemsSource = _events;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + "\nCould not retrieve the list of Event Requests.");
     }
 }