Пример #1
0
        public void CallKEYPRESS(Button target, int code)
        {
            ButtonKeyPressHandlerList list =
                new ButtonKeyPressHandlerList(keyPress);

            list.ForEach(h => h(target, code));
        }
Пример #2
0
	public ButtonEventHandlers()
	{
		load = new ButtonEventHandlerList();
		unload = new ButtonEventHandlerList();
		enterFrame = new ButtonEventHandlerList();
		update = new ButtonEventHandlerList();
		render = new ButtonEventHandlerList();
		press = new ButtonEventHandlerList();
		release = new ButtonEventHandlerList();
		rollOver = new ButtonEventHandlerList();
		rollOut = new ButtonEventHandlerList();
		keyPress = new ButtonKeyPressHandlerList();
	}
Пример #3
0
 public ButtonEventHandlers()
 {
     load       = new ButtonEventHandlerList();
     unload     = new ButtonEventHandlerList();
     enterFrame = new ButtonEventHandlerList();
     update     = new ButtonEventHandlerList();
     render     = new ButtonEventHandlerList();
     press      = new ButtonEventHandlerList();
     release    = new ButtonEventHandlerList();
     rollOver   = new ButtonEventHandlerList();
     rollOut    = new ButtonEventHandlerList();
     keyPress   = new ButtonKeyPressHandlerList();
 }
Пример #4
0
	public void CallKEYPRESS(Button target, int code)
	{
		ButtonKeyPressHandlerList list =
			new ButtonKeyPressHandlerList(keyPress);
		list.ForEach(h => h(target, code));
	}