A
Alhambra Eidos Desarrollo
Hi all,
I need add several controls (Custom UserControls) to a Panel dinamically
(like Panel.Controls.Add(...)). This process can be slow, because each user
control contain one thumbnail of PDF file. The user control contains
Container of XPdfViewer (a COM library).
Can I create custom user controls (container, wrapper) in an another thread
and add it (add the control to main form) in Main Thread ??
For (i = 0 to Num Thumbnails)
{
1. Create control in Thread A
2. Add Control in Main Thread (UI)
}
I want to show to the user a message (waiting).
Thanks in advance, kind regards
Please, any sample good source code.
I need add several controls (Custom UserControls) to a Panel dinamically
(like Panel.Controls.Add(...)). This process can be slow, because each user
control contain one thumbnail of PDF file. The user control contains
Container of XPdfViewer (a COM library).
Can I create custom user controls (container, wrapper) in an another thread
and add it (add the control to main form) in Main Thread ??
For (i = 0 to Num Thumbnails)
{
1. Create control in Thread A
2. Add Control in Main Thread (UI)
}
I want to show to the user a message (waiting).
Thanks in advance, kind regards
Please, any sample good source code.