tags:

views:

131

answers:

1

How to add my own main function to WPF Application. i also have Resource file(theme).

i tried to add new class and specified this class as startup but got error for resource file.

+1  A: 

This link might get you started in the right direction.

Anand
if i set the Build Action to Page rather than Application Defination then do i also need to set the File Name property ?
File Name is necessary, VS compiler will recognize it using that name.
Anand