duheng
2024-10-25 59e5e0bf989993c0dce1851e34bcbe4bfb42ed56
WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddExchangerMainDlg.cs
文件名从 WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/AddAssetsExchangerMainDlg.cs 修改
@@ -2,9 +2,9 @@
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;
@@ -70,11 +70,11 @@
            {
                _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("娣诲姞鎴愬姛!");
            }