| | |
| | | { |
| | | TextEditMaterial.EditValue = _ElbowVmo.Material.ToString(); |
| | | } |
| | | this.imageComboBoxEditConnectlenght.Properties.AddEnum(typeof(eLengthType)); |
| | | this.imageComboBoxEditConnectlenght.EditValue = _ElbowVmo.ElbowLengthType; |
| | | this.imageComboBoxEditConnectlenght.Properties.AddEnum(typeof(eElbowType)); |
| | | this.imageComboBoxEditConnectlenght.EditValue = _ElbowVmo.ElbowType; |
| | | this.textEditAngle.Text = _ElbowVmo.Angle.ToString(); |
| | | this.TextEditName.Text = _ElbowVmo.Name; |
| | | this.TextEditCoefficient.Text = _ElbowVmo.MinorLoss.ToString(); |
| | |
| | | { |
| | | _ElbowVmo.Angle = angle; |
| | | } |
| | | _ElbowVmo.ElbowLengthType = (eLengthType)this.imageComboBoxEditConnectlenght.EditValue; |
| | | _ElbowVmo.ElbowType = (eElbowType)this.imageComboBoxEditConnectlenght.EditValue; |
| | | if (await this.ReloadDataEvent.Invoke(_ElbowVmo)) |
| | | { |
| | | TipFormHelper.ShowSucceed("修改成功!"); |