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