我對WPF比較陌生。我檢查了一些代碼,看起來像這樣: private void button_Click(object sender, RoutedEventArgs e)
{
//Queue on dispatcher in the background so it doesn't make the UI slow
Dispatcher.BeginInvoke(new d
我只需要顯示自定義控制(帶有旋轉指針的時鐘)GUI更新並以此取代鼠標光標,問題是,如果我寫: Me.gridScreen.Visibility = Visibility.Visible
' some operations that takes about 1 second
Me.gridScreen.Visibility = Visibility.Hidden
(gridScreen is