//private int _contactsRating; internal UIManager() { uiReady = new AutoResetEvent(false); GwupeClientAppContext.CurrentAppContext.LoginManager.LoggedIn += LoginManagerOnLoggedIn; GwupeClientAppContext.CurrentAppContext.LoginManager.LoggedOut += LoginManagerOnLoggedOut; GwupeClientAppContext.CurrentAppContext.LoginManager.LoggingIn += LoginManagerOnLoggingIn; GwupeClientAppContext.CurrentAppContext.LoginManager.LoginFailed += LoginManagerOnLoginFailed; GwupeClientAppContext.CurrentAppContext.LoginManager.SigningUp += LoginManagerOnSigningUp; GwupeClientAppContext.CurrentAppContext.LoginManager.SignupFailed += LoginManagerOnSignupFailed; _systray = new SystemTray(); _systray.Start(); }