예제 #1
0
        protected override void OnExecute()
        {
            var package = (MDKPackage)Package;

            if (RefreshWhitelistCacheDialog.ShowDialog(new RefreshWhitelistCacheDialogModel(package, package.DTE)) == true)
            {
                VsShellUtilities.ShowMessageBox(ServiceProvider, Text.RefreshWhitelistCacheCommand_OnExecute_UpdatedWhitelistsDescription, Text.RefreshWhitelistCacheCommand_OnExecute_UpdatedWhitelistsTitle, OLEMSGICON.OLEMSGICON_INFO, OLEMSGBUTTON.OLEMSGBUTTON_OK, OLEMSGDEFBUTTON.OLEMSGDEFBUTTON_FIRST);
            }
        }
        protected override void OnExecute()
        {
            var package = (MDKPackage)Package;

            RefreshWhitelistCacheDialog.ShowDialog(new RefreshWhitelistCacheDialogModel(package, package.DTE));
        }