private void ThreadFunc() { Plaza2Connector = new CPlaza2Connector(); _dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(BindData)); Plaza2Connector.Process(); }
private void ThreadFunc() { Plaza2Connector = new CPlaza2Connector(); _dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(BindData)); Plaza2Connector.GUIBox.GUIDispatcher = GUIDispatcher; Plaza2Connector.GUIBox.PropertyChanged += OnGUIBoxPropertyChanged; Plaza2Connector.GUIBox.Part.CollectionChanged += OnCollectionPartChanged; Plaza2Connector.GUIBox.VM.CollectionChanged += OnCollectionVMChanged; Plaza2Connector.GUIBox.Position.CollectionChanged += OnCollectionPositionChanged; Plaza2Connector.GUIBox.Orders.CollectionChanged += OnCollectionOrdersChanged; Plaza2Connector.Process(); }