'添加自定义图标大小','待办任务可使用CRON表达式自定义提醒频率'

This commit is contained in:
liufei
2021-09-11 15:32:30 +08:00
parent c231587543
commit 274541303a
19 changed files with 562 additions and 142 deletions

View File

@@ -20,8 +20,6 @@ namespace GeekDesk.ViewModel
private BitmapImage bitmapImage; //位图
private byte[] imageByteArr; //图片 byte数组
private string content; //显示信息
private int imageWidth = (int)CommonEnum.IMAGE_WIDTH; //图片宽度
private int imageHeight = (int)CommonEnum.IMAGE_HEIGHT; //图片高度
private bool adminStartUp = false; //始终管理员方式启动 默认否
private byte[] defaultImage; //默认图标
@@ -152,33 +150,7 @@ namespace GeekDesk.ViewModel
}
}
public int ImageWidth
{
get
{
// 为了兼容旧版 暂时使用默认
return (int)CommonEnum.IMAGE_WIDTH;
}
set
{
imageWidth = value;
OnPropertyChanged("ImageWidth");
}
}
public int ImageHeight
{
get
{
// 为了兼容旧版 暂时使用默认
return (int)CommonEnum.IMAGE_HEIGHT;
}
set
{
imageHeight = value;
OnPropertyChanged("ImageHeight");
}
}