Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var brush = new ImageBrush();
- brush.ImageSource = new BitmapImage(new Uri("/Pics/Test/1/1_10.png", UriKind.Relative));
- MainButton.Background = brush;
- #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION
- UnhandledException += (sender, e) =>
- {
- if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement