| | |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | | } |
| | | |
| | | public event Func<Vmo.AssetsValveSeriesVmo, string, Task<bool>> ReloadDataEvent = null; |
| | | public event Func<Vmo.AssetsValveSeriesVmo, object, Task<bool>> ReloadDataEvent = null; |
| | | |
| | | private List<AssetsValveSeriesViewModel> _assetsValveSeriesViews; |
| | | |
| | |
| | | model.Name = NameTextEdit.Text; |
| | | model.TagName = TagNameTextEdit.Text; |
| | | model.Description = DescriptionTextEdit.Text; |
| | | if (await this.ReloadDataEvent.Invoke(model, TextEditParentList.EditValue.ToString())) |
| | | if (await this.ReloadDataEvent.Invoke(model, this.TextEditParentList.EditValue)) |
| | | { |
| | | TipFormHelper.ShowSucceed("添加成功!"); |
| | | } |