已经调用UI线程更新操作位什么还出现这个问题啊?
propertyManage1.Dispatcher.Invoke(new Action(delegate
{
propertyManage1.Children.Add(canvas);
}));
调用线程无法访问此对象,因为另一个线程拥有该对象
已经调用UI线程更新操作位什么还出现这个问题啊?
propertyManage1.Dispatcher.Invoke(new Action(delegate
{
propertyManage1.Children.Add(canvas);
}));
调用线程无法访问此对象,因为另一个线程拥有该对象