public MessengerController(IMessengerView view, Credentials credentials) { AppDomain currentDomain = AppDomain.CurrentDomain; currentDomain.UnhandledException += new UnhandledExceptionEventHandler(WrapException); _view = view; _view.Controller = this; _messenger = Nerdz.Factory.NewMessenger(credentials.Username, credentials.Password); _conversations = _messenger.Conversations(); }