-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConstants.cs
More file actions
22 lines (21 loc) · 763 Bytes
/
Constants.cs
File metadata and controls
22 lines (21 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MoqWord
{
public static class Constants
{
public const string Title = "莫欺单词";
public const string ProgramName = "MoqWord";
public const string Icon = "MoqWord.wwwroot.MOQ.ico";
public const string ThemeAccent = "Light";
public static string SelfPath = AppContext.BaseDirectory;
public static string Connection = $"DataSource={Path.Combine(SelfPath, "MoqWord.db")}";
public static string DistConf = $"{SelfPath}/Local/dist_conf.json";
public static string BooksPath = $"{SelfPath}/Local/dicts/{{0}}";
}
}