文件名从 WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddAssetsExchangerMainDlg.cs 修改 |
| | |
| | | |
| | | namespace HStation.WinFrmUI.Assets |
| | | { |
| | | public partial class AddAssetsExchangerMainDlg : DevExpress.XtraEditors.XtraForm |
| | | public partial class AddExchangerMainDlg : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | public AddAssetsExchangerMainDlg() |
| | | public AddExchangerMainDlg() |
| | | { |
| | | InitializeComponent(); |
| | | this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon; |
| | |
| | | { |
| | | _ExchangerVmo.MaterialName = TextEditMaterial.Text.Trim(); |
| | | } |
| | | if (double.TryParse(TextEditCoefficient.Text, out double Coefficient)) |
| | | { |
| | | _ExchangerVmo.Coefficient = Coefficient; |
| | | } |
| | | if (await this.ReloadDataEvent.Invoke(_ExchangerVmo)) |
| | | if (double.TryParse(TextEditCoefficient.Text, out double Coefficient)) |
| | | { |
| | | _ExchangerVmo.Coefficient = Coefficient; |
| | | } |
| | | if (await this.ReloadDataEvent.Invoke(_ExchangerVmo)) |
| | | { |
| | | TipFormHelper.ShowSucceed("娣诲姞鎴愬姛!"); |
| | | } |