yangyin
2024-12-16 b4c867bf85d3edef5d084a3a26f13cbc6784bf58
提交
已修改23个文件
已添加9个文件
3773 ■■■■ 文件已修改
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_Occ.cs 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs 29 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/centralExitControl.Designer.cs 481 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/centralExitControl.cs 358 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/centralExitControl.resx 123 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowStyle.Designer.cs 362 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowStyle.cs 187 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowStyle.resx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowType.Designer.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowType.cs 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowType.resx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/sideCurveExitControl.Designer.cs 310 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/sideCurveExitControl.cs 214 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/sideCurveExitControl.resx 123 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/sideLineExitControl.cs 357 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/sidelineExitControl.Designer.cs 481 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/sidelineExitControl.resx 123 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/基本参数/ctrlGeomBaseInfo.Designer.cs 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/基本参数/ctrlHdrBaseInfo.Designer.cs 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/基本参数/ctrlHdrBaseInfo.resx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/截面面积/ChartSectArea.cs 225 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/截面面积/SectAreaDockPanel.Designer.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/截面面积/SectAreaDockPanel.cs 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/截面面积/SectAreaDockPanel.resx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ViewModel/SectionBundleInfo.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionBundleInfo.Designer.cs 68 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionBundleInfo.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionBundleInfo.resx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionShapeInfo18.Designer.cs 50 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionShapeInfo18.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionShapeInfo18.resx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage.cs
@@ -57,7 +57,16 @@
            _sectAreaDockPanel = new SectAreaDockPanel();
            _sectAreaDockPanel.DefaultDockArea = DPumpHydr.WinFrmUI.RLT.Enum.Crown.DockArea.Bottom;
            _sectAreaDockPanel.OnRefreshSingleSectBundle += (bundle , selectedPointIndex) =>
            {
                this._ctrlSectionBundleInfo.RefreshSectPara(bundle, selectedPointIndex);
                if(this._stepTreeDockPanel.CurrentStepID > this._stepTreeDockPanel.Step_ID_Section18_Full)
                {
                    this._ctrlSectionShapeInfo18.RefreshSectPara(bundle.ToSectionShapePara(selectedPointIndex));
                }
            };
            _parasDockPanel = new ParasInfoDockPanel(); 
            _parasDockPanel.DefaultDockArea = DPumpHydr.WinFrmUI.RLT.Enum.Crown.DockArea.Right;
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_Occ.cs
@@ -37,13 +37,19 @@
            MainDockPanel.AddContent(_designMainDockPanel);
        }
        /// <summary>
        /// æ›´æ–°1-8
        /// </summary>
        /// <param name="bundle"></param>
        private void RefreshSectShapeWhole18(ViewModel.SectionBundleInfo bundle)
        {
            _occDesign3dCtrl.RefreshAllSectShape18(bundle);
            _occDesign2dCtrl.RefreshAllSectShape18(bundle);
        }
            this._sectAreaDockPanel.SetBindingData(bundle);
        }
        //更新单个断面
        private void RefreshSectShapeSingle18( ViewModel.SectionShapePara para)
        {
            this._sectionBundleInfo.FromSectionShapePara(para);
@@ -51,6 +57,7 @@
            _occDesign3dCtrl.RefreshSingleSectShape18(para);
            _occDesign2dCtrl.RefreshSingleSectShape18(para);
            this._sectAreaDockPanel.SetBindingData(para);
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs
@@ -24,7 +24,8 @@
        ViewModel.HdrBaseInfo _hdrBaseInfo = null;
        ViewModel.GeomBaseInfo _geomBaseInfo = null;
        ViewModel.SectionBundleInfo _sectionBundleInfo = null;
        ViewModel.eOutflowStyle _type ;
        /// <summary>
        /// ä¸‹ä¸€æ­¥
@@ -223,7 +224,8 @@
                _ctrlHdrBaseInfo.SetBindingData(_hdrBaseInfo);
                AddStepParaCtrl(_ctrlHdrBaseInfo);
                AddStepParaCtrl(_ctrlHdrBaseInfo);
                this._sectAreaDockPanel.Visible = false;
            }
            //第二步
@@ -236,9 +238,10 @@
                }
                _ctrlGeomBaseInfo.SetBindingData(_geomBaseInfo);
                AddStepParaCtrl(_ctrlGeomBaseInfo);
                this._sectAreaDockPanel.Visible = false;
            }
            //第三步
            //第三步 æ–­é¢æ€»è§ˆ
            if (step_id == this._stepTreeDockPanel.Step_ID_Section18_Full)
            {
                if (_ctrlSectionBundleInfo == null)
@@ -251,9 +254,11 @@
                _ctrlSectionBundleInfo.InitialParas(_hdrBaseInfo, _geomBaseInfo);
                _ctrlSectionBundleInfo.SetBindingData(_sectionBundleInfo);
                RefreshSectShapeWhole18(_sectionBundleInfo);
                this._sectAreaDockPanel.RefreshControl();
                this._sectAreaDockPanel.Visible = true;
            }
            //第四步
            //第四步 1-8断面
            if (step_id > this._stepTreeDockPanel.Step_ID_Section18_Grp &&
                step_id <= this._stepTreeDockPanel.Step_ID_Section18_Grp + 8)
            {
@@ -268,10 +273,13 @@
                AddStepParaCtrl(_ctrlSectionShapeInfo18);
                var sect_index = 9 + this._stepTreeDockPanel.Step_ID_Section18_Grp - step_id;
                var shape_info = _sectionBundleInfo.ToSectionShapePara((int)sect_index);
                RefreshSectShapeSingle18(shape_info);
                _ctrlSectionShapeInfo18.SetBindingData(shape_info);
                this._sectAreaDockPanel.RefreshControl();
                this._sectAreaDockPanel.Visible = true;
            }
            //出水面类型选择
            if (step_id == this._stepTreeDockPanel.Step_ID_Outflow_Type)
            {
                if (_ctrlSetOutflowType == null)
@@ -279,11 +287,15 @@
                    _ctrlSetOutflowType = new ctrlSetOutflowType();
                    _ctrlSetOutflowType.Name = "ctrlSetOutflowDim";
                }
                this._sectAreaDockPanel.Visible = true;
                this._sectAreaDockPanel.RefreshControl();
                AddStepParaCtrl(_ctrlSetOutflowType);
            }
            //出水面参数
            if (step_id == this._stepTreeDockPanel.Step_ID_Outflow_Style)
            {
                _type = _ctrlSetOutflowType.GetBindingData();
                if (_ctrlSetOutflowStyle == null)
                {
                    _ctrlSetOutflowStyle = new ctrlSetOutflowStyle();
@@ -295,6 +307,13 @@
                        _occDesign3dCtrl.CreateOutflowBody(pt);
                    }
                }
                _ctrlSetOutflowStyle.SetBindingData(_type);
                this._sectAreaDockPanel.RefreshControl();
                this._sectAreaDockPanel.Visible = true;
                AddStepParaCtrl(_ctrlSetOutflowStyle);
            }
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/centralExitControl.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,481 @@
namespace DPumpHydr.WinFrmUI.Volute
{
    partial class centralExitControl
    {
        /// <summary>
        /// å¿…需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// æ¸…理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region ç»„件设计器生成的代码
        /// <summary>
        /// è®¾è®¡å™¨æ”¯æŒæ‰€éœ€çš„æ–¹æ³• - ä¸è¦ä¿®æ”¹
        /// ä½¿ç”¨ä»£ç ç¼–辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            thunderGroupBox2 = new RLT.Controls.ThunderGroupBox();
            skyLabelr = new RLT.Controls.SkyLabel();
            mlTextBoxEditr = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelL = new RLT.Controls.SkyLabel();
            mlTextBoxEditL = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelh2 = new RLT.Controls.SkyLabel();
            mlTextBoxEdith2 = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelR2 = new RLT.Controls.SkyLabel();
            mlTextBoxEditR2 = new RLT.Controls.MaterialTextBoxEdit();
            skyLabel扩散管出口直径 = new RLT.Controls.SkyLabel();
            mlTextBoxEdit扩散管出口直径 = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelh1 = new RLT.Controls.SkyLabel();
            skyLabelR1 = new RLT.Controls.SkyLabel();
            mlTextBoxEdith1 = new RLT.Controls.MaterialTextBoxEdit();
            mlTextBoxEditR1 = new RLT.Controls.MaterialTextBoxEdit();
            metroToolTip中心出口 = new RLT.Controls.MetroToolTip();
            thunderGroupBox2.SuspendLayout();
            SuspendLayout();
            //
            // thunderGroupBox2
            //
            thunderGroupBox2.BackColor = System.Drawing.SystemColors.ControlLight;
            thunderGroupBox2.BodyColorA = System.Drawing.Color.Silver;
            thunderGroupBox2.BodyColorB = System.Drawing.Color.DarkGray;
            thunderGroupBox2.BodyColorC = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.BodyColorD = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.Controls.Add(skyLabelr);
            thunderGroupBox2.Controls.Add(mlTextBoxEditr);
            thunderGroupBox2.Controls.Add(skyLabelL);
            thunderGroupBox2.Controls.Add(mlTextBoxEditL);
            thunderGroupBox2.Controls.Add(skyLabelh2);
            thunderGroupBox2.Controls.Add(mlTextBoxEdith2);
            thunderGroupBox2.Controls.Add(skyLabelR2);
            thunderGroupBox2.Controls.Add(mlTextBoxEditR2);
            thunderGroupBox2.Controls.Add(skyLabel扩散管出口直径);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit扩散管出口直径);
            thunderGroupBox2.Controls.Add(skyLabelh1);
            thunderGroupBox2.Controls.Add(skyLabelR1);
            thunderGroupBox2.Controls.Add(mlTextBoxEdith1);
            thunderGroupBox2.Controls.Add(mlTextBoxEditR1);
            thunderGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            thunderGroupBox2.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold);
            thunderGroupBox2.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox2.Location = new System.Drawing.Point(0, 0);
            thunderGroupBox2.Name = "thunderGroupBox2";
            thunderGroupBox2.Size = new System.Drawing.Size(325, 308);
            thunderGroupBox2.TabIndex = 30;
            thunderGroupBox2.Text = "输入参数";
            //
            // skyLabelr
            //
            skyLabelr.AutoSize = true;
            skyLabelr.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelr.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelr.Location = new System.Drawing.Point(164, 218);
            skyLabelr.Name = "skyLabelr";
            skyLabelr.Size = new System.Drawing.Size(46, 12);
            skyLabelr.TabIndex = 76;
            skyLabelr.Text = "请输入r!";
            skyLabelr.Visible = false;
            //
            // mlTextBoxEditr
            //
            mlTextBoxEditr.AnimateReadOnly = false;
            mlTextBoxEditr.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditr.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditr.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditr.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditr.Depth = 0;
            mlTextBoxEditr.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditr.HelperText = "输入错误!";
            mlTextBoxEditr.HideSelection = true;
            mlTextBoxEditr.Hint = "r";
            mlTextBoxEditr.LeadingIcon = null;
            mlTextBoxEditr.Location = new System.Drawing.Point(164, 167);
            mlTextBoxEditr.MaxLength = 32767;
            mlTextBoxEditr.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditr.Name = "mlTextBoxEditr";
            mlTextBoxEditr.NullValuePromptText = null;
            mlTextBoxEditr.PasswordChar = '\0';
            mlTextBoxEditr.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditr.PrefixSuffixText = "mm";
            mlTextBoxEditr.ReadOnly = false;
            mlTextBoxEditr.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditr.SelectedText = "";
            mlTextBoxEditr.SelectionLength = 0;
            mlTextBoxEditr.SelectionStart = 0;
            mlTextBoxEditr.ShortcutsEnabled = true;
            mlTextBoxEditr.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditr.TabIndex = 75;
            mlTextBoxEditr.TabStop = false;
            mlTextBoxEditr.Text = "请输入";
            mlTextBoxEditr.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditr.TrailingIcon = null;
            mlTextBoxEditr.UseAccent = false;
            mlTextBoxEditr.UseSystemPasswordChar = false;
            mlTextBoxEditr.Enter += mlTextBoxEditr_Enter;
            mlTextBoxEditr.Leave += mlTextBoxEditr_Leave;
            mlTextBoxEditr.TextChanged += mlTextBoxEditr_TextChanged;
            //
            // skyLabelL
            //
            skyLabelL.AutoSize = true;
            skyLabelL.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelL.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelL.Location = new System.Drawing.Point(13, 218);
            skyLabelL.Name = "skyLabelL";
            skyLabelL.Size = new System.Drawing.Size(48, 12);
            skyLabelL.TabIndex = 74;
            skyLabelL.Text = "请输入L!";
            skyLabelL.Visible = false;
            //
            // mlTextBoxEditL
            //
            mlTextBoxEditL.AnimateReadOnly = false;
            mlTextBoxEditL.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditL.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditL.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditL.Depth = 0;
            mlTextBoxEditL.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditL.HelperText = "输入错误!";
            mlTextBoxEditL.HideSelection = true;
            mlTextBoxEditL.Hint = "L";
            mlTextBoxEditL.LeadingIcon = null;
            mlTextBoxEditL.Location = new System.Drawing.Point(13, 167);
            mlTextBoxEditL.MaxLength = 32767;
            mlTextBoxEditL.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditL.Name = "mlTextBoxEditL";
            mlTextBoxEditL.NullValuePromptText = null;
            mlTextBoxEditL.PasswordChar = '\0';
            mlTextBoxEditL.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditL.PrefixSuffixText = "mm";
            mlTextBoxEditL.ReadOnly = false;
            mlTextBoxEditL.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditL.SelectedText = "";
            mlTextBoxEditL.SelectionLength = 0;
            mlTextBoxEditL.SelectionStart = 0;
            mlTextBoxEditL.ShortcutsEnabled = true;
            mlTextBoxEditL.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditL.TabIndex = 73;
            mlTextBoxEditL.TabStop = false;
            mlTextBoxEditL.Text = "请输入";
            mlTextBoxEditL.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditL.TrailingIcon = null;
            mlTextBoxEditL.UseAccent = false;
            mlTextBoxEditL.UseSystemPasswordChar = false;
            mlTextBoxEditL.Enter += mlTextBoxEditL_Enter;
            mlTextBoxEditL.Leave += mlTextBoxEditL_Leave;
            mlTextBoxEditL.TextChanged += mlTextBoxEditL_TextChanged;
            //
            // skyLabelh2
            //
            skyLabelh2.AutoSize = true;
            skyLabelh2.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelh2.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelh2.Location = new System.Drawing.Point(164, 152);
            skyLabelh2.Name = "skyLabelh2";
            skyLabelh2.Size = new System.Drawing.Size(54, 12);
            skyLabelh2.TabIndex = 72;
            skyLabelh2.Text = "请输入h2!";
            skyLabelh2.Visible = false;
            //
            // mlTextBoxEdith2
            //
            mlTextBoxEdith2.AnimateReadOnly = false;
            mlTextBoxEdith2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdith2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdith2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdith2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdith2.Depth = 0;
            mlTextBoxEdith2.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdith2.HelperText = "输入错误!";
            mlTextBoxEdith2.HideSelection = true;
            mlTextBoxEdith2.Hint = "h2";
            mlTextBoxEdith2.LeadingIcon = null;
            mlTextBoxEdith2.Location = new System.Drawing.Point(164, 101);
            mlTextBoxEdith2.MaxLength = 32767;
            mlTextBoxEdith2.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdith2.Name = "mlTextBoxEdith2";
            mlTextBoxEdith2.NullValuePromptText = null;
            mlTextBoxEdith2.PasswordChar = '\0';
            mlTextBoxEdith2.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdith2.PrefixSuffixText = "mm";
            mlTextBoxEdith2.ReadOnly = false;
            mlTextBoxEdith2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdith2.SelectedText = "";
            mlTextBoxEdith2.SelectionLength = 0;
            mlTextBoxEdith2.SelectionStart = 0;
            mlTextBoxEdith2.ShortcutsEnabled = true;
            mlTextBoxEdith2.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEdith2.TabIndex = 71;
            mlTextBoxEdith2.TabStop = false;
            mlTextBoxEdith2.Text = "请输入";
            mlTextBoxEdith2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdith2.TrailingIcon = null;
            mlTextBoxEdith2.UseAccent = false;
            mlTextBoxEdith2.UseSystemPasswordChar = false;
            mlTextBoxEdith2.Enter += mlTextBoxEdith2_Enter;
            mlTextBoxEdith2.Leave += mlTextBoxEdith2_Leave;
            mlTextBoxEdith2.TextChanged += mlTextBoxEdith2_TextChanged;
            //
            // skyLabelR2
            //
            skyLabelR2.AutoSize = true;
            skyLabelR2.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelR2.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelR2.Location = new System.Drawing.Point(164, 86);
            skyLabelR2.Name = "skyLabelR2";
            skyLabelR2.Size = new System.Drawing.Size(55, 12);
            skyLabelR2.TabIndex = 70;
            skyLabelR2.Text = "请输入R2!";
            skyLabelR2.Visible = false;
            //
            // mlTextBoxEditR2
            //
            mlTextBoxEditR2.AnimateReadOnly = false;
            mlTextBoxEditR2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditR2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditR2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditR2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditR2.Depth = 0;
            mlTextBoxEditR2.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditR2.HelperText = "输入错误!";
            mlTextBoxEditR2.HideSelection = true;
            mlTextBoxEditR2.Hint = "R2";
            mlTextBoxEditR2.LeadingIcon = null;
            mlTextBoxEditR2.Location = new System.Drawing.Point(164, 35);
            mlTextBoxEditR2.MaxLength = 32767;
            mlTextBoxEditR2.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditR2.Name = "mlTextBoxEditR2";
            mlTextBoxEditR2.NullValuePromptText = null;
            mlTextBoxEditR2.PasswordChar = '\0';
            mlTextBoxEditR2.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditR2.PrefixSuffixText = "mm";
            mlTextBoxEditR2.ReadOnly = false;
            mlTextBoxEditR2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditR2.SelectedText = "";
            mlTextBoxEditR2.SelectionLength = 0;
            mlTextBoxEditR2.SelectionStart = 0;
            mlTextBoxEditR2.ShortcutsEnabled = true;
            mlTextBoxEditR2.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditR2.TabIndex = 69;
            mlTextBoxEditR2.TabStop = false;
            mlTextBoxEditR2.Text = "请输入";
            mlTextBoxEditR2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditR2.TrailingIcon = null;
            mlTextBoxEditR2.UseAccent = false;
            mlTextBoxEditR2.UseSystemPasswordChar = false;
            mlTextBoxEditR2.Enter += mlTextBoxEditR2_Enter;
            mlTextBoxEditR2.Leave += mlTextBoxEditR2_Leave;
            mlTextBoxEditR2.TextChanged += mlTextBoxEditR2_TextChanged;
            //
            // skyLabel扩散管出口直径
            //
            skyLabel扩散管出口直径.AutoSize = true;
            skyLabel扩散管出口直径.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel扩散管出口直径.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel扩散管出口直径.Location = new System.Drawing.Point(13, 284);
            skyLabel扩散管出口直径.Name = "skyLabel扩散管出口直径";
            skyLabel扩散管出口直径.Size = new System.Drawing.Size(119, 12);
            skyLabel扩散管出口直径.TabIndex = 68;
            skyLabel扩散管出口直径.Text = "请输入扩散管出口直径!";
            skyLabel扩散管出口直径.Visible = false;
            //
            // mlTextBoxEdit扩散管出口直径
            //
            mlTextBoxEdit扩散管出口直径.AnimateReadOnly = false;
            mlTextBoxEdit扩散管出口直径.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit扩散管出口直径.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit扩散管出口直径.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit扩散管出口直径.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit扩散管出口直径.Depth = 0;
            mlTextBoxEdit扩散管出口直径.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit扩散管出口直径.HelperText = "请输入正确扩散管出口直径!";
            mlTextBoxEdit扩散管出口直径.HideSelection = true;
            mlTextBoxEdit扩散管出口直径.Hint = "扩散管出口直径D4";
            mlTextBoxEdit扩散管出口直径.LeadingIcon = null;
            mlTextBoxEdit扩散管出口直径.Location = new System.Drawing.Point(13, 233);
            mlTextBoxEdit扩散管出口直径.MaxLength = 32767;
            mlTextBoxEdit扩散管出口直径.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit扩散管出口直径.Name = "mlTextBoxEdit扩散管出口直径";
            mlTextBoxEdit扩散管出口直径.NullValuePromptText = null;
            mlTextBoxEdit扩散管出口直径.PasswordChar = '\0';
            mlTextBoxEdit扩散管出口直径.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit扩散管出口直径.PrefixSuffixText = "mm";
            mlTextBoxEdit扩散管出口直径.ReadOnly = false;
            mlTextBoxEdit扩散管出口直径.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit扩散管出口直径.SelectedText = "";
            mlTextBoxEdit扩散管出口直径.SelectionLength = 0;
            mlTextBoxEdit扩散管出口直径.SelectionStart = 0;
            mlTextBoxEdit扩散管出口直径.ShortcutsEnabled = true;
            mlTextBoxEdit扩散管出口直径.Size = new System.Drawing.Size(296, 48);
            mlTextBoxEdit扩散管出口直径.TabIndex = 67;
            mlTextBoxEdit扩散管出口直径.TabStop = false;
            mlTextBoxEdit扩散管出口直径.Text = "请输入扩散管出口直径";
            mlTextBoxEdit扩散管出口直径.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit扩散管出口直径.TrailingIcon = null;
            mlTextBoxEdit扩散管出口直径.UseAccent = false;
            mlTextBoxEdit扩散管出口直径.UseSystemPasswordChar = false;
            mlTextBoxEdit扩散管出口直径.Enter += mlTextBoxEdit扩散管出口直径_Enter;
            mlTextBoxEdit扩散管出口直径.Leave += mlTextBoxEdit扩散管出口直径_Leave;
            mlTextBoxEdit扩散管出口直径.TextChanged += mlTextBoxEdit扩散管出口直径_TextChanged;
            //
            // skyLabelh1
            //
            skyLabelh1.AutoSize = true;
            skyLabelh1.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelh1.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelh1.Location = new System.Drawing.Point(13, 152);
            skyLabelh1.Name = "skyLabelh1";
            skyLabelh1.Size = new System.Drawing.Size(54, 12);
            skyLabelh1.TabIndex = 66;
            skyLabelh1.Text = "请输入h1!";
            skyLabelh1.Visible = false;
            //
            // skyLabelR1
            //
            skyLabelR1.AutoSize = true;
            skyLabelR1.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelR1.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelR1.Location = new System.Drawing.Point(13, 86);
            skyLabelR1.Name = "skyLabelR1";
            skyLabelR1.Size = new System.Drawing.Size(55, 12);
            skyLabelR1.TabIndex = 65;
            skyLabelR1.Text = "请输入R1!";
            skyLabelR1.Visible = false;
            //
            // mlTextBoxEdith1
            //
            mlTextBoxEdith1.AnimateReadOnly = false;
            mlTextBoxEdith1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdith1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdith1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdith1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdith1.Depth = 0;
            mlTextBoxEdith1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdith1.HelperText = "输入错误!";
            mlTextBoxEdith1.HideSelection = true;
            mlTextBoxEdith1.Hint = "h1";
            mlTextBoxEdith1.LeadingIcon = null;
            mlTextBoxEdith1.Location = new System.Drawing.Point(13, 101);
            mlTextBoxEdith1.MaxLength = 32767;
            mlTextBoxEdith1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdith1.Name = "mlTextBoxEdith1";
            mlTextBoxEdith1.NullValuePromptText = null;
            mlTextBoxEdith1.PasswordChar = '\0';
            mlTextBoxEdith1.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdith1.PrefixSuffixText = "mm";
            mlTextBoxEdith1.ReadOnly = false;
            mlTextBoxEdith1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdith1.SelectedText = "";
            mlTextBoxEdith1.SelectionLength = 0;
            mlTextBoxEdith1.SelectionStart = 0;
            mlTextBoxEdith1.ShortcutsEnabled = true;
            mlTextBoxEdith1.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEdith1.TabIndex = 28;
            mlTextBoxEdith1.TabStop = false;
            mlTextBoxEdith1.Text = "请输入";
            mlTextBoxEdith1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdith1.TrailingIcon = null;
            mlTextBoxEdith1.UseAccent = false;
            mlTextBoxEdith1.UseSystemPasswordChar = false;
            mlTextBoxEdith1.Enter += mlTextBoxEdith1_Enter;
            mlTextBoxEdith1.Leave += mlTextBoxEdith1_Leave;
            mlTextBoxEdith1.TextChanged += mlTextBoxEdith1_TextChanged;
            //
            // mlTextBoxEditR1
            //
            mlTextBoxEditR1.AnimateReadOnly = false;
            mlTextBoxEditR1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditR1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditR1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditR1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditR1.Depth = 0;
            mlTextBoxEditR1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditR1.HelperText = "输入错误!";
            mlTextBoxEditR1.HideSelection = true;
            mlTextBoxEditR1.Hint = "R1";
            mlTextBoxEditR1.LeadingIcon = null;
            mlTextBoxEditR1.Location = new System.Drawing.Point(13, 35);
            mlTextBoxEditR1.MaxLength = 32767;
            mlTextBoxEditR1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditR1.Name = "mlTextBoxEditR1";
            mlTextBoxEditR1.NullValuePromptText = null;
            mlTextBoxEditR1.PasswordChar = '\0';
            mlTextBoxEditR1.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditR1.PrefixSuffixText = "mm";
            mlTextBoxEditR1.ReadOnly = false;
            mlTextBoxEditR1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditR1.SelectedText = "";
            mlTextBoxEditR1.SelectionLength = 0;
            mlTextBoxEditR1.SelectionStart = 0;
            mlTextBoxEditR1.ShortcutsEnabled = true;
            mlTextBoxEditR1.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditR1.TabIndex = 27;
            mlTextBoxEditR1.TabStop = false;
            mlTextBoxEditR1.Text = "请输入";
            mlTextBoxEditR1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditR1.TrailingIcon = null;
            mlTextBoxEditR1.UseAccent = false;
            mlTextBoxEditR1.UseSystemPasswordChar = false;
            mlTextBoxEditR1.Enter += mlTextBoxEditR1_Enter;
            mlTextBoxEditR1.Leave += mlTextBoxEditR1_Leave;
            mlTextBoxEditR1.TextChanged += mlTextBoxEditR1_TextChanged;
            //
            // metroToolTip中心出口
            //
            metroToolTip中心出口.BackColor = System.Drawing.Color.White;
            metroToolTip中心出口.BorderColor = System.Drawing.Color.FromArgb(204, 204, 204);
            metroToolTip中心出口.ForeColor = System.Drawing.Color.FromArgb(170, 170, 170);
            metroToolTip中心出口.IsDerivedStyle = true;
            metroToolTip中心出口.OwnerDraw = true;
            metroToolTip中心出口.Style = RLT.Enum.Metro.Style.Light;
            metroToolTip中心出口.StyleManager = null;
            metroToolTip中心出口.ThemeAuthor = "Taiizor";
            metroToolTip中心出口.ThemeName = "MetroLight";
            //
            // centralExitControl
            //
            AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            BackColor = System.Drawing.SystemColors.ControlLight;
            Controls.Add(thunderGroupBox2);
            Name = "centralExitControl";
            Size = new System.Drawing.Size(325, 308);
            thunderGroupBox2.ResumeLayout(false);
            thunderGroupBox2.PerformLayout();
            ResumeLayout(false);
        }
        #endregion
        private RLT.Controls.ThunderGroupBox thunderGroupBox2;
        private RLT.Controls.SkyLabel skyLabelR2;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditR2;
        private RLT.Controls.SkyLabel skyLabel扩散管出口直径;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit扩散管出口直径;
        private RLT.Controls.SkyLabel skyLabelh1;
        private RLT.Controls.SkyLabel skyLabelR1;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdith1;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditR1;
        private RLT.Controls.SkyLabel skyLabelr;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditr;
        private RLT.Controls.SkyLabel skyLabelL;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditL;
        private RLT.Controls.SkyLabel skyLabelh2;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdith2;
        private RLT.Controls.MetroToolTip metroToolTip中心出口;
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/centralExitControl.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,358 @@
using DPumpHydr.WinFrmUI.RLT.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DPumpHydr.WinFrmUI.Volute
{
    public partial class centralExitControl : UserControl
    {
        public centralExitControl()
        {
            InitializeComponent();
            BuildAllTips();
            BuildIcon();
        }
        private void BuildIcon()
        {
            //输入框前缀图片
            mlTextBoxEditR1.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEditR2.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdith1.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdith2.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEditL.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEditr.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdit扩散管出口直径.LeadingIcon = GlobalResource.GetLeadingIcon();
        }
        public bool Verify(out string error)
        {
            error = "";
            bool isOk = true;
            if (string.IsNullOrEmpty(mlTextBoxEditR1.Text) || mlTextBoxEditR1.Text == "请输入" || double.Parse(mlTextBoxEditR1.Text) == 0)
            {
                error = "请输入R1!";
                isOk = false;
                mlTextBoxEditR1.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelR1.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEditR2.Text) || mlTextBoxEditR2.Text == "请输入" || double.Parse(mlTextBoxEditR2.Text) == 0)
            {
                error = "请输入R2!";
                isOk = false;
                mlTextBoxEditR2.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelR2.Visible = true;
            }
            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(mlTextBoxEdith1.Text) || mlTextBoxEdith1.Text == "请输入" || double.Parse(mlTextBoxEdith1.Text) == 0)
            {
                error = "请输入h1!";
                isOk = false;
                mlTextBoxEdith1.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelh1.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEdith2.Text) || mlTextBoxEdith2.Text == "请输入" || double.Parse(mlTextBoxEdith2.Text) == 0)
            {
                error = "请输入h2!";
                isOk = false;
                mlTextBoxEdith2.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelh2.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEditL.Text) || mlTextBoxEditL.Text == "请输入" || double.Parse(mlTextBoxEditL.Text) == 0)
            {
                error = "请输入L!";
                isOk = false;
                mlTextBoxEditL.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelL.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEditr.Text) || mlTextBoxEditr.Text == "请输入" || double.Parse(mlTextBoxEditr.Text) == 0)
            {
                error = "请输入r!";
                isOk = false;
                mlTextBoxEditr.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelr.Visible = true;
            }
            return isOk;
        }
        private void BuildAllTips()
        {
            metroToolTip中心出口.SetToolTip(this.mlTextBoxEditR1, "R1");
            metroToolTip中心出口.SetToolTip(this.mlTextBoxEditR2, "R2");
            metroToolTip中心出口.SetToolTip(this.mlTextBoxEdith1, "h1");
            metroToolTip中心出口.SetToolTip(this.mlTextBoxEdith2, "h2");
            metroToolTip中心出口.SetToolTip(this.mlTextBoxEditL, "L");
            metroToolTip中心出口.SetToolTip(this.mlTextBoxEditr, "r");
            metroToolTip中心出口.SetToolTip(this.mlTextBoxEdit扩散管出口直径, "扩散管出口直径");
        }
        private void mlTextBoxEditR1_Enter(object sender, EventArgs e)
        {
            skyLabelR1.Visible = false;
            mlTextBoxEditR1.TrailingIcon = null;
            if (mlTextBoxEditR1.Text == "请输入")
            {
                mlTextBoxEditR1.Text = "";
            }
        }
        private void mlTextBoxEditR1_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditR1.Text) || double.Parse(mlTextBoxEditR1.Text) == 0)
            {
                mlTextBoxEditR1.Text = "请输入";
            }
        }
        private void mlTextBoxEditR1_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditR1.Text)
            {
                if (!double.TryParse(mlTextBoxEditR1.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditR1.Text) && mlTextBoxEditR1.Text != "请输入")
                {
                    mlTextBoxEditR1.UseAccent = true;
                    mlTextBoxEditR1.ShowAssistiveText = true;
                    mlTextBoxEditR1.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditR1.ShowAssistiveText = false;
                    mlTextBoxEditR1.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEditR2_Enter(object sender, EventArgs e)
        {
            skyLabelR2.Visible = false;
            mlTextBoxEditR2.TrailingIcon = null;
            if (mlTextBoxEditR2.Text == "请输入")
            {
                mlTextBoxEditR2.Text = "";
            }
        }
        private void mlTextBoxEditR2_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditR2.Text) || double.Parse(mlTextBoxEditR2.Text) == 0)
            {
                mlTextBoxEditR2.Text = "请输入";
            }
        }
        private void mlTextBoxEditR2_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditR2.Text)
            {
                if (!double.TryParse(mlTextBoxEditR2.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditR2.Text) && mlTextBoxEditR2.Text != "请输入")
                {
                    mlTextBoxEditR2.UseAccent = true;
                    mlTextBoxEditR2.ShowAssistiveText = true;
                    mlTextBoxEditR2.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditR2.ShowAssistiveText = false;
                    mlTextBoxEditR2.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdith1_Enter(object sender, EventArgs e)
        {
            skyLabelh1.Visible = false;
            mlTextBoxEdith1.TrailingIcon = null;
            if (mlTextBoxEdith1.Text == "请输入")
            {
                mlTextBoxEdith1.Text = "";
            }
        }
        private void mlTextBoxEdith1_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdith1.Text) || double.Parse(mlTextBoxEdith1.Text) == 0)
            {
                mlTextBoxEdith1.Text = "请输入";
            }
        }
        private void mlTextBoxEdith1_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdith1.Text)
            {
                if (!double.TryParse(mlTextBoxEdith1.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdith1.Text) && mlTextBoxEdith1.Text != "请输入")
                {
                    mlTextBoxEdith1.UseAccent = true;
                    mlTextBoxEdith1.ShowAssistiveText = true;
                    mlTextBoxEdith1.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdith1.ShowAssistiveText = false;
                    mlTextBoxEdith1.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdith2_Enter(object sender, EventArgs e)
        {
            skyLabelh2.Visible = false;
            mlTextBoxEdith2.TrailingIcon = null;
            if (mlTextBoxEdith2.Text == "请输入")
            {
                mlTextBoxEdith2.Text = "";
            }
        }
        private void mlTextBoxEdith2_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdith2.Text)
            {
                if (!double.TryParse(mlTextBoxEdith2.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdith2.Text) && mlTextBoxEdith2.Text != "请输入")
                {
                    mlTextBoxEdith2.UseAccent = true;
                    mlTextBoxEdith2.ShowAssistiveText = true;
                    mlTextBoxEdith2.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdith2.ShowAssistiveText = false;
                    mlTextBoxEdith2.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEditL_Enter(object sender, EventArgs e)
        {
            skyLabelL.Visible = false;
            mlTextBoxEditL.TrailingIcon = null;
            if (mlTextBoxEditL.Text == "请输入")
            {
                mlTextBoxEditL.Text = "";
            }
        }
        private void mlTextBoxEditL_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditL.Text) || double.Parse(mlTextBoxEditL.Text) == 0)
            {
                mlTextBoxEditL.Text = "请输入";
            }
        }
        private void mlTextBoxEditL_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditL.Text)
            {
                if (!double.TryParse(mlTextBoxEditL.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditL.Text) && mlTextBoxEditL.Text != "请输入")
                {
                    mlTextBoxEditL.UseAccent = true;
                    mlTextBoxEditL.ShowAssistiveText = true;
                    mlTextBoxEditL.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditL.ShowAssistiveText = false;
                    mlTextBoxEditL.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEditr_Enter(object sender, EventArgs e)
        {
            skyLabelr.Visible = false;
            mlTextBoxEditr.TrailingIcon = null;
            if (mlTextBoxEditr.Text == "请输入")
            {
                mlTextBoxEditr.Text = "";
            }
        }
        private void mlTextBoxEditr_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditr.Text) || double.Parse(mlTextBoxEditr.Text) == 0)
            {
                mlTextBoxEditr.Text = "请输入";
            }
        }
        private void mlTextBoxEditr_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditr.Text)
            {
                if (!double.TryParse(mlTextBoxEditr.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditr.Text) && mlTextBoxEditr.Text != "请输入")
                {
                    mlTextBoxEditr.UseAccent = true;
                    mlTextBoxEditr.ShowAssistiveText = true;
                    mlTextBoxEditr.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditr.ShowAssistiveText = false;
                    mlTextBoxEditr.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdit扩散管出口直径_Enter(object sender, EventArgs e)
        {
            skyLabel扩散管出口直径.Visible = false;
            mlTextBoxEdit扩散管出口直径.TrailingIcon = null;
            if (mlTextBoxEdit扩散管出口直径.Text == "请输入扩散管出口直径")
            {
                mlTextBoxEdit扩散管出口直径.Text = "";
            }
        }
        private void mlTextBoxEdit扩散管出口直径_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管出口直径.Text) || double.Parse(mlTextBoxEdit扩散管出口直径.Text) == 0)
            {
                mlTextBoxEdit扩散管出口直径.Text = "请输入扩散管出口直径";
            }
        }
        private void mlTextBoxEdit扩散管出口直径_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit扩散管出口直径.Text)
            {
                if (!double.TryParse(mlTextBoxEdit扩散管出口直径.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit扩散管出口直径.Text) && mlTextBoxEdit扩散管出口直径.Text != "请输入扩散管出口直径")
                {
                    mlTextBoxEdit扩散管出口直径.UseAccent = true;
                    mlTextBoxEdit扩散管出口直径.ShowAssistiveText = true;
                    mlTextBoxEdit扩散管出口直径.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit扩散管出口直径.ShowAssistiveText = false;
                    mlTextBoxEdit扩散管出口直径.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdith2_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdith2.Text) || double.Parse(mlTextBoxEdith2.Text) == 0)
            {
                mlTextBoxEdith2.Text = "请输入";
            }
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/centralExitControl.resx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="metroToolTip中心出口.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>17, 17</value>
  </metadata>
</root>
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowStyle.Designer.cs
@@ -31,26 +31,10 @@
            metroTile扩散管形状 = new RLT.Controls.MetroTile();
            crownLabel4 = new RLT.Controls.CrownLabel();
            thunderGroupBox1 = new RLT.Controls.ThunderGroupBox();
            thunderGroupBox2 = new RLT.Controls.ThunderGroupBox();
            skyLabel中心距离 = new RLT.Controls.SkyLabel();
            skyLabel扩散管长度 = new RLT.Controls.SkyLabel();
            mBtn更新模型 = new RLT.Controls.MaterialButton();
            crownLabel6 = new RLT.Controls.CrownLabel();
            mlTextBoxEdit中心距离 = new RLT.Controls.MaterialTextBoxEdit();
            mlTextBoxEdit扩散管长度 = new RLT.Controls.MaterialTextBoxEdit();
            crownLabel2 = new RLT.Controls.CrownLabel();
            thunderGroupBox3 = new RLT.Controls.ThunderGroupBox();
            dungeonNumeric第八端面 = new RLT.Controls.DungeonNumeric();
            dungeonNumeric出口 = new RLT.Controls.DungeonNumeric();
            crownLabel5 = new RLT.Controls.CrownLabel();
            crownLabel第八端面 = new RLT.Controls.CrownLabel();
            crownLabel出口 = new RLT.Controls.CrownLabel();
            metroTrackBar第八端面 = new RLT.Controls.MetroTrackBar();
            metroTrackBar出口 = new RLT.Controls.MetroTrackBar();
            metroToolTip第六步提示 = new RLT.Controls.MetroToolTip();
            panel = new System.Windows.Forms.Panel();
            thunderGroupBox1.SuspendLayout();
            thunderGroupBox2.SuspendLayout();
            thunderGroupBox3.SuspendLayout();
            SuspendLayout();
            // 
            // metroTile扩散管形状
@@ -63,7 +47,7 @@
            metroTile扩散管形状.HoverColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile扩散管形状.HoverTextColor = System.Drawing.Color.White;
            metroTile扩散管形状.IsDerivedStyle = true;
            metroTile扩散管形状.Location = new System.Drawing.Point(31, 34);
            metroTile扩散管形状.Location = new System.Drawing.Point(70, 37);
            metroTile扩散管形状.Name = "metroTile扩散管形状";
            metroTile扩散管形状.NormalBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile扩散管形状.NormalColor = System.Drawing.Color.FromArgb(65, 177, 225);
@@ -102,55 +86,9 @@
            thunderGroupBox1.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox1.Location = new System.Drawing.Point(3, 36);
            thunderGroupBox1.Name = "thunderGroupBox1";
            thunderGroupBox1.Size = new System.Drawing.Size(256, 239);
            thunderGroupBox1.Size = new System.Drawing.Size(315, 239);
            thunderGroupBox1.TabIndex = 27;
            thunderGroupBox1.Text = "参数示意图";
            //
            // thunderGroupBox2
            //
            thunderGroupBox2.BackColor = System.Drawing.SystemColors.ControlLight;
            thunderGroupBox2.BodyColorA = System.Drawing.Color.Silver;
            thunderGroupBox2.BodyColorB = System.Drawing.Color.DarkGray;
            thunderGroupBox2.BodyColorC = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.BodyColorD = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.Controls.Add(skyLabel中心距离);
            thunderGroupBox2.Controls.Add(skyLabel扩散管长度);
            thunderGroupBox2.Controls.Add(mBtn更新模型);
            thunderGroupBox2.Controls.Add(crownLabel6);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit中心距离);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit扩散管长度);
            thunderGroupBox2.Controls.Add(crownLabel2);
            thunderGroupBox2.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold);
            thunderGroupBox2.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox2.Location = new System.Drawing.Point(3, 280);
            thunderGroupBox2.Name = "thunderGroupBox2";
            thunderGroupBox2.Size = new System.Drawing.Size(256, 270);
            thunderGroupBox2.TabIndex = 28;
            thunderGroupBox2.Text = "输入参数";
            //
            // skyLabel中心距离
            //
            skyLabel中心距离.AutoSize = true;
            skyLabel中心距离.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel中心距离.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel中心距离.Location = new System.Drawing.Point(13, 155);
            skyLabel中心距离.Name = "skyLabel中心距离";
            skyLabel中心距离.Size = new System.Drawing.Size(86, 12);
            skyLabel中心距离.TabIndex = 66;
            skyLabel中心距离.Text = "请输入中心距离!";
            skyLabel中心距离.Visible = false;
            //
            // skyLabel扩散管长度
            //
            skyLabel扩散管长度.AutoSize = true;
            skyLabel扩散管长度.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel扩散管长度.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel扩散管长度.Location = new System.Drawing.Point(13, 86);
            skyLabel扩散管长度.Name = "skyLabel扩散管长度";
            skyLabel扩散管长度.Size = new System.Drawing.Size(97, 12);
            skyLabel扩散管长度.TabIndex = 65;
            skyLabel扩散管长度.Text = "请输入扩散管长度!";
            skyLabel扩散管长度.Visible = false;
            // 
            // mBtn更新模型
            // 
@@ -162,272 +100,18 @@
            mBtn更新模型.HighEmphasis = false;
            mBtn更新模型.Icon = null;
            mBtn更新模型.IconType = RLT.Controls.MaterialButton.MaterialIconType.Rebase;
            mBtn更新模型.Location = new System.Drawing.Point(13, 218);
            mBtn更新模型.Location = new System.Drawing.Point(13, 284);
            mBtn更新模型.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
            mBtn更新模型.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
            mBtn更新模型.Name = "mBtn更新模型";
            mBtn更新模型.NoAccentTextColor = System.Drawing.Color.Empty;
            mBtn更新模型.Size = new System.Drawing.Size(227, 36);
            mBtn更新模型.Size = new System.Drawing.Size(297, 36);
            mBtn更新模型.TabIndex = 29;
            mBtn更新模型.Text = "更新模型";
            mBtn更新模型.Type = RLT.Controls.MaterialButton.MaterialButtonType.Outlined;
            mBtn更新模型.UseAccentColor = false;
            mBtn更新模型.UseVisualStyleBackColor = true;
            mBtn更新模型.Click += mBtn更新模型_Click;
            //
            // crownLabel6
            //
            crownLabel6.AutoSize = true;
            crownLabel6.BackColor = System.Drawing.SystemColors.Control;
            crownLabel6.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold);
            crownLabel6.ForeColor = System.Drawing.Color.Black;
            crownLabel6.Location = new System.Drawing.Point(9, 175);
            crownLabel6.Name = "crownLabel6";
            crownLabel6.Size = new System.Drawing.Size(96, 20);
            crownLabel6.TabIndex = 37;
            crownLabel6.Text = "标准直径D4";
            //
            // mlTextBoxEdit中心距离
            //
            mlTextBoxEdit中心距离.AnimateReadOnly = false;
            mlTextBoxEdit中心距离.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit中心距离.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit中心距离.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit中心距离.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit中心距离.Depth = 0;
            mlTextBoxEdit中心距离.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit中心距离.HelperText = "请输入正确中心距离!";
            mlTextBoxEdit中心距离.HideSelection = true;
            mlTextBoxEdit中心距离.Hint = "中心距离A";
            mlTextBoxEdit中心距离.LeadingIcon = null;
            mlTextBoxEdit中心距离.Location = new System.Drawing.Point(13, 104);
            mlTextBoxEdit中心距离.MaxLength = 32767;
            mlTextBoxEdit中心距离.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit中心距离.Name = "mlTextBoxEdit中心距离";
            mlTextBoxEdit中心距离.NullValuePromptText = null;
            mlTextBoxEdit中心距离.PasswordChar = '\0';
            mlTextBoxEdit中心距离.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit中心距离.PrefixSuffixText = "mm";
            mlTextBoxEdit中心距离.ReadOnly = false;
            mlTextBoxEdit中心距离.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit中心距离.SelectedText = "";
            mlTextBoxEdit中心距离.SelectionLength = 0;
            mlTextBoxEdit中心距离.SelectionStart = 0;
            mlTextBoxEdit中心距离.ShortcutsEnabled = true;
            mlTextBoxEdit中心距离.Size = new System.Drawing.Size(227, 48);
            mlTextBoxEdit中心距离.TabIndex = 28;
            mlTextBoxEdit中心距离.TabStop = false;
            mlTextBoxEdit中心距离.Text = "请输入中心距离";
            mlTextBoxEdit中心距离.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit中心距离.TrailingIcon = null;
            mlTextBoxEdit中心距离.UseAccent = false;
            mlTextBoxEdit中心距离.UseSystemPasswordChar = false;
            mlTextBoxEdit中心距离.Enter += mlTextBoxEdit中心距离_Enter;
            mlTextBoxEdit中心距离.Leave += mlTextBoxEdit中心距离_Leave;
            mlTextBoxEdit中心距离.TextChanged += mlTextBoxEdit中心距离_TextChanged;
            //
            // mlTextBoxEdit扩散管长度
            //
            mlTextBoxEdit扩散管长度.AnimateReadOnly = false;
            mlTextBoxEdit扩散管长度.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit扩散管长度.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit扩散管长度.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit扩散管长度.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit扩散管长度.Depth = 0;
            mlTextBoxEdit扩散管长度.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit扩散管长度.HelperText = "请输入正确扩散管长度!";
            mlTextBoxEdit扩散管长度.HideSelection = true;
            mlTextBoxEdit扩散管长度.Hint = "扩散管长度L";
            mlTextBoxEdit扩散管长度.LeadingIcon = null;
            mlTextBoxEdit扩散管长度.Location = new System.Drawing.Point(13, 35);
            mlTextBoxEdit扩散管长度.MaxLength = 32767;
            mlTextBoxEdit扩散管长度.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit扩散管长度.Name = "mlTextBoxEdit扩散管长度";
            mlTextBoxEdit扩散管长度.NullValuePromptText = null;
            mlTextBoxEdit扩散管长度.PasswordChar = '\0';
            mlTextBoxEdit扩散管长度.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit扩散管长度.PrefixSuffixText = "mm";
            mlTextBoxEdit扩散管长度.ReadOnly = false;
            mlTextBoxEdit扩散管长度.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit扩散管长度.SelectedText = "";
            mlTextBoxEdit扩散管长度.SelectionLength = 0;
            mlTextBoxEdit扩散管长度.SelectionStart = 0;
            mlTextBoxEdit扩散管长度.ShortcutsEnabled = true;
            mlTextBoxEdit扩散管长度.Size = new System.Drawing.Size(227, 48);
            mlTextBoxEdit扩散管长度.TabIndex = 27;
            mlTextBoxEdit扩散管长度.TabStop = false;
            mlTextBoxEdit扩散管长度.Text = "请输入扩散管长度";
            mlTextBoxEdit扩散管长度.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit扩散管长度.TrailingIcon = null;
            mlTextBoxEdit扩散管长度.UseAccent = false;
            mlTextBoxEdit扩散管长度.UseSystemPasswordChar = false;
            mlTextBoxEdit扩散管长度.Enter += mlTextBoxEdit扩散长度_Enter;
            mlTextBoxEdit扩散管长度.Leave += mlTextBoxEdit扩散长度_Leave;
            mlTextBoxEdit扩散管长度.TextChanged += mlTextBoxEdit扩散长度_TextChanged;
            //
            // crownLabel2
            //
            crownLabel2.AutoSize = true;
            crownLabel2.BackColor = System.Drawing.SystemColors.Control;
            crownLabel2.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold);
            crownLabel2.ForeColor = System.Drawing.Color.Black;
            crownLabel2.Location = new System.Drawing.Point(13, 198);
            crownLabel2.Name = "crownLabel2";
            crownLabel2.Size = new System.Drawing.Size(132, 16);
            crownLabel2.TabIndex = 19;
            crownLabel2.Text = "建议D4的参考尺寸是150";
            //
            // thunderGroupBox3
            //
            thunderGroupBox3.BackColor = System.Drawing.SystemColors.ControlLight;
            thunderGroupBox3.BodyColorA = System.Drawing.Color.Silver;
            thunderGroupBox3.BodyColorB = System.Drawing.Color.DarkGray;
            thunderGroupBox3.BodyColorC = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox3.BodyColorD = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox3.Controls.Add(dungeonNumeric第八端面);
            thunderGroupBox3.Controls.Add(dungeonNumeric出口);
            thunderGroupBox3.Controls.Add(crownLabel5);
            thunderGroupBox3.Controls.Add(crownLabel第八端面);
            thunderGroupBox3.Controls.Add(crownLabel出口);
            thunderGroupBox3.Controls.Add(metroTrackBar第八端面);
            thunderGroupBox3.Controls.Add(metroTrackBar出口);
            thunderGroupBox3.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold);
            thunderGroupBox3.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox3.Location = new System.Drawing.Point(3, 577);
            thunderGroupBox3.Name = "thunderGroupBox3";
            thunderGroupBox3.Size = new System.Drawing.Size(256, 209);
            thunderGroupBox3.TabIndex = 29;
            thunderGroupBox3.Text = "调整中心线";
            //
            // dungeonNumeric第八端面
            //
            dungeonNumeric第八端面.BackColor = System.Drawing.Color.Transparent;
            dungeonNumeric第八端面.BackColorA = System.Drawing.Color.FromArgb(246, 246, 246);
            dungeonNumeric第八端面.BackColorB = System.Drawing.Color.FromArgb(254, 254, 254);
            dungeonNumeric第八端面.BorderColor = System.Drawing.Color.FromArgb(180, 180, 180);
            dungeonNumeric第八端面.ButtonForeColorA = System.Drawing.Color.FromArgb(75, 75, 75);
            dungeonNumeric第八端面.ButtonForeColorB = System.Drawing.Color.FromArgb(75, 75, 75);
            dungeonNumeric第八端面.Font = new System.Drawing.Font("Tahoma", 11F);
            dungeonNumeric第八端面.ForeColor = System.Drawing.Color.FromArgb(76, 76, 76);
            dungeonNumeric第八端面.Location = new System.Drawing.Point(113, 137);
            dungeonNumeric第八端面.Maximum = 100L;
            dungeonNumeric第八端面.Minimum = 0L;
            dungeonNumeric第八端面.MinimumSize = new System.Drawing.Size(93, 28);
            dungeonNumeric第八端面.Name = "dungeonNumeric第八端面";
            dungeonNumeric第八端面.Size = new System.Drawing.Size(127, 28);
            dungeonNumeric第八端面.TabIndex = 43;
            dungeonNumeric第八端面.Text = "dungeonNumeric1";
            dungeonNumeric第八端面.TextAlignment = RLT.Controls.DungeonNumeric._TextAlignment.Far;
            dungeonNumeric第八端面.Value = 0L;
            dungeonNumeric第八端面.Leave += dungeonNumeric第八端面_Leave;
            //
            // dungeonNumeric出口
            //
            dungeonNumeric出口.BackColor = System.Drawing.Color.Transparent;
            dungeonNumeric出口.BackColorA = System.Drawing.Color.FromArgb(246, 246, 246);
            dungeonNumeric出口.BackColorB = System.Drawing.Color.FromArgb(254, 254, 254);
            dungeonNumeric出口.BorderColor = System.Drawing.Color.FromArgb(180, 180, 180);
            dungeonNumeric出口.ButtonForeColorA = System.Drawing.Color.FromArgb(75, 75, 75);
            dungeonNumeric出口.ButtonForeColorB = System.Drawing.Color.FromArgb(75, 75, 75);
            dungeonNumeric出口.Font = new System.Drawing.Font("Tahoma", 11F);
            dungeonNumeric出口.ForeColor = System.Drawing.Color.FromArgb(76, 76, 76);
            dungeonNumeric出口.Location = new System.Drawing.Point(113, 80);
            dungeonNumeric出口.Maximum = 100L;
            dungeonNumeric出口.Minimum = 0L;
            dungeonNumeric出口.MinimumSize = new System.Drawing.Size(93, 28);
            dungeonNumeric出口.Name = "dungeonNumeric出口";
            dungeonNumeric出口.Size = new System.Drawing.Size(127, 28);
            dungeonNumeric出口.TabIndex = 42;
            dungeonNumeric出口.Text = "dungeonNumeric1";
            dungeonNumeric出口.TextAlignment = RLT.Controls.DungeonNumeric._TextAlignment.Far;
            dungeonNumeric出口.Value = 0L;
            dungeonNumeric出口.Leave += dungeonNumeric出口_Leave;
            //
            // crownLabel5
            //
            crownLabel5.AutoSize = true;
            crownLabel5.BackColor = System.Drawing.SystemColors.Control;
            crownLabel5.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold);
            crownLabel5.ForeColor = System.Drawing.Color.Black;
            crownLabel5.Location = new System.Drawing.Point(13, 42);
            crownLabel5.Name = "crownLabel5";
            crownLabel5.Size = new System.Drawing.Size(77, 20);
            crownLabel5.TabIndex = 35;
            crownLabel5.Text = "调整类型";
            //
            // crownLabel第八端面
            //
            crownLabel第八端面.AutoSize = true;
            crownLabel第八端面.BackColor = System.Drawing.SystemColors.Control;
            crownLabel第八端面.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold);
            crownLabel第八端面.ForeColor = System.Drawing.Color.Black;
            crownLabel第八端面.Location = new System.Drawing.Point(10, 145);
            crownLabel第八端面.Name = "crownLabel第八端面";
            crownLabel第八端面.Size = new System.Drawing.Size(77, 20);
            crownLabel第八端面.TabIndex = 31;
            crownLabel第八端面.Text = "第八端面";
            //
            // crownLabel出口
            //
            crownLabel出口.AutoSize = true;
            crownLabel出口.BackColor = System.Drawing.SystemColors.Control;
            crownLabel出口.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 12F, System.Drawing.FontStyle.Bold);
            crownLabel出口.ForeColor = System.Drawing.Color.Black;
            crownLabel出口.Location = new System.Drawing.Point(11, 88);
            crownLabel出口.Name = "crownLabel出口";
            crownLabel出口.Size = new System.Drawing.Size(43, 20);
            crownLabel出口.TabIndex = 30;
            crownLabel出口.Text = "出口";
            //
            // metroTrackBar第八端面
            //
            metroTrackBar第八端面.BackgroundColor = System.Drawing.Color.FromArgb(205, 205, 205);
            metroTrackBar第八端面.Cursor = System.Windows.Forms.Cursors.Hand;
            metroTrackBar第八端面.DisabledBackColor = System.Drawing.Color.FromArgb(235, 235, 235);
            metroTrackBar第八端面.DisabledBorderColor = System.Drawing.Color.Empty;
            metroTrackBar第八端面.DisabledHandlerColor = System.Drawing.Color.FromArgb(196, 196, 196);
            metroTrackBar第八端面.DisabledValueColor = System.Drawing.Color.FromArgb(205, 205, 205);
            metroTrackBar第八端面.HandlerColor = System.Drawing.Color.FromArgb(180, 180, 180);
            metroTrackBar第八端面.IsDerivedStyle = true;
            metroTrackBar第八端面.Location = new System.Drawing.Point(9, 171);
            metroTrackBar第八端面.Maximum = 100;
            metroTrackBar第八端面.Minimum = 0;
            metroTrackBar第八端面.Name = "metroTrackBar第八端面";
            metroTrackBar第八端面.Size = new System.Drawing.Size(228, 16);
            metroTrackBar第八端面.Style = RLT.Enum.Metro.Style.Light;
            metroTrackBar第八端面.StyleManager = null;
            metroTrackBar第八端面.TabIndex = 24;
            metroTrackBar第八端面.Text = "metroTrackBar2";
            metroTrackBar第八端面.ThemeAuthor = "Taiizor";
            metroTrackBar第八端面.ThemeName = "MetroLight";
            metroTrackBar第八端面.Value = 0;
            metroTrackBar第八端面.ValueColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTrackBar第八端面.Scroll += metroTrackBar第八端面_Scroll;
            //
            // metroTrackBar出口
            //
            metroTrackBar出口.BackgroundColor = System.Drawing.Color.FromArgb(205, 205, 205);
            metroTrackBar出口.Cursor = System.Windows.Forms.Cursors.Hand;
            metroTrackBar出口.DisabledBackColor = System.Drawing.Color.FromArgb(235, 235, 235);
            metroTrackBar出口.DisabledBorderColor = System.Drawing.Color.Empty;
            metroTrackBar出口.DisabledHandlerColor = System.Drawing.Color.FromArgb(196, 196, 196);
            metroTrackBar出口.DisabledValueColor = System.Drawing.Color.FromArgb(205, 205, 205);
            metroTrackBar出口.HandlerColor = System.Drawing.Color.FromArgb(180, 180, 180);
            metroTrackBar出口.IsDerivedStyle = true;
            metroTrackBar出口.Location = new System.Drawing.Point(10, 114);
            metroTrackBar出口.Maximum = 100;
            metroTrackBar出口.Minimum = 0;
            metroTrackBar出口.Name = "metroTrackBar出口";
            metroTrackBar出口.Size = new System.Drawing.Size(226, 16);
            metroTrackBar出口.Style = RLT.Enum.Metro.Style.Light;
            metroTrackBar出口.StyleManager = null;
            metroTrackBar出口.TabIndex = 9;
            metroTrackBar出口.Text = "metroTrackBar2";
            metroTrackBar出口.ThemeAuthor = "Taiizor";
            metroTrackBar出口.ThemeName = "MetroLight";
            metroTrackBar出口.Value = 0;
            metroTrackBar出口.ValueColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTrackBar出口.Scroll += metroTrackBar出口_Scroll;
            // 
            // metroToolTip第六步提示
            // 
@@ -441,23 +125,26 @@
            metroToolTip第六步提示.ThemeAuthor = "Taiizor";
            metroToolTip第六步提示.ThemeName = "MetroLight";
            // 
            // panel
            //
            panel.Location = new System.Drawing.Point(3, 329);
            panel.Name = "panel";
            panel.Size = new System.Drawing.Size(315, 471);
            panel.TabIndex = 30;
            //
            // ctrlSetOutflowStyle
            // 
            AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            BackColor = System.Drawing.SystemColors.ControlLight;
            Controls.Add(thunderGroupBox3);
            Controls.Add(thunderGroupBox2);
            Controls.Add(panel);
            Controls.Add(thunderGroupBox1);
            Controls.Add(mBtn更新模型);
            Controls.Add(crownLabel4);
            Margin = new System.Windows.Forms.Padding(4);
            Name = "ctrlSetOutflowStyle";
            Size = new System.Drawing.Size(267, 803);
            Size = new System.Drawing.Size(325, 803);
            thunderGroupBox1.ResumeLayout(false);
            thunderGroupBox2.ResumeLayout(false);
            thunderGroupBox2.PerformLayout();
            thunderGroupBox3.ResumeLayout(false);
            thunderGroupBox3.PerformLayout();
            ResumeLayout(false);
            PerformLayout();
        }
@@ -467,25 +154,8 @@
        private RLT.Controls.MetroTile metroTile扩散管形状;
        private RLT.Controls.CrownLabel crownLabel4;
        private RLT.Controls.ThunderGroupBox thunderGroupBox1;
        private RLT.Controls.ThunderGroupBox thunderGroupBox2;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit中心距离;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit扩散管长度;
        private RLT.Controls.ThunderGroupBox thunderGroupBox3;
        private RLT.Controls.CrownLabel crownLabel2;
        private RLT.Controls.MetroTrackBar metroTrackBar出口;
        private RLT.Controls.MetroTrackBar metroTrackBar第八端面;
        private RLT.Controls.MaterialButton mBtn更新模型;
        private RLT.Controls.CrownLabel crownLabel出口;
        private RLT.Controls.CrownLabel crownLabel第八端面;
        private RLT.Controls.CrownLabel crownLabel5;
        private RLT.Controls.CrownLabel crownLabel6;
        private RLT.Controls.DungeonNumeric dungeonNumeric出口;
        private RLT.Controls.DungeonNumeric dungeonNumeric第八端面;
        private RLT.Controls.MetroToolTip metroToolTip第六步提示;
        private RLT.Controls.SkyLabel skyLabel中心距离;
        private RLT.Controls.SkyLabel skyLabel扩散管长度;
        private System.Windows.Forms.Panel panel;
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowStyle.cs
@@ -1,4 +1,6 @@


using DPumpHydr.WinFrmUI.Volute.ViewModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -17,162 +19,73 @@
        public ctrlSetOutflowStyle()
        {
            InitializeComponent();
            AddControlToPanel(_type, panel);
            BuildAllTips();
            BuildIcon();
        }
        private void BuildIcon()
        int _type = 0;
        public void SetBindingData(eOutflowStyle eOutflowStyle)
        {
            //扩散管形状图片
            metroTile扩散管形状.BackgroundImage = GlobalResource.BuildImage("kuosanguan.png", 878, 238);
            //输入框前缀图片
            mlTextBoxEdit扩散管长度.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdit中心距离.LeadingIcon = GlobalResource.GetLeadingIcon();
            if (eOutflowStyle == eOutflowStyle.中心出口_垂直法兰面流出)
            {
                _type = 0;
                panel.Controls.Clear();
                AddControlToPanel(_type, panel);
            }
            if (eOutflowStyle == eOutflowStyle.侧面出口_曲线连接)
            {
                _type = 1;
                panel.Controls.Clear();
                AddControlToPanel(_type, panel);
            }
            if (eOutflowStyle == eOutflowStyle.侧面出口_直线连接)
            {
                _type = 2;
                panel.Controls.Clear();
                AddControlToPanel(_type, panel);
            }
        }
        public bool Verify(out string error)
        private Control AddControlToPanel(int type, Panel panel)
        {
            error = "";
            bool isOk = true;
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) || mlTextBoxEdit扩散管长度.Text == "请输入扩散管长度" || double.Parse(mlTextBoxEdit扩散管长度.Text) == 0)
            Control newControl = null;
            switch (type)
            {
                error = "请输入扩散管长度!";
                isOk = false;
                mlTextBoxEdit扩散管长度.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabel扩散管长度.Visible = true;
                case 0:
                    newControl = new centralExitControl();
                    metroTile扩散管形状.BackgroundImage = GlobalResource.BuildImage("Central-exit.png", 878, 238);
                    break;
                case 1:
                    newControl = new sideCurveExitControl();
                    metroTile扩散管形状.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 878, 238);
                    break;
                case 2:
                    newControl = new sidelineExitControl();
                    metroTile扩散管形状.BackgroundImage = GlobalResource.BuildImage("Side-exit-straight-line.png", 878, 238);
                    break;
                default:
                    throw new ArgumentException("Invalid control type");
            }
            if (string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) || mlTextBoxEdit中心距离.Text == "请输入中心距离" || double.Parse(mlTextBoxEdit中心距离.Text) == 0)
            {
                error = "请输入中心距离!";
                isOk = false;
                mlTextBoxEdit中心距离.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabel中心距离.Visible = true;
            }
            return isOk;
            // å°†æŽ§ä»¶æ·»åŠ åˆ°Panel中
            panel.Controls.Add(newControl);
            newControl.Dock = DockStyle.Top;
            return newControl;
        }
        private void BuildAllTips()
        {
            metroToolTip第六步提示.SetToolTip(this.metroTile扩散管形状, "断面图");
            metroToolTip第六步提示.SetToolTip(this.mlTextBoxEdit扩散管长度, "蜗室中液体流动\n路径的扩展或扩\n散程度");
            metroToolTip第六步提示.SetToolTip(this.mlTextBoxEdit中心距离, "中心距离 è§£é‡Š");
            metroToolTip第六步提示.SetToolTip(this.crownLabel出口, "出口 è§£é‡Š");
            metroToolTip第六步提示.SetToolTip(this.dungeonNumeric出口, "出口 è§£é‡Š");
            metroToolTip第六步提示.SetToolTip(this.metroTrackBar出口, "出口 è§£é‡Š");
            metroToolTip第六步提示.SetToolTip(this.crownLabel第八端面, "第八断面 è§£é‡Š");
            metroToolTip第六步提示.SetToolTip(this.dungeonNumeric第八端面, "第八端面 è§£é‡Š");
            metroToolTip第六步提示.SetToolTip(this.metroTrackBar第八端面, "第八端面 è§£é‡Š");
        }
        private void metroTrackBar第八端面_Scroll(object sender)
        {
            dungeonNumeric第八端面.Value = metroTrackBar第八端面.Value;
        }
        private void metroTrackBar出口_Scroll(object sender)
        {
            dungeonNumeric出口.Value = metroTrackBar出口.Value;
        }
        private void dungeonNumeric出口_Leave(object sender, EventArgs e)
        {
            metroTrackBar出口.Value = (int)(dungeonNumeric出口.Value);
        }
        private void dungeonNumeric第八端面_Leave(object sender, EventArgs e)
        {
            metroTrackBar第八端面.Value = (int)(dungeonNumeric第八端面.Value);
        }
        private void mlTextBoxEdit扩散长度_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit扩散管长度.Text)
            {
                if (!double.TryParse(mlTextBoxEdit扩散管长度.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) && mlTextBoxEdit扩散管长度.Text != "请输入扩散管长度")
                {
                    mlTextBoxEdit扩散管长度.UseAccent = true;
                    mlTextBoxEdit扩散管长度.ShowAssistiveText = true;
                    mlTextBoxEdit扩散管长度.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit扩散管长度.ShowAssistiveText = false;
                    mlTextBoxEdit扩散管长度.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdit扩散长度_Enter(object sender, EventArgs e)
        {
            skyLabel扩散管长度.Visible = false;
            mlTextBoxEdit扩散管长度.TrailingIcon = null;
            if (mlTextBoxEdit扩散管长度.Text == "请输入扩散管长度")
            {
                mlTextBoxEdit扩散管长度.Text = "";
            }
        }
        private void mlTextBoxEdit扩散长度_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) || double.Parse(mlTextBoxEdit扩散管长度.Text) == 0)
            {
                mlTextBoxEdit扩散管长度.Text = "请输入扩散管长度";
            }
        }
        private void mlTextBoxEdit中心距离_Enter(object sender, EventArgs e)
        {
            skyLabel中心距离.Visible = false;
            mlTextBoxEdit中心距离.TrailingIcon = null;
            if (mlTextBoxEdit中心距离.Text == "请输入中心距离")
            {
                mlTextBoxEdit中心距离.Text = "";
            }
        }
        private void mlTextBoxEdit中心距离_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) || double.Parse(mlTextBoxEdit中心距离.Text) == 0)
            {
                mlTextBoxEdit中心距离.Text = "请输入中心距离";
            }
        }
        private void mlTextBoxEdit中心距离_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit中心距离.Text)
            {
                if (!double.TryParse(mlTextBoxEdit中心距离.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) && mlTextBoxEdit中心距离.Text != "请输入中心距离")
                {
                    mlTextBoxEdit中心距离.UseAccent = true;
                    mlTextBoxEdit中心距离.ShowAssistiveText = true;
                    mlTextBoxEdit中心距离.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit中心距离.ShowAssistiveText = false;
                    mlTextBoxEdit中心距离.UseAccent = false;
                }
            }
        }
        private void mBtn更新模型_Click(object sender, EventArgs e)
        {
            if (mlTextBoxEdit扩散管长度.Text == "请输入扩散管长度" || string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text))
            {
                skyLabel扩散管长度.Visible = true;
                MessageBox.Show("请先输入扩散管长度!");
                return;
            }
            if (mlTextBoxEdit中心距离.Text == "请输入中心距离" || string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text))
            {
                skyLabel中心距离.Visible = true;
                MessageBox.Show("请先输入中心距离!");
                return;
            }
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowStyle.resx
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Microsoft ResX Schema
    Version 2.0
@@ -48,7 +48,7 @@
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowType.Designer.cs
@@ -89,7 +89,7 @@
            thunderGroupBox1.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox1.Location = new System.Drawing.Point(10, 225);
            thunderGroupBox1.Name = "thunderGroupBox1";
            thunderGroupBox1.Size = new System.Drawing.Size(300, 112);
            thunderGroupBox1.Size = new System.Drawing.Size(308, 112);
            thunderGroupBox1.TabIndex = 26;
            thunderGroupBox1.Text = "选择出口类型";
            // 
@@ -112,6 +112,7 @@
            RBtn侧面出口直线.TabIndex = 8;
            RBtn侧面出口直线.Text = "侧面出口(直线链接)";
            RBtn侧面出口直线.TextRenderingType = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
            RBtn侧面出口直线.CheckedChanged += RBtn侧面出口直线_CheckedChanged;
            // 
            // RBtn中心出口
            // 
@@ -132,6 +133,7 @@
            RBtn中心出口.TabIndex = 7;
            RBtn中心出口.Text = "中心出口:垂直法兰面流出";
            RBtn中心出口.TextRenderingType = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
            RBtn中心出口.CheckedChanged += RBtn中心出口_CheckedChanged;
            // 
            // RBtn侧面出口曲线
            // 
@@ -152,6 +154,7 @@
            RBtn侧面出口曲线.TabIndex = 6;
            RBtn侧面出口曲线.Text = "侧面出口(曲线链接):垂直法兰面流出";
            RBtn侧面出口曲线.TextRenderingType = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
            RBtn侧面出口曲线.CheckedChanged += RBtn侧面出口曲线_CheckedChanged;
            // 
            // designDraw11
            // 
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowType.cs
@@ -1,4 +1,5 @@
using System;
using DPumpHydr.WinFrmUI.Volute.ViewModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -28,12 +29,58 @@
                return false;
            }
                return true;
            return true;
        }
        public eOutflowStyle GetBindingData()
        {
            if (RBtn中心出口.Checked)
            {
                return eOutflowStyle.中心出口_垂直法兰面流出;
            }
            else if (RBtn侧面出口曲线.Checked)
            {
                return eOutflowStyle.侧面出口_曲线连接;
            }
            else
            {
                return eOutflowStyle.侧面出口_直线连接;
            }
        }
        private void BuildIcon()
        {
            metroTile出口图片.BackgroundImage = GlobalResource.BuildImage("chukou.png",848 ,508 );
            metroTile出口图片.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 848, 508);
        }
        private void RBtn中心出口_CheckedChanged(object sender)
        {
            if (RBtn中心出口.Checked)
            {
                RBtn侧面出口曲线.Checked = false;
                RBtn侧面出口直线.Checked = false;
                metroTile出口图片.BackgroundImage = GlobalResource.BuildImage("Central-exit.png", 848, 508);
            }
        }
        private void RBtn侧面出口曲线_CheckedChanged(object sender)
        {
            if (RBtn侧面出口曲线.Checked)
            {
                RBtn中心出口.Checked = false;
                RBtn侧面出口直线.Checked = false;
                metroTile出口图片.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 848, 508);
            }
        }
        private void RBtn侧面出口直线_CheckedChanged(object sender)
        {
            if (RBtn侧面出口直线.Checked)
            {
                RBtn侧面出口曲线.Checked = false;
                RBtn中心出口.Checked = false;
                metroTile出口图片.BackgroundImage = GlobalResource.BuildImage("Side-exit-straight-line.png", 848, 508);
            }
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/ctrlSetOutflowType.resx
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Microsoft ResX Schema
    Version 2.0
@@ -48,7 +48,7 @@
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/sideCurveExitControl.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,310 @@
namespace DPumpHydr.WinFrmUI.Volute
{
    partial class sideCurveExitControl
    {
        /// <summary>
        /// å¿…需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// æ¸…理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region ç»„件设计器生成的代码
        /// <summary>
        /// è®¾è®¡å™¨æ”¯æŒæ‰€éœ€çš„æ–¹æ³• - ä¸è¦ä¿®æ”¹
        /// ä½¿ç”¨ä»£ç ç¼–辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            thunderGroupBox2 = new RLT.Controls.ThunderGroupBox();
            skyLabel隔舌圆角半径 = new RLT.Controls.SkyLabel();
            mlTextBoxEdit隔舌圆角半径 = new RLT.Controls.MaterialTextBoxEdit();
            skyLabel扩散管出口直径 = new RLT.Controls.SkyLabel();
            mlTextBoxEdit扩散管出口直径 = new RLT.Controls.MaterialTextBoxEdit();
            skyLabel中心距离 = new RLT.Controls.SkyLabel();
            skyLabel扩散管长度 = new RLT.Controls.SkyLabel();
            mlTextBoxEdit中心距离 = new RLT.Controls.MaterialTextBoxEdit();
            mlTextBoxEdit扩散管长度 = new RLT.Controls.MaterialTextBoxEdit();
            metroToolTip侧面出口垂直 = new RLT.Controls.MetroToolTip();
            thunderGroupBox2.SuspendLayout();
            SuspendLayout();
            //
            // thunderGroupBox2
            //
            thunderGroupBox2.BackColor = System.Drawing.SystemColors.ControlLight;
            thunderGroupBox2.BodyColorA = System.Drawing.Color.Silver;
            thunderGroupBox2.BodyColorB = System.Drawing.Color.DarkGray;
            thunderGroupBox2.BodyColorC = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.BodyColorD = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.Controls.Add(skyLabel隔舌圆角半径);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit隔舌圆角半径);
            thunderGroupBox2.Controls.Add(skyLabel扩散管出口直径);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit扩散管出口直径);
            thunderGroupBox2.Controls.Add(skyLabel中心距离);
            thunderGroupBox2.Controls.Add(skyLabel扩散管长度);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit中心距离);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit扩散管长度);
            thunderGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            thunderGroupBox2.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold);
            thunderGroupBox2.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox2.Location = new System.Drawing.Point(0, 0);
            thunderGroupBox2.Name = "thunderGroupBox2";
            thunderGroupBox2.Size = new System.Drawing.Size(325, 312);
            thunderGroupBox2.TabIndex = 29;
            thunderGroupBox2.Text = "输入参数";
            //
            // skyLabel隔舌圆角半径
            //
            skyLabel隔舌圆角半径.AutoSize = true;
            skyLabel隔舌圆角半径.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel隔舌圆角半径.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel隔舌圆角半径.Location = new System.Drawing.Point(13, 284);
            skyLabel隔舌圆角半径.Name = "skyLabel隔舌圆角半径";
            skyLabel隔舌圆角半径.Size = new System.Drawing.Size(108, 12);
            skyLabel隔舌圆角半径.TabIndex = 70;
            skyLabel隔舌圆角半径.Text = "请输入隔舌圆角半径!";
            skyLabel隔舌圆角半径.Visible = false;
            //
            // mlTextBoxEdit隔舌圆角半径
            //
            mlTextBoxEdit隔舌圆角半径.AnimateReadOnly = false;
            mlTextBoxEdit隔舌圆角半径.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit隔舌圆角半径.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit隔舌圆角半径.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit隔舌圆角半径.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit隔舌圆角半径.Depth = 0;
            mlTextBoxEdit隔舌圆角半径.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit隔舌圆角半径.HelperText = "请输入正确隔舌圆角半径!";
            mlTextBoxEdit隔舌圆角半径.HideSelection = true;
            mlTextBoxEdit隔舌圆角半径.Hint = "隔舌圆角半径r";
            mlTextBoxEdit隔舌圆角半径.LeadingIcon = null;
            mlTextBoxEdit隔舌圆角半径.Location = new System.Drawing.Point(13, 233);
            mlTextBoxEdit隔舌圆角半径.MaxLength = 32767;
            mlTextBoxEdit隔舌圆角半径.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit隔舌圆角半径.Name = "mlTextBoxEdit隔舌圆角半径";
            mlTextBoxEdit隔舌圆角半径.NullValuePromptText = null;
            mlTextBoxEdit隔舌圆角半径.PasswordChar = '\0';
            mlTextBoxEdit隔舌圆角半径.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit隔舌圆角半径.PrefixSuffixText = "mm";
            mlTextBoxEdit隔舌圆角半径.ReadOnly = false;
            mlTextBoxEdit隔舌圆角半径.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit隔舌圆角半径.SelectedText = "";
            mlTextBoxEdit隔舌圆角半径.SelectionLength = 0;
            mlTextBoxEdit隔舌圆角半径.SelectionStart = 0;
            mlTextBoxEdit隔舌圆角半径.ShortcutsEnabled = true;
            mlTextBoxEdit隔舌圆角半径.Size = new System.Drawing.Size(294, 48);
            mlTextBoxEdit隔舌圆角半径.TabIndex = 69;
            mlTextBoxEdit隔舌圆角半径.TabStop = false;
            mlTextBoxEdit隔舌圆角半径.Text = "请输入隔舌圆角半径";
            mlTextBoxEdit隔舌圆角半径.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit隔舌圆角半径.TrailingIcon = null;
            mlTextBoxEdit隔舌圆角半径.UseAccent = false;
            mlTextBoxEdit隔舌圆角半径.UseSystemPasswordChar = false;
            mlTextBoxEdit隔舌圆角半径.Enter += mlTextBoxEdit隔舌圆角半径_Enter;
            mlTextBoxEdit隔舌圆角半径.Leave += mlTextBoxEdit隔舌圆角半径_Leave;
            mlTextBoxEdit隔舌圆角半径.TextChanged += mlTextBoxEdit隔舌圆角半径_TextChanged;
            //
            // skyLabel扩散管出口直径
            //
            skyLabel扩散管出口直径.AutoSize = true;
            skyLabel扩散管出口直径.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel扩散管出口直径.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel扩散管出口直径.Location = new System.Drawing.Point(13, 218);
            skyLabel扩散管出口直径.Name = "skyLabel扩散管出口直径";
            skyLabel扩散管出口直径.Size = new System.Drawing.Size(119, 12);
            skyLabel扩散管出口直径.TabIndex = 68;
            skyLabel扩散管出口直径.Text = "请输入扩散管出口直径!";
            skyLabel扩散管出口直径.Visible = false;
            //
            // mlTextBoxEdit扩散管出口直径
            //
            mlTextBoxEdit扩散管出口直径.AnimateReadOnly = false;
            mlTextBoxEdit扩散管出口直径.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit扩散管出口直径.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit扩散管出口直径.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit扩散管出口直径.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit扩散管出口直径.Depth = 0;
            mlTextBoxEdit扩散管出口直径.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit扩散管出口直径.HelperText = "请输入正确扩散管出口直径!";
            mlTextBoxEdit扩散管出口直径.HideSelection = true;
            mlTextBoxEdit扩散管出口直径.Hint = "扩散管出口直径D4";
            mlTextBoxEdit扩散管出口直径.LeadingIcon = null;
            mlTextBoxEdit扩散管出口直径.Location = new System.Drawing.Point(13, 167);
            mlTextBoxEdit扩散管出口直径.MaxLength = 32767;
            mlTextBoxEdit扩散管出口直径.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit扩散管出口直径.Name = "mlTextBoxEdit扩散管出口直径";
            mlTextBoxEdit扩散管出口直径.NullValuePromptText = null;
            mlTextBoxEdit扩散管出口直径.PasswordChar = '\0';
            mlTextBoxEdit扩散管出口直径.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit扩散管出口直径.PrefixSuffixText = "mm";
            mlTextBoxEdit扩散管出口直径.ReadOnly = false;
            mlTextBoxEdit扩散管出口直径.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit扩散管出口直径.SelectedText = "";
            mlTextBoxEdit扩散管出口直径.SelectionLength = 0;
            mlTextBoxEdit扩散管出口直径.SelectionStart = 0;
            mlTextBoxEdit扩散管出口直径.ShortcutsEnabled = true;
            mlTextBoxEdit扩散管出口直径.Size = new System.Drawing.Size(294, 48);
            mlTextBoxEdit扩散管出口直径.TabIndex = 67;
            mlTextBoxEdit扩散管出口直径.TabStop = false;
            mlTextBoxEdit扩散管出口直径.Text = "请输入扩散管出口直径";
            mlTextBoxEdit扩散管出口直径.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit扩散管出口直径.TrailingIcon = null;
            mlTextBoxEdit扩散管出口直径.UseAccent = false;
            mlTextBoxEdit扩散管出口直径.UseSystemPasswordChar = false;
            mlTextBoxEdit扩散管出口直径.Enter += mlTextBoxEdit扩散管出口直径_Enter;
            mlTextBoxEdit扩散管出口直径.Leave += mlTextBoxEdit扩散管出口直径_Leave;
            mlTextBoxEdit扩散管出口直径.TextChanged += mlTextBoxEdit扩散管出口直径_TextChanged;
            //
            // skyLabel中心距离
            //
            skyLabel中心距离.AutoSize = true;
            skyLabel中心距离.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel中心距离.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel中心距离.Location = new System.Drawing.Point(13, 152);
            skyLabel中心距离.Name = "skyLabel中心距离";
            skyLabel中心距离.Size = new System.Drawing.Size(86, 12);
            skyLabel中心距离.TabIndex = 66;
            skyLabel中心距离.Text = "请输入中心距离!";
            skyLabel中心距离.Visible = false;
            //
            // skyLabel扩散管长度
            //
            skyLabel扩散管长度.AutoSize = true;
            skyLabel扩散管长度.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel扩散管长度.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel扩散管长度.Location = new System.Drawing.Point(13, 86);
            skyLabel扩散管长度.Name = "skyLabel扩散管长度";
            skyLabel扩散管长度.Size = new System.Drawing.Size(97, 12);
            skyLabel扩散管长度.TabIndex = 65;
            skyLabel扩散管长度.Text = "请输入扩散管长度!";
            skyLabel扩散管长度.Visible = false;
            //
            // mlTextBoxEdit中心距离
            //
            mlTextBoxEdit中心距离.AnimateReadOnly = false;
            mlTextBoxEdit中心距离.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit中心距离.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit中心距离.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit中心距离.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit中心距离.Depth = 0;
            mlTextBoxEdit中心距离.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit中心距离.HelperText = "请输入正确中心距离!";
            mlTextBoxEdit中心距离.HideSelection = true;
            mlTextBoxEdit中心距离.Hint = "中心距离A";
            mlTextBoxEdit中心距离.LeadingIcon = null;
            mlTextBoxEdit中心距离.Location = new System.Drawing.Point(13, 101);
            mlTextBoxEdit中心距离.MaxLength = 32767;
            mlTextBoxEdit中心距离.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit中心距离.Name = "mlTextBoxEdit中心距离";
            mlTextBoxEdit中心距离.NullValuePromptText = null;
            mlTextBoxEdit中心距离.PasswordChar = '\0';
            mlTextBoxEdit中心距离.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit中心距离.PrefixSuffixText = "mm";
            mlTextBoxEdit中心距离.ReadOnly = false;
            mlTextBoxEdit中心距离.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit中心距离.SelectedText = "";
            mlTextBoxEdit中心距离.SelectionLength = 0;
            mlTextBoxEdit中心距离.SelectionStart = 0;
            mlTextBoxEdit中心距离.ShortcutsEnabled = true;
            mlTextBoxEdit中心距离.Size = new System.Drawing.Size(294, 48);
            mlTextBoxEdit中心距离.TabIndex = 28;
            mlTextBoxEdit中心距离.TabStop = false;
            mlTextBoxEdit中心距离.Text = "请输入中心距离";
            mlTextBoxEdit中心距离.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit中心距离.TrailingIcon = null;
            mlTextBoxEdit中心距离.UseAccent = false;
            mlTextBoxEdit中心距离.UseSystemPasswordChar = false;
            mlTextBoxEdit中心距离.Enter += mlTextBoxEdit中心距离_Enter;
            mlTextBoxEdit中心距离.Leave += mlTextBoxEdit中心距离_Leave;
            mlTextBoxEdit中心距离.TextChanged += mlTextBoxEdit中心距离_TextChanged;
            //
            // mlTextBoxEdit扩散管长度
            //
            mlTextBoxEdit扩散管长度.AnimateReadOnly = false;
            mlTextBoxEdit扩散管长度.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit扩散管长度.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit扩散管长度.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit扩散管长度.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit扩散管长度.Depth = 0;
            mlTextBoxEdit扩散管长度.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit扩散管长度.HelperText = "请输入正确扩散管长度!";
            mlTextBoxEdit扩散管长度.HideSelection = true;
            mlTextBoxEdit扩散管长度.Hint = "扩散管长度L";
            mlTextBoxEdit扩散管长度.LeadingIcon = null;
            mlTextBoxEdit扩散管长度.Location = new System.Drawing.Point(13, 35);
            mlTextBoxEdit扩散管长度.MaxLength = 32767;
            mlTextBoxEdit扩散管长度.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit扩散管长度.Name = "mlTextBoxEdit扩散管长度";
            mlTextBoxEdit扩散管长度.NullValuePromptText = null;
            mlTextBoxEdit扩散管长度.PasswordChar = '\0';
            mlTextBoxEdit扩散管长度.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit扩散管长度.PrefixSuffixText = "mm";
            mlTextBoxEdit扩散管长度.ReadOnly = false;
            mlTextBoxEdit扩散管长度.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit扩散管长度.SelectedText = "";
            mlTextBoxEdit扩散管长度.SelectionLength = 0;
            mlTextBoxEdit扩散管长度.SelectionStart = 0;
            mlTextBoxEdit扩散管长度.ShortcutsEnabled = true;
            mlTextBoxEdit扩散管长度.Size = new System.Drawing.Size(294, 48);
            mlTextBoxEdit扩散管长度.TabIndex = 27;
            mlTextBoxEdit扩散管长度.TabStop = false;
            mlTextBoxEdit扩散管长度.Text = "请输入扩散管长度";
            mlTextBoxEdit扩散管长度.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit扩散管长度.TrailingIcon = null;
            mlTextBoxEdit扩散管长度.UseAccent = false;
            mlTextBoxEdit扩散管长度.UseSystemPasswordChar = false;
            mlTextBoxEdit扩散管长度.Enter += mlTextBoxEdit扩散管长度_Enter;
            mlTextBoxEdit扩散管长度.Leave += mlTextBoxEdit扩散管长度_Leave;
            mlTextBoxEdit扩散管长度.TextChanged += mlTextBoxEdit扩散管长度_TextChanged;
            //
            // metroToolTip侧面出口垂直
            //
            metroToolTip侧面出口垂直.BackColor = System.Drawing.Color.White;
            metroToolTip侧面出口垂直.BorderColor = System.Drawing.Color.FromArgb(204, 204, 204);
            metroToolTip侧面出口垂直.ForeColor = System.Drawing.Color.FromArgb(170, 170, 170);
            metroToolTip侧面出口垂直.IsDerivedStyle = true;
            metroToolTip侧面出口垂直.OwnerDraw = true;
            metroToolTip侧面出口垂直.Style = RLT.Enum.Metro.Style.Light;
            metroToolTip侧面出口垂直.StyleManager = null;
            metroToolTip侧面出口垂直.ThemeAuthor = "Taiizor";
            metroToolTip侧面出口垂直.ThemeName = "MetroLight";
            //
            // sideCurveExitControl
            //
            AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            BackColor = System.Drawing.SystemColors.ControlLight;
            Controls.Add(thunderGroupBox2);
            Name = "sideCurveExitControl";
            Size = new System.Drawing.Size(325, 312);
            thunderGroupBox2.ResumeLayout(false);
            thunderGroupBox2.PerformLayout();
            ResumeLayout(false);
        }
        #endregion
        private RLT.Controls.ThunderGroupBox thunderGroupBox2;
        private RLT.Controls.SkyLabel skyLabel中心距离;
        private RLT.Controls.SkyLabel skyLabel扩散管长度;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit中心距离;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit扩散管长度;
        private RLT.Controls.SkyLabel skyLabel隔舌圆角半径;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit隔舌圆角半径;
        private RLT.Controls.SkyLabel skyLabel扩散管出口直径;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit扩散管出口直径;
        private RLT.Controls.MetroToolTip metroToolTip侧面出口垂直;
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/sideCurveExitControl.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,214 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DPumpHydr.WinFrmUI.Volute
{
    public partial class sideCurveExitControl : UserControl
    {
        public sideCurveExitControl()
        {
            InitializeComponent();
            BuildAllTips();
            BuildIcon();
        }
        private void BuildIcon()
        {
            //输入框前缀图片
            mlTextBoxEdit扩散管长度.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdit中心距离.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdit扩散管出口直径.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdit隔舌圆角半径.LeadingIcon = GlobalResource.GetLeadingIcon();
        }
        public bool Verify(out string error)
        {
            error = "";
            bool isOk = true;
            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 == "请输入中心距离" || double.Parse(mlTextBoxEdit中心距离.Text) == 0)
            {
                error = "请输入中心距离!";
                isOk = false;
                mlTextBoxEdit中心距离.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabel中心距离.Visible = true;
            }
            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 == "请输入隔舌圆角半径" || double.Parse(mlTextBoxEdit隔舌圆角半径.Text) == 0)
            {
                error = "请输入隔舌圆角半径!";
                isOk = false;
                mlTextBoxEdit隔舌圆角半径.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabel隔舌圆角半径.Visible = true;
            }
            return isOk;
        }
        private void BuildAllTips()
        {
            metroToolTip侧面出口垂直.SetToolTip(this.mlTextBoxEdit扩散管长度, "扩散管长度");
            metroToolTip侧面出口垂直.SetToolTip(this.mlTextBoxEdit中心距离, "中心距离");
            metroToolTip侧面出口垂直.SetToolTip(this.mlTextBoxEdit扩散管出口直径, "扩散管出口直径");
            metroToolTip侧面出口垂直.SetToolTip(this.mlTextBoxEdit隔舌圆角半径, "隔舌圆角半径");
        }
        private void mlTextBoxEdit扩散管长度_Enter(object sender, EventArgs e)
        {
            skyLabel扩散管长度.Visible = false;
            mlTextBoxEdit扩散管长度.TrailingIcon = null;
            if (mlTextBoxEdit扩散管长度.Text == "请输入扩散管长度")
            {
                mlTextBoxEdit扩散管长度.Text = "";
            }
        }
        private void mlTextBoxEdit扩散管长度_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) || double.Parse(mlTextBoxEdit扩散管长度.Text) == 0)
            {
                mlTextBoxEdit扩散管长度.Text = "请输入扩散管长度";
            }
        }
        private void mlTextBoxEdit扩散管长度_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit扩散管长度.Text)
            {
                if (!double.TryParse(mlTextBoxEdit扩散管长度.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit扩散管长度.Text) && mlTextBoxEdit扩散管长度.Text != "请输入扩散管长度")
                {
                    mlTextBoxEdit扩散管长度.UseAccent = true;
                    mlTextBoxEdit扩散管长度.ShowAssistiveText = true;
                    mlTextBoxEdit扩散管长度.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit扩散管长度.ShowAssistiveText = false;
                    mlTextBoxEdit扩散管长度.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdit中心距离_Enter(object sender, EventArgs e)
        {
            skyLabel中心距离.Visible = false;
            mlTextBoxEdit中心距离.TrailingIcon = null;
            if (mlTextBoxEdit中心距离.Text == "请输入中心距离")
            {
                mlTextBoxEdit中心距离.Text = "";
            }
        }
        private void mlTextBoxEdit中心距离_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) || double.Parse(mlTextBoxEdit中心距离.Text) == 0)
            {
                mlTextBoxEdit中心距离.Text = "请输入中心距离";
            }
        }
        private void mlTextBoxEdit中心距离_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit中心距离.Text)
            {
                if (!double.TryParse(mlTextBoxEdit中心距离.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit中心距离.Text) && mlTextBoxEdit中心距离.Text != "请输入中心距离")
                {
                    mlTextBoxEdit中心距离.UseAccent = true;
                    mlTextBoxEdit中心距离.ShowAssistiveText = true;
                    mlTextBoxEdit中心距离.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit中心距离.ShowAssistiveText = false;
                    mlTextBoxEdit中心距离.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdit扩散管出口直径_Enter(object sender, EventArgs e)
        {
            skyLabel扩散管出口直径.Visible = false;
            mlTextBoxEdit扩散管出口直径.TrailingIcon = null;
            if (mlTextBoxEdit扩散管出口直径.Text == "请输入扩散管出口直径")
            {
                mlTextBoxEdit扩散管出口直径.Text = "";
            }
        }
        private void mlTextBoxEdit扩散管出口直径_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管出口直径.Text) || double.Parse(mlTextBoxEdit扩散管出口直径.Text) == 0)
            {
                mlTextBoxEdit扩散管出口直径.Text = "请输入扩散管出口直径";
            }
        }
        private void mlTextBoxEdit扩散管出口直径_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit扩散管出口直径.Text)
            {
                if (!double.TryParse(mlTextBoxEdit扩散管出口直径.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit扩散管出口直径.Text) && mlTextBoxEdit扩散管出口直径.Text != "请输入扩散管出口直径")
                {
                    mlTextBoxEdit扩散管出口直径.UseAccent = true;
                    mlTextBoxEdit扩散管出口直径.ShowAssistiveText = true;
                    mlTextBoxEdit扩散管出口直径.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit扩散管出口直径.ShowAssistiveText = false;
                    mlTextBoxEdit扩散管出口直径.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdit隔舌圆角半径_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit隔舌圆角半径.Text) || double.Parse(mlTextBoxEdit隔舌圆角半径.Text) == 0)
            {
                mlTextBoxEdit隔舌圆角半径.Text = "请输入隔舌圆角半径";
            }
        }
        private void mlTextBoxEdit隔舌圆角半径_Enter(object sender, EventArgs e)
        {
            skyLabel隔舌圆角半径.Visible = false;
            mlTextBoxEdit隔舌圆角半径.TrailingIcon = null;
            if (mlTextBoxEdit隔舌圆角半径.Text == "请输入隔舌圆角半径")
            {
                mlTextBoxEdit隔舌圆角半径.Text = "";
            }
        }
        private void mlTextBoxEdit隔舌圆角半径_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit隔舌圆角半径.Text)
            {
                if (!double.TryParse(mlTextBoxEdit隔舌圆角半径.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit隔舌圆角半径.Text) && mlTextBoxEdit隔舌圆角半径.Text != "请输入隔舌圆角半径")
                {
                    mlTextBoxEdit隔舌圆角半径.UseAccent = true;
                    mlTextBoxEdit隔舌圆角半径.ShowAssistiveText = true;
                    mlTextBoxEdit隔舌圆角半径.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit隔舌圆角半径.ShowAssistiveText = false;
                    mlTextBoxEdit隔舌圆角半径.UseAccent = false;
                }
            }
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/sideCurveExitControl.resx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="metroToolTip侧面出口垂直.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>17, 17</value>
  </metadata>
</root>
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/sideLineExitControl.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,357 @@
using DPumpHydr.WinFrmUI.RLT.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DPumpHydr.WinFrmUI.Volute
{
    public partial class sidelineExitControl : UserControl
    {
        public sidelineExitControl()
        {
            InitializeComponent();
            BuildAllTips();
            BuildIcon();
        }
        private void BuildIcon()
        {
            //输入框前缀图片
            mlTextBoxEditR1.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEditR2.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdith1.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEditA.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEditL.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEditr.LeadingIcon = GlobalResource.GetLeadingIcon();
            mlTextBoxEdit扩散管出口直径.LeadingIcon = GlobalResource.GetLeadingIcon();
        }
        public bool Verify(out string error)
        {
            error = "";
            bool isOk = true;
            if (string.IsNullOrEmpty(mlTextBoxEditR1.Text) || mlTextBoxEditR1.Text == "请输入" || double.Parse(mlTextBoxEditR1.Text) == 0)
            {
                error = "请输入R1!";
                isOk = false;
                mlTextBoxEditR1.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelR1.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEditR2.Text) || mlTextBoxEditR2.Text == "请输入" || double.Parse(mlTextBoxEditR2.Text) == 0)
            {
                error = "请输入R2!";
                isOk = false;
                mlTextBoxEditR2.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelR2.Visible = true;
            }
            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(mlTextBoxEdith1.Text) || mlTextBoxEdith1.Text == "请输入" || double.Parse(mlTextBoxEdith1.Text) == 0)
            {
                error = "请输入h1!";
                isOk = false;
                mlTextBoxEdith1.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelh1.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEditA.Text) || mlTextBoxEditA.Text == "请输入" || double.Parse(mlTextBoxEditA.Text) == 0)
            {
                error = "请输入h2!";
                isOk = false;
                mlTextBoxEditA.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelA.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEditL.Text) || mlTextBoxEditL.Text == "请输入" || double.Parse(mlTextBoxEditL.Text) == 0)
            {
                error = "请输入L!";
                isOk = false;
                mlTextBoxEditL.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelL.Visible = true;
            }
            if (string.IsNullOrEmpty(mlTextBoxEditr.Text) || mlTextBoxEditr.Text == "请输入" || double.Parse(mlTextBoxEditr.Text) == 0)
            {
                error = "请输入r!";
                isOk = false;
                mlTextBoxEditr.TrailingIcon = GlobalResource.GetTipTrailingIcon();
                skyLabelr.Visible = true;
            }
            return isOk;
        }
        private void BuildAllTips()
        {
            metroToolTip侧面出口直线.SetToolTip(this.mlTextBoxEditR1, "R1");
            metroToolTip侧面出口直线.SetToolTip(this.mlTextBoxEditR2, "R2");
            metroToolTip侧面出口直线.SetToolTip(this.mlTextBoxEdith1, "h1");
            metroToolTip侧面出口直线.SetToolTip(this.mlTextBoxEditA, "A");
            metroToolTip侧面出口直线.SetToolTip(this.mlTextBoxEditL, "L");
            metroToolTip侧面出口直线.SetToolTip(this.mlTextBoxEditr, "r");
            metroToolTip侧面出口直线.SetToolTip(this.mlTextBoxEdit扩散管出口直径, "扩散管出口直径");
        }
        private void mlTextBoxEditR1_Enter(object sender, EventArgs e)
        {
            skyLabelR1.Visible = false;
            mlTextBoxEditR1.TrailingIcon = null;
            if (mlTextBoxEditR1.Text == "请输入")
            {
                mlTextBoxEditR1.Text = "";
            }
        }
        private void mlTextBoxEditR1_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditR1.Text) || double.Parse(mlTextBoxEditR1.Text) == 0)
            {
                mlTextBoxEditR1.Text = "请输入";
            }
        }
        private void mlTextBoxEditR1_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditR1.Text)
            {
                if (!double.TryParse(mlTextBoxEditR1.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditR1.Text) && mlTextBoxEditR1.Text != "请输入")
                {
                    mlTextBoxEditR1.UseAccent = true;
                    mlTextBoxEditR1.ShowAssistiveText = true;
                    mlTextBoxEditR1.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditR1.ShowAssistiveText = false;
                    mlTextBoxEditR1.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEditR2_Enter(object sender, EventArgs e)
        {
            skyLabelR2.Visible = false;
            mlTextBoxEditR2.TrailingIcon = null;
            if (mlTextBoxEditR2.Text == "请输入")
            {
                mlTextBoxEditR2.Text = "";
            }
        }
        private void mlTextBoxEditR2_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditR2.Text) || double.Parse(mlTextBoxEditR2.Text) == 0)
            {
                mlTextBoxEditR2.Text = "请输入";
            }
        }
        private void mlTextBoxEditR2_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditR2.Text)
            {
                if (!double.TryParse(mlTextBoxEditR2.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditR2.Text) && mlTextBoxEditR2.Text != "请输入")
                {
                    mlTextBoxEditR2.UseAccent = true;
                    mlTextBoxEditR2.ShowAssistiveText = true;
                    mlTextBoxEditR2.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditR2.ShowAssistiveText = false;
                    mlTextBoxEditR2.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdith1_Enter(object sender, EventArgs e)
        {
            skyLabelh1.Visible = false;
            mlTextBoxEdith1.TrailingIcon = null;
            if (mlTextBoxEdith1.Text == "请输入")
            {
                mlTextBoxEdith1.Text = "";
            }
        }
        private void mlTextBoxEdith1_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdith1.Text) || double.Parse(mlTextBoxEdith1.Text) == 0)
            {
                mlTextBoxEdith1.Text = "请输入";
            }
        }
        private void mlTextBoxEdith1_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdith1.Text)
            {
                if (!double.TryParse(mlTextBoxEdith1.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdith1.Text) && mlTextBoxEdith1.Text != "请输入")
                {
                    mlTextBoxEdith1.UseAccent = true;
                    mlTextBoxEdith1.ShowAssistiveText = true;
                    mlTextBoxEdith1.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdith1.ShowAssistiveText = false;
                    mlTextBoxEdith1.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEditA_Enter(object sender, EventArgs e)
        {
            skyLabelA.Visible = false;
            mlTextBoxEditA.TrailingIcon = null;
            if (mlTextBoxEditA.Text == "请输入")
            {
                mlTextBoxEditA.Text = "";
            }
        }
        private void mlTextBoxEditA_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditA.Text) || double.Parse(mlTextBoxEditA.Text) == 0)
            {
                mlTextBoxEditA.Text = "请输入";
            }
        }
        private void mlTextBoxEditA_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditA.Text)
            {
                if (!double.TryParse(mlTextBoxEditA.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditA.Text) && mlTextBoxEditA.Text != "请输入")
                {
                    mlTextBoxEditA.UseAccent = true;
                    mlTextBoxEditA.ShowAssistiveText = true;
                    mlTextBoxEditA.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditA.ShowAssistiveText = false;
                    mlTextBoxEditA.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEditL_Enter(object sender, EventArgs e)
        {
            skyLabelL.Visible = false;
            mlTextBoxEditL.TrailingIcon = null;
            if (mlTextBoxEditL.Text == "请输入")
            {
                mlTextBoxEditL.Text = "";
            }
        }
        private void mlTextBoxEditL_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditL.Text) || double.Parse(mlTextBoxEditL.Text) == 0)
            {
                mlTextBoxEditL.Text = "请输入";
            }
        }
        private void mlTextBoxEditL_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditL.Text)
            {
                if (!double.TryParse(mlTextBoxEditL.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditL.Text) && mlTextBoxEditL.Text != "请输入")
                {
                    mlTextBoxEditL.UseAccent = true;
                    mlTextBoxEditL.ShowAssistiveText = true;
                    mlTextBoxEditL.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditL.ShowAssistiveText = false;
                    mlTextBoxEditL.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEditr_Enter(object sender, EventArgs e)
        {
            skyLabelr.Visible = false;
            mlTextBoxEditr.TrailingIcon = null;
            if (mlTextBoxEditr.Text == "请输入")
            {
                mlTextBoxEditr.Text = "";
            }
        }
        private void mlTextBoxEditr_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEditr.Text) || double.Parse(mlTextBoxEditr.Text) == 0)
            {
                mlTextBoxEditr.Text = "请输入";
            }
        }
        private void mlTextBoxEditr_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEditr.Text)
            {
                if (!double.TryParse(mlTextBoxEditr.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditr.Text) && mlTextBoxEditr.Text != "请输入")
                {
                    mlTextBoxEditr.UseAccent = true;
                    mlTextBoxEditr.ShowAssistiveText = true;
                    mlTextBoxEditr.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEditr.ShowAssistiveText = false;
                    mlTextBoxEditr.UseAccent = false;
                }
            }
        }
        private void mlTextBoxEdit扩散管出口直径_Enter(object sender, EventArgs e)
        {
            skyLabel扩散管出口直径.Visible = false;
            mlTextBoxEdit扩散管出口直径.TrailingIcon = null;
            if (mlTextBoxEdit扩散管出口直径.Text == "请输入扩散管出口直径")
            {
                mlTextBoxEdit扩散管出口直径.Text = "";
            }
        }
        private void mlTextBoxEdit扩散管出口直径_Leave(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(mlTextBoxEdit扩散管出口直径.Text) || double.Parse(mlTextBoxEdit扩散管出口直径.Text) == 0)
            {
                mlTextBoxEdit扩散管出口直径.Text = "请输入扩散管出口直径";
            }
        }
        private void mlTextBoxEdit扩散管出口直径_TextChanged(object sender, EventArgs e)
        {
            foreach (var s in mlTextBoxEdit扩散管出口直径.Text)
            {
                if (!double.TryParse(mlTextBoxEdit扩散管出口直径.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit扩散管出口直径.Text) && mlTextBoxEdit扩散管出口直径.Text != "请输入扩散管出口直径")
                {
                    mlTextBoxEdit扩散管出口直径.UseAccent = true;
                    mlTextBoxEdit扩散管出口直径.ShowAssistiveText = true;
                    mlTextBoxEdit扩散管出口直径.Text = "";
                    break;
                }
                else
                {
                    mlTextBoxEdit扩散管出口直径.ShowAssistiveText = false;
                    mlTextBoxEdit扩散管出口直径.UseAccent = false;
                }
            }
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/sidelineExitControl.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,481 @@
namespace DPumpHydr.WinFrmUI.Volute
{
    partial class sidelineExitControl
    {
        /// <summary>
        /// å¿…需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// æ¸…理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region ç»„件设计器生成的代码
        /// <summary>
        /// è®¾è®¡å™¨æ”¯æŒæ‰€éœ€çš„æ–¹æ³• - ä¸è¦ä¿®æ”¹
        /// ä½¿ç”¨ä»£ç ç¼–辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            thunderGroupBox2 = new RLT.Controls.ThunderGroupBox();
            skyLabelr = new RLT.Controls.SkyLabel();
            mlTextBoxEditr = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelL = new RLT.Controls.SkyLabel();
            mlTextBoxEditL = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelA = new RLT.Controls.SkyLabel();
            mlTextBoxEditA = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelR2 = new RLT.Controls.SkyLabel();
            mlTextBoxEditR2 = new RLT.Controls.MaterialTextBoxEdit();
            skyLabel扩散管出口直径 = new RLT.Controls.SkyLabel();
            mlTextBoxEdit扩散管出口直径 = new RLT.Controls.MaterialTextBoxEdit();
            skyLabelh1 = new RLT.Controls.SkyLabel();
            skyLabelR1 = new RLT.Controls.SkyLabel();
            mlTextBoxEdith1 = new RLT.Controls.MaterialTextBoxEdit();
            mlTextBoxEditR1 = new RLT.Controls.MaterialTextBoxEdit();
            metroToolTip侧面出口直线 = new RLT.Controls.MetroToolTip();
            thunderGroupBox2.SuspendLayout();
            SuspendLayout();
            //
            // thunderGroupBox2
            //
            thunderGroupBox2.BackColor = System.Drawing.SystemColors.ControlLight;
            thunderGroupBox2.BodyColorA = System.Drawing.Color.Silver;
            thunderGroupBox2.BodyColorB = System.Drawing.Color.DarkGray;
            thunderGroupBox2.BodyColorC = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.BodyColorD = System.Drawing.SystemColors.ButtonFace;
            thunderGroupBox2.Controls.Add(skyLabelr);
            thunderGroupBox2.Controls.Add(mlTextBoxEditr);
            thunderGroupBox2.Controls.Add(skyLabelL);
            thunderGroupBox2.Controls.Add(mlTextBoxEditL);
            thunderGroupBox2.Controls.Add(skyLabelA);
            thunderGroupBox2.Controls.Add(mlTextBoxEditA);
            thunderGroupBox2.Controls.Add(skyLabelR2);
            thunderGroupBox2.Controls.Add(mlTextBoxEditR2);
            thunderGroupBox2.Controls.Add(skyLabel扩散管出口直径);
            thunderGroupBox2.Controls.Add(mlTextBoxEdit扩散管出口直径);
            thunderGroupBox2.Controls.Add(skyLabelh1);
            thunderGroupBox2.Controls.Add(skyLabelR1);
            thunderGroupBox2.Controls.Add(mlTextBoxEdith1);
            thunderGroupBox2.Controls.Add(mlTextBoxEditR1);
            thunderGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            thunderGroupBox2.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold);
            thunderGroupBox2.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox2.Location = new System.Drawing.Point(0, 0);
            thunderGroupBox2.Name = "thunderGroupBox2";
            thunderGroupBox2.Size = new System.Drawing.Size(325, 308);
            thunderGroupBox2.TabIndex = 31;
            thunderGroupBox2.Text = "输入参数";
            //
            // skyLabelr
            //
            skyLabelr.AutoSize = true;
            skyLabelr.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelr.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelr.Location = new System.Drawing.Point(164, 218);
            skyLabelr.Name = "skyLabelr";
            skyLabelr.Size = new System.Drawing.Size(46, 12);
            skyLabelr.TabIndex = 76;
            skyLabelr.Text = "请输入r!";
            skyLabelr.Visible = false;
            //
            // mlTextBoxEditr
            //
            mlTextBoxEditr.AnimateReadOnly = false;
            mlTextBoxEditr.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditr.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditr.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditr.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditr.Depth = 0;
            mlTextBoxEditr.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditr.HelperText = "输入错误!";
            mlTextBoxEditr.HideSelection = true;
            mlTextBoxEditr.Hint = "r";
            mlTextBoxEditr.LeadingIcon = null;
            mlTextBoxEditr.Location = new System.Drawing.Point(164, 167);
            mlTextBoxEditr.MaxLength = 32767;
            mlTextBoxEditr.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditr.Name = "mlTextBoxEditr";
            mlTextBoxEditr.NullValuePromptText = null;
            mlTextBoxEditr.PasswordChar = '\0';
            mlTextBoxEditr.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditr.PrefixSuffixText = "mm";
            mlTextBoxEditr.ReadOnly = false;
            mlTextBoxEditr.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditr.SelectedText = "";
            mlTextBoxEditr.SelectionLength = 0;
            mlTextBoxEditr.SelectionStart = 0;
            mlTextBoxEditr.ShortcutsEnabled = true;
            mlTextBoxEditr.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditr.TabIndex = 75;
            mlTextBoxEditr.TabStop = false;
            mlTextBoxEditr.Text = "请输入";
            mlTextBoxEditr.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditr.TrailingIcon = null;
            mlTextBoxEditr.UseAccent = false;
            mlTextBoxEditr.UseSystemPasswordChar = false;
            mlTextBoxEditr.Enter += mlTextBoxEditr_Enter;
            mlTextBoxEditr.Leave += mlTextBoxEditr_Leave;
            mlTextBoxEditr.TextChanged += mlTextBoxEditr_TextChanged;
            //
            // skyLabelL
            //
            skyLabelL.AutoSize = true;
            skyLabelL.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelL.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelL.Location = new System.Drawing.Point(13, 218);
            skyLabelL.Name = "skyLabelL";
            skyLabelL.Size = new System.Drawing.Size(48, 12);
            skyLabelL.TabIndex = 74;
            skyLabelL.Text = "请输入L!";
            skyLabelL.Visible = false;
            //
            // mlTextBoxEditL
            //
            mlTextBoxEditL.AnimateReadOnly = false;
            mlTextBoxEditL.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditL.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditL.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditL.Depth = 0;
            mlTextBoxEditL.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditL.HelperText = "输入错误!";
            mlTextBoxEditL.HideSelection = true;
            mlTextBoxEditL.Hint = "L";
            mlTextBoxEditL.LeadingIcon = null;
            mlTextBoxEditL.Location = new System.Drawing.Point(13, 167);
            mlTextBoxEditL.MaxLength = 32767;
            mlTextBoxEditL.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditL.Name = "mlTextBoxEditL";
            mlTextBoxEditL.NullValuePromptText = null;
            mlTextBoxEditL.PasswordChar = '\0';
            mlTextBoxEditL.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditL.PrefixSuffixText = "mm";
            mlTextBoxEditL.ReadOnly = false;
            mlTextBoxEditL.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditL.SelectedText = "";
            mlTextBoxEditL.SelectionLength = 0;
            mlTextBoxEditL.SelectionStart = 0;
            mlTextBoxEditL.ShortcutsEnabled = true;
            mlTextBoxEditL.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditL.TabIndex = 73;
            mlTextBoxEditL.TabStop = false;
            mlTextBoxEditL.Text = "请输入";
            mlTextBoxEditL.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditL.TrailingIcon = null;
            mlTextBoxEditL.UseAccent = false;
            mlTextBoxEditL.UseSystemPasswordChar = false;
            mlTextBoxEditL.Enter += mlTextBoxEditL_Enter;
            mlTextBoxEditL.Leave += mlTextBoxEditL_Leave;
            mlTextBoxEditL.TextChanged += mlTextBoxEditL_TextChanged;
            //
            // skyLabelA
            //
            skyLabelA.AutoSize = true;
            skyLabelA.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelA.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelA.Location = new System.Drawing.Point(164, 152);
            skyLabelA.Name = "skyLabelA";
            skyLabelA.Size = new System.Drawing.Size(48, 12);
            skyLabelA.TabIndex = 72;
            skyLabelA.Text = "请输入A!";
            skyLabelA.Visible = false;
            //
            // mlTextBoxEditA
            //
            mlTextBoxEditA.AnimateReadOnly = false;
            mlTextBoxEditA.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditA.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditA.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditA.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditA.Depth = 0;
            mlTextBoxEditA.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditA.HelperText = "输入错误!";
            mlTextBoxEditA.HideSelection = true;
            mlTextBoxEditA.Hint = "A";
            mlTextBoxEditA.LeadingIcon = null;
            mlTextBoxEditA.Location = new System.Drawing.Point(164, 101);
            mlTextBoxEditA.MaxLength = 32767;
            mlTextBoxEditA.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditA.Name = "mlTextBoxEditA";
            mlTextBoxEditA.NullValuePromptText = null;
            mlTextBoxEditA.PasswordChar = '\0';
            mlTextBoxEditA.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditA.PrefixSuffixText = "mm";
            mlTextBoxEditA.ReadOnly = false;
            mlTextBoxEditA.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditA.SelectedText = "";
            mlTextBoxEditA.SelectionLength = 0;
            mlTextBoxEditA.SelectionStart = 0;
            mlTextBoxEditA.ShortcutsEnabled = true;
            mlTextBoxEditA.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditA.TabIndex = 71;
            mlTextBoxEditA.TabStop = false;
            mlTextBoxEditA.Text = "请输入";
            mlTextBoxEditA.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditA.TrailingIcon = null;
            mlTextBoxEditA.UseAccent = false;
            mlTextBoxEditA.UseSystemPasswordChar = false;
            mlTextBoxEditA.Enter += mlTextBoxEditA_Enter;
            mlTextBoxEditA.Leave += mlTextBoxEditA_Leave;
            mlTextBoxEditA.TextChanged += mlTextBoxEditA_TextChanged;
            //
            // skyLabelR2
            //
            skyLabelR2.AutoSize = true;
            skyLabelR2.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelR2.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelR2.Location = new System.Drawing.Point(164, 86);
            skyLabelR2.Name = "skyLabelR2";
            skyLabelR2.Size = new System.Drawing.Size(55, 12);
            skyLabelR2.TabIndex = 70;
            skyLabelR2.Text = "请输入R2!";
            skyLabelR2.Visible = false;
            //
            // mlTextBoxEditR2
            //
            mlTextBoxEditR2.AnimateReadOnly = false;
            mlTextBoxEditR2.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditR2.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditR2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditR2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditR2.Depth = 0;
            mlTextBoxEditR2.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditR2.HelperText = "输入错误!";
            mlTextBoxEditR2.HideSelection = true;
            mlTextBoxEditR2.Hint = "R2";
            mlTextBoxEditR2.LeadingIcon = null;
            mlTextBoxEditR2.Location = new System.Drawing.Point(164, 35);
            mlTextBoxEditR2.MaxLength = 32767;
            mlTextBoxEditR2.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditR2.Name = "mlTextBoxEditR2";
            mlTextBoxEditR2.NullValuePromptText = null;
            mlTextBoxEditR2.PasswordChar = '\0';
            mlTextBoxEditR2.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditR2.PrefixSuffixText = "mm";
            mlTextBoxEditR2.ReadOnly = false;
            mlTextBoxEditR2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditR2.SelectedText = "";
            mlTextBoxEditR2.SelectionLength = 0;
            mlTextBoxEditR2.SelectionStart = 0;
            mlTextBoxEditR2.ShortcutsEnabled = true;
            mlTextBoxEditR2.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditR2.TabIndex = 69;
            mlTextBoxEditR2.TabStop = false;
            mlTextBoxEditR2.Text = "请输入";
            mlTextBoxEditR2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditR2.TrailingIcon = null;
            mlTextBoxEditR2.UseAccent = false;
            mlTextBoxEditR2.UseSystemPasswordChar = false;
            mlTextBoxEditR2.Enter += mlTextBoxEditR2_Enter;
            mlTextBoxEditR2.Leave += mlTextBoxEditR2_Leave;
            mlTextBoxEditR2.TextChanged += mlTextBoxEditR2_TextChanged;
            //
            // skyLabel扩散管出口直径
            //
            skyLabel扩散管出口直径.AutoSize = true;
            skyLabel扩散管出口直径.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabel扩散管出口直径.ForeColor = System.Drawing.Color.DeepPink;
            skyLabel扩散管出口直径.Location = new System.Drawing.Point(13, 284);
            skyLabel扩散管出口直径.Name = "skyLabel扩散管出口直径";
            skyLabel扩散管出口直径.Size = new System.Drawing.Size(119, 12);
            skyLabel扩散管出口直径.TabIndex = 68;
            skyLabel扩散管出口直径.Text = "请输入扩散管出口直径!";
            skyLabel扩散管出口直径.Visible = false;
            //
            // mlTextBoxEdit扩散管出口直径
            //
            mlTextBoxEdit扩散管出口直径.AnimateReadOnly = false;
            mlTextBoxEdit扩散管出口直径.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdit扩散管出口直径.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdit扩散管出口直径.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdit扩散管出口直径.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdit扩散管出口直径.Depth = 0;
            mlTextBoxEdit扩散管出口直径.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdit扩散管出口直径.HelperText = "请输入正确扩散管出口直径!";
            mlTextBoxEdit扩散管出口直径.HideSelection = true;
            mlTextBoxEdit扩散管出口直径.Hint = "扩散管出口直径D4";
            mlTextBoxEdit扩散管出口直径.LeadingIcon = null;
            mlTextBoxEdit扩散管出口直径.Location = new System.Drawing.Point(13, 233);
            mlTextBoxEdit扩散管出口直径.MaxLength = 32767;
            mlTextBoxEdit扩散管出口直径.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdit扩散管出口直径.Name = "mlTextBoxEdit扩散管出口直径";
            mlTextBoxEdit扩散管出口直径.NullValuePromptText = null;
            mlTextBoxEdit扩散管出口直径.PasswordChar = '\0';
            mlTextBoxEdit扩散管出口直径.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdit扩散管出口直径.PrefixSuffixText = "mm";
            mlTextBoxEdit扩散管出口直径.ReadOnly = false;
            mlTextBoxEdit扩散管出口直径.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdit扩散管出口直径.SelectedText = "";
            mlTextBoxEdit扩散管出口直径.SelectionLength = 0;
            mlTextBoxEdit扩散管出口直径.SelectionStart = 0;
            mlTextBoxEdit扩散管出口直径.ShortcutsEnabled = true;
            mlTextBoxEdit扩散管出口直径.Size = new System.Drawing.Size(296, 48);
            mlTextBoxEdit扩散管出口直径.TabIndex = 67;
            mlTextBoxEdit扩散管出口直径.TabStop = false;
            mlTextBoxEdit扩散管出口直径.Text = "请输入扩散管出口直径";
            mlTextBoxEdit扩散管出口直径.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdit扩散管出口直径.TrailingIcon = null;
            mlTextBoxEdit扩散管出口直径.UseAccent = false;
            mlTextBoxEdit扩散管出口直径.UseSystemPasswordChar = false;
            mlTextBoxEdit扩散管出口直径.Enter += mlTextBoxEdit扩散管出口直径_Enter;
            mlTextBoxEdit扩散管出口直径.Leave += mlTextBoxEdit扩散管出口直径_Leave;
            mlTextBoxEdit扩散管出口直径.TextChanged += mlTextBoxEdit扩散管出口直径_TextChanged;
            //
            // skyLabelh1
            //
            skyLabelh1.AutoSize = true;
            skyLabelh1.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelh1.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelh1.Location = new System.Drawing.Point(13, 152);
            skyLabelh1.Name = "skyLabelh1";
            skyLabelh1.Size = new System.Drawing.Size(54, 12);
            skyLabelh1.TabIndex = 66;
            skyLabelh1.Text = "请输入h1!";
            skyLabelh1.Visible = false;
            //
            // skyLabelR1
            //
            skyLabelR1.AutoSize = true;
            skyLabelR1.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelR1.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelR1.Location = new System.Drawing.Point(13, 86);
            skyLabelR1.Name = "skyLabelR1";
            skyLabelR1.Size = new System.Drawing.Size(55, 12);
            skyLabelR1.TabIndex = 65;
            skyLabelR1.Text = "请输入R1!";
            skyLabelR1.Visible = false;
            //
            // mlTextBoxEdith1
            //
            mlTextBoxEdith1.AnimateReadOnly = false;
            mlTextBoxEdith1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEdith1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEdith1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEdith1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEdith1.Depth = 0;
            mlTextBoxEdith1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEdith1.HelperText = "输入错误!";
            mlTextBoxEdith1.HideSelection = true;
            mlTextBoxEdith1.Hint = "h1";
            mlTextBoxEdith1.LeadingIcon = null;
            mlTextBoxEdith1.Location = new System.Drawing.Point(13, 101);
            mlTextBoxEdith1.MaxLength = 32767;
            mlTextBoxEdith1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEdith1.Name = "mlTextBoxEdith1";
            mlTextBoxEdith1.NullValuePromptText = null;
            mlTextBoxEdith1.PasswordChar = '\0';
            mlTextBoxEdith1.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEdith1.PrefixSuffixText = "mm";
            mlTextBoxEdith1.ReadOnly = false;
            mlTextBoxEdith1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEdith1.SelectedText = "";
            mlTextBoxEdith1.SelectionLength = 0;
            mlTextBoxEdith1.SelectionStart = 0;
            mlTextBoxEdith1.ShortcutsEnabled = true;
            mlTextBoxEdith1.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEdith1.TabIndex = 28;
            mlTextBoxEdith1.TabStop = false;
            mlTextBoxEdith1.Text = "请输入";
            mlTextBoxEdith1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEdith1.TrailingIcon = null;
            mlTextBoxEdith1.UseAccent = false;
            mlTextBoxEdith1.UseSystemPasswordChar = false;
            mlTextBoxEdith1.Enter += mlTextBoxEdith1_Enter;
            mlTextBoxEdith1.Leave += mlTextBoxEdith1_Leave;
            mlTextBoxEdith1.TextChanged += mlTextBoxEdith1_TextChanged;
            //
            // mlTextBoxEditR1
            //
            mlTextBoxEditR1.AnimateReadOnly = false;
            mlTextBoxEditR1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None;
            mlTextBoxEditR1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None;
            mlTextBoxEditR1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            mlTextBoxEditR1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            mlTextBoxEditR1.Depth = 0;
            mlTextBoxEditR1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
            mlTextBoxEditR1.HelperText = "输入错误!";
            mlTextBoxEditR1.HideSelection = true;
            mlTextBoxEditR1.Hint = "R1";
            mlTextBoxEditR1.LeadingIcon = null;
            mlTextBoxEditR1.Location = new System.Drawing.Point(13, 35);
            mlTextBoxEditR1.MaxLength = 32767;
            mlTextBoxEditR1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mlTextBoxEditR1.Name = "mlTextBoxEditR1";
            mlTextBoxEditR1.NullValuePromptText = null;
            mlTextBoxEditR1.PasswordChar = '\0';
            mlTextBoxEditR1.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix;
            mlTextBoxEditR1.PrefixSuffixText = "mm";
            mlTextBoxEditR1.ReadOnly = false;
            mlTextBoxEditR1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            mlTextBoxEditR1.SelectedText = "";
            mlTextBoxEditR1.SelectionLength = 0;
            mlTextBoxEditR1.SelectionStart = 0;
            mlTextBoxEditR1.ShortcutsEnabled = true;
            mlTextBoxEditR1.Size = new System.Drawing.Size(145, 48);
            mlTextBoxEditR1.TabIndex = 27;
            mlTextBoxEditR1.TabStop = false;
            mlTextBoxEditR1.Text = "请输入";
            mlTextBoxEditR1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
            mlTextBoxEditR1.TrailingIcon = null;
            mlTextBoxEditR1.UseAccent = false;
            mlTextBoxEditR1.UseSystemPasswordChar = false;
            mlTextBoxEditR1.Enter += mlTextBoxEditR1_Enter;
            mlTextBoxEditR1.Leave += mlTextBoxEditR1_Leave;
            mlTextBoxEditR1.TextChanged += mlTextBoxEditR1_TextChanged;
            //
            // metroToolTip侧面出口直线
            //
            metroToolTip侧面出口直线.BackColor = System.Drawing.Color.White;
            metroToolTip侧面出口直线.BorderColor = System.Drawing.Color.FromArgb(204, 204, 204);
            metroToolTip侧面出口直线.ForeColor = System.Drawing.Color.FromArgb(170, 170, 170);
            metroToolTip侧面出口直线.IsDerivedStyle = true;
            metroToolTip侧面出口直线.OwnerDraw = true;
            metroToolTip侧面出口直线.Style = RLT.Enum.Metro.Style.Light;
            metroToolTip侧面出口直线.StyleManager = null;
            metroToolTip侧面出口直线.ThemeAuthor = "Taiizor";
            metroToolTip侧面出口直线.ThemeName = "MetroLight";
            //
            // sidelineExitControl
            //
            AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            BackColor = System.Drawing.SystemColors.ControlLight;
            Controls.Add(thunderGroupBox2);
            Name = "sidelineExitControl";
            Size = new System.Drawing.Size(325, 308);
            thunderGroupBox2.ResumeLayout(false);
            thunderGroupBox2.PerformLayout();
            ResumeLayout(false);
        }
        #endregion
        private RLT.Controls.ThunderGroupBox thunderGroupBox2;
        private RLT.Controls.SkyLabel skyLabelr;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditr;
        private RLT.Controls.SkyLabel skyLabelL;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditL;
        private RLT.Controls.SkyLabel skyLabelA;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditA;
        private RLT.Controls.SkyLabel skyLabelR2;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditR2;
        private RLT.Controls.SkyLabel skyLabel扩散管出口直径;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit扩散管出口直径;
        private RLT.Controls.SkyLabel skyLabelh1;
        private RLT.Controls.SkyLabel skyLabelR1;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdith1;
        private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditR1;
        private RLT.Controls.MetroToolTip metroToolTip侧面出口直线;
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/³öË®Éè¼Æ/sidelineExitControl.resx
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Version 2.0
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
    Example:
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
    There are any number of "resheader" rows that contain simple
    name/value pairs.
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <metadata name="metroToolTip侧面出口直线.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    <value>17, 17</value>
  </metadata>
</root>
WinFrmUI/DPumpHydr.WinFrmUI.Volute/»ù±¾²ÎÊý/ctrlGeomBaseInfo.Designer.cs
@@ -108,7 +108,7 @@
            thunderGroupBox1.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox1.Location = new System.Drawing.Point(3, 83);
            thunderGroupBox1.Name = "thunderGroupBox1";
            thunderGroupBox1.Size = new System.Drawing.Size(256, 166);
            thunderGroupBox1.Size = new System.Drawing.Size(312, 166);
            thunderGroupBox1.TabIndex = 19;
            thunderGroupBox1.Text = "参数";
            // 
@@ -162,7 +162,7 @@
            mTextBoxEdit速度系数.SelectionLength = 0;
            mTextBoxEdit速度系数.SelectionStart = 0;
            mTextBoxEdit速度系数.ShortcutsEnabled = true;
            mTextBoxEdit速度系数.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit速度系数.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit速度系数.TabIndex = 5;
            mTextBoxEdit速度系数.TabStop = false;
            mTextBoxEdit速度系数.Text = "请输入速度系数";
@@ -200,7 +200,7 @@
            mTextBoxEdit基圆直径.SelectionLength = 0;
            mTextBoxEdit基圆直径.SelectionStart = 0;
            mTextBoxEdit基圆直径.ShortcutsEnabled = true;
            mTextBoxEdit基圆直径.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit基圆直径.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit基圆直径.TabIndex = 4;
            mTextBoxEdit基圆直径.TabStop = false;
            mTextBoxEdit基圆直径.Text = "请输入基圆直径";
@@ -231,7 +231,7 @@
            thunderGroupBox2.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox2.Location = new System.Drawing.Point(4, 255);
            thunderGroupBox2.Name = "thunderGroupBox2";
            thunderGroupBox2.Size = new System.Drawing.Size(256, 144);
            thunderGroupBox2.Size = new System.Drawing.Size(312, 144);
            thunderGroupBox2.TabIndex = 20;
            thunderGroupBox2.Text = "基圆宽度";
            // 
@@ -277,7 +277,7 @@
            crownLabelmax基圆宽度1.BackColor = System.Drawing.SystemColors.Control;
            crownLabelmax基圆宽度1.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold);
            crownLabelmax基圆宽度1.ForeColor = System.Drawing.Color.Black;
            crownLabelmax基圆宽度1.Location = new System.Drawing.Point(202, 98);
            crownLabelmax基圆宽度1.Location = new System.Drawing.Point(256, 98);
            crownLabelmax基圆宽度1.Name = "crownLabelmax基圆宽度1";
            crownLabelmax基圆宽度1.Size = new System.Drawing.Size(38, 16);
            crownLabelmax基圆宽度1.TabIndex = 22;
@@ -321,7 +321,7 @@
            metroTrackBar基圆宽度.Maximum = 4900;
            metroTrackBar基圆宽度.Minimum = 1540;
            metroTrackBar基圆宽度.Name = "metroTrackBar基圆宽度";
            metroTrackBar基圆宽度.Size = new System.Drawing.Size(143, 16);
            metroTrackBar基圆宽度.Size = new System.Drawing.Size(187, 16);
            metroTrackBar基圆宽度.Style = RLT.Enum.Metro.Style.Light;
            metroTrackBar基圆宽度.StyleManager = null;
            metroTrackBar基圆宽度.TabIndex = 9;
@@ -358,7 +358,7 @@
            mTextBoxEdit基圆宽度.SelectionLength = 0;
            mTextBoxEdit基圆宽度.SelectionStart = 0;
            mTextBoxEdit基圆宽度.ShortcutsEnabled = true;
            mTextBoxEdit基圆宽度.Size = new System.Drawing.Size(226, 48);
            mTextBoxEdit基圆宽度.Size = new System.Drawing.Size(280, 48);
            mTextBoxEdit基圆宽度.TabIndex = 5;
            mTextBoxEdit基圆宽度.TabStop = false;
            mTextBoxEdit基圆宽度.Text = "请输入基圆宽度";
@@ -376,7 +376,7 @@
            crownLabelmax隔舌安放角1.BackColor = System.Drawing.SystemColors.Control;
            crownLabelmax隔舌安放角1.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold);
            crownLabelmax隔舌安放角1.ForeColor = System.Drawing.Color.Black;
            crownLabelmax隔舌安放角1.Location = new System.Drawing.Point(202, 98);
            crownLabelmax隔舌安放角1.Location = new System.Drawing.Point(257, 98);
            crownLabelmax隔舌安放角1.Name = "crownLabelmax隔舌安放角1";
            crownLabelmax隔舌安放角1.Size = new System.Drawing.Size(38, 16);
            crownLabelmax隔舌安放角1.TabIndex = 24;
@@ -420,7 +420,7 @@
            metroTrackBar隔舌安放角.Maximum = 3000;
            metroTrackBar隔舌安放角.Minimum = 2500;
            metroTrackBar隔舌安放角.Name = "metroTrackBar隔舌安放角";
            metroTrackBar隔舌安放角.Size = new System.Drawing.Size(143, 16);
            metroTrackBar隔舌安放角.Size = new System.Drawing.Size(187, 16);
            metroTrackBar隔舌安放角.Style = RLT.Enum.Metro.Style.Light;
            metroTrackBar隔舌安放角.StyleManager = null;
            metroTrackBar隔舌安放角.TabIndex = 8;
@@ -457,7 +457,7 @@
            mTextBoxEdit隔舌安放角.SelectionLength = 0;
            mTextBoxEdit隔舌安放角.SelectionStart = 0;
            mTextBoxEdit隔舌安放角.ShortcutsEnabled = true;
            mTextBoxEdit隔舌安放角.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit隔舌安放角.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit隔舌安放角.TabIndex = 4;
            mTextBoxEdit隔舌安放角.TabStop = false;
            mTextBoxEdit隔舌安放角.Text = "请输入隔舌安放角";
@@ -488,7 +488,7 @@
            thunderGroupBox3.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox3.Location = new System.Drawing.Point(4, 405);
            thunderGroupBox3.Name = "thunderGroupBox3";
            thunderGroupBox3.Size = new System.Drawing.Size(256, 143);
            thunderGroupBox3.Size = new System.Drawing.Size(312, 143);
            thunderGroupBox3.TabIndex = 21;
            thunderGroupBox3.Text = "隔舌安放角";
            // 
@@ -553,7 +553,7 @@
            Controls.Add(crownLabel4);
            Margin = new System.Windows.Forms.Padding(4);
            Name = "ctrlGeomBaseInfo";
            Size = new System.Drawing.Size(263, 553);
            Size = new System.Drawing.Size(325, 553);
            thunderGroupBox1.ResumeLayout(false);
            thunderGroupBox1.PerformLayout();
            thunderGroupBox2.ResumeLayout(false);
WinFrmUI/DPumpHydr.WinFrmUI.Volute/»ù±¾²ÎÊý/ctrlHdrBaseInfo.Designer.cs
@@ -70,7 +70,7 @@
            thunderGroupBox3.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox3.Location = new System.Drawing.Point(7, 432);
            thunderGroupBox3.Name = "thunderGroupBox3";
            thunderGroupBox3.Size = new System.Drawing.Size(256, 169);
            thunderGroupBox3.Size = new System.Drawing.Size(310, 169);
            thunderGroupBox3.TabIndex = 18;
            thunderGroupBox3.Text = "叶轮几何参数";
            // 
@@ -124,7 +124,7 @@
            mTextBoxEdit出口宽度.SelectionLength = 0;
            mTextBoxEdit出口宽度.SelectionStart = 0;
            mTextBoxEdit出口宽度.ShortcutsEnabled = true;
            mTextBoxEdit出口宽度.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit出口宽度.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit出口宽度.TabIndex = 5;
            mTextBoxEdit出口宽度.TabStop = false;
            mTextBoxEdit出口宽度.Text = "请输入出口宽度";
@@ -162,7 +162,7 @@
            mTextBoxEdit出口直径.SelectionLength = 0;
            mTextBoxEdit出口直径.SelectionStart = 0;
            mTextBoxEdit出口直径.ShortcutsEnabled = true;
            mTextBoxEdit出口直径.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit出口直径.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit出口直径.TabIndex = 4;
            mTextBoxEdit出口直径.TabStop = false;
            mTextBoxEdit出口直径.Text = "请输入出口直径";
@@ -193,7 +193,7 @@
            thunderGroupBox2.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox2.Location = new System.Drawing.Point(7, 166);
            thunderGroupBox2.Name = "thunderGroupBox2";
            thunderGroupBox2.Size = new System.Drawing.Size(256, 260);
            thunderGroupBox2.Size = new System.Drawing.Size(310, 260);
            thunderGroupBox2.TabIndex = 17;
            thunderGroupBox2.Text = "设计参数";
            // 
@@ -259,7 +259,7 @@
            mTextBoxEdit扬程.SelectionLength = 0;
            mTextBoxEdit扬程.SelectionStart = 0;
            mTextBoxEdit扬程.ShortcutsEnabled = true;
            mTextBoxEdit扬程.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit扬程.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit扬程.TabIndex = 4;
            mTextBoxEdit扬程.TabStop = false;
            mTextBoxEdit扬程.Text = "请输入扬程";
@@ -317,7 +317,7 @@
            mTextBoxEdit转速.SelectionLength = 0;
            mTextBoxEdit转速.SelectionStart = 0;
            mTextBoxEdit转速.ShortcutsEnabled = true;
            mTextBoxEdit转速.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit转速.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit转速.TabIndex = 5;
            mTextBoxEdit转速.TabStop = false;
            mTextBoxEdit转速.Text = "请输入转速";
@@ -356,7 +356,7 @@
            mTextBoxEdit总流量.SelectionLength = 0;
            mTextBoxEdit总流量.SelectionStart = 0;
            mTextBoxEdit总流量.ShortcutsEnabled = true;
            mTextBoxEdit总流量.Size = new System.Drawing.Size(227, 48);
            mTextBoxEdit总流量.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdit总流量.TabIndex = 3;
            mTextBoxEdit总流量.TabStop = false;
            mTextBoxEdit总流量.Text = "请输入总流量";
@@ -384,7 +384,7 @@
            thunderGroupBox1.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox1.Location = new System.Drawing.Point(7, 40);
            thunderGroupBox1.Name = "thunderGroupBox1";
            thunderGroupBox1.Size = new System.Drawing.Size(256, 100);
            thunderGroupBox1.Size = new System.Drawing.Size(310, 100);
            thunderGroupBox1.TabIndex = 16;
            thunderGroupBox1.Text = "类型";
            // 
@@ -401,7 +401,7 @@
            RBtn准螺旋型.Enabled = false;
            RBtn准螺旋型.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold);
            RBtn准螺旋型.ForeColor = System.Drawing.Color.FromArgb(40, 40, 40);
            RBtn准螺旋型.Location = new System.Drawing.Point(123, 70);
            RBtn准螺旋型.Location = new System.Drawing.Point(157, 70);
            RBtn准螺旋型.Name = "RBtn准螺旋型";
            RBtn准螺旋型.Size = new System.Drawing.Size(133, 16);
            RBtn准螺旋型.SmoothingType = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
@@ -443,7 +443,7 @@
            RBtn双蜗壳型.Enabled = false;
            RBtn双蜗壳型.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 10F, System.Drawing.FontStyle.Bold);
            RBtn双蜗壳型.ForeColor = System.Drawing.Color.FromArgb(40, 40, 40);
            RBtn双蜗壳型.Location = new System.Drawing.Point(123, 39);
            RBtn双蜗壳型.Location = new System.Drawing.Point(157, 39);
            RBtn双蜗壳型.Name = "RBtn双蜗壳型";
            RBtn双蜗壳型.Size = new System.Drawing.Size(133, 16);
            RBtn双蜗壳型.SmoothingType = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
@@ -528,7 +528,7 @@
            Controls.Add(crownLabel4);
            Margin = new System.Windows.Forms.Padding(4);
            Name = "ctrlHdrBaseInfo";
            Size = new System.Drawing.Size(271, 601);
            Size = new System.Drawing.Size(325, 601);
            thunderGroupBox3.ResumeLayout(false);
            thunderGroupBox3.PerformLayout();
            thunderGroupBox2.ResumeLayout(false);
WinFrmUI/DPumpHydr.WinFrmUI.Volute/»ù±¾²ÎÊý/ctrlHdrBaseInfo.resx
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Microsoft ResX Schema
    Version 2.0
@@ -48,7 +48,7 @@
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
WinFrmUI/DPumpHydr.WinFrmUI.Volute/½ØÃæÃæ»ý/ChartSectArea.cs
@@ -1,4 +1,5 @@
using System;
using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -14,22 +15,23 @@
    {
        public ChartSectArea()
        {
            Section sect1 = new Section() { SectIndex = 1, Name = "1", Area = 300 };
            Section sect2 = new Section() { SectIndex = 2, Name = "2", Area = 200 };
            Section sect3 = new Section() { SectIndex = 3, Name = "3", Area = 320 };
            Section sect4 = new Section() { SectIndex = 4, Name = "4", Area = 460 };
            Section sect5 = new Section() { SectIndex = 5 , Name = "5", Area = 110 };
            Section sect6 = new Section() { SectIndex = 6, Name = "6", Area = 608 };
            Section sect7 = new Section() { SectIndex = 7 , Name = "7", Area = 708 };
            Section sect8 = new Section() { SectIndex = 8, Name = "8", Area = 819 };
            _allSection = new List<Section> { sect1, sect2, sect3, sect4, sect5, sect6, sect7, sect8 };
            var areaMaxValue = (from x in _allSection select x.Area).Max();
            var areaMinValue = (from x in _allSection select x.Area).Min();
            _areaAxisRange.CoordMin = areaMinValue/2;
            _areaAxisRange.CoordMax = areaMaxValue * 1.2;
            if (_allSection == null)
            {
                Section sect0 = new Section() { SectIndex = 0, Name = "0", Area = 0 };
                Section sect1 = new Section() { SectIndex = 1, Name = "1", Area = 0 };
                Section sect2 = new Section() { SectIndex = 2, Name = "2", Area = 0 };
                Section sect3 = new Section() { SectIndex = 3, Name = "3", Area = 0 };
                Section sect4 = new Section() { SectIndex = 4, Name = "4", Area = 0 };
                Section sect5 = new Section() { SectIndex = 5, Name = "5", Area = 0 };
                Section sect6 = new Section() { SectIndex = 6, Name = "6", Area = 0 };
                Section sect7 = new Section() { SectIndex = 7, Name = "7", Area = 0 };
                Section sect8 = new Section() { SectIndex = 8, Name = "8", Area = 0 };
                _allSection = new List<Section> { sect0, sect1, sect2, sect3, sect4, sect5, sect6, sect7, sect8 };
            }
        }
        class Section
       public class Section
        {
            public int SectIndex { get;set; }
            public string Name { get; set; }
@@ -43,11 +45,57 @@
        }
        internal float CalcAreaPixelPt(double area)
        {
            var areaMaxValue = (from x in _allSection select x.Area).Max();
            var areaMinValue = (from x in _allSection select x.Area).Min();
            _areaAxisRange.CoordMin = Math.Ceiling(areaMinValue / 2);
            _areaAxisRange.CoordMax = Math.Ceiling(areaMaxValue * 1.4);
            var y = this._diagram_padding_top + this._diagram_padding_top + (_areaAxisRange.CoordMax - area) * (this._diagram_height - _diagram_padding_top - _diagram_padding_bottom) /(_areaAxisRange.CoordMax - _areaAxisRange.CoordMin);
            return Convert.ToSingle( y );
        }
        public void RefreshControl()
        {
            _selectedPointIndex = -1;
            this.Invalidate();
            this.Refresh();
        }
        List<Section> _allSection;
        int _current_section = -1;
        public void SetBindingData(ViewModel.SectionShapePara para)
        {
            _allSection[para.Index].Area = para.SectionArea;
            _current_section = para.Index;
            this.Invalidate();
            this.Refresh();
        }
        public void SetBindingData( List<double> sections)
        {
            if(_selectedPointIndex != -1)
            {
                _allSection[_selectedPointIndex].Area = sections[_selectedPointIndex];
            }
            else
            {
                int i = 0;
                foreach (var allSection in _allSection)
                {
                    allSection.Area = sections[i];
                    i++;
                }
            }
            this.Invalidate();
            this.Refresh();
        }
        public List<double> GetBindingData()
        {
            List<double> sections = new List<double> ();
            foreach (var allSection in _allSection)
            {
                sections.Add(allSection.Area);
            }
            return sections;
        }
        AreaAxisRange _areaAxisRange = new AreaAxisRange();
        /// <summary>
        /// 
@@ -57,7 +105,6 @@
        {
            base.OnPaint(e);
            _diagram_width = this.Width - this._diagram_margin_left- this._diagram_margin_right;
            _diagram_height = this.Height - this._diagram_margin_top - this._diagram_margin_bottom;
            if(_diagram_height<=0 || _diagram_width <= 10)
@@ -65,7 +112,7 @@
                return;
            }
            _diagram_leftTopPoint.X = this._diagram_margin_left;
            _diagram_leftTopPoint.Y = this._diagram_margin_top;
            _diagram_leftTopPoint.Y = this._diagram_margin_top - 10;
            _diagram_leftBottomPoint.X = this._diagram_margin_left;
            _diagram_leftBottomPoint.Y = this._diagram_margin_top + _diagram_height;
@@ -78,7 +125,10 @@
            Graphics g = e.Graphics;
            if (_allSection.Any(sect => sect.Area == 0))
            {
                return;
            }
            DrawAxisX(g);
            DrawAxisY(g);
            DrawDiagram(g);
@@ -103,7 +153,7 @@
        float _diagram_width = 0;
        float _diagram_height = 0;
        float _diagram_margin_left = 40;
        float _diagram_margin_left = 60;
        float _diagram_margin_right = 40;
        float _diagram_margin_top = 20;
        float _diagram_margin_bottom = 30;
@@ -122,18 +172,18 @@
            sf.Alignment = StringAlignment.Center;
            sf.LineAlignment = StringAlignment.Near;
            var sect_count = _allSection.Count;
            float space_width = (this._diagram_width - _diagram_padding_left - _diagram_padding_right) / (sect_count - 1);
            var sect_count = _allSection.Count ;
            float space_width = (this._diagram_width - 20 - _diagram_padding_left - _diagram_padding_right) / (sect_count - 2);
            //刻度 tickmark
            using (SolidBrush brushText = new SolidBrush(Color.Red))
            using (Font fontText = new Font("Courier New", 11))
            using (Pen penAxisBase = new Pen(_tickmarkColorX, 2f))
            {
                for (int i = 0; i < sect_count; i++)
                for (int i = 1; i < sect_count; i++)
                {
                    var sect = _allSection[i];
                    var x = this._diagram_leftBottomPoint.X + _diagram_padding_left + i * space_width;
                    var x = this._diagram_leftBottomPoint.X + _diagram_padding_left +( i - 1 )* space_width;
                    g.DrawLine(penAxisBase, new PointF(x, _diagram_leftBottomPoint.Y), new PointF(x, _diagram_leftBottomPoint.Y + _tickmarkLengthX));
               
                    g.DrawString(sect.Name, fontText, brushText, new PointF(x, _diagram_leftBottomPoint.Y + _tickmarkLengthX + 5), sf);
@@ -141,36 +191,151 @@
                //基线
                g.DrawLine(penAxisBase, _diagram_leftBottomPoint, _diagram_rightBottomPoint);
                // æ·»åŠ ç®­å¤´
                float arrowLength = 10f; // ç®­å¤´çš„长度
                float arrowWidth = 5f; // ç®­å¤´çš„宽度
                PointF arrowBase = new PointF(_diagram_rightBottomPoint.X, _diagram_rightBottomPoint.Y);
                PointF arrowTip = new PointF(_diagram_rightBottomPoint.X - arrowLength, _diagram_rightBottomPoint.Y);
                g.DrawLine(penAxisBase, arrowBase, arrowTip); // ç»˜åˆ¶ç®­å¤´çš„主体
                g.DrawLine(penAxisBase, new PointF(arrowTip.X, arrowTip.Y - arrowWidth), new PointF(arrowBase.X, arrowBase.Y)); // ç»˜åˆ¶ç®­å¤´çš„左翼
                g.DrawLine(penAxisBase, new PointF(arrowTip.X, arrowTip.Y + arrowWidth), new PointF(arrowBase.X, arrowBase.Y)); // ç»˜åˆ¶ç®­å¤´çš„右翼
                // æ·»åŠ å•ä½ m³
                string unitText = "断面";
                PointF unitPosition = new PointF(_diagram_rightBottomPoint.X - arrowLength + 30, _diagram_leftBottomPoint.Y -5);
                g.DrawString(unitText, fontText, brushText, unitPosition, sf);
            } 
        }
        private void DrawAxisY(Graphics g)
        {
            StringFormat sf = new StringFormat();
            sf.Alignment = StringAlignment.Center;
            sf.LineAlignment = StringAlignment.Near;
            var max = ((int)(Math.Ceiling(_allSection.Max(sect => sect.Area) * 1.1) / 10) + 1) * 10;
            var min =(int)(Math.Ceiling(_allSection.Min(sect => sect.Area) / 2) / 10) * 10;
            var median = (max + min) / 2;
            var max_scale = CalcAreaPixelPt(max);
            var min_scale = CalcAreaPixelPt(min);
            var median_scale = (max_scale + min_scale) / 2;
            using (SolidBrush brushText = new SolidBrush(Color.Red))
            using (Font fontText = new Font("Courier New", 9))
            using (Pen penCurve = new Pen(Color.Blue, 2f))
            {
                g.DrawLine(penCurve, _diagram_leftBottomPoint, _diagram_leftTopPoint);
                g.DrawLine(penCurve, new PointF(this._diagram_leftBottomPoint.X, max_scale), new PointF(this._diagram_leftBottomPoint.X - _tickmarkLengthX, max_scale));
                g.DrawLine(penCurve, new PointF(this._diagram_leftBottomPoint.X, min_scale), new PointF(this._diagram_leftBottomPoint.X - _tickmarkLengthX, min_scale));
                g.DrawLine(penCurve, new PointF(this._diagram_leftBottomPoint.X, median_scale), new PointF(this._diagram_leftBottomPoint.X - _tickmarkLengthX, median_scale));
                g.DrawLine(penCurve, _diagram_leftBottomPoint, _diagram_leftTopPoint  );
                // æ·»åŠ y轴末尾的箭头
                float arrowLength = 10f; // ç®­å¤´çš„长度
                float arrowWidth = 5f; // ç®­å¤´çš„宽度
                PointF arrowBase = new PointF(this._diagram_leftBottomPoint.X, _diagram_leftTopPoint.Y );
                PointF arrowTip = new PointF(this._diagram_leftBottomPoint.X, this._diagram_leftTopPoint.Y + arrowLength );
                g.DrawLine(penCurve, arrowBase, arrowTip); // ç»˜åˆ¶ç®­å¤´çš„主体
                g.DrawLine(penCurve, new PointF(arrowTip.X - arrowWidth, arrowTip.Y), new PointF(arrowBase.X, arrowBase.Y )); // ç»˜åˆ¶ç®­å¤´çš„左翼
                g.DrawLine(penCurve, new PointF(arrowTip.X + arrowWidth, arrowTip.Y), new PointF(arrowBase.X - 1, arrowBase.Y )); // ç»˜åˆ¶ç®­å¤´çš„右翼
                string unit_text = "mm³";
                PointF unit_position = new PointF(_diagram_leftBottomPoint.X - 20, _diagram_leftTopPoint.Y - 10);
                PointF max_scale_position = new PointF(_diagram_leftBottomPoint.X - 25, max_scale -8);
                PointF min_scale_position = new PointF(_diagram_leftBottomPoint.X - 25, min_scale - 8);
                PointF median_scale_position = new PointF(_diagram_leftBottomPoint.X - 25, median_scale - 8);
                g.DrawString(unit_text, fontText, brushText, unit_position, sf);
                g.DrawString(max.ToString(), fontText, brushText, max_scale_position, sf);
                g.DrawString(min.ToString(), fontText, brushText, min_scale_position, sf);
                g.DrawString(median.ToString(), fontText, brushText, median_scale_position, sf);
            }
            using (Pen penCurve = new Pen(Color.Gray, 1f))
            {
                penCurve.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
                float width = this._diagram_width - _diagram_padding_left - _diagram_padding_right;
                g.DrawLine(penCurve, new PointF(this._diagram_leftBottomPoint.X, max_scale), new PointF(this._diagram_leftBottomPoint.X + width, max_scale));
                g.DrawLine(penCurve, new PointF(this._diagram_leftBottomPoint.X, min_scale), new PointF(this._diagram_leftBottomPoint.X + width, min_scale));
                g.DrawLine(penCurve, new PointF(this._diagram_leftBottomPoint.X, median_scale), new PointF(this._diagram_leftBottomPoint.X + width, median_scale));
            }
        }
        List<PointF> _lines = new List<PointF>();
        int _selectedPointIndex = -1;
        private void DrawDiagram(Graphics g)
        {
            using (Pen penCurve = new Pen(Color.Red, 2f))
            using (SolidBrush penBrush = new SolidBrush(Color.Black))
            { 
                var sect_count = _allSection.Count;
                float space_width = (this._diagram_width - _diagram_padding_left - _diagram_padding_right) / (sect_count - 1);
                float space_width = (this._diagram_width - 20 - _diagram_padding_left - _diagram_padding_right) / (sect_count - 2);
                List<PointF> lines = new List<PointF>();
                PointF pt = new PointF();
                for (int i = 0; i < sect_count; i++)
                {
                    if (i == 0)
                    {
                        pt.X = 0;
                        pt.Y = 0;
                        lines.Add(pt);
                        continue;
                    }
                    var sect = _allSection[i];
                    PointF pt = new PointF();
                    pt.X = this._diagram_leftBottomPoint.X + _diagram_padding_left + i * space_width;
                    pt.X = this._diagram_leftBottomPoint.X + _diagram_padding_left + (i - 1) * space_width;
                    pt.Y = this.CalcAreaPixelPt(sect.Area);
                    g.FillEllipse(penBrush, pt.X - 4f, pt.Y - 4f, 8, 8);
                    lines.Add(pt);
                    if(_selectedPointIndex != -1)
                    {
                        if(i == _selectedPointIndex)
                        {
                            g.FillEllipse(new SolidBrush(Color.Blue), pt.X - 4f, pt.Y - 4f, 8, 8);
                            lines.Add(pt);
                            continue;
                        }
                        else
                        {
                            g.FillEllipse(new SolidBrush(Color.LightGray), pt.X - 4f, pt.Y - 4f, 8, 8);
                            lines.Add(pt);
                        }
                    }
                    else
                    {
                        g.FillEllipse(penBrush, pt.X - 4f, pt.Y - 4f, 8, 8);
                        lines.Add(pt);
                    }
                }
                List<PointF> linesWithoutFirst = new List<PointF>(lines.Skip(1).ToList());
                g.DrawCurve(penCurve, lines.ToArray());
                g.DrawCurve(penCurve, linesWithoutFirst.ToArray());
                _lines = lines;
            }
            //
        }
        public int Judgment_point(double X , double Y)
        {
            _selectedPointIndex = -1;
            _selectedPointIndex += 1;
            if(_current_section != -1)
            {
                if (X > _lines[_current_section].X - 5 && X < _lines[_current_section].X + 5 && Y > _lines[_current_section].Y - 5 && Y < _lines[_current_section].Y + 5)
                {
                    _selectedPointIndex = _current_section;
                    this.Invalidate();
                    this.Refresh();
                    return _selectedPointIndex;
                }
                else
                {
                    _selectedPointIndex = -1;
                    this.Invalidate();
                    this.Refresh();
                    return _selectedPointIndex ;
                }
            }
            foreach (var line in _lines)
            {
                if (X>line.X - 5 && X <line.X + 5 && Y > line.Y -5 && Y < line.Y + 5)
                {
                    this.Invalidate();
                    this.Refresh();
                    return _selectedPointIndex;
                }
                _selectedPointIndex++;
            }
            return _selectedPointIndex = -1;
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/½ØÃæÃæ»ý/SectAreaDockPanel.Designer.cs
@@ -33,17 +33,17 @@
            chart = new ChartSectArea();
            SuspendLayout();
            // 
            // lstConsole
            // chart
            // 
            chart.Dock = System.Windows.Forms.DockStyle.Fill;
            chart.Location = new System.Drawing.Point(0, 25);
            chart.Name = "lstConsole";
            chart.Name = "chart";
            chart.Size = new System.Drawing.Size(500, 175);
            chart.TabIndex = 0;
            chart.Text = "ChartSectArea";
            chart.KeyDown += chart_KeyDown;
            chart.MouseClick += chart_MouseClick;
            // 
            // LogListDockPanel
            // SectAreaDockPanel
            // 
            AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
@@ -52,7 +52,7 @@
            DockText = "面积变化";
            Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
            Icon = Properties.Resources.Console;
            Name = "LogListDockPanel";
            Name = "SectAreaDockPanel";
            SerializationKey = "DockConsole";
            Size = new System.Drawing.Size(500, 200);
            ResumeLayout(false);
WinFrmUI/DPumpHydr.WinFrmUI.Volute/½ØÃæÃæ»ý/SectAreaDockPanel.cs
@@ -1,5 +1,12 @@
using DPumpHydr.WinFrmUI.RLT.Child.Crown;
using DPumpHydr.WinFrmUI.RLT.Docking.Crown;
using System.Drawing;
using System.Windows.Forms;
using System.Collections.Generic;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.TextBox;
using static System.Runtime.InteropServices.JavaScript.JSType;
using System;
using System.ComponentModel;
namespace DPumpHydr.WinFrmUI.Volute 
{
@@ -12,9 +19,102 @@
            this.DefaultDockArea = RLT.Enum.Crown.DockArea.Bottom;
            this.DockText = "截面面积";
            this.SerializationKey = "SectAreaDockPanel";
            this.SerializationKey = "SectAreaDockPanel";
        }
        private ViewModel.SectionBundleInfo _bundle = null;
        private ViewModel.SectionShapePara _para = null;
        public Action<ViewModel.SectionBundleInfo , int> OnRefreshSingleSectBundle = null;
        public void RefreshControl()
        {
            _selectedPointIndex = -1;
            chart.RefreshControl();
        }
        public void SetBindingData(ViewModel.SectionBundleInfo bundle)
        {
            if (bundle == null) return;
            _bundle = bundle;
            List<double> Data = new List<double>();
            for (int i = 0; i < 9; i++)
            {
                Data.Add(bundle.Area[i]);
            }
            chart.SetBindingData(Data);
        }
        public void SetBindingData(ViewModel.SectionShapePara para)
        {
            if(para == null) return;
            _para = para;
            chart.SetBindingData(para);
        }
        public ViewModel.SectionBundleInfo GetBindingData(out string error)
        {
            error = "";
            if (_bundle == null)
            {
                error = "_bundle为空";
                return null;
            }
            return _bundle;
        }
        protected override bool ProcessDialogKey(Keys keyData)
        {
            if (keyData == Keys.Up || keyData == Keys.Down || keyData == Keys.Left || keyData == Keys.Right)
            {
                return false;
            }
            else
            {
                return base.ProcessDialogKey(keyData);
            }
        }
        private int _selectedPointIndex = -1;
        private void chart_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            if (_selectedPointIndex == -1)
            {
                return;
            }
            var data = chart.GetBindingData();
            if (data == null)
            {
                return;
            }
           //根据按键增加或减少Y值
            if (e.KeyCode == Keys.Up)
            {
                data[_selectedPointIndex] += data[_selectedPointIndex] * 0.01; // å¢žåŠ Y值
                chart.SetBindingData(data);
                _bundle.Area[_selectedPointIndex] = data[_selectedPointIndex];
                OnRefreshSingleSectBundle.Invoke(_bundle, _selectedPointIndex);
            }
            else if (e.KeyCode == Keys.Down)
            {
                data[_selectedPointIndex] -= data[_selectedPointIndex] * 0.01; // å‡å°‘Y值
                chart.SetBindingData(data);
                _bundle.Area[_selectedPointIndex] = data[_selectedPointIndex];
                OnRefreshSingleSectBundle.Invoke(_bundle, _selectedPointIndex);
            }
        }
        //int _sequence = 0;
        private void chart_MouseClick(object sender, MouseEventArgs e)
        {
            int pointIndex = chart.Judgment_point(e.X, e.Y);
            if (pointIndex == -1)
            {
                return;
            }
            if (_para != null)
            {
                if(_para.Index != pointIndex)
                {
                    return;
                }
            }
            _selectedPointIndex = pointIndex;
        }
    }
}
WinFrmUI/DPumpHydr.WinFrmUI.Volute/½ØÃæÃæ»ý/SectAreaDockPanel.resx
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Microsoft ResX Schema
    Version 2.0
@@ -48,7 +48,7 @@
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ViewModel/SectionBundleInfo.cs
@@ -72,6 +72,7 @@
            model.R_Right = this.R_Right[index];
            model.ShapeType = this.ShapeType; 
            model.BaseWidth = this.BaseWidth;
            model.SectionArea = this.Area[index];
            model.BaseCircleRadius = this.BaseCircleRadius;
            return model;
        }
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ctrlSectionBundleInfo.Designer.cs
@@ -263,7 +263,7 @@
            metroTile矩形.HoverColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile矩形.HoverTextColor = System.Drawing.Color.White;
            metroTile矩形.IsDerivedStyle = true;
            metroTile矩形.Location = new System.Drawing.Point(218, 41);
            metroTile矩形.Location = new System.Drawing.Point(217, 41);
            metroTile矩形.Name = "metroTile矩形";
            metroTile矩形.NormalBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile矩形.NormalColor = System.Drawing.Color.FromArgb(65, 177, 225);
@@ -271,7 +271,7 @@
            metroTile矩形.PressBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile矩形.PressColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile矩形.PressTextColor = System.Drawing.Color.White;
            metroTile矩形.Size = new System.Drawing.Size(97, 80);
            metroTile矩形.Size = new System.Drawing.Size(95, 80);
            metroTile矩形.Style = RLT.Enum.Metro.Style.Light;
            metroTile矩形.StyleManager = null;
            metroTile矩形.TabIndex = 4;
@@ -311,7 +311,7 @@
            metroTile不对称梯形.HoverColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile不对称梯形.HoverTextColor = System.Drawing.Color.White;
            metroTile不对称梯形.IsDerivedStyle = true;
            metroTile不对称梯形.Location = new System.Drawing.Point(115, 41);
            metroTile不对称梯形.Location = new System.Drawing.Point(114, 41);
            metroTile不对称梯形.Name = "metroTile不对称梯形";
            metroTile不对称梯形.NormalBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile不对称梯形.NormalColor = System.Drawing.Color.FromArgb(65, 177, 225);
@@ -319,7 +319,7 @@
            metroTile不对称梯形.PressBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile不对称梯形.PressColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile不对称梯形.PressTextColor = System.Drawing.Color.White;
            metroTile不对称梯形.Size = new System.Drawing.Size(97, 80);
            metroTile不对称梯形.Size = new System.Drawing.Size(91, 80);
            metroTile不对称梯形.Style = RLT.Enum.Metro.Style.Light;
            metroTile不对称梯形.StyleManager = null;
            metroTile不对称梯形.TabIndex = 2;
@@ -359,7 +359,7 @@
            metroTile对称梯形.HoverColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile对称梯形.HoverTextColor = System.Drawing.Color.White;
            metroTile对称梯形.IsDerivedStyle = true;
            metroTile对称梯形.Location = new System.Drawing.Point(12, 41);
            metroTile对称梯形.Location = new System.Drawing.Point(11, 41);
            metroTile对称梯形.Name = "metroTile对称梯形";
            metroTile对称梯形.NormalBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile对称梯形.NormalColor = System.Drawing.Color.FromArgb(65, 177, 225);
@@ -367,7 +367,7 @@
            metroTile对称梯形.PressBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile对称梯形.PressColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile对称梯形.PressTextColor = System.Drawing.Color.White;
            metroTile对称梯形.Size = new System.Drawing.Size(97, 80);
            metroTile对称梯形.Size = new System.Drawing.Size(91, 80);
            metroTile对称梯形.Style = RLT.Enum.Metro.Style.Light;
            metroTile对称梯形.StyleManager = null;
            metroTile对称梯形.TabIndex = 0;
@@ -456,7 +456,7 @@
            thunderGroupBox3.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox3.Location = new System.Drawing.Point(3, 387);
            thunderGroupBox3.Name = "thunderGroupBox3";
            thunderGroupBox3.Size = new System.Drawing.Size(315, 324);
            thunderGroupBox3.Size = new System.Drawing.Size(326, 324);
            thunderGroupBox3.TabIndex = 24;
            thunderGroupBox3.Text = "v1、v2的确定";
            // 
@@ -470,7 +470,7 @@
            skyTextBox断面y17.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y17.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y17.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y17.Location = new System.Drawing.Point(118, 101);
            skyTextBox断面y17.Location = new System.Drawing.Point(130, 101);
            skyTextBox断面y17.MaxLength = 32767;
            skyTextBox断面y17.MultiLine = false;
            skyTextBox断面y17.Name = "skyTextBox断面y17";
@@ -500,7 +500,7 @@
            skyTextBox断面H11.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H11.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H11.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H11.Location = new System.Drawing.Point(228, 267);
            skyTextBox断面H11.Location = new System.Drawing.Point(240, 267);
            skyTextBox断面H11.MaxLength = 32767;
            skyTextBox断面H11.MultiLine = false;
            skyTextBox断面H11.Name = "skyTextBox断面H11";
@@ -522,7 +522,7 @@
            skyTextBox断面r11.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r11.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r11.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r11.Location = new System.Drawing.Point(178, 267);
            skyTextBox断面r11.Location = new System.Drawing.Point(190, 267);
            skyTextBox断面r11.MaxLength = 32767;
            skyTextBox断面r11.MultiLine = false;
            skyTextBox断面r11.Name = "skyTextBox断面r11";
@@ -544,7 +544,7 @@
            skyTextBox断面H12.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H12.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H12.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H12.Location = new System.Drawing.Point(228, 240);
            skyTextBox断面H12.Location = new System.Drawing.Point(240, 240);
            skyTextBox断面H12.MaxLength = 32767;
            skyTextBox断面H12.MultiLine = false;
            skyTextBox断面H12.Name = "skyTextBox断面H12";
@@ -566,7 +566,7 @@
            skyTextBox断面r12.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r12.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r12.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r12.Location = new System.Drawing.Point(178, 240);
            skyTextBox断面r12.Location = new System.Drawing.Point(190, 240);
            skyTextBox断面r12.MaxLength = 32767;
            skyTextBox断面r12.MultiLine = false;
            skyTextBox断面r12.Name = "skyTextBox断面r12";
@@ -588,7 +588,7 @@
            skyTextBox断面H13.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H13.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H13.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H13.Location = new System.Drawing.Point(228, 212);
            skyTextBox断面H13.Location = new System.Drawing.Point(240, 212);
            skyTextBox断面H13.MaxLength = 32767;
            skyTextBox断面H13.MultiLine = false;
            skyTextBox断面H13.Name = "skyTextBox断面H13";
@@ -610,7 +610,7 @@
            skyTextBox断面r13.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r13.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r13.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r13.Location = new System.Drawing.Point(178, 212);
            skyTextBox断面r13.Location = new System.Drawing.Point(190, 212);
            skyTextBox断面r13.MaxLength = 32767;
            skyTextBox断面r13.MultiLine = false;
            skyTextBox断面r13.Name = "skyTextBox断面r13";
@@ -632,7 +632,7 @@
            skyTextBox断面H14.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H14.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H14.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H14.Location = new System.Drawing.Point(228, 185);
            skyTextBox断面H14.Location = new System.Drawing.Point(240, 185);
            skyTextBox断面H14.MaxLength = 32767;
            skyTextBox断面H14.MultiLine = false;
            skyTextBox断面H14.Name = "skyTextBox断面H14";
@@ -654,7 +654,7 @@
            skyTextBox断面r14.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r14.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r14.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r14.Location = new System.Drawing.Point(178, 185);
            skyTextBox断面r14.Location = new System.Drawing.Point(190, 185);
            skyTextBox断面r14.MaxLength = 32767;
            skyTextBox断面r14.MultiLine = false;
            skyTextBox断面r14.Name = "skyTextBox断面r14";
@@ -676,7 +676,7 @@
            skyTextBox断面H15.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H15.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H15.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H15.Location = new System.Drawing.Point(228, 156);
            skyTextBox断面H15.Location = new System.Drawing.Point(240, 156);
            skyTextBox断面H15.MaxLength = 32767;
            skyTextBox断面H15.MultiLine = false;
            skyTextBox断面H15.Name = "skyTextBox断面H15";
@@ -698,7 +698,7 @@
            skyTextBox断面r15.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r15.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r15.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r15.Location = new System.Drawing.Point(178, 156);
            skyTextBox断面r15.Location = new System.Drawing.Point(190, 156);
            skyTextBox断面r15.MaxLength = 32767;
            skyTextBox断面r15.MultiLine = false;
            skyTextBox断面r15.Name = "skyTextBox断面r15";
@@ -720,7 +720,7 @@
            skyTextBox断面H16.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H16.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H16.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H16.Location = new System.Drawing.Point(228, 129);
            skyTextBox断面H16.Location = new System.Drawing.Point(240, 129);
            skyTextBox断面H16.MaxLength = 32767;
            skyTextBox断面H16.MultiLine = false;
            skyTextBox断面H16.Name = "skyTextBox断面H16";
@@ -742,7 +742,7 @@
            skyTextBox断面r16.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r16.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r16.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r16.Location = new System.Drawing.Point(178, 129);
            skyTextBox断面r16.Location = new System.Drawing.Point(190, 129);
            skyTextBox断面r16.MaxLength = 32767;
            skyTextBox断面r16.MultiLine = false;
            skyTextBox断面r16.Name = "skyTextBox断面r16";
@@ -764,7 +764,7 @@
            skyTextBox断面H17.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H17.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H17.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H17.Location = new System.Drawing.Point(228, 101);
            skyTextBox断面H17.Location = new System.Drawing.Point(240, 101);
            skyTextBox断面H17.MaxLength = 32767;
            skyTextBox断面H17.MultiLine = false;
            skyTextBox断面H17.Name = "skyTextBox断面H17";
@@ -786,7 +786,7 @@
            skyTextBox断面r17.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r17.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r17.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r17.Location = new System.Drawing.Point(178, 101);
            skyTextBox断面r17.Location = new System.Drawing.Point(190, 101);
            skyTextBox断面r17.MaxLength = 32767;
            skyTextBox断面r17.MultiLine = false;
            skyTextBox断面r17.Name = "skyTextBox断面r17";
@@ -808,7 +808,7 @@
            skyTextBox断面H18.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面H18.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面H18.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面H18.Location = new System.Drawing.Point(228, 72);
            skyTextBox断面H18.Location = new System.Drawing.Point(240, 72);
            skyTextBox断面H18.MaxLength = 32767;
            skyTextBox断面H18.MultiLine = false;
            skyTextBox断面H18.Name = "skyTextBox断面H18";
@@ -832,7 +832,7 @@
            skyTextBox断面r18.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面r18.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面r18.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面r18.Location = new System.Drawing.Point(178, 72);
            skyTextBox断面r18.Location = new System.Drawing.Point(190, 72);
            skyTextBox断面r18.MaxLength = 32767;
            skyTextBox断面r18.MultiLine = false;
            skyTextBox断面r18.Name = "skyTextBox断面r18";
@@ -851,7 +851,7 @@
            crownLabel7.AutoSize = true;
            crownLabel7.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F, System.Drawing.FontStyle.Bold);
            crownLabel7.ForeColor = System.Drawing.Color.Black;
            crownLabel7.Location = new System.Drawing.Point(242, 40);
            crownLabel7.Location = new System.Drawing.Point(254, 40);
            crownLabel7.Name = "crownLabel7";
            crownLabel7.Size = new System.Drawing.Size(37, 19);
            crownLabel7.TabIndex = 53;
@@ -862,7 +862,7 @@
            crownLabely2.AutoSize = true;
            crownLabely2.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F, System.Drawing.FontStyle.Bold);
            crownLabely2.ForeColor = System.Drawing.Color.Black;
            crownLabely2.Location = new System.Drawing.Point(167, 40);
            crownLabely2.Location = new System.Drawing.Point(179, 40);
            crownLabely2.Name = "crownLabely2";
            crownLabely2.Size = new System.Drawing.Size(65, 19);
            crownLabely2.TabIndex = 53;
@@ -878,7 +878,7 @@
            skyTextBox断面y11.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y11.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y11.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y11.Location = new System.Drawing.Point(118, 267);
            skyTextBox断面y11.Location = new System.Drawing.Point(130, 267);
            skyTextBox断面y11.MaxLength = 32767;
            skyTextBox断面y11.MultiLine = false;
            skyTextBox断面y11.Name = "skyTextBox断面y11";
@@ -900,7 +900,7 @@
            skyTextBox断面y12.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y12.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y12.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y12.Location = new System.Drawing.Point(118, 240);
            skyTextBox断面y12.Location = new System.Drawing.Point(130, 240);
            skyTextBox断面y12.MaxLength = 32767;
            skyTextBox断面y12.MultiLine = false;
            skyTextBox断面y12.Name = "skyTextBox断面y12";
@@ -922,7 +922,7 @@
            skyTextBox断面y13.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y13.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y13.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y13.Location = new System.Drawing.Point(118, 212);
            skyTextBox断面y13.Location = new System.Drawing.Point(130, 212);
            skyTextBox断面y13.MaxLength = 32767;
            skyTextBox断面y13.MultiLine = false;
            skyTextBox断面y13.Name = "skyTextBox断面y13";
@@ -944,7 +944,7 @@
            skyTextBox断面y14.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y14.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y14.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y14.Location = new System.Drawing.Point(118, 185);
            skyTextBox断面y14.Location = new System.Drawing.Point(130, 185);
            skyTextBox断面y14.MaxLength = 32767;
            skyTextBox断面y14.MultiLine = false;
            skyTextBox断面y14.Name = "skyTextBox断面y14";
@@ -966,7 +966,7 @@
            skyTextBox断面y15.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y15.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y15.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y15.Location = new System.Drawing.Point(118, 156);
            skyTextBox断面y15.Location = new System.Drawing.Point(130, 156);
            skyTextBox断面y15.MaxLength = 32767;
            skyTextBox断面y15.MultiLine = false;
            skyTextBox断面y15.Name = "skyTextBox断面y15";
@@ -988,7 +988,7 @@
            skyTextBox断面y16.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y16.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y16.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y16.Location = new System.Drawing.Point(118, 129);
            skyTextBox断面y16.Location = new System.Drawing.Point(130, 129);
            skyTextBox断面y16.MaxLength = 32767;
            skyTextBox断面y16.MultiLine = false;
            skyTextBox断面y16.Name = "skyTextBox断面y16";
@@ -1010,7 +1010,7 @@
            skyTextBox断面y18.BorderColorD = System.Drawing.Color.FromArgb(254, 254, 254);
            skyTextBox断面y18.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            skyTextBox断面y18.ForeColor = System.Drawing.Color.Black;
            skyTextBox断面y18.Location = new System.Drawing.Point(118, 72);
            skyTextBox断面y18.Location = new System.Drawing.Point(130, 72);
            skyTextBox断面y18.MaxLength = 32767;
            skyTextBox断面y18.MultiLine = false;
            skyTextBox断面y18.Name = "skyTextBox断面y18";
@@ -1029,7 +1029,7 @@
            crownLabely1.AutoSize = true;
            crownLabely1.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F, System.Drawing.FontStyle.Bold);
            crownLabely1.ForeColor = System.Drawing.Color.Black;
            crownLabely1.Location = new System.Drawing.Point(122, 40);
            crownLabely1.Location = new System.Drawing.Point(134, 40);
            crownLabely1.Name = "crownLabely1";
            crownLabely1.Size = new System.Drawing.Size(42, 19);
            crownLabely1.TabIndex = 44;
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ctrlSectionBundleInfo.cs
@@ -59,9 +59,17 @@
                RBtn不对称梯形.Checked = false;
                RBtn矩形.Checked = true;
            }
            RefrehPara();
        }
        public void RefreshSectPara(ViewModel.SectionBundleInfo paras, int selectedPointIndex)
        {
            paras.CalcHeightByArea(_geomBaseInfo, selectedPointIndex);
            SetBindingData(paras);
        }
        private void RefrehPara()
        {
            for (var argument = 1; argument <= 8; argument++)
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ctrlSectionBundleInfo.resx
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Microsoft ResX Schema
    Version 2.0
@@ -48,7 +48,7 @@
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ctrlSectionShapeInfo18.Designer.cs
@@ -83,7 +83,7 @@
            thunderGroupBox1.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox1.Location = new System.Drawing.Point(3, 210);
            thunderGroupBox1.Name = "thunderGroupBox1";
            thunderGroupBox1.Size = new System.Drawing.Size(292, 238);
            thunderGroupBox1.Size = new System.Drawing.Size(313, 238);
            thunderGroupBox1.TabIndex = 22;
            thunderGroupBox1.Text = "角度1";
            // 
@@ -124,7 +124,7 @@
            mTextBoxEdity1.HideSelection = true;
            mTextBoxEdity1.Hint = "y1(Gama1)";
            mTextBoxEdity1.LeadingIcon = null;
            mTextBoxEdity1.Location = new System.Drawing.Point(8, 35);
            mTextBoxEdity1.Location = new System.Drawing.Point(11, 35);
            mTextBoxEdity1.MaxLength = 32767;
            mTextBoxEdity1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEdity1.Name = "mTextBoxEdity1";
@@ -138,7 +138,7 @@
            mTextBoxEdity1.SelectionLength = 0;
            mTextBoxEdity1.SelectionStart = 0;
            mTextBoxEdity1.ShortcutsEnabled = true;
            mTextBoxEdity1.Size = new System.Drawing.Size(274, 48);
            mTextBoxEdity1.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdity1.TabIndex = 5;
            mTextBoxEdity1.TabStop = false;
            mTextBoxEdity1.Text = "请输入y1";
@@ -165,7 +165,7 @@
            mTextBoxEditH.HideSelection = true;
            mTextBoxEditH.Hint = "H";
            mTextBoxEditH.LeadingIcon = null;
            mTextBoxEditH.Location = new System.Drawing.Point(8, 167);
            mTextBoxEditH.Location = new System.Drawing.Point(11, 167);
            mTextBoxEditH.MaxLength = 32767;
            mTextBoxEditH.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEditH.Name = "mTextBoxEditH";
@@ -179,7 +179,7 @@
            mTextBoxEditH.SelectionLength = 0;
            mTextBoxEditH.SelectionStart = 0;
            mTextBoxEditH.ShortcutsEnabled = true;
            mTextBoxEditH.Size = new System.Drawing.Size(274, 48);
            mTextBoxEditH.Size = new System.Drawing.Size(281, 48);
            mTextBoxEditH.TabIndex = 27;
            mTextBoxEditH.TabStop = false;
            mTextBoxEditH.Text = " ";
@@ -202,7 +202,7 @@
            mTextBoxEdity2.HideSelection = true;
            mTextBoxEdity2.Hint = "y2(Gama2)";
            mTextBoxEdity2.LeadingIcon = null;
            mTextBoxEdity2.Location = new System.Drawing.Point(8, 101);
            mTextBoxEdity2.Location = new System.Drawing.Point(11, 101);
            mTextBoxEdity2.MaxLength = 32767;
            mTextBoxEdity2.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEdity2.Name = "mTextBoxEdity2";
@@ -216,7 +216,7 @@
            mTextBoxEdity2.SelectionLength = 0;
            mTextBoxEdity2.SelectionStart = 0;
            mTextBoxEdity2.ShortcutsEnabled = true;
            mTextBoxEdity2.Size = new System.Drawing.Size(274, 48);
            mTextBoxEdity2.Size = new System.Drawing.Size(281, 48);
            mTextBoxEdity2.TabIndex = 5;
            mTextBoxEdity2.TabStop = false;
            mTextBoxEdity2.Text = "请输入y2";
@@ -235,7 +235,7 @@
            skyLabelU.Enabled = false;
            skyLabelU.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelU.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelU.Location = new System.Drawing.Point(149, 110);
            skyLabelU.Location = new System.Drawing.Point(167, 110);
            skyLabelU.Name = "skyLabelU";
            skyLabelU.Size = new System.Drawing.Size(49, 12);
            skyLabelU.TabIndex = 65;
@@ -291,7 +291,7 @@
            mTextBoxEditu.HideSelection = true;
            mTextBoxEditu.Hint = "U";
            mTextBoxEditu.LeadingIcon = null;
            mTextBoxEditu.Location = new System.Drawing.Point(149, 60);
            mTextBoxEditu.Location = new System.Drawing.Point(167, 60);
            mTextBoxEditu.MaxLength = 32767;
            mTextBoxEditu.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEditu.Name = "mTextBoxEditu";
@@ -305,7 +305,7 @@
            mTextBoxEditu.SelectionLength = 0;
            mTextBoxEditu.SelectionStart = 0;
            mTextBoxEditu.ShortcutsEnabled = true;
            mTextBoxEditu.Size = new System.Drawing.Size(135, 48);
            mTextBoxEditu.Size = new System.Drawing.Size(145, 48);
            mTextBoxEditu.TabIndex = 8;
            mTextBoxEditu.TabStop = false;
            mTextBoxEditu.Text = "请输入";
@@ -331,7 +331,7 @@
            mTextBoxEditW1.HideSelection = true;
            mTextBoxEditW1.Hint = "W1";
            mTextBoxEditW1.LeadingIcon = null;
            mTextBoxEditW1.Location = new System.Drawing.Point(10, 60);
            mTextBoxEditW1.Location = new System.Drawing.Point(7, 60);
            mTextBoxEditW1.MaxLength = 32767;
            mTextBoxEditW1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEditW1.Name = "mTextBoxEditW1";
@@ -345,7 +345,7 @@
            mTextBoxEditW1.SelectionLength = 0;
            mTextBoxEditW1.SelectionStart = 0;
            mTextBoxEditW1.ShortcutsEnabled = true;
            mTextBoxEditW1.Size = new System.Drawing.Size(133, 48);
            mTextBoxEditW1.Size = new System.Drawing.Size(145, 48);
            mTextBoxEditW1.TabIndex = 9;
            mTextBoxEditW1.TabStop = false;
            mTextBoxEditW1.Text = "请输入";
@@ -367,7 +367,7 @@
            metroTile断面形状.HoverColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile断面形状.HoverTextColor = System.Drawing.Color.White;
            metroTile断面形状.IsDerivedStyle = true;
            metroTile断面形状.Location = new System.Drawing.Point(55, 51);
            metroTile断面形状.Location = new System.Drawing.Point(73, 44);
            metroTile断面形状.Name = "metroTile断面形状";
            metroTile断面形状.NormalBorderColor = System.Drawing.Color.FromArgb(65, 177, 225);
            metroTile断面形状.NormalColor = System.Drawing.Color.FromArgb(65, 177, 225);
@@ -402,7 +402,7 @@
            thunderGroupBox2.ForeColor = System.Drawing.Color.Black;
            thunderGroupBox2.Location = new System.Drawing.Point(4, 627);
            thunderGroupBox2.Name = "thunderGroupBox2";
            thunderGroupBox2.Size = new System.Drawing.Size(288, 224);
            thunderGroupBox2.Size = new System.Drawing.Size(325, 224);
            thunderGroupBox2.TabIndex = 23;
            thunderGroupBox2.Text = "输入断面平均速度";
            thunderGroupBox2.Visible = false;
@@ -448,7 +448,7 @@
            mTextBoxEditW4.SelectionLength = 0;
            mTextBoxEditW4.SelectionStart = 0;
            mTextBoxEditW4.ShortcutsEnabled = true;
            mTextBoxEditW4.Size = new System.Drawing.Size(274, 48);
            mTextBoxEditW4.Size = new System.Drawing.Size(302, 48);
            mTextBoxEditW4.TabIndex = 9;
            mTextBoxEditW4.TabStop = false;
            mTextBoxEditW4.Text = "请输入W4";
@@ -495,7 +495,7 @@
            mTextBoxEditR1.HideSelection = true;
            mTextBoxEditR1.Hint = "R1";
            mTextBoxEditR1.LeadingIcon = null;
            mTextBoxEditR1.Location = new System.Drawing.Point(11, 455);
            mTextBoxEditR1.Location = new System.Drawing.Point(6, 454);
            mTextBoxEditR1.MaxLength = 32767;
            mTextBoxEditR1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEditR1.Name = "mTextBoxEditR1";
@@ -509,7 +509,7 @@
            mTextBoxEditR1.SelectionLength = 0;
            mTextBoxEditR1.SelectionStart = 0;
            mTextBoxEditR1.ShortcutsEnabled = true;
            mTextBoxEditR1.Size = new System.Drawing.Size(276, 48);
            mTextBoxEditR1.Size = new System.Drawing.Size(305, 48);
            mTextBoxEditR1.TabIndex = 26;
            mTextBoxEditR1.TabStop = false;
            mTextBoxEditR1.Text = "请输入";
@@ -535,7 +535,7 @@
            mTextBoxEditR2.HideSelection = true;
            mTextBoxEditR2.Hint = "R2";
            mTextBoxEditR2.LeadingIcon = null;
            mTextBoxEditR2.Location = new System.Drawing.Point(11, 521);
            mTextBoxEditR2.Location = new System.Drawing.Point(6, 520);
            mTextBoxEditR2.MaxLength = 32767;
            mTextBoxEditR2.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEditR2.Name = "mTextBoxEditR2";
@@ -549,7 +549,7 @@
            mTextBoxEditR2.SelectionLength = 0;
            mTextBoxEditR2.SelectionStart = 0;
            mTextBoxEditR2.ShortcutsEnabled = true;
            mTextBoxEditR2.Size = new System.Drawing.Size(128, 48);
            mTextBoxEditR2.Size = new System.Drawing.Size(145, 48);
            mTextBoxEditR2.TabIndex = 28;
            mTextBoxEditR2.TabStop = false;
            mTextBoxEditR2.Text = " ";
@@ -572,7 +572,7 @@
            mTextBoxEditR4.HideSelection = true;
            mTextBoxEditR4.Hint = "R4";
            mTextBoxEditR4.LeadingIcon = null;
            mTextBoxEditR4.Location = new System.Drawing.Point(159, 521);
            mTextBoxEditR4.Location = new System.Drawing.Point(166, 520);
            mTextBoxEditR4.MaxLength = 32767;
            mTextBoxEditR4.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT;
            mTextBoxEditR4.Name = "mTextBoxEditR4";
@@ -586,7 +586,7 @@
            mTextBoxEditR4.SelectionLength = 0;
            mTextBoxEditR4.SelectionStart = 0;
            mTextBoxEditR4.ShortcutsEnabled = true;
            mTextBoxEditR4.Size = new System.Drawing.Size(128, 48);
            mTextBoxEditR4.Size = new System.Drawing.Size(145, 48);
            mTextBoxEditR4.TabIndex = 29;
            mTextBoxEditR4.TabStop = false;
            mTextBoxEditR4.Text = "        ";
@@ -605,12 +605,12 @@
            mBtn更新模型.HighEmphasis = false;
            mBtn更新模型.Icon = null;
            mBtn更新模型.IconType = RLT.Controls.MaterialButton.MaterialIconType.Rebase;
            mBtn更新模型.Location = new System.Drawing.Point(6, 582);
            mBtn更新模型.Location = new System.Drawing.Point(3, 577);
            mBtn更新模型.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
            mBtn更新模型.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
            mBtn更新模型.Name = "mBtn更新模型";
            mBtn更新模型.NoAccentTextColor = System.Drawing.Color.Empty;
            mBtn更新模型.Size = new System.Drawing.Size(286, 33);
            mBtn更新模型.Size = new System.Drawing.Size(310, 33);
            mBtn更新模型.TabIndex = 30;
            mBtn更新模型.Text = "          æ›´æ–°æ¨¡åž‹         ";
            mBtn更新模型.Type = RLT.Controls.MaterialButton.MaterialButtonType.Outlined;
@@ -635,7 +635,7 @@
            skyLabelR1.AutoSize = true;
            skyLabelR1.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold);
            skyLabelR1.ForeColor = System.Drawing.Color.DeepPink;
            skyLabelR1.Location = new System.Drawing.Point(17, 506);
            skyLabelR1.Location = new System.Drawing.Point(6, 505);
            skyLabelR1.Name = "skyLabelR1";
            skyLabelR1.Size = new System.Drawing.Size(55, 12);
            skyLabelR1.TabIndex = 69;
@@ -669,7 +669,7 @@
            Controls.Add(thunderGroupBox1);
            Margin = new System.Windows.Forms.Padding(4);
            Name = "ctrlSectionShapeInfo18";
            Size = new System.Drawing.Size(298, 995);
            Size = new System.Drawing.Size(325, 995);
            thunderGroupBox1.ResumeLayout(false);
            thunderGroupBox1.PerformLayout();
            thunderGroupBox2.ResumeLayout(false);
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ctrlSectionShapeInfo18.cs
@@ -42,6 +42,11 @@
            InitialModule();
        }
        public void RefreshSectPara(ViewModel.SectionShapePara paras)
        {
            SetBindingData(paras);
            //  paras.ii
        }
        public ViewModel.SectionShapePara GetBindingData(out string error)
        {
            if (!Verify(out error))
WinFrmUI/DPumpHydr.WinFrmUI.Volute/¶ÏÃæÉè¼Æ/ctrlSectionShapeInfo18.resx
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
    Microsoft ResX Schema
    Version 2.0
@@ -48,7 +48,7 @@
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter