示例#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();
 }