protected override async void OnClick()
        {
            DockpaneViewModel dvm = DockpaneUtils.FindDockPane() as DockpaneViewModel;

            if (dvm == null)
            {
                this.Enabled = false;
                return;
            }
            if (!dvm.HasBookmarksLoaded)
            {
                await dvm.LoadBookmarks();
            }
            if (dvm.Cities == null || dvm.Cities.Count() == 0)
            {
                return;
            }

            if (_index >= dvm.Cities.Count())
            {
                _index = 0;
            }

            dvm.Cities[_index++].ZoomTo();
        }
        protected override void OnClick()
        {
            // TODO : Add implementation here
            DockpaneViewModel dvm = DockpaneUtils.FindDockPane() as DockpaneViewModel;

            dvm.IsPaletteSupport = false;
            dvm.IsBasicSupport   = true;
        }
        protected override void OnUpdate()
        {
            if (this.Enabled)
            {
                return;
            }
            DockpaneViewModel dvm = DockpaneUtils.FindDockPane() as DockpaneViewModel;

            this.Enabled = (dvm != null);
        }
 protected override void OnClick()
 {
     if (_isBusy)
     {
         return;
     }
     _isBusy = true;
     try
     {
         DockpaneUtils.ShowDockPane();
     }
     finally
     {
         _isBusy = false;
     }
 }