Exemplo n.º 1
0
        void OnButtonClick(ButtonInfo button)
        {
            if (button == null)
            {
                throw new ArgumentNullException();
            }

            button.NotifyClick();

            if (ButtonClick != null)
            {
                ButtonClick(this, new ButtonEventArgs(button));
            }
        }