public async void GenerateWindowsTheme() { if (Theme == null) { return; } WindowsThemeService service = new WindowsThemeService(); await service.CreateWindowsTheme(Theme); }
private async void MenuFlyoutItem_CreateWindowsTheme_Click(object sender, RoutedEventArgs e) { if (m_rightClickedWallPaperTheme == null) { return; } WindowsThemeService service = new WindowsThemeService(); await service.CreateWindowsTheme(m_rightClickedWallPaperTheme); }