I'm fairly new to WPF but have been programming both VBNET and C# for years. First question: Can you create a WPF resource with one key name (e.g., a Color keyed as x:Key="MyLightColor") and then use the values of that Color resource as the source of another reference with a different key name (e.g., a Color keyed as x:Key=MyMenuColor <<get values of MyLightColor>>)?
Second quesiton: When debugging my VBNET WPF application, and an unhandled exception occurs, the debugger takes me to the source code that created the object in which the exception was thrown.
Dim W As New winConfiguraiton
W.ShowDialog
If an unhandled exception occurs within the winConfiguration code, the debugger will take me to the W.ShowDialog line of code, not the line of code within winConfiguration that actually threw the exception. Can and how do I set the exception settings so that the debugger will take me to the code that actually threw the exception?
I'm using VS2013 Premium and NET 4.5, on Windows 7 Ultimate 64-bit.
Any and all answers, suggestions, advice, dope-slaps, are most welcome. Thank you very much.
Chip Pearson
Excel MVP (1998 - 2011)
Pearson Software Consulting, LLC
www.cpearson.com