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