Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi!

I have a WPF application that I'm building in Expression Blend 2.

There's a main window (Window 1). On Window 1 there are a number of buttons. Those buttons each open Window 2 in a new window, but depending on each button, Window 2 gets different images/media.

Right now, The buttons open Window 2 in a new window.

I want to change that. I want the whole application to be built on tabs.

So that Window 1 will be in a tab, and the user can click a button and it will open a new tab that has Window 2's contents. And on a different button, it opens another instance Window 2 in a new tab, just with a few changes.

 

Is there a simple and easy way to do this?

Please help.

Thanks!

 

P.S. If I didn't explain this so well, just ask what I mean.

  • Administrators
Posted
Could you not convert the second window to a user control and add a tab control to window 1 - then either instantiate different versions of the control in each tab or simple change the style associated with the control when the tab is changed.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
Could you not convert the second window to a user control and add a tab control to window 1 - then either instantiate different versions of the control in each tab or simple change the style associated with the control when the tab is changed.

 

How do you convert a window to a user control?

I didn't really understand what you meant after that.

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...