Serial port and GPS

OsmDldForm.dldProgress Method 

Callback for showing progress of the download

[Visual Basic]
Private Function dldProgress( _
   ByVal i As Integer, _
   ByVal n As Integer, _
   ByVal dldrec As OsmDldRec, _
   ByVal excp As Exception _
) As Boolean
[C#]
private bool dldProgress(
   int i,
   int n,
   OsmDldRec dldrec,
   Exception excp
);

Parameters

i
sequential number of the downloaded map
n
total number of maps to download
dldrec
details of the downloaded map, ignored
excp
null if ok, exception on download error

Return Value

True if the download has to continue, false, if it has been interrupted by the user in menuCancel_Click.

Remarks

Shows the progress of the download in the list view m_results by calling showProgress() using doInvoke(). Used as the callback delegate for OsmDld.download().

See Also

OsmDldForm Class | serial Namespace | showProgress | m_osmdldcb | doInvoke | OsmDld.download | m_rescb