'NET' is not a member of 'GMap.NET.WindowsForms.GMapControl'

Topics: General
Apr 2, 2012 at 8:57 AM

Ola,

Getting this error each time I start the project in the designer. Each time I have to change it to Global.GMap.NET.MouseWheelZoomType.MousePositionAndCenter

Warning    1    The designer cannot process the code at line 241:

Me.gmap.MouseWheelZoomType = gmap.NET.MouseWheelZoomType.MousePositionAndCenter

The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified.  Please remove any changes and try opening the designer again.

What could this be?

Coordinator
Apr 2, 2012 at 10:34 AM

in vs2010 designer code is: this.MainMap.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter;

and i don't get any warnings

Apr 2, 2012 at 12:08 PM

The weird thing is that this is auto-generated. I'll try another project.

Apr 2, 2012 at 6:29 PM

Not sure what happened. Seems a ghost had taken over. Everything works fine. Rebooted computer and everything was okay (????)

Coordinator
Apr 3, 2012 at 9:25 AM

some bugs in designer i guess...