public void CallKEYPRESS(Button target, int code) { ButtonKeyPressHandlerDictionary dict = new ButtonKeyPressHandlerDictionary(keyPress); foreach (var h in dict) { h.Value(target, code); } }
public ButtonEventHandlers() { load = new ButtonEventHandlerDictionary(); unload = new ButtonEventHandlerDictionary(); enterFrame = new ButtonEventHandlerDictionary(); update = new ButtonEventHandlerDictionary(); render = new ButtonEventHandlerDictionary(); press = new ButtonEventHandlerDictionary(); release = new ButtonEventHandlerDictionary(); rollOver = new ButtonEventHandlerDictionary(); rollOut = new ButtonEventHandlerDictionary(); keyPress = new ButtonKeyPressHandlerDictionary(); }
public ButtonEventHandlers() { load = new ButtonEventHandlerDictionary(); unload = new ButtonEventHandlerDictionary(); enterFrame = new ButtonEventHandlerDictionary(); update = new ButtonEventHandlerDictionary(); render = new ButtonEventHandlerDictionary(); press = new ButtonEventHandlerDictionary(); release = new ButtonEventHandlerDictionary(); rollOver = new ButtonEventHandlerDictionary(); rollOut = new ButtonEventHandlerDictionary(); keyPress = new ButtonKeyPressHandlerDictionary(); }
public void CallKEYPRESS(Button target, int code) { ButtonKeyPressHandlerDictionary dict = new ButtonKeyPressHandlerDictionary(keyPress); foreach (var h in dict) h.Value(target, code); }