<UserControl.Resources>
<BooleanToVisibilityConverter x:Key="booleanVisibilityConverter"/>
</UserControl.Resources>
<Button Visibility="{Binding IsButtonVisible", Converter={StaticResource booleanVisibilityConverter}}"/>
答案 0 :(得分:0)
试试这个
request.socket.setTimeout(60000); // 60 sec
或者
request.setTimeout(timeout, [callback]);
绑定套接字并创建超时的方法