Beispiel #1
0
 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();
         }
 }
Beispiel #2
0
 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();
         }
 }