public void Logout() { if (!opened) return; opened = false; service = null; service_proxy.Dispose(); service_proxy = null; }