Home > Net >  GMap.NET controls automatic block other forms, how to solve?
GMap.NET controls automatic block other forms, how to solve?

Time:10-04

Recently made map related applications, c # and GMap.NET is added in the main window MainForm gMapControl map controls, in the MainForm menu is used to load other Form, but found in the application, open the other Form, when the mouse moved to the area of the gMapControl gMapControl will automatically own forms into activity Form, other Form obscured, it's very inconvenient to use, is MainForm MDI parent Form, cannot consider using modal popup Form, which can't use Form. The ShowDialog () show the child Form,
Consult everybody, how to solve? As long as when the mouse moved to the area of the gMapControl, does not automatically cover other even solve have been shown to form, the premise is can't use ShowDialog (), thanked first!

CodePudding user response:

Their top once, don't sink

CodePudding user response:

refer to the original poster hehuomqh response:
recently made map related applications, c # and GMap.NET is added in the main window MainForm gMapControl map controls, in the MainForm menu is used to load other Form, but found in application, open the other Form, when the mouse moved to the area of the gMapControl gMapControl will automatically own forms into activity Form, other Form obscured, it's very inconvenient to use, is MainForm MDI parent Form, cannot consider using modal popup Form, which can't use Form. The ShowDialog () show the child Form,
Consult everybody, how to solve? As long as when the mouse moved to the area of the gMapControl, does not automatically cover other even solve have been shown to form, the premise is can't use ShowDialog (), thanked first!

Excuse me, would you please tell me how you solve?

CodePudding user response:

By the same problems

CodePudding user response:

Parent form TopMost=true
  •  Tags:  
  • C#
  • Related