跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

浏览文件

AppState.cs

25 行 · 580 B历史下载
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace Core
8{
9 /// <summary>
10 /// app状态
11 /// </summary>
12 public class AppState
13 {
14 /// <summary>
15 /// 是否正在加载中
16 /// </summary>
17 public static bool IsLoading { get; set; } = true;
18 /// <summary>
19 /// 进度值
20 /// </summary>
21 public static int ProcessValue { get; set; } = 0;
22
23 public static string ActionText { get; set; } = "加载中,请稍后...";
24 }
25}