Пример #1
0
 public GridGuideSettingViewModel(SettingType type)
 {
     _settingType = type;
     _model       = SettingModel.GetInstance();
     _model.InitData();
     this.OKCommand     = new DelegateCommand <object>(OKExecute);
     this.CancelCommand = new DelegateCommand <object>(CancelExecute);
 }
Пример #2
0
 public GridSettingViewModel()
 {
     //init data from global setting.
     _model = SettingModel.GetInstance();
 }
Пример #3
0
 public GuidesSettingViewModel()
 {
     _model = SettingModel.GetInstance();
 }