Ejemplo n.º 1
0
        private void frmMap_Load(object sender, EventArgs e)
        {   
            this._mapFullExtent = mapControl.FullExtent;

            GlobeVariables.MainMapControl = this.mapControl;
            this.mapControl.FullRedrawOnPan = false;
            this.mapControl.TrackingLayerDrawing = TrackingLayerDrawConstants.moDrawSmooth;
            
            this._geoeventUpdate = new GPSTrackingMonitor.RealtimeMonite.GeoeventUpdate(this.mapControl);
            GlobeVariables.CarInfosReceiver.ProcessMessageEvent += new GPSTrackingMonitor.Communications.SocketClient.ProcessMessageHandler(CarInfosReceiver_ProcessMessageEvent);
        }
Ejemplo n.º 2
0
        private void frmMap_Load(object sender, EventArgs e)
        {
            this._mapFullExtent = mapControl.FullExtent;

            GlobeVariables.MainMapControl = this.mapControl;
            this.mapControl.FullRedrawOnPan = false;
            this.mapControl.TrackingLayerDrawing = TrackingLayerDrawConstants.moDrawSmooth;

            this._geoeventUpdate = new GPSTrackingMonitor.RealtimeMonite.GeoeventUpdate(this.mapControl);
            GlobeVariables.CarInfosReceiver.ProcessMessageEvent += new GPSTrackingMonitor.Communications.SocketClient.ProcessMessageHandler(CarInfosReceiver_ProcessMessageEvent);
        }