百度在线桌面壁纸(开源)

介绍:
本程序主要根据百度个性首页换肤功能的数据演变而来实现一个在线切换壁纸的功能。
 
效果图:
 
 
主要用到的API 
1         [DllImport("user32.dll", EntryPoint = "SystemParametersInfo")]
2         public static extern int SystemParametersInfo(
3             int uAction,
4             int uParam,
5             string lpvParam,
6             int fuWinIni
7          );

大概思路

1,请求百度地址,获取左侧列表

2,利用 Newtonsoft.Json 解析返回的数据

3,根据左侧选中事件绑定右侧ListView

4,单击右键选择设置桌面背景

具体源码请移步 https://github.com/E024/E024Setting

原文地址:https://www.cnblogs.com/xt_hjl/p/4479177.html