none
navigate between windows

    Question

  • hi everyone,

    i created more than one window in a wpf project and i need to know how to navigate from one to another.. is there something like response.direct or even setVisible

    thank you

    Monday, December 04, 2006 4:16 PM

All replies

  • you can do something like this

    Window2  win = new Window2();

    win.show();

     or

    <Hyperlink NavigateUri="Window2.xaml">

    there is a section in sdk

    ms-help://MS.MSSDK.1033/MS.NETFX30SDK.1033/wpf_conceptual/html/86ad2143-606a-4e34-bf7e-51a2594248b8.htm

    Monday, December 04, 2006 4:45 PM
  • Hey, I'm with her in the same project, thx a lot for the quick reply...


    but actually I need to modify the question a little bit..

    Firstly,
    If i do that.. using window show and hide...is it correct for an application? I mean should I browse through windows or pages?

    Meaning:
    Should I have a main window, then browse through pages, or is the window thing ok? And if so, then should i copy properties each time?

    Also, I found something relating to stacked windows? maybe that's it?

    Really, thanks a lot...


    Monday, December 04, 2006 5:00 PM
  • if you want winforms like application-> window, back and forward buttons(navigation) - page

     

    Monday, December 04, 2006 5:18 PM