下班 还有一些小问题 1.0版本就可以发布了
This commit is contained in:
@@ -12,13 +12,55 @@ namespace GeekDesk.ViewModel
|
||||
[Serializable]
|
||||
public class AppData : INotifyPropertyChanged
|
||||
{
|
||||
private ObservableCollection<MenuInfo> menuList = new ObservableCollection<MenuInfo>();
|
||||
private AppConfig appConfig = new AppConfig();
|
||||
private ObservableCollection<MenuInfo> menuList; //菜单信息及菜单对应icon信息
|
||||
private AppConfig appConfig = new AppConfig(); //程序设置信息
|
||||
private ObservableCollection<BacklogInfo> hiBacklogList; //历史待办
|
||||
private ObservableCollection<BacklogInfo> exeBacklogList; //未处理待办 为了提高任务效率 分开处理
|
||||
|
||||
|
||||
public ObservableCollection<BacklogInfo> HiBacklogList
|
||||
{
|
||||
get
|
||||
{
|
||||
if (hiBacklogList == null)
|
||||
{
|
||||
hiBacklogList = new ObservableCollection<BacklogInfo>();
|
||||
|
||||
}
|
||||
return hiBacklogList;
|
||||
}
|
||||
set
|
||||
{
|
||||
hiBacklogList = value;
|
||||
OnPropertyChanged("HiBacklogList");
|
||||
}
|
||||
}
|
||||
|
||||
public ObservableCollection<BacklogInfo> ExeBacklogList
|
||||
{
|
||||
get
|
||||
{
|
||||
if (exeBacklogList == null)
|
||||
{
|
||||
exeBacklogList = new ObservableCollection<BacklogInfo>();
|
||||
}
|
||||
return exeBacklogList;
|
||||
}
|
||||
set
|
||||
{
|
||||
exeBacklogList = value;
|
||||
OnPropertyChanged("ExeBacklogList");
|
||||
}
|
||||
}
|
||||
|
||||
public ObservableCollection<MenuInfo> MenuList
|
||||
{
|
||||
get
|
||||
{
|
||||
if (menuList == null)
|
||||
{
|
||||
menuList = new ObservableCollection<MenuInfo>();
|
||||
}
|
||||
return menuList;
|
||||
}
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user