From 9a7e74591a70bc1be9c9995b5cab4cbfafaa8996 Mon Sep 17 00:00:00 2001 From: chenn <gu.beic@qq.com> Date: 星期二, 01 四月 2025 17:58:03 +0800 Subject: [PATCH] 圆弧直线取消注释;引用dll更改 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowParas.cs | 76 +++++++++++++++++++------------------- 1 files changed, 38 insertions(+), 38 deletions(-) diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs" index a916091..89807af 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowParas.cs" @@ -634,37 +634,37 @@ if (comboBoxType.SelectedIndex == 0) { _sharp_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.涓績鍑哄彛; - //checkBox鍦嗗姬杩炴帴.Enabled = true; - //checkBox鍦嗗姬杩炴帴.Visible = true; - //if (checkBox鍦嗗姬杩炴帴.Checked) - //{ - // _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬; - //} - //else - //{ - // _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; - //} + checkBox鍦嗗姬杩炴帴.Enabled = true; + checkBox鍦嗗姬杩炴帴.Visible = true; + if (checkBox鍦嗗姬杩炴帴.Checked) + { + _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬; + } + else + { + _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; + } } else if (comboBoxType.SelectedIndex == 1) { _sharp_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.渚ч潰鍑哄彛; - //checkBox鍦嗗姬杩炴帴.Enabled = true; - //checkBox鍦嗗姬杩炴帴.Visible = true; + checkBox鍦嗗姬杩炴帴.Enabled = true; + checkBox鍦嗗姬杩炴帴.Visible = true; _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; - //if (checkBox鍦嗗姬杩炴帴.Checked) - //{ - // _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬; - //} - //else - //{ - // _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; - //} - } + if (checkBox鍦嗗姬杩炴帴.Checked) + { + _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬; + } + else + { + _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; + } + } else if (comboBoxType.SelectedIndex == 2) { _sharp_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowShapeStyle.渚ч潰鍑哄彛_鐩寸嚎杩炴帴; - //checkBox鍦嗗姬杩炴帴.Enabled = false; - //checkBox鍦嗗姬杩炴帴.Visible = false; + checkBox鍦嗗姬杩炴帴.Enabled = false; + checkBox鍦嗗姬杩炴帴.Visible = false; _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; } if (_isxml) @@ -684,23 +684,23 @@ private void checkBox鍦嗗姬杩炴帴_CheckedChanged(object sender, EventArgs e) { - //if (!checkBox鍦嗗姬杩炴帴.Checked) - //{ - // _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; - //} - //else - //{ - // _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬; - //} - //if (_isxml) - //{ - // InitialOutflowStyle(); - // return; - //} + if (!checkBox鍦嗗姬杩炴帴.Checked) + { + _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鏇茬嚎; + } + else + { + _link_type = DPumpHydr.WinFrmUI.Volute.ViewModel.eOutflowLinkStyle.鐩寸嚎鍦嗗姬; + } + if (_isxml) + { + InitialOutflowStyle(); + return; + } - //InitialOutflowStyle(); + InitialOutflowStyle(); - //RefreshModel(); + RefreshModel(); } } } -- Gitblit v1.9.3