Thanks for your reply, Yale
ShowMoreCar code shows as follows:
private void ShowMoreCar(string strData)
{
int intFGPSX, intFGPSY;
try
{
if (strData != null && strData != "")
{
if (strData.IndexOf("NULL") < 0)
{
string[] strGPSData = strData.Trim().Split(',');
int lgLat = Convert.ToInt32(strGPSData[2]);
int lgLot = Convert.ToInt32(strGPSData[1]);
double[] dbFix = this.ucMap.FixGPSPosition(lgLot / 1000000, lgLat / 1000000);//
intFGPSX = Convert.ToInt32(dbFix[0]);
intFGPSY = Convert.ToInt32(dbFix[1]);
if (intFGPSX == 0)
{
this.SetCarMap(strGPSData[0], lgLot, lgLat);
}
else
{
this.SetCarMap(strGPSData[0], intFGPSX, intFGPSY);
}
}
else
{
MessageBox.Show("No Data!", "SystemMessage");
}
}
}
catch (Exception ex)
{
(this.MdiParent as Form1).RecErrMessage(ex.Message, "ShowMoreCar:" + strData, this.lblGPSData.Text);
}
And, Could you explain about attribute of winformsMap1.ThreadingMode.
What is the difference between Mode of MultiThread or SingleThread?