示例#1
0
 private void OnBackgroundMode(object sender, RoutedEventArgs e)
 {
     if ((bool)_backgroundMode.IsChecked)
     {
         ProcessExtensions.SetBackgroundMode();
     }
     else
     {
         ProcessExtensions.EndBackgroundMode();
     }
 }