private void OnChangeSelfDestruct(object sender, RoutedEventArgs e)
{
KeyValuePair<ImageSource, string> item = SelectImage("Select self-destruct image", Properties.Settings.Default.SelfDestructPath);
if (item.Key != null)
{
Properties.Settings.Default.SelfDestructPath = item.Value;
SelfDestructImage = item.Key;
Properties.Settings.Default.Save();
}
}
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]