private void exitBnt_Click(object sender, RoutedEventArgs e) { client.Logout(us.Name); this.Close(); item.RoomWindow.Show(); }