我想在窗口关闭之前在服务器上发送一些数据.我使用事件结束,但它并没有结束.哪里有问题?
private void Window_Closing(object sender, RoutedEventArgs e) { _obj.CloseConnection(); }
wpf
wpf ×1