protected void OnBaseMapChanged(BaseMapChangedEventArgs args)
        {
            if (View.Instance != null)
            {
                View.Instance.ChangeBaseMap(args.BaseMapInfo);
            }

            CurrentBaseMapName = args.BaseMapInfo.Name;
            if (BaseMapChanged != null)
            {
                BaseMapChanged(this, args);
            }
        }
Beispiel #2
0
 protected virtual void OnCustomBaseMapChanged(BaseMapChangedEventArgs args)
 {
     if (CustomBaseMapChanged != null)
         CustomBaseMapChanged(this, args);
 }
Beispiel #3
0
 private void baseMapConfigWindow_BaseMapChanged(object sender, BaseMapChangedEventArgs e)
 {
     onBaseMapChanged(e);
 }
Beispiel #4
0
 private void onBaseMapChanged(BaseMapChangedEventArgs e)
 {
     BaseMapInfo baseMapInfo = e.BaseMapInfo;
     ChangeBaseMap(baseMapInfo);
 }
        protected void OnBaseMapChanged(BaseMapChangedEventArgs args)
        {
            if (View.Instance != null)
                View.Instance.ChangeBaseMap(args.BaseMapInfo);

            CurrentBaseMapName = args.BaseMapInfo.Name;
            if (BaseMapChanged != null)
                BaseMapChanged(this, args);
        }