public UpdateViewModel(IEventAggregator events)
        {
            this.events = events;
            CurrentVersion = Assembly.GetEntryAssembly().GetName().Version;

            if (!String.IsNullOrWhiteSpace(ConfigurationManager.AppSettings["updatebaseurl"]))
            {
                updateBaseUrl = ConfigurationManager.AppSettings["updatebaseurl"];
                updateXmlUrl = updateBaseUrl + (!updateBaseUrl.EndsWith("/") ? "/" : "") + "update.xml";
            }
            this.basePath = AppDomain.CurrentDomain.BaseDirectory;
            this.tempPath = Path.GetTempPath();
            Busy = new BusyWatcher();
        }
        protected StatViewModelBase()
        {
            GameMode = String.Empty;

            using (var reg = new StatRegistrySettings(GetType()))
            {
                ShowWinRatio = reg.ShowWinRatio;
                ShowWinRatioCoin = reg.ShowWinRatioCoin;
                ShowWinRatioNoCoin = reg.ShowWinRatioNoCoin;
                ShowWins = reg.ShowWins;
                ShowWinsCoin = reg.ShowWinsCoin;
                ShowWinsNoCoin = reg.ShowWinsNoCoin;
                ShowTotalGames = reg.ShowTotalGames;
                ShowTotalGamesByCoin = reg.ShowTotalGamesByCoin;
                ShowPlayedVsRatio = reg.ShowPlayedVsRatio;
            }
            if (IsLastSelected(false, 0))
            {
                ShowWinRatio = true;
                ShowWins = true;
                ShowTotalGames = true;
            }
            Busy = new BusyWatcher();
            PropertyChanged += OnPropertyChanged;
        }