I'm not totally sure I understand what you are trying to do.
Normally, if you want to show the use a notification after receiving files, you do it in the callback you provide to the BeginReceiveMultipleFiles method.
In that callback, you can show a modal form, which will of course close when the user clicks OK.
e.g. :
<code>
asyncFtpClient.BeginReceiveMultipleFiles(
filesToRetreive,
localFolder,
true,
true,
new AsyncCallback( ReceiveMultipleFilesCompleted ),
null );
private void ReceiveMultipleFilesCompleted( IAsyncResult asyncResult )
{
try
{
asyncFtpClient.EndReceiveMultipleFiles( asyncResult );
MessageBox.Show( "Files received" );
}
catch( Exception ex )
{
MessageBox.Show( ex.ToString() );
}
}
</code>
André
Software Developer and Tech Support
Xceed Software Inc.