private static void ParseEnabled(string setting) { if (setting != null) Enabled = setting.ToUpper() == "ON"; else Enabled = false; }