ThinkGeo.com    |     Documentation    |     Premium Support

Paint method didn't fire

Hi, I need to override Paint method of map. But it never fire even with invalidating map!

Hi Bob,

Please let us know your detail version.

I tested with our latest V10, it works, as below is the simple test code:

class MyMap : WinformsMap
{
    protected override void OnPaint(PaintEventArgs e)
    {
        base.OnPaint(e);
    }
}

this.winformsMap1 = new MyMap();

And how it works like this:

Any further information please let me know.

Regards,

Don

Thanks Don,
I’m working on ver 7 and C#.

Hi Bob,

V7 is so early version, so I cannot test that.

Please upgrade your version, new version is easier to use.

Regards,

Don

Can you provide a full sample for version 9.0 ?

Hi Bob,

As below is the test sample for V10, if you are using V7 now and want to upgrade, we strongly suggest you directly upgrade to V10 instead of V9, because we have stopped to update the release version of V9, and all the new feature and bug fix will be in the new version 10.

8601.zip (101.1 KB)

If you have to use V9, could you please let us know your scenario? So we can know what’s the problem you met to upgrade to V10 and help you solve it.

Regards,

Don