示例#1
0
 public NewsViewModel()
 {
     _Services = new NewsServices();
     if (_newsstate.IsNull())
         _newsstate = _newsstatelist[0];
     if (_newstype.IsNull())
         _newstype = _newstypelist[0];
 }
示例#2
0
 public NewsManagerViewModel()
 {
     _items = new ObservableCollection<NewsViewModel>();
     _Services = new NewsServices();
     _Services.OnGetNewsListCompleted += new EventHandler<GetEntityListEventArgs<NewsModel>>(_Services_OnGetNewsListCompleted);
     LoadData();
 }
示例#3
0
文件: PopupNews.cs 项目: JuRogn/OA
 public PopupNews()
 {
     _newsServices = new NewsServices();
     _newsServices.OnGetNewsListCompleted += new EventHandler<GetEntityListEventArgs<SAAS.Platform.Model.NewsModel>>(_newsServices_OnGetNewsListCompleted);
 }