• 大小: 1.54M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  

资源简介

c# 切换windows桌面背景

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Forms;

using System.Runtime.InteropServices;

namespace ChangeDeskTop
{
    public partial class DeskTop : Form
    {
        [DllImport(“user32.dll“ EntryPoint = “SystemParametersInfo“)]
        //[DllImport(“user32.dll“CharSet=CharSet.Auto)]
        public static extern int SystemParametersInfo(int uAction int uParam string lpvParam int fuWinIni);
        FolderBrowserDialog folderChooser;
        DirectoryInfo directory;
        //Bitmap bmp;
        //string[] picPath;
        //int index = 0;
        public DeskTop()
        {
            this.folderChooser = new

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      47616  2010-04-10 23:19  ChangeDeskTop\bin\Debug\ChangeDeskTop.exe

     文件      40448  2010-04-10 23:19  ChangeDeskTop\bin\Debug\ChangeDeskTop.pdb

     文件      14328  2010-04-12 23:14  ChangeDeskTop\bin\Debug\ChangeDeskTop.vshost.exe

     文件        490  2007-07-21 01:33  ChangeDeskTop\bin\Debug\ChangeDeskTop.vshost.exe.manifest

     文件     698454  2010-04-09 12:27  ChangeDeskTop\bin\Debug\picture\Default\020.bmp

     文件    2359350  2010-04-08 23:43  ChangeDeskTop\bin\Debug\picture\Default\6.bmp

     文件       3747  2010-04-06 21:54  ChangeDeskTop\ChangeDeskTop.csproj

     文件        915  2010-04-06 21:43  ChangeDeskTop\ChangeDeskTop.sln

    ..A..H.     17408  2010-04-12 23:22  ChangeDeskTop\ChangeDeskTop.suo

     文件      14454  2010-04-10 23:19  ChangeDeskTop\DeskTop.cs

     文件      16225  2010-04-10 23:08  ChangeDeskTop\DeskTop.Designer.cs

     文件      49134  2010-04-10 23:08  ChangeDeskTop\DeskTop.resx

     文件        800  2010-04-12 23:16  ChangeDeskTop\obj\Debug\ChangeDeskTop.csproj.FileListAbsolute.txt

     文件        849  2010-04-10 23:08  ChangeDeskTop\obj\Debug\ChangeDeskTop.csproj.GenerateResource.Cache

     文件      28752  2010-04-10 23:08  ChangeDeskTop\obj\Debug\ChangeDeskTop.DeskTop.resources

     文件      47616  2010-04-10 23:19  ChangeDeskTop\obj\Debug\ChangeDeskTop.exe

     文件      40448  2010-04-10 23:19  ChangeDeskTop\obj\Debug\ChangeDeskTop.pdb

     文件        180  2010-04-10 22:33  ChangeDeskTop\obj\Debug\ChangeDeskTop.Properties.Resources.resources

     文件        496  2010-04-06 21:43  ChangeDeskTop\Program.cs

     文件       1382  2010-04-06 21:43  ChangeDeskTop\Properties\AssemblyInfo.cs

     文件       2876  2010-04-06 21:43  ChangeDeskTop\Properties\Resources.Designer.cs

     文件       5612  2010-04-06 21:43  ChangeDeskTop\Properties\Resources.resx

     文件       1098  2010-04-06 21:43  ChangeDeskTop\Properties\Settings.Designer.cs

     文件        249  2010-04-06 21:43  ChangeDeskTop\Properties\Settings.settings

     目录          0  2010-04-15 09:52  ChangeDeskTop\bin\Debug\picture\Default

     目录          0  2010-04-15 09:52  ChangeDeskTop\bin\Debug\picture

     目录          0  2010-04-14 21:48  ChangeDeskTop\obj\Debug\Refactor

     目录          0  2010-04-14 21:48  ChangeDeskTop\obj\Debug\TempPE

     目录          0  2010-04-14 21:48  ChangeDeskTop\bin\Debug

     目录          0  2010-04-14 21:48  ChangeDeskTop\obj\Debug

............此处省略7个文件信息

评论

共有 条评论