to A ListBox . Is "ListBox.Items.AddStrings" Thread-safe ? or should be do this adding in main Thread ? also i Dont want use loop to add one by one .
GUI access is never thread safe, you have to use Synchronize or Queue. Encapsulate AddStrings in BeginUpdate and EndUpdate for best performance.
Обсуждают сегодня