Question WPF and Windows Form interoperability

hariram28

New member
Joined
Aug 5, 2009
Messages
3
Location
India
Programming Experience
1-3
Hi,

I have developed an app using Windows Forms. Recently i started including few WPF Windows into it.

Now i'm facing problem in passing values between a Windows Form and WPF window.

Can somebody help me with this?
If my question is not clear, pls let me know, i'll brief it further.

Thanks.
 
What do you mean with "WPF window"? Are you hosting a WPF control (ElementHost) or displaying a WPF browser application in a browser control?
 
Thanks for your reply.

A WPF window/form/control, say(main.xaml).

It is a combined application (Windows Application & WPF).
So i need to pass a value from one of Windows application Form (say Form1.vb) to main.xaml.

I'll give you a simple scenario, if i click a button in Form1.VB, a label in main.xaml should display a value. say 'Button Clicked'.
Both form1.vb and main.xaml is running in a single application at that point of time.

I'm not sure whether i'm complicating things. But please let me know if i need to make it simpler.

Thanks Again.
 
Back
Top