public override bool Logout() { if (IsLogin) { IRemoteSystem[] rss = SystemContext.RemoteSystemManager.GetRemoteSystems(); if (rss != null) { foreach (IRemoteSystem rs in rss) { rs.Logout(); } } if (LoginUser != null) { LoginUser.Dispose(); LoginUser = null; } State = MonitorSystemState.Logout; } return(!IsLogin); }