优化程序 增加功能

This commit is contained in:
liufei
2021-05-14 16:48:26 +08:00
parent ef7cb465a1
commit de31210f37
16 changed files with 719 additions and 205 deletions

17
Constant/Constants.cs Normal file

File diff suppressed because one or more lines are too long

View File

@@ -5,9 +5,9 @@ namespace GeekDesk.Constant
{
enum DefaultConstant
{
WINDOW_WIDTH = 650, //默认窗体宽度
WINDOW_HEIGHT = 700, //默认窗体高度
MENU_CARD_WIDHT = 150, //默认菜单栏宽度
WINDOW_WIDTH = 666, //默认窗体宽度
WINDOW_HEIGHT = 500, //默认窗体高度
MENU_CARD_WIDHT = 165, //默认菜单栏宽度
IMAGE_WIDTH = 60, //默认图标宽度
IMAGE_HEIGHT = 60, //默认图标高度
}

18
Constant/IconStartType.cs Normal file
View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// 图标应用启动方式
/// </summary>
namespace GeekDesk.Constant
{
enum IconStartType
{
DEFAULT_STARTUP = 1, //默认启动方式
ADMIN_STARTUP = 2, //管理员方式启动
SHOW_IN_EXPLORE = 3 //打开文件所在位置
}
}