private void Window_Closed(object sender, EventArgs e) { _chatServer.Dispose(); _chatClient1.Dispose(); _chatClient2.Dispose(); }