Beispiel #1
0
 private void Exit_Click(object sender, RoutedEventArgs e)
 {
     StandbySettings.EnableStandby();
     Application.Current.Shutdown();
 }
Beispiel #2
0
 private void Deactivate_Click(object sender, RoutedEventArgs e)
 {
     StandbySettings.EnableStandby();
     tbIc.ToolTipText = "Inactive";
     tbIc.IconSource  = new BitmapImage(new Uri(@"pack://application:,,,/Icons/cup-empty.ico"));
 }