Hi there,
I have a Brush Colour which I would like to change every so and so on a thread.
static SolidColorBrush myBrush;
Thread changeColourThread = new Thread(changeColour);
static void changeColour()
{
myBrush = new SolidColorBrush(Color.FromArgb(255, 33, 96, 22));
}
This returns an UnauthorizedAccessException, what's the best way to handle this?
Thanks