Exemple #1
0
        public static bool getFilterGame(string name)
        {
            bool ret = true;

            if (!Boolean.TryParse(SimpleConfig.ReadValue("FilterGames_" + name, "true"), out ret))
            {
                ret = true;
                SimpleConfig.WriteValue("FilterGames_" + name, true.ToString(CultureInfo.InvariantCulture));
            }
            return(ret);
        }
Exemple #2
0
        static Prefs()
        {
            string hln = SimpleConfig.ReadValue("Options_HideLoginNotifications");

            _hideLoginNotifications = hln == null || hln == "false" ? "false" : "true";
        }
Exemple #3
0
 static Prefs()
 {
     _hideLoginNotifications = SimpleConfig.ReadValue("Options_HideLoginNotifications", "false");
 }