private void btn_addJudge_Click(object sender, RoutedEventArgs e)
        {
            var competition = (Competition)tabControlDynamic.SelectedContent;
            var dialog      = new SelectPersonWindow(lv_judges.ItemsSource)
            {
                ShowInTaskbar         = false,
                Title                 = "Lägg till domare",
                WindowStartupLocation = WindowStartupLocation.CenterOwner,
                Owner                 = this
            };

            if (dialog.ShowDialog() == true)
            {
                var judge = (Judge)dialog.listBox.SelectedItem;
                eventAddJudge?.Invoke(judge, competition);
            }
        }
        private void btn_addContestant_Click(object sender, RoutedEventArgs e)
        {
            var competition = (Competition)tabControlDynamic.SelectedContent;
            var dialog      = new SelectPersonWindow(lv_contestants.ItemsSource)
            {
                ShowInTaskbar         = false,
                Title                 = "Lägg till deltagare",
                WindowStartupLocation = WindowStartupLocation.CenterOwner,
                Owner                 = this
            };

            if (competition.syncro)
            {
                dialog.Width *= 2;
            }

            if (dialog.ShowDialog() == true)
            {
                var contestant = (Contestant)dialog.listBox.SelectedItem;
                eventAddContestant?.Invoke(contestant, competition);
            }
        }