Exemplo n.º 1
0
 public EventCommandModel(EventCommandAttribute attr, QPP.Command.ICommand command)
 {
     Name = attr.Name;
     EventName = attr.EventName;
     Target = attr.Target;
     Command = command;
 }
Exemplo n.º 2
0
 static EventCommandAttribute()
 {
     LoadedEvent = new EventCommandAttribute("LoadedEvent", "Loaded");
     ClosingEvent = new EventCommandAttribute("ClosingEvent", "Closing");
     ClosedEvent = new EventCommandAttribute("ClosedEvent", "Closed");
     SerializingEvent = new EventCommandAttribute("SerializingEvent", "Serializing");
     DeserializingEvent = new EventCommandAttribute("DeserializingEvent", "Deserializing");
 }