public CommandActions AddActions(bool execute, bool next, bool previous, bool cancel, bool complete) { CommandActions ca = new CommandActions(OwnerDocument); AddChild(ca); ca.IsExecuteAllowed = execute; ca.IsNextAllowed = next; ca.IsPreviousAllowed = previous; ca.IsCancelAllowed = cancel; ca.IsCompleteAllowed = complete; return(ca); }
public CommandActions AddActions(bool execute, bool next, bool previous, bool cancel, bool complete) { CommandActions ca = new CommandActions (OwnerDocument); AddChild (ca); ca.IsExecuteAllowed = execute; ca.IsNextAllowed = next; ca.IsPreviousAllowed = previous; ca.IsCancelAllowed = cancel; ca.IsCompleteAllowed = complete; return ca; }