private void _window_Closed(object sender, EventArgs e) { ServiceLocator.NetManager.Disconnect(); Environment.Exit(0); }