Exemplo n.º 1
0
 public bool SelectRail(FillerRailSelectPropertyPanel selectPanel, Func <Event, bool> afterAction)
 {
     if (Tool.Mode == FillerRailToolMode && selectPanel == FillerRailToolMode.SelectPanel)
     {
         Tool.SetDefaultMode();
         return(true);
     }
     else
     {
         Tool.SetMode(FillerRailToolMode);
         FillerRailToolMode.Contour          = EditObject.Contour;
         FillerRailToolMode.SelectPanel      = selectPanel;
         FillerRailToolMode.AfterSelectPanel = afterAction;
         selectPanel.Focus();
         return(false);
     }
 }
Exemplo n.º 2
0
 public void LeaveRail(FillerRailSelectPropertyPanel selectPanel) => HoverRailPanel = null;
Exemplo n.º 3
0
 public bool SelectRail(FillerRailSelectPropertyPanel selectPanel) => SelectRail(selectPanel, null);
Exemplo n.º 4
0
 public void HoverRail(FillerRailSelectPropertyPanel selectPanel) => HoverRailPanel = selectPanel;