| | |
| | | } |
| | | TextEditCaliber.SelectedIndex = 0; |
| | | TextEditMaterial.SelectedIndex = 0; |
| | | this.selectFlagsPopupCtrl1.SetBindingData<AssetsFlags>(); |
| | | } |
| | | |
| | | public event Func<Vmo.AssetsValveMainVmo, Task<bool>> ReloadDataEvent = null; |
| | |
| | | } |
| | | _AssetsValveMain.KeyWord = this.TextEditKeyWord.Text.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries).ToList(); |
| | | _AssetsValveMain.ValveSetting = this.TextEditValveSetting.Text.Trim(); |
| | | _AssetsValveMain.Flags = this.selectFlagsPopupCtrl1.SelectedFlags; |
| | | if (await this.ReloadDataEvent.Invoke(_AssetsValveMain)) |
| | | { |
| | | TipFormHelper.ShowSucceed("添加成功!"); |