Hi you guys,
I've been customizing a theme and are now ready to test it out and look if it looks great the application I'm creating.
First i tried to load the theme by code like this:
But the theme was not applied to the controls. So I went here and found out that i needed to add the thememanager to my form to add the theme.
So i did this, then i tried to load the theme from file and got the error message attached.
The theme i have customized is based on the DefaultTheme. To be able to customize that theme i had to export it from the VSB by selecting File->Export Built-in Themes
So, to figure out what i was doing wrong i tried to load the exported non-customized theme, the theme called "ControlDefault.tssp" when its exported. And the strange thing was that the ThemeManager gave me the exact same message for this theme. So there have to be something wrong with the export method in the VSB.. or something with the ThemeManager???
I've been customizing a theme and are now ready to test it out and look if it looks great the application I'm creating.
First i tried to load the theme by code like this:
ThemeResolutionService.LoadPackageResource(
"WindowsFormsApplication1.Theme.test.tssp"
);
So i did this, then i tried to load the theme from file and got the error message attached.
The theme i have customized is based on the DefaultTheme. To be able to customize that theme i had to export it from the VSB by selecting File->Export Built-in Themes
So, to figure out what i was doing wrong i tried to load the exported non-customized theme, the theme called "ControlDefault.tssp" when its exported. And the strange thing was that the ThemeManager gave me the exact same message for this theme. So there have to be something wrong with the export method in the VSB.. or something with the ThemeManager???