Example #1
0
        private void menuItemClick(object sender, EventArgs e)
        {
            if (sender == newGeoImageMenuItem)
            {
                _mainControler.addGeoImage();
            }
            else if (sender == newLayerMenuItem)
            {
                _mainControler.addShapeFile();
            }
            else if (sender == newMandelbrotMenuItem)
            {
                _mainControler.addMandelbrot();
            }
            else if (sender == newMapServerLayer)
            {
                _mainControler.addMapserverLayer();
            }
#if DEVELOP
            else if (sender == newOGRLayer)
            {
                _mainControler.addOGRLayer();
            }
#endif
        }