Signaling for a running application

  • Thread starter Thread starter Peter Baranyi
  • Start date Start date
P

Peter Baranyi

Hi all,

I have a Delphi application (written by me) what I have to port to c#/.NET.
In the application all the menupoints open a form, so I tought, I will port
the forms of the original appl. by menupoints. So when the user clicks on a
menupoint, what already ready in c#, I have to signal somehow to the .NET
application, which menupoint was clicked, and open the appropriate form.
How can I pass and receive this kind of "message" to a .NET application? Is
there a standard way to do it?

Thanks:

Peter
 
I don't know what a "menupoint" is. Normally in WinForms, you subscribe to a
Click event on a menu item and do what needs to be done in there (like
instantiate and show a form).

If you have the menu created in the designer you can simply double-click the
particular menu item and the designer will create a Click event handler for
you.

Point me in the right direction if I've completely missed the point.
 
:) Yeah, you completly missing the point. The point is that I have two
applications. One written in Deplhi, the other in c#. If I click on a menu in
the Deplhi application, I want to do something in the c# applicaiton. And I
have no idea how to do this kind of "link" between the two.

Best regards:

Peter
 
Back
Top