Browse Source

添加注释

liuyuqi-dellpc 1 year ago
parent
commit
ec67f2c870
2 changed files with 6 additions and 1 deletions
  1. 3 1
      .gitignore
  2. 3 0
      DayOf1440/Utils/SystemSleep.cs

+ 3 - 1
.gitignore

@@ -1,2 +1,4 @@
 /DayOf1440/bin/Debug
-/DayOf1440/obj/Debug
+/DayOf1440/obj
+/.vs/
+/DayOf1440/bin/

+ 3 - 0
DayOf1440/Utils/SystemSleep.cs

@@ -7,6 +7,9 @@ using System.Threading.Tasks;
 
 namespace DayOf1440.Utils
 {
+    /// <summary>
+    /// 管理屏幕休眠工具类
+    /// </summary>
    public static class SystemSleep
     {
         [DllImport("kernel32")]