We will see how we can pass parameters to a WPF Click-Once Application and depends on the parameter we can use the application.

Introduction


Environment : Visual Studio 2010
Application   : WPF
Language     : VB.NET
Deployment  : Click-Once

Suppose you have a WPF application which has 5 XAML windows.

1. Main Window
2. Application 1
3. Application 2
4. Application 3
5. Application 4

When application get launched, the Main Window will open which will have a combo-box containing the Application's Name to select.