Beispiel #1
0
 private void FormButtonControl_OnClick(object sender, PositionEventHandlerArgs args)
 {
     Form.FormSelection = new FormSelection {
         SelectedItem = (sender as ButtonControl).Text
     };
     Form.Select();
 }
Beispiel #2
0
        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();
            }
        }
Beispiel #3
0
 private void OkButton_OnClick(object sender, PositionEventHandlerArgs args)
 {
     OkSelected = true;
     Select();
 }
Beispiel #4
0
 private void CancelButton_OnClick(object sender, PositionEventHandlerArgs args)
 {
     OkSelected = false;
     Select();
 }
Beispiel #5
0
 private void ExitButton_OnClick(object sender, PositionEventHandlerArgs args)
 {
     CloseActivity();
 }
 private void buttonControl_OnClick(object sender, PositionEventHandlerArgs args)
 {
     CloseActivity();
 }