Results 1 to 3 of 3

Thread: WPF and Windows Form Questions

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2008
    Location
    Philippines
    Posts
    218

    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.

  2. #2
    New Member
    Join Date
    Jul 2009
    Posts
    3

    Re: WPF and Windows Form Questions

    I've got a similar question about WPF and Windows Forms. (also just playing around with WPF)

    I've got 2 projects in my Solution. The main project is the Windows Forms Application. And the other project is a WPF Window i created.

    I got the layout i want for my WPF Window sorted. But the information i need displayed on the WPF Window is from the Windows Forms Application. And the information is always changing.

    My question is, how do i get my WPF Window to display that information? How do i get my WPF Window(and controls) to read those values from the Windows Forms Application and assign it?

    Thanks,
    VBN00B

  3. #3
    New Member
    Join Date
    Jul 2009
    Posts
    3

    Re: WPF and Windows Form Questions

    Quote Originally Posted by VisualBasicN00B View Post
    I've got a similar question about WPF and Windows Forms. (also just playing around with WPF)

    I've got 2 projects in my Solution. The main project is the Windows Forms Application. And the other project is a WPF Window i created.

    I got the layout i want for my WPF Window sorted. But the information i need displayed on the WPF Window is from the Windows Forms Application. And the information is always changing.

    My question is, how do i get my WPF Window to display that information? How do i get my WPF Window(and controls) to read those values from the Windows Forms Application and assign it?

    Thanks,
    VBN00B
    Nevermind i figured it out myself

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width