예제 #1
0
 /// <summary>
 /// Raises the map update event.
 /// </summary>
 /// <param name="e">E.</param>
 protected virtual void OnMapUpdate(MapUpdateEventArgs e)
 {
     if (MapUpdated != null)
     {
         MapUpdated(this, e);
     }
 }
예제 #2
0
        /// <summary>
        /// Handles the map update event.
        /// </summary>
        /// <param name="sender">Sender.</param>
        /// <param name="e">E.</param>
        private void Map_Update(object sender, MapUpdateEventArgs e)
        {
            textView.Buffer.Clear();

            foreach (Landmark landmark in mapView.MapModel.Landmarks)
            {
                this.textView.Buffer.Text += landmark.ToString();
            }
        }
예제 #3
0
 /// <summary>
 /// Handles the map update event.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 private void Map_Update(object sender, MapUpdateEventArgs e)
 {
     QueueDraw ();
 }
예제 #4
0
        /// <summary>
        /// Raises the map update event.
        /// </summary>
        private void RaiseMapUpdate()
        {
            MapUpdateEventArgs args = new MapUpdateEventArgs(this);

            OnMapUpdate(args);
        }
예제 #5
0
 /// <summary>
 /// Raises the map update event.
 /// </summary>
 private void RaiseMapUpdate()
 {
     MapUpdateEventArgs args = new MapUpdateEventArgs (this);
     OnMapUpdate (args);
 }
예제 #6
0
 /// <summary>
 /// Raises the map update event.
 /// </summary>
 /// <param name="e">E.</param>
 protected virtual void OnMapUpdate(MapUpdateEventArgs e)
 {
     if (MapUpdated != null)
     {
         MapUpdated (this, e);
     }
 }
예제 #7
0
 /// <summary>
 /// Handles the map update event.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 private void Map_Update(object sender, MapUpdateEventArgs e)
 {
     QueueDraw();
 }
예제 #8
0
        /// <summary>
        /// Handles the map update event.
        /// </summary>
        /// <param name="sender">Sender.</param>
        /// <param name="e">E.</param>
        private void Map_Update(object sender, MapUpdateEventArgs e)
        {
            textView.Buffer.Clear ();

            foreach (Landmark landmark in mapView.MapModel.Landmarks)
            {
                this.textView.Buffer.Text += landmark.ToString ();
            }
        }