I wanted to know how a DLL can send info to a dialog and vice versa ?

The DLL is injected into a process to trace some info and i want the DLL send me the info to a C# app(dialog) which it will get them and show me,

and send to the dll from the app to say start tracing or not.

can someone help me ?

Thank you.