i have a Grid in WindowsForms called grid1
.
i know want to call grid1.Series.Clear()
from another thread.
Right now i am getting the usual cross thread exception that a thread is touching grid1 but another thread created it.
I find plenty of examples how to call direct functions of grid1.
But how to do it with Calling Clear()
Function from SeriesCollection "Series" within grid1?