How to communicate between C# and Wpf projects ?

Posted by Wazzz on Stack Overflow See other posts from Stack Overflow or by Wazzz
Published on 2010-05-06T06:58:06Z Indexed on 2010/05/06 7:58 UTC
Read the original article Hit count: 259

Filed under:
|

Hey folks , i'm working with 3 projects , one C# (let's called it A ) the other two are Wpf projects(let's call them B,C).

The project B has a main window which contains a button ,when i press the button it shows the project "A" main's window .(i've done that by adding the right references and doing the code below in button click event handler :

            CsharpForm.Form1 d = new CsharpForm.Form1();
            d.ShowDialog();

, but The Problem i have now is how do to the opposite ??

i have a button in project "C"(wpf one ) and want it to open a window of project "a" (C# )

Do u know any idea about this ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf