public static SettingModel GetInstance() { if (_instance == null) { _instance = new SettingModel(); } return(_instance); }
public GridGuideSettingViewModel(SettingType type) { _settingType = type; _model = SettingModel.GetInstance(); _model.InitData(); this.OKCommand = new DelegateCommand <object>(OKExecute); this.CancelCommand = new DelegateCommand <object>(CancelExecute); }
public GridSettingViewModel() { //init data from global setting. _model = SettingModel.GetInstance(); }
public GuidesSettingViewModel() { _model = SettingModel.GetInstance(); }