public void GatherInfo() { _moduleInfo.Name = _pluginInfo.Name; _moduleInfo.Icon = _pluginInfo.Icon; var moduleInfoDialog = new ModuleInfoDialog(_moduleInfo); var moduleInfoDialogCompleted = moduleInfoDialog.ShowModal(); if (moduleInfoDialogCompleted == false) { _wizard.GatherPluginInfo(_replacementsDictionary, _customParams); return; } _replacementsDictionary["$ModuleName$"] = _moduleInfo.Name; _replacementsDictionary["$ModuleIcon$"] = _moduleInfo.Icon; }
public void GatherInfo() { _layerEffectInfo.Name = _pluginInfo.Name; _layerEffectInfo.Icon = _pluginInfo.Icon; var moduleInfoDialog = new LayerEffectInfoDialog(_layerEffectInfo); var moduleInfoDialogCompleted = moduleInfoDialog.ShowModal(); if (moduleInfoDialogCompleted == false) { _wizard.GatherPluginInfo(_replacementsDictionary, _customParams); return; } _replacementsDictionary["$LayerEffectName$"] = _layerEffectInfo.Name; _replacementsDictionary["$LayerEffectIcon$"] = _layerEffectInfo.Icon; _replacementsDictionary["$LayerEffectDescription$"] = _layerEffectInfo.Description; _replacementsDictionary["$IncludeConfigurationWindow$"] = _layerEffectInfo.IncludeCustomDialog.ToString(); }