/* * Member Methods */ public override void Activate() { if (ItemActivated != null) { ItemActivated(this, new EventArgs()); } _command.InvokeCommand(); }
private void _offButton_Click(object sender, EventArgs e) { _offCommand.InvokeCommand(); }
/* * Member Methods */ public void Activate(object sender, EventArgs e) { _cmd.InvokeCommand(); }
private void _button_Activated(object sender, EventArgs e) { _command.InvokeCommand(); }