示例#1
0
 private void suspend_Click(object sender, RoutedEventArgs e)
 {
     if (catsWalkingRb.IsChecked.Value)
     {
         CatsWalking.Suspend();
     }
     else if (chatAdsRb.IsChecked.Value)
     {
         ChatAdvertising.Suspend();
     }
 }