private void Exit_Click(object sender, RoutedEventArgs e) { StandbySettings.EnableStandby(); Application.Current.Shutdown(); }
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")); }