예제 #1
0
 /// <summary>
 /// Add the given hint id to the disabled list.
 /// </summary>
 /// <param name="id"></param>
 public static void SetHintAsDisabled(string id)
 {
     if (!DisabledHintIDs.Contains(id))
     {
         DisabledHintIDs.Add(id);
     }
     Save();
 }
예제 #2
0
 /// <summary>
 /// Resets the 'disabled' status of all hints.
 /// </summary>
 public static void RestoreDisabledHints()
 {
     DisabledHintIDs.Clear();    // Clear the saved list.
     Hints.RestoreAllHints();    // Clear the in-use list.
     Save();
 }