# Dialog box on a PC instead of the FlexPendant. C#

**URL:** <https://tech-community.robotics.abb.com/t/dialog-box-on-a-pc-instead-of-the-flexpendant-c/8894>\
**Category:** Developer Tools\
**Tags:** c, pc-sdk, irc5, flexpendant, rapid\
**Created:** [June 11, 2019, 7:07pm UTC](https://tech-community.robotics.abb.com/t/dialog-box-on-a-pc-instead-of-the-flexpendant-c/8894 "2019-06-11T19:07:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EugeneB](https://avatars.discourse-cdn.com/v4/letter/e/d07c76/32.png) [@EugeneB](https://tech-community.robotics.abb.com/u/EugeneB)\
**Post date:** [June 11, 2019, 7:07pm UTC](https://tech-community.robotics.abb.com/t/dialog-box-on-a-pc-instead-of-the-flexpendant-c/8894/1 "2019-06-11T19:07:00Z")

</div>

Can someone share an example of a PC SDK dialog box launched on a PC instead of the FlexPendant when Rapid UI and TP instructions are executed? When an operator will be able to give the feedback required by the Rapid program form a PC instead of using the FlexPendant.  
Any example will be appreciated. Something…

Thank you

---

<div class="post-metadata">

**Author:** ![Micky](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Micky](https://tech-community.robotics.abb.com/u/Micky)\
**Post date:** [June 14, 2019, 8:35am UTC](https://tech-community.robotics.abb.com/t/dialog-box-on-a-pc-instead-of-the-flexpendant-c/8894/2 "2019-06-14T08:35:43Z")

</div>

Hello Eugene,

please have a look into the following chapter “Enable operator response to RAPID UI-instructions from a PC” of the PC-SDK manual:  
[http://developercenter.robotstudio.com/blobproxy/devcenter/RobotCommunication/html/ae435101-731d-4fb3-be77-96e70b9aff19.htm](http://developercenter.robotstudio.com/blobproxy/devcenter/RobotCommunication/html/ae435101-731d-4fb3-be77-96e70b9aff19.htm)

There is described how you can set up an event to “UIInstructionEvent”.

[http://developercenter.robotstudio.com/blobproxy/devcenter/RobotCommunication/html/9bb124a3-0e01-d9a1-4ea5-b4824c623deb.htm](http://developercenter.robotstudio.com/blobproxy/devcenter/RobotCommunication/html/9bb124a3-0e01-d9a1-4ea5-b4824c623deb.htm)

```auto
c.Rapid.UIInstruction.UIInstructionEvent += OnUIInstructionEvent;

```

Afterwards, you can handle all incoming events from the UI dialogues of the FlexPendant.

You can find an example below  
[http://developercenter.robotstudio.com/blobproxy/devcenter/RobotCommunication/html/9239d774-40b6-a9fb-5ef6-637078268823.htm](http://developercenter.robotstudio.com/blobproxy/devcenter/RobotCommunication/html/9239d774-40b6-a9fb-5ef6-637078268823.htm)

Best regards

Micky
