I.
Define
fine the teeme resource? The
Answers
Answer:
A resource is a source or supply from which a benefit is produced and that has some utility. Resources can broadly be classified upon their availability — they are classified into renewable and non-renewableresources.
Answer:
I have a WPF 4.0 application that utilizes some custom 16x16 icons in things like menu commands and the like. I'd like to have (for now) two sets of icons, the default Vista/7-ish ones and some XP-ish ones. What I want is to have the current OS determine which icons to use.
Right now, I've got BitmapImage resources defined in theme resource dictionaries (i.e. Aero.NormalColor.xaml, etc.) that point to a specific PNG resource.
<!-- Aero.NormalColor.xaml -->
<BitmapImage x:Key="IconSave" UriSource="/MyWPFApp;component/Resources/Icons16/Aero/disk.png"/>
<!-- Luna.NormalColor.xaml -->
<BitmapImage x:Key="IconSave"