Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 7e7ef1c

Browse files
committed
change timer from 100ms to 1s
1 parent f3343eb commit 7e7ef1c

File tree

8 files changed

+24
-58
lines changed

8 files changed

+24
-58
lines changed

wallpaper/App.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
55
</startup>
6-
</configuration>
6+
</configuration>

wallpaper/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
3232
// 方法是按如下所示使用“*”: :
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("2.2.0.0")]
35-
[assembly: AssemblyFileVersion("2.2.0.0")]
34+
[assembly: AssemblyVersion("2.2.2.0")]
35+
[assembly: AssemblyFileVersion("2.2.2.0")]

wallpaper/Properties/Resources.Designer.cs

Lines changed: 8 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wallpaper/Wallpaper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public static void Run()
2929
}
3030
}
3131
}
32+
timer.Interval = 1000;
3233
timer.Tick += TimerTick;
3334
timer.Enabled = true;
3435
}

wallpaper/wallpaper.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>wallpaper</RootNamespace>
1010
<AssemblyName>wallpaper</AssemblyName>
11-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<PublishUrl>publish\</PublishUrl>
@@ -26,6 +26,7 @@
2626
<IsWebBootstrapper>false</IsWebBootstrapper>
2727
<UseApplicationTrust>false</UseApplicationTrust>
2828
<BootstrapperEnabled>true</BootstrapperEnabled>
29+
<TargetFrameworkProfile />
2930
</PropertyGroup>
3031
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3132
<PlatformTarget>AnyCPU</PlatformTarget>

wallpapersetting/App.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
55
</startup>
6-
</configuration>
6+
</configuration>

wallpapersetting/Properties/Resources.Designer.cs

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wallpapersetting/wallpapersetting.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>wallpapersetting</RootNamespace>
1010
<AssemblyName>wallpapersetting</AssemblyName>
11-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
11+
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<PublishUrl>publish\</PublishUrl>
@@ -26,6 +26,7 @@
2626
<IsWebBootstrapper>false</IsWebBootstrapper>
2727
<UseApplicationTrust>false</UseApplicationTrust>
2828
<BootstrapperEnabled>true</BootstrapperEnabled>
29+
<TargetFrameworkProfile />
2930
</PropertyGroup>
3031
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
3132
<PlatformTarget>AnyCPU</PlatformTarget>

0 commit comments

Comments
 (0)