-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6aa3445
commit 1f3e009
Showing
5 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System.Diagnostics; | ||
using System; | ||
using System.Diagnostics; | ||
using System.Drawing; | ||
using System.Windows.Forms; | ||
|
||
|
@@ -11,6 +12,17 @@ public static class Define | |
public const string MAINPAGE_URL = "https://www.spacetimee.xyz/"; | ||
public const string OPENSOURCE_URL = "https://github.com/SpaceTimee/Vight-Note"; | ||
public const string EMAIL = "[email protected]"; | ||
|
||
public static readonly string[] TIPS = new string[] | ||
{ | ||
"你用过.vtxt文件吗?", "试试把文件拖进来吧", "锁定输入也会锁定热键", "求求别用Ctrl+Alt+E了", "亲,给个Star呗~", | ||
"咕咕咕", "6月31日打开会有惊喜", "你在看我吗(⁄ ⁄•⁄ω⁄•⁄ ⁄)", "Vight是姓,Note是名" ,"Error: 404 Not Found", | ||
"窗口太小了? 那就把它拉长","❤", "I am simply a note", "关于: 关于:","•ᴗ•", | ||
"便签也需要休息呢","(。・ω・。)ノ♡" ,"Ciallo~(∠・ω< )⌒★","住在电脑里也很舒服呢~","便签和人类是两个物种", | ||
"我不吃饭,我吃电", "胡萝卜是什么味道的呢?","棒棒糖是什么味道的呢?","外面的世界是什么样的?","(๑• . •๑)", | ||
"更新失败就多试几次吧","主...主人?","轻模式是个好东西","?","你见过多少条关于呢?", | ||
"试试用Esc键关闭弹窗吧" | ||
}; | ||
} | ||
|
||
public AboutForm(bool isDarkMode) | ||
|
@@ -22,6 +34,10 @@ public AboutForm(bool isDarkMode) | |
|
||
//显示版本号 | ||
VersionLabel.Text = "版本号: " + Application.ProductVersion; | ||
|
||
//显示随机tip | ||
Random random = new Random((int)DateTime.Now.Ticks & 0x0000FFFF); | ||
Text = $"关于: {Define.TIPS[random.Next(0, 31)]}"; | ||
} | ||
private void CheckDarkMode(bool isDarkMode) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.