private void onInputValueEvent(CRW_Keyboard_EventArgs args) { if (this.InputValueEvent != null) { InputValueEvent.Invoke(null, args); } }
private void Btn_Clicked(object sender, EventArgs e) { Button btn = sender as Button; var args = new CRW_Keyboard_EventArgs(int.Parse(btn.Text)); onInputValueEvent(args); }
private void receiveUserAnswer(object sender, CRW_Keyboard_EventArgs e) { validateUserAnswer(e.Value); }