private BitmapImage GetSource(IconEnum icon) { string s = icon.ToString(); return((BitmapImage)Application.Current.Resources[icon.ToString()]); }