Exception | Description |
---|---|
System.IO.IOException | An I/O (input/output) error occurred while trying to save the theme. |
System.Security.SecurityException | The caller does not have the required permission to save the theme. |
class Program { private Theme theme; public Theme ApplicationTheme { set{theme = value;} } public void LoadTheme() { if(theme != null) { theme.Save(); } } }