Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: problem with ShowDialog()

$
0
0
I tried the following and it behaves correctly. Are you trying to do something different from this?
public partial class Form1 : Form {
    public Form1() {
        InitializeComponent();
        axMap1.MouseDownEvent +=new AxMapWinGIS._DMapEvents_MouseDownEventHandler(axMap1_MouseDownEvent);
    }

    void axMap1_MouseDownEvent(object sender, AxMapWinGIS._DMapEvents_MouseDownEvent e) {
        Form2 form2 = new Form2();
        form2.ShowDialog();
    }
}
Don

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>