Changeset 3342
- Timestamp:
- 04/14/10 09:30:26 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.WindowsForms/3.2/AsynchronousContentView.cs
r3329 r3342 26 26 protected new void Invoke(Delegate method) { 27 27 // prevents blocking of worker thread in Invoke, if the control is disposed 28 if (!IsHandleCreated)29 return;30 28 IAsyncResult result = BeginInvoke(method); 31 29 result.AsyncWaitHandle.WaitOne(1000, false); … … 45 43 protected new void Invoke(Delegate method, params object[] args) { 46 44 // prevents blocking of worker thread in Invoke, if the control is disposed 47 if (!IsHandleCreated)48 return;49 45 IAsyncResult result = BeginInvoke(method, args); 50 46 result.AsyncWaitHandle.WaitOne(1000, false);
Note: See TracChangeset
for help on using the changeset viewer.