RobotStudio event

UIMsgBox with \Buttons from Rapid program with C#.

Hello, everyone,
How can I display/read a UIMsgBox with Buttons from Rapid program inside of my application with C#?
It's a way to display it like this from the module or I'll have to program it from scratch? (if it makes sense)
Example:


Thank you,