|
-
Aug 18th, 2009, 02:25 AM
#1
Thread Starter
Addicted Member
WPF and Windows Form Questions
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|