• 0

[WPF] Design question regarding multiple windows


Question

Ok, so, for abit of fun I'm making a Media Center clone, but I've come across abit of a design hurdle and want to make sure I get it right at the beginning. In MCE 2005 for example, if you wanted to play a video the user would navigate something like,

Start Screen -> View of all folders in Video -> all files in a particular folder -> Player

They also have a little player in the bottom left corner so that no matter which screen your on, you can see what your watching.

So if I was to try and achieve something similiar in WPF.. would I use multiple windows (I spose in the above example - Start Window, File Browser, Player) or use one window and just hide certain controls depending on which screen I'm on. It would certainly make having the player in the corner easy to do, and would probably make doing fancy effects slightly easier as well, but its going to make it damn confusing to develop.

Or perhaps I could nest multiple windows/User Controls inside a single window like a PlaceHolder control in ASP.Net?

I dunno, suggestions would be awesome. :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

another person having problems with wpf. hooray for all of us lol

sounds pretty cool what your doing but i cant graspe on how you want it laid out. Do u have have screens yet of it?

Link to comment
Share on other sites

  • 0

lol, 2 years later and I'm about to post the same thing. Google searched before submitting and found this. :p

So, I think a *bump* is in order. :p

Link to comment
Share on other sites

  • 0

2 years on the same problem? wow.

I'm not sure what you are trying to do, can you explain in a different way or show a picture of what you are trying to do.

To me it seems like you are trying to make new System.Windows.Forms.OpenFileDialog but a custom one or a tree view.

For OpenFileDialog, there isn't one in WPF, but you can use the winforms instead.

If it is indead a custom one, try this link: http://www.codeguru.com/csharp/csharp/cs_c...icle.php/c12801.

But I wonder if I really undestand what you ask since you are still having this problem 2 years later.

Link to comment
Share on other sites

  • 0
2 years on the same problem? wow.

Haha, not on the same problem no. :p I've started this project about 10 times in different languages and kept hitting walls. I think I gave up on this as I just wasn't getting WPF, and there weren't any resources around back then.

But I think I might be alright now actually. The question was, I have multiple screens (not Windows), but want to have fancy effects when you move between them, so inside the same XAML file would make the most sense, but the problem with that is it would make code hard to understand. I've started down the Usercontrol track and it seems ok. :)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.