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

            CurrentBaseMapName = args.BaseMapInfo.Name;
            if (BaseMapChanged != null)
            {
                BaseMapChanged(this, args);
            }
        }
Esempio n. 2
0
 protected virtual void OnCustomBaseMapChanged(BaseMapChangedEventArgs args)
 {
     if (CustomBaseMapChanged != null)
         CustomBaseMapChanged(this, args);
 }
Esempio n. 3
0
 private void baseMapConfigWindow_BaseMapChanged(object sender, BaseMapChangedEventArgs e)
 {
     onBaseMapChanged(e);
 }
Esempio n. 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);
        }