Pass value between windows
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Pass value between windows

  1. #1
    Join Date
    Apr 2004
    Posts
    265

    Pass value between windows

    Hello,

    In WPF, I open window2 from window1 with a button click keeping window1 open. When I close window2, I want to display 2 values in window1. How can this be achieved?

    Thanks

  2. #2
    Arjay's Avatar
    Arjay is online now Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    10,975

    Re: Pass value between windows

    Follow the WPF Model View, View Model (MVVM) pattern. Essentially, each view (i.e. Window) would bind to a view model which connects to the model. Search for mvvm examples.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center