private EventPresent GetPresentReturned(PresentPickerWindow window)
        {
            EventPresent present;

            switch (window.SelectedType)
            {
            case PresentPickerWindow.SelectionType.Car:
                present = EventPresent.FromCar(window.CarLabelSelected);
                break;

            case PresentPickerWindow.SelectionType.Paint:
                present = EventPresent.FromPaint(window.PaintIDSelected);
                break;

            /*
             * case PresentPickerWindow.SelectionType.Paint:
             *  present = EventPresent.FromCar(dlg.PaintIDSelected);
             *  break;
             */
            default:
                present = null;
                break;
            }

            return(present);
        }
        public void btn_PresentParticipationOne_Clicked(object sender, RoutedEventArgs e)
        {
            var dlg = new PresentPickerWindow(GameDatabase);

            dlg.ShowDialog();

            if (dlg.SelectedType != PresentPickerWindow.SelectionType.None)
            {
                EventPresent present = GetPresentReturned(dlg);
                CurrentEvent.Rewards.SetParticipatePresent(0, present);
                btn_PresentParticipationOne.Content = PresentToString(CurrentEvent.Rewards.ParticipatePresents[0]);
            }
            btn_RemovePresentParticipationOne.IsEnabled = CurrentEvent.Rewards.ParticipatePresents[0] != null;
        }