private void FillArtistsInComboBox()
        {
            PersonGroupTableAdapter personGroupAdapter = new PersonGroupTableAdapter(dataBase);

            PersonGroupDataSet.PersonGroupDataTable personGroupDataTable = personGroupAdapter.GetData();

            foreach (PersonGroupDataSet.PersonGroupRow row in personGroupDataTable)
            {
                ComboBoxName.Items.Add(row.Name);
            }
            //ComboBoxName.ItemsSource = personGroupDataTable;
            //ComboBoxName.DisplayMemberPath = "Name";
            //ComboBoxName.SelectedValuePath = "Name";

            if (participant.Name != null)
            {
                ComboBoxName.Text = participant.Name;
            }
            else
            {
                ComboBoxName.Text = "";
            }

            UpdateWindowState();
        }
        private void FillArtistsInComboBox()
        {
            Cursor.Current = Cursors.WaitCursor;
            PersonGroupTableAdapter personGroupAdapter = new PersonGroupTableAdapter(dataBase);

            PersonGroupDataSet.PersonGroupDataTable personGroupDataTable = personGroupAdapter.GetData();

            comboBoxName.DataSource    = personGroupDataTable;
            comboBoxName.DisplayMember = "Name";
            comboBoxName.ValueMember   = "Name";

            Cursor.Current = Cursors.Default;

            if (participant.Name != null)
            {
                comboBoxName.Text = participant.Name;
            }
            else
            {
                comboBoxName.Text = "";
            }

            UpdateWindowState();
        }