示例#1
0
 private void ScoreChanged(object sender, ScoreChangedArgs args)
 {
     if (InvokeRequired)
     {
         UpdateCallback callback = UpdateView;
         BeginInvoke(callback);
     }
     else
     {
         UpdateView();
     }
 }
示例#2
0
 private void ScoreChanged(object sender, ScoreChangedArgs args)
 {
     if (InvokeRequired)
     {
         UpdateCallback callback = UpdateView;
         BeginInvoke(callback);
     }
     else
     {
         UpdateView();
     }
 }