private void FormButtonControl_OnClick(object sender, PositionEventHandlerArgs args) { Form.FormSelection = new FormSelection { SelectedItem = (sender as ButtonControl).Text }; Form.Select(); }
private void FormFieldControl_OnClick(object sender, PositionEventHandlerArgs args) { var data = sender as FormData; Form.FormSelection = new FormSelection { SelectedItem = data.Name }; if (data is SubSelectableFormData) { var subData = data as SubSelectableFormData; Form.FormSelection.SubItem = subData.GetSubItems().First(); } }
private void OkButton_OnClick(object sender, PositionEventHandlerArgs args) { OkSelected = true; Select(); }
private void CancelButton_OnClick(object sender, PositionEventHandlerArgs args) { OkSelected = false; Select(); }
private void ExitButton_OnClick(object sender, PositionEventHandlerArgs args) { CloseActivity(); }
private void buttonControl_OnClick(object sender, PositionEventHandlerArgs args) { CloseActivity(); }