code:var e = new Enumerator(Messenger.CurrentChats); for (; !e.atEnd(); e.moveNext()) { PlusWnd.Close(1); }