public void Invoke(IPluginInterface pluginInterface, Route route) { pluginInterface.StageUndoStep(); using (var svf = new VelocityForm(pluginInterface, route)) if (svf.ShowModal() == DialogResult.Ok) { pluginInterface.SetUnsaved(); } }
public void Show(IInfo info, Route route) { info.StageUndoStep(); using (var svf = new VelocityForm(info, route)) if (svf.ShowModal() == DialogResult.Ok) { info.SetUnsaved(); } }