public static bool RemoveActiveForm(Form form) { string name = GetKeyName(form); return Instance._activeForms.Remove(form); }