Just downloaded Chart FX Guage (Trial Edt) and dropped into a new project. When I run the program the following error is generated at runtime. Doesn't matter which control I use the same behavior is produced.
Environment: Visual Studio 2005
Language: C#
Any ideas??
System.InvalidOperationException was unhandled
Message="It has been detected that the gauge was modified outside its UI-thread. Marshalling the execution of your code onto the UI thread in the Windows Forms environment is critical to prevent cross-thread usage of UI code. Use InvokeRequired/Invoke for for synchronous marshalling. Use InvokeRequired/BeginInvoke for asynchronous marshalling."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at ChartFX.WinForms.Gauge.BaseGauge.a()
at ChartFX.WinForms.Gauge.BaseGauge.OnInvalidated(InvalidateEventArgs e)
at System.Windows.Forms.Control.NotifyInvalidate(Rectangle invalidatedArea)
at System.Windows.Forms.Control.Invalidate(Rectangle rc, Boolean invalidateChildren)
at System.Windows.Forms.Control.Invalidate(Rectangle rc)
at System.Windows.Forms.Control.OnParentInvalidated(InvalidateEventArgs e)
at System.Windows.Forms.Control.OnInvalidated(InvalidateEventArgs e)
at System.Windows.Forms.Control.NotifyInvalidate(Rectangle invalidatedArea)
at System.Windows.Forms.Control.Invalidate(Boolean invalidateChildren)
at System.Windows.Forms.Control.Invalidate()
at DevComponents.DotNetBar.RibbonBar.0W5(Object 83G, EventArgs 83H)
at DevComponents.DotNetBar.3E.3F.0Q2(EventArgs 7S8)
at DevComponents.DotNetBar.3E.0Q0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()