Esempio n. 1
0
        /*
         * Member Methods
         */

        public override void Activate()
        {
            if (ItemActivated != null)
            {
                ItemActivated(this, new EventArgs());
            }

            _command.InvokeCommand();
        }
Esempio n. 2
0
 private void _offButton_Click(object sender, EventArgs e)
 {
     _offCommand.InvokeCommand();
 }
Esempio n. 3
0
        /*
         * Member Methods
         */

        public void Activate(object sender, EventArgs e)
        {
            _cmd.InvokeCommand();
        }
Esempio n. 4
0
 private void _button_Activated(object sender, EventArgs e)
 {
     _command.InvokeCommand();
 }