public static void OnExit(Action action) { if (current == null) action(); else current.Exited += (sender, e) => action(); }