ZEESHAN,
I update the same code to show how to display decimal degree coordinates
private void winformsMap1_MouseMove(object sender, MouseEventArgs e)
{
//Displays the X and Y in screen coordinates.
statusStrip1.Items["toolStripStatusLabelScreen"].Text = "X:" + e.X + " Y:" + e.Y;
//Gets the PointShape in world coordinates from screen coordinates.
PointShape pointShape = ExtentHelper.ToWorldCoordinate(winformsMap1.CurrentExtent, new ScreenPointF(e.X, e.Y), winformsMap1.Width, winformsMap1.Height);
Proj4Projection proj4 = new Proj4Projection();
proj4.ExternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(4326);
proj4.InternalProjectionParametersString = Proj4Projection.GetGoogleMapParametersString();
proj4.Open();
pointShape = proj4.ConvertToExternalProjection(pointShape) as PointShape;
proj4.Close();
//Displays world coordinates.
statusStrip1.Items["toolStripStatusLabelWorld"].Text = "(world) X:" + Math.Round(pointShape.X, 4) + " Y:" + Math.Round(pointShape.Y, 4);
}
It might has performance issue because MouseMove event will be raised frequently, you could define Proj4Projection object as a module variable and open it at form_load, don't close until form closed.
Thanks,
James