Community
Showing results for 
Search instead for 
Do you mean 
Reply

New cross thread issues in 22.1

Highlighted
Bronze Super Contributor
Posts: 1,284
Country: USA

New cross thread issues in 22.1

System.InvalidOperationException: Cross-thread operation not valid: Control 'textBox' accessed from a thread other than the thread it was created on.
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.TextBoxBase.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
at System.Windows.Forms.Layout.TableLayout.SetElementBounds(ContainerInfo containerInfo, RectangleF displayRectF)
at System.Windows.Forms.Layout.TableLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args)
at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.TableLayoutPanel.OnLayout(LayoutEventArgs levent)
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
at System.Windows.Forms.Control.ControlCollection.Remove(Control value)
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at Act.Shared.Windows.Forms.ThemedComboBoxButton.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Act.Shared.Windows.Forms.GenericComboBox.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Act.UI.ActivityViews.Widgets.TimeSelector.TimeSlotCombo.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Act.UI.SchedDialogOwnerEdit.‌‍‎‎‬‎‭‎‬‬‮‪‭​‍‬‬‫‭‏‍‪‮‮‍‭​‏‍‮(Component )
at Act.UI.SchedDialogOwnerEdit.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()

 

is this going to be fixed in 22.2?

 

Thanks

-- Jim