Skip to content

Commit bde1be8

Browse files
committed
初始化源代码 - 20241004
1 parent 649fe68 commit bde1be8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+13298
-2
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

Assets/MainUI.png

1.33 MB
Loading

Assets/SettingUI.png

85.3 KB
Loading

License

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

ReadMe.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# CountDownControl - 倒计时小工具
2+
3+
## 关于本项目
4+
5+
这是一个支持自定义设置的倒计时小工具。本软件可以安装在大屏上(例如教学大屏),也可以安装在普通电脑上。
6+
7+
## 功能
8+
9+
本程序支持的功能有:
10+
11+
- [x] 倒计时(基础功能)
12+
- [x] 深浅色模式
13+
- [x] 多种主题(可以自定义)
14+
- [x] 自定义倒计时显示格式以及文字
15+
- [x] 支持通过组策略配置策略
16+
- [x] 支持保存你的设置
17+
- [x] 其它一些功能。它们正在等待被你发现……
18+
19+
## 下载
20+
21+
转到[发布页](https://github.com/cjhdevact/CountDownControl/releases)下载程序或源代码。
22+
23+
早期版本的源代码也在发布页里。
24+
25+
## 程序截图
26+
27+
主程序界面(浅色)
28+
29+
![主程序界面(浅色)](Assets/MainUI.png)
30+
31+
设置界面
32+
33+
![设置界面](Assets/SettingUI.png)
34+
35+
## 开源说明
36+
37+
在修改和由本仓库代码衍生的代码中需要说明“基于 CountDownControl 开发”。
38+
39+
本程序基于 TimeControl 框架代码修改。
40+
41+
## 相关项目
42+
43+
[TimeControl](https://github.com/cjhdevact/TimeControl) - 时钟小工具,在电脑上随时查看当前时间
44+
45+
[TimeControlAero](https://github.com/cjhdevact/TimeControlAero) - 时钟小工具Aero版(开发中)
46+
47+
------------
48+
49+
本程序基于 `GPL-3.0` 授权。

Src/CountDownControl.sln

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "CountDownControl", "CountDownControl\CountDownControl.vbproj", "{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|x64 = Debug|x64
9+
Debug|x86 = Debug|x86
10+
Release|x64 = Release|x64
11+
Release|x86 = Release|x86
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Debug|x64.ActiveCfg = Debug|x64
15+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Debug|x64.Build.0 = Debug|x64
16+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Debug|x86.ActiveCfg = Debug|x86
17+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Debug|x86.Build.0 = Debug|x86
18+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Release|x64.ActiveCfg = Release|x64
19+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Release|x64.Build.0 = Release|x64
20+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Release|x86.ActiveCfg = Release|x86
21+
{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}.Release|x86.Build.0 = Release|x86
22+
EndGlobalSection
23+
GlobalSection(SolutionProperties) = preSolution
24+
HideSolutionNode = FALSE
25+
EndGlobalSection
26+
EndGlobal

Src/CountDownControl.suo

97.5 KB
Binary file not shown.

Src/CountDownControl/App.config

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client" />
5+
</startup>
6+
<appSettings>
7+
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
8+
</appSettings>
9+
<!--
10+
<System.Windows.Forms.ApplicationConfigurationSection>
11+
<add key="DpiAwareness" value="PerMonitorV2" />
12+
</System.Windows.Forms.ApplicationConfigurationSection>
13+
-->
14+
</configuration>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<ProjectView>ProjectFiles</ProjectView>
5+
</PropertyGroup>
6+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
7+
<StartArguments>
8+
</StartArguments>
9+
</PropertyGroup>
10+
</Project>
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6+
<ProductVersion>
7+
</ProductVersion>
8+
<SchemaVersion>2.0</SchemaVersion>
9+
<ProjectGuid>{F5B7BEEB-255F-4D20-A039-A4012DB99ECF}</ProjectGuid>
10+
<OutputType>WinExe</OutputType>
11+
<StartupObject>CountDownControl.My.MyApplication</StartupObject>
12+
<RootNamespace>CountDownControl</RootNamespace>
13+
<AssemblyName>CountDownControl</AssemblyName>
14+
<FileAlignment>512</FileAlignment>
15+
<MyType>WindowsForms</MyType>
16+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
17+
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
20+
<PlatformTarget>x86</PlatformTarget>
21+
<DebugSymbols>true</DebugSymbols>
22+
<DebugType>full</DebugType>
23+
<DefineDebug>true</DefineDebug>
24+
<DefineTrace>true</DefineTrace>
25+
<OutputPath>bin\Debug\</OutputPath>
26+
<DocumentationFile>
27+
</DocumentationFile>
28+
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
29+
<UseVSHostingProcess>false</UseVSHostingProcess>
30+
</PropertyGroup>
31+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
32+
<PlatformTarget>x86</PlatformTarget>
33+
<DebugType>pdbonly</DebugType>
34+
<DefineDebug>false</DefineDebug>
35+
<DefineTrace>true</DefineTrace>
36+
<Optimize>true</Optimize>
37+
<OutputPath>bin\Release\</OutputPath>
38+
<DocumentationFile>
39+
</DocumentationFile>
40+
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
41+
<UseVSHostingProcess>false</UseVSHostingProcess>
42+
</PropertyGroup>
43+
<PropertyGroup>
44+
<OptionExplicit>On</OptionExplicit>
45+
</PropertyGroup>
46+
<PropertyGroup>
47+
<OptionCompare>Binary</OptionCompare>
48+
</PropertyGroup>
49+
<PropertyGroup>
50+
<OptionStrict>Off</OptionStrict>
51+
</PropertyGroup>
52+
<PropertyGroup>
53+
<OptionInfer>On</OptionInfer>
54+
</PropertyGroup>
55+
<PropertyGroup>
56+
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
57+
</PropertyGroup>
58+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
59+
<DebugSymbols>true</DebugSymbols>
60+
<DefineDebug>true</DefineDebug>
61+
<DefineTrace>true</DefineTrace>
62+
<OutputPath>bin\x64\Debug\</OutputPath>
63+
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
64+
<DebugType>full</DebugType>
65+
<PlatformTarget>x64</PlatformTarget>
66+
<CodeAnalysisLogFile>bin\Debug\TimeControl.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
67+
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
68+
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.vb</CodeAnalysisModuleSuppressionsFile>
69+
<UseVSHostingProcess>false</UseVSHostingProcess>
70+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
71+
<CodeAnalysisRuleSetDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
72+
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
73+
<CodeAnalysisRuleDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
74+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
75+
</PropertyGroup>
76+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
77+
<DefineTrace>true</DefineTrace>
78+
<OutputPath>bin\x64\Release\</OutputPath>
79+
<Optimize>true</Optimize>
80+
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
81+
<DebugType>pdbonly</DebugType>
82+
<PlatformTarget>x64</PlatformTarget>
83+
<CodeAnalysisLogFile>bin\Release\TimeControl.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
84+
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
85+
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.vb</CodeAnalysisModuleSuppressionsFile>
86+
<UseVSHostingProcess>false</UseVSHostingProcess>
87+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
88+
<CodeAnalysisRuleSetDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
89+
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
90+
<CodeAnalysisRuleDirectories>;C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
91+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
92+
</PropertyGroup>
93+
<PropertyGroup>
94+
<ApplicationIcon>Resources\time.ico</ApplicationIcon>
95+
</PropertyGroup>
96+
<ItemGroup>
97+
<Reference Include="System" />
98+
<Reference Include="System.Data" />
99+
<Reference Include="System.Deployment" />
100+
<Reference Include="System.Drawing" />
101+
<Reference Include="System.Windows.Forms" />
102+
<Reference Include="System.Xml" />
103+
<Reference Include="System.Core" />
104+
<Reference Include="System.Xml.Linq" />
105+
<Reference Include="System.Data.DataSetExtensions" />
106+
</ItemGroup>
107+
<ItemGroup>
108+
<Import Include="Microsoft.VisualBasic" />
109+
<Import Include="System" />
110+
<Import Include="System.Collections" />
111+
<Import Include="System.Collections.Generic" />
112+
<Import Include="System.Data" />
113+
<Import Include="System.Drawing" />
114+
<Import Include="System.Diagnostics" />
115+
<Import Include="System.Windows.Forms" />
116+
<Import Include="System.Linq" />
117+
<Import Include="System.Xml.Linq" />
118+
</ItemGroup>
119+
<ItemGroup>
120+
<Compile Include="Form1.vb">
121+
<SubType>Form</SubType>
122+
</Compile>
123+
<Compile Include="Form1.Designer.vb">
124+
<DependentUpon>Form1.vb</DependentUpon>
125+
<SubType>Form</SubType>
126+
</Compile>
127+
<Compile Include="Form2.Designer.vb">
128+
<DependentUpon>Form2.vb</DependentUpon>
129+
</Compile>
130+
<Compile Include="Form2.vb">
131+
<SubType>Form</SubType>
132+
</Compile>
133+
<Compile Include="GPLForm.Designer.vb">
134+
<DependentUpon>GPLForm.vb</DependentUpon>
135+
</Compile>
136+
<Compile Include="GPLForm.vb">
137+
<SubType>Form</SubType>
138+
</Compile>
139+
<Compile Include="My Project\AssemblyInfo.vb" />
140+
<Compile Include="My Project\Application.Designer.vb">
141+
<AutoGen>True</AutoGen>
142+
<DependentUpon>Application.myapp</DependentUpon>
143+
</Compile>
144+
<Compile Include="My Project\Resources.Designer.vb">
145+
<AutoGen>True</AutoGen>
146+
<DesignTime>True</DesignTime>
147+
<DependentUpon>Resources.resx</DependentUpon>
148+
</Compile>
149+
<Compile Include="My Project\Settings.Designer.vb">
150+
<AutoGen>True</AutoGen>
151+
<DependentUpon>Settings.settings</DependentUpon>
152+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
153+
</Compile>
154+
<Compile Include="RegKeyModule.vb" />
155+
</ItemGroup>
156+
<ItemGroup>
157+
<EmbeddedResource Include="Form1.resx">
158+
<DependentUpon>Form1.vb</DependentUpon>
159+
</EmbeddedResource>
160+
<EmbeddedResource Include="Form2.resx">
161+
<DependentUpon>Form2.vb</DependentUpon>
162+
</EmbeddedResource>
163+
<EmbeddedResource Include="GPLForm.resx">
164+
<DependentUpon>GPLForm.vb</DependentUpon>
165+
</EmbeddedResource>
166+
<EmbeddedResource Include="My Project\Resources.resx">
167+
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
168+
<CustomToolNamespace>My.Resources</CustomToolNamespace>
169+
<SubType>Designer</SubType>
170+
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
171+
</EmbeddedResource>
172+
</ItemGroup>
173+
<ItemGroup>
174+
<None Include="My Project\app.manifest">
175+
<SubType>Designer</SubType>
176+
</None>
177+
<None Include="My Project\Application.myapp">
178+
<Generator>MyApplicationCodeGenerator</Generator>
179+
<LastGenOutput>Application.Designer.vb</LastGenOutput>
180+
</None>
181+
<None Include="My Project\Settings.settings">
182+
<Generator>SettingsSingleFileGenerator</Generator>
183+
<CustomToolNamespace>My</CustomToolNamespace>
184+
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
185+
</None>
186+
</ItemGroup>
187+
<ItemGroup>
188+
<None Include="Resources\bkg400.png" />
189+
<None Include="Resources\bkgdark400.png" />
190+
<None Include="Resources\bkg50.png" />
191+
<None Include="Resources\bkgdark50.png" />
192+
<Content Include="Resources\TimeFormat.txt" />
193+
<None Include="Resources\bkg.png" />
194+
<None Include="Resources\bkgdark.png" />
195+
<Content Include="Resources\time.ico" />
196+
</ItemGroup>
197+
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
198+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
199+
Other similar extension points exist, see Microsoft.Common.targets.
200+
<Target Name="BeforeBuild">
201+
</Target>
202+
<Target Name="AfterBuild">
203+
</Target>
204+
-->
205+
</Project>

0 commit comments

Comments
 (0)