| | |
| | | InitializeComponent(); |
| | | } |
| | | |
| | | public event Func<Yw.Dto.UpdateSysPropGroupInput, Task<bool>> ReloadDataEvent = null; |
| | | public event Func<Yw.Vmo.SysPropGroup, Task<bool>> ReloadDataEvent = null; |
| | | |
| | | private UpdateSysPropGroupInput _UpdatePropGroupDto { get; set; } |
| | | private Yw.Vmo.SysPropGroup _UpdatePropGroupDto { get; set; } |
| | | |
| | | public async void SetBindingData(long ID) |
| | | { |
| | | var model = await new Yw.BLL.SysPropGroup().GetByID(ID); |
| | | _UpdatePropGroupDto = model.Adapt<UpdateSysPropGroupInput>(); |
| | | this.TextEditName.Text = model.Name; |
| | | this.TextEditDescription.Text = model.Description; |
| | | this.TextEditCode.Text = model.Code; |