N
Nick
Hi all,
Are the two snippets below equivelent, since they both only continue
once the ShowForm method returns???
1.
delShowForm del = new delShowForm(ShowForm); //show form shows a form
IAsyncResult asyncResult = this.BeginInvoke(del);
asyncResult.AsyncWaitHandle.WaitOne();
this.EndInvoke(asyncResult);
2.
delShowForm del = new delShowForm(ShowForm); //show form shows a form
this.Invoke(del);
Thanks for any explaination
Nick
Are the two snippets below equivelent, since they both only continue
once the ShowForm method returns???
1.
delShowForm del = new delShowForm(ShowForm); //show form shows a form
IAsyncResult asyncResult = this.BeginInvoke(del);
asyncResult.AsyncWaitHandle.WaitOne();
this.EndInvoke(asyncResult);
2.
delShowForm del = new delShowForm(ShowForm); //show form shows a form
this.Invoke(del);
Thanks for any explaination
Nick