Hi,
I am using double click to zoom in. Can you please tell which event sequence fire on double click? Because after zoom in application close down. I want to check where is the projection setting problem or something else?
Thanks,
Goral
Zoom in using double click
Hi Goral,
I think you can try ExtentChanged or ExtentChanging event.
Regards,
Don
Hi,
I have checked both events but not going inside it for debug. Directly application is closing. Please suggest any other event need to check.
Thanks,
Goral
Hi Goral,
Have you tried winformsMap1.DoubleClick?
I think we don’t have other event before ExtentChanging for your operation.
Regards,
Don
Handle the DoubleClick event:
private void map_DoubleClick(object sender, EventArgs e)
{
int percentage=10;
map.ZoomIn(percentage);
}
You can write System.Diagnostics.Debugger.Write(…) statements to write inside each event to find out the event sequence. You will see the order at the Debug window then.
Hi Goral,
Any update please let us know.
Regards,
Don