Serial port and GPS

FormWithInvoke.doInvoke Method 

Gently invoke the given procedure

[Visual Basic]
Protected Sub doInvoke( _
   ByVal aHandler As EventHandler _
)
[C#]
protected void doInvoke(
   EventHandler aHandler
);

Parameters

aHandler
event handler of the invoked procedure

Remarks

Invoke the procedure only, if the form isn't already closing. Set the flag m_invoked to true before calling Invoke() and to false just after that so that the closing procedure may decide, if closing form may be performed.

See Also

FormWithInvoke Class | serial Namespace