0

I would like to two windows in WPF. I would like to show a screen to the user based on the settings in app.config. Since i am new to WPF, please help me regarding this.

2 Answers2

0

You can use dynamic change content strategy

which well described here: Changing content dynamically in wpf window

Community
  • 1
  • 1
Mitklantekutli
  • 410
  • 1
  • 3
  • 16
0

Based on your question, I think you want to select Window during startup. You can do this by modifying the App.xaml. Please refer this link for full details

If you want to do it during runtime easier option would be to modify your design to have user controls rather than windows. Then you can hide/disable functionality of the relevant control during run time.

Community
  • 1
  • 1
karpanai
  • 235
  • 4
  • 14