public WindowLoading(WindowMain windowMain)
        {
            InitializeComponent();

            context         = ScoutContext.getScoutContext();
            globalFuncs     = Globals.getGlobalFuncs();
            this.windowMain = windowMain;
        }
        private void ShortlistCheckBox_Checked(object sender, System.Windows.RoutedEventArgs e)
        {
            this.Shortlist.Content = globalFuncs.localization.ProfileGenericLabels[ScoutLocalization.PG_REMOVEFROMSHORTLIST];
            ProfilePlayerViewModel vm         = (ProfilePlayerViewModel)this.DataContext;
            WindowMain             windowMain = Globals.getGlobalFuncs().windowMain;

            windowMain.Shortlist.addToShortlist(vm.ID);
        }
        private void ShortlistCheckBox_Unchecked(object sender, System.Windows.RoutedEventArgs e)
        {
            if (this.DataContext == null)
            {
                return;
            }
            this.Shortlist.Content = globalFuncs.localization.ProfileGenericLabels[ScoutLocalization.PG_ADDTOSHORTLIST];
            ProfilePlayerViewModel vm         = (ProfilePlayerViewModel)this.DataContext;
            WindowMain             windowMain = Globals.getGlobalFuncs().windowMain;

            windowMain.Shortlist.removeFromShortlist(vm.ID);
        }