Ejemplo n.º 1
0
        void IWizard.RunStarted(object automationObject, Dictionary<string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
        {
            var wizard = new AddNewItemWizard_Macro_Form();

            if (wizard.ShowDialog() != DialogResult.OK)
                throw Marshal.GetExceptionForHR(VSConstants.OLE_E_PROMPTSAVECANCELLED);

            wizard.MacroType.FillReplacementsDictionary(replacementsDictionary);
        }
Ejemplo n.º 2
0
        void IWizard.RunStarted(object automationObject, Dictionary <string, string> replacementsDictionary, WizardRunKind runKind, object[] customParams)
        {
            var wizard = new AddNewItemWizard_Macro_Form();

            if (wizard.ShowDialog() != DialogResult.OK)
            {
                throw Marshal.GetExceptionForHR(VSConstants.OLE_E_PROMPTSAVECANCELLED);
            }

            wizard.MacroType.FillReplacementsDictionary(replacementsDictionary);
        }