Answer the question
In order to leave comments, you need to log in
How to update the GUI using a different thread?
Please help me to change the Content in Label1 using another thread.
private void Button_Click(object sender, RoutedEventArgs e)
{
Thread thr = new Thread(BT7274);
thr.IsBackground = true;
thr.Start();
}
Static Void BT7274()
{
Label1.Content = "BT7274";
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question