|
1234567891011121314151617181920 |
- using BPA.Helper;
-
- namespace BPASmartClient.Academy
- {
- public class ViewModelBase : NotifyBase
- {
- public int Index { get; set; } = -1;
- public BPARelayCommand AddCommand { get; set; }//添加
- public BPARelayCommand CancelCommand { get; set; }//取消
- public BPARelayCommand SaveCommand { get; set; }//保存
- public BPARelayCommand<object> RemoveCommand { get; set; }//移除
- public BPARelayCommand<object> DetailsCommand { get; set; }//编辑
-
- /// <summary>
- /// 错误信息
- /// </summary>
- public string ErrorInfo { get { return _mErrorInfo; } set { _mErrorInfo = value; OnPropertyChanged(); } }
- private string _mErrorInfo = string.Empty;
- }
- }
|