rpc86
Aug 18th, 2009, 02:25 AM
Hi guys,
This is just my first time to create WPF as an exercise. I use C# in Visual Studio 2008.
I have a Windows Form that hosts my User Control (WPF). On the WPF I have a button named "Cancel". I want my WPF be closed from my windows form when I click the Cancel button, but there is no such thing as wpf.close(); or wpf.disposed(); found on the properties/methods. How will I do this?
I saw another website that shows Windows Form (WPF) and User Control (WPF) when adding new items. Mine is only User Control (WPF). What is the difference between the two?
How will I work on get{} and set{} in WPF in referencing members to the windows form?
Please help.
Thank you.
This is just my first time to create WPF as an exercise. I use C# in Visual Studio 2008.
I have a Windows Form that hosts my User Control (WPF). On the WPF I have a button named "Cancel". I want my WPF be closed from my windows form when I click the Cancel button, but there is no such thing as wpf.close(); or wpf.disposed(); found on the properties/methods. How will I do this?
I saw another website that shows Windows Form (WPF) and User Control (WPF) when adding new items. Mine is only User Control (WPF). What is the difference between the two?
How will I work on get{} and set{} in WPF in referencing members to the windows form?
Please help.
Thank you.