Esempio n. 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();
         }
 }
Esempio n. 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();
         }
 }