Ejemplo n.º 1
0
 public AddAction(ActionU actionU, ActionType at)
 {
     InitializeComponent();
     fieldsEnt = new Dictionary <string, object>();
     action    = actionU;
     edit      = true;
     constrList(at.fields, actionU.fields);
 }
Ejemplo n.º 2
0
 public AddAction(ActionType actionType, Using usingM, string name)
 {
     InitializeComponent();
     this.actionType = actionType;
     this.usingM     = usingM;
     action          = new ActionU();
     action.action   = actionType.name;
     action.name     = name;
     constrList(actionType.fields, action.fields);
 }
Ejemplo n.º 3
0
 internal ActionType getActionType(ActionU actionU)
 {
     foreach (ActionType at in actionTypes)
     {
         if (at.name == actionU.action)
         {
             return(at);
         }
     }
     return(null);
 }