yangyin
2024-10-23 7fa5235e0368153db3a9e97a1e92042177ce3075
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowStyle.cs
@@ -35,14 +35,14 @@
        {
            error = "";
            bool isOk = true;
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) || mlTextBoxEdit扩散管长度.Text == "请输入扩散管长度")
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) || mlTextBoxEdit扩散管长度.Text == "请输入扩散管长度" || double.Parse(mlTextBoxEdit扩散管长度.Text) == 0)
            {
                error = "请输入扩散管长度!";
                isOk = false;
                mlTextBoxEdit扩散管长度.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabel扩散管长度.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) || mlTextBoxEdit中心距离.Text == "请输入中心距离")
            if (string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) || mlTextBoxEdit中心距离.Text == "请输入中心距离" || double.Parse(mlTextBoxEdit中心距离.Text) == 0)
            {
                error = "请输入中心距离!";
                isOk = false;
@@ -116,7 +116,7 @@
        private void mlTextBoxEdit扩散长度_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text))
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) || double.Parse(mlTextBoxEdit扩散管长度.Text) == 0)
            {
                mlTextBoxEdit扩散管长度.Text = "请输入扩散管长度";
            }
@@ -134,7 +134,7 @@
        private void mlTextBoxEdit中心距离_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text))
            if (string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) || double.Parse(mlTextBoxEdit中心距离.Text) == 0)
            {
                mlTextBoxEdit中心距离.Text = "请输入中心距离";
            }