Akku,
Sorry for my misunderstanding.
Try following code, hope it helps:
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);
string googlePrjString = ManagedProj4Projection.GetGoogleMapParameters();
string decmailString = ManagedProj4Projection.GetEpsgParameters(4326);
ManagedProj4Projection projection = new ManagedProj4Projection(googlePrjString, decmailString);
projection.Open();
Vertex decimalDegreeValue = projection.ConvertToExternalProjection(pointShape.X, pointShape.Y);
projection.Close();
//Displays world coordinates.
statusStrip1.Items["toolStripStatusLabelWorld"].Text = "(world) X:" + Math.Round(pointShape.X, 4) + " Y:" + Math.Round(pointShape.Y, 4);
}
Any more questions just feel free to let me know.
Thanks.
Yale