예제 #1
0
        public SurfaceWindow1()
        {
            InitializeComponent();

            // Add handlers for window availability events
            AddWindowAvailabilityHandlers();
            MainMap      = new GISMainMap(this);
            ControlPanel = new SurGISContPanel1(this);


            // adds the map to the main window

            AddMap();
            AddControl();

            MainMap.MapTileOverlay.TouchDown += new EventHandler <TouchEventArgs>(Map_Touch_Event);

            // Adds a polygon handler class.  This should handle all the polygon functions
            MapPolygon = new GISMapPolygon(this);
        }
        public SurfaceWindow1()
        {
            InitializeComponent();

            // Add handlers for window availability events
            AddWindowAvailabilityHandlers();
            MainMap = new GISMainMap(this);
            ControlPanel = new SurGISContPanel1(this);

            // adds the map to the main window

            AddMap();
            AddControl();

            MainMap.MapTileOverlay.TouchDown += new EventHandler<TouchEventArgs>(Map_Touch_Event);

            // Adds a polygon handler class.  This should handle all the polygon functions
            MapPolygon = new GISMapPolygon(this);
        }