From df88a15b84a7eee09c870dab8c0f5facd6c18c6e Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期三, 25 十二月 2024 09:34:28 +0800 Subject: [PATCH] 修改出水参数即选择界面 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowType.resx | 4 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/参数控件/sideLineExitControl.cs | 301 ++++++++++----- WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ViewModel/OtuflowParas.cs | 19 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowType.Designer.cs | 1 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/ctrlSetOutflowParas.cs | 55 ++ WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/参数控件/sideCurveExitControl.cs | 33 + WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs | 16 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/参数控件/sidelineExitControl.Designer.cs | 588 +++++++++++++++++++++++-------- WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/参数控件/sideCurveExitControl.resx | 4 WinFrmUI/DPumpHydr.WinFrmUI.Volute/出水设计/参数控件/sideCurveExitControl.Designer.cs | 4 10 files changed, 730 insertions(+), 295 deletions(-) diff --git a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs index 19f7a03..222bb2a 100644 --- a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs +++ b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs @@ -24,6 +24,7 @@ ViewModel.HdrBaseInfo _hdrBaseInfo = null; ViewModel.GeomBaseInfo _geomBaseInfo = null; ViewModel.SectionBundleInfo _sectionBundleInfo = null; + ViewModel.OtuflowParas _otuflowParas = null; ViewModel.eOutflowStyle _type ; @@ -300,20 +301,21 @@ { _ctrlSetOutflowStyle = new ctrlSetOutflowParas(); _ctrlSetOutflowStyle.Name = "ctrlSetOutflowStyle"; - _ctrlSetOutflowStyle.OnRefreshShape += CreateWaterBody; + //_ctrlSetOutflowStyle.OnRefreshShape += CreateWaterBody; } _ctrlSetOutflowStyle.SetBindingData(_type); - _ctrlSetOutflowStyle.ShowPage(); + //_ctrlSetOutflowStyle.ShowPage(); this._sectAreaDockPanel.RefreshControl(); this._sectAreaDockPanel.Visible = true; AddStepParaCtrl(_ctrlSetOutflowStyle); + string error = ""; + _otuflowParas = _ctrlSetOutflowStyle.GetBindingData(out error); } - - if (step_id == this._stepTreeDockPanel.Step_ID_jiahout) - { - this._occDesign3dCtrl.CreateOutletBody3d(); - } + //if (step_id == this._stepTreeDockPanel.Step_ID_jiahout) + //{ + // this._occDesign3dCtrl.CreateOutletBody3d(); + //} } diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ViewModel/OtuflowParas.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ViewModel/OtuflowParas.cs" index 72d012d..955f216 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ViewModel/OtuflowParas.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ViewModel/OtuflowParas.cs" @@ -4,16 +4,19 @@ using System.Text; using System.Threading.Tasks; -namespace DPumpHydr.WinFrmUI.ViewModel +namespace DPumpHydr.WinFrmUI.Volute.ViewModel { public class OtuflowParas { - double OuterOffset { get; set; } //鍥剧墖涓殑A = 0.0; - double OuterHigh { get; set; } //鍥剧墖涓殑L = 420.0; - double OuterDia { get; set; } //鍥剧墖涓殑D4 = 80.0; - double OuterTopValue { get; set; } //鍒囩嚎缂╂斁閲� = m_dTopValue; - double OuterBtmValue { get; set; } //鍒囩嚎缂╂斁閲� = m_dBtmValue; - double H1 { get; set; } //鍥剧墖涓殑H1 = 10; - double H2 { get; set; } //鍥剧墖涓殑H2 = 10; + public double Offset { get; set; } //鍥剧墖涓殑A = 0.0; + public double High { get; set; } //鍥剧墖涓殑L = 420.0; + public double Dia { get; set; } //鍥剧墖涓殑D4 = 80.0; + public double TopValue_reight { get; set; } //鍒囩嚎缂╂斁閲� = m_dTopValue; + public double BtmValue_reight { get; set; } //鍒囩嚎缂╂斁閲� = m_dBtmValue; + public double TopValue_left { get; set; } //鍒囩嚎缂╂斁閲� = m_dTopValue; + public double BtmValue_left { get; set; } //鍒囩嚎缂╂斁閲� = m_dBtmValue; + public double H1 { get; set; } //鍥剧墖涓殑H1 = 10; + public double H2 { get; set; } //鍥剧墖涓殑H2 = 10; + public double Septalradius { get; set; } //闅旇垖鍗婂緞r } } 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 89027b3..3446a52 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" @@ -21,16 +21,59 @@ BuildAllTips(); } eOutflowStyle _stype = eOutflowStyle.鏈煡; + //ViewModel.OtuflowParas _otuflowParas = null; + ViewModel.OtuflowParas _otuflowParas = new OtuflowParas() { Offset = 10, High = 420, Dia = 80, TopValue_left = 80, BtmValue_left = 80, BtmValue_reight = 80, TopValue_reight = 80, H1 = 10, H2 = 10, Septalradius = 10 }; + sidelineExitControl _sidelineExitControl = null; + sideCurveExitControl _sideCurveExitControl = null; public void SetBindingData(eOutflowStyle style) { if(_stype == style) return; - _stype = style; - InitialParasControl( ); - + var control = InitialParasControl( ); + if (control is sidelineExitControl) + { + _sidelineExitControl = (sidelineExitControl)control; + + _sidelineExitControl.SetBindingData(_otuflowParas); + if (_stype == eOutflowStyle.涓績鍑哄彛_鍨傜洿娉曞叞闈㈡祦鍑�) + { + _sidelineExitControl.SetA_state(false); + } + else + { + _sidelineExitControl.SetA_state(true); + } + } + if (control is sideCurveExitControl) + { + _sideCurveExitControl = (sideCurveExitControl)control; + _sideCurveExitControl.SetBindingData(_otuflowParas); + } + + } + public ViewModel.OtuflowParas GetBindingData(out string error) + { + error = ""; + if(_stype == eOutflowStyle.渚ч潰鍑哄彛_鐩寸嚎杩炴帴) + { + _otuflowParas = _sideCurveExitControl.GetBindingData(out error); + if(_otuflowParas == null) + { + return null; + } + } + else + { + _otuflowParas = _sidelineExitControl.GetBindingData(out error); + if (_otuflowParas == null) + { + return null; + } + } + return _otuflowParas; } private Control InitialParasControl( ) { @@ -39,15 +82,15 @@ switch (_stype) { case eOutflowStyle.涓績鍑哄彛_鍨傜洿娉曞叞闈㈡祦鍑�: - newControl = new centralExitControl(); + newControl = new sidelineExitControl(); metroTile鎵╂暎绠″舰鐘�.BackgroundImage = GlobalResource.BuildImage("Central-exit.png", 878, 238); break; case eOutflowStyle.渚ч潰鍑哄彛_鏇茬嚎杩炴帴: - newControl = new sideCurveExitControl(); + newControl = new sidelineExitControl(); metroTile鎵╂暎绠″舰鐘�.BackgroundImage = GlobalResource.BuildImage("Side-exit-curve.png", 878, 238); break; case eOutflowStyle.渚ч潰鍑哄彛_鐩寸嚎杩炴帴: - newControl = new sidelineExitControl(); + newControl = new sideCurveExitControl(); metroTile鎵╂暎绠″舰鐘�.BackgroundImage = GlobalResource.BuildImage("Side-exit-straight-line.png", 878, 238); break; default: diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" index 55c8d0b..653be25 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.Designer.cs" @@ -102,7 +102,6 @@ RBtn渚ч潰鍑哄彛鐩寸嚎.CircleBorderColor = System.Drawing.Color.FromArgb(117, 120, 117); RBtn渚ч潰鍑哄彛鐩寸嚎.CircleEdgeColor = System.Drawing.Color.WhiteSmoke; RBtn渚ч潰鍑哄彛鐩寸嚎.CompositingQualityType = System.Drawing.Drawing2D.CompositingQuality.HighQuality; - RBtn渚ч潰鍑哄彛鐩寸嚎.Enabled = false; RBtn渚ч潰鍑哄彛鐩寸嚎.Font = new System.Drawing.Font("Tw Cen MT Condensed Extra Bold", 8F, System.Drawing.FontStyle.Bold); RBtn渚ч潰鍑哄彛鐩寸嚎.ForeColor = System.Drawing.Color.FromArgb(40, 40, 40); RBtn渚ч潰鍑哄彛鐩寸嚎.Location = new System.Drawing.Point(10, 79); diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.resx" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.resx" index 8b2ff64..af32865 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/ctrlSetOutflowType.resx" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/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 diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.Designer.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.Designer.cs" index 5d66af9..0dc699e 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.Designer.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.Designer.cs" @@ -61,7 +61,7 @@ thunderGroupBox2.ForeColor = System.Drawing.Color.Black; thunderGroupBox2.Location = new System.Drawing.Point(0, 0); thunderGroupBox2.Name = "thunderGroupBox2"; - thunderGroupBox2.Size = new System.Drawing.Size(325, 477); + thunderGroupBox2.Size = new System.Drawing.Size(325, 321); thunderGroupBox2.TabIndex = 29; thunderGroupBox2.Text = "杈撳叆鍙傛暟"; // @@ -288,7 +288,7 @@ BackColor = System.Drawing.SystemColors.ControlLight; Controls.Add(thunderGroupBox2); Name = "sideCurveExitControl"; - Size = new System.Drawing.Size(325, 477); + Size = new System.Drawing.Size(325, 321); thunderGroupBox2.ResumeLayout(false); thunderGroupBox2.PerformLayout(); ResumeLayout(false); diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.cs" index 98dc769..ea43bfe 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.cs" @@ -18,6 +18,35 @@ BuildAllTips(); BuildIcon(); } + ViewModel.OtuflowParas _otuflowParas = null; + public void SetBindingData(ViewModel.OtuflowParas otuflowParas) + { + if (otuflowParas == null) + { + return; + } + _otuflowParas = otuflowParas; + //mlTextBoxEditR1.Text = otuflowParas.Offset.ToString(); + //mlTextBoxEditR2.Text = otuflowParas.Offset.ToString(); + mlTextBoxEdit鎵╂暎绠¢暱搴�.Text = otuflowParas.High.ToString(); + mlTextBoxEdit闅旇垖鍦嗚鍗婂緞.Text = otuflowParas.Septalradius.ToString(); + mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text = otuflowParas.Dia.ToString(); + mlTextBoxEdit涓績璺濈.Text = otuflowParas.Offset.ToString(); + } + public ViewModel.OtuflowParas GetBindingData(out string error) + { + error = ""; + if (!Verify(out error)) + { + return null; + } + _otuflowParas.High = Convert.ToDouble(mlTextBoxEdit鎵╂暎绠¢暱搴�.Text); + _otuflowParas.Septalradius = Convert.ToDouble(mlTextBoxEdit闅旇垖鍦嗚鍗婂緞.Text); + _otuflowParas.Dia = Convert.ToDouble(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text); + _otuflowParas.Offset = Convert.ToDouble(mlTextBoxEdit涓績璺濈.Text); + return _otuflowParas; + + } private void BuildIcon() { //杈撳叆妗嗗墠缂�鍥剧墖 @@ -37,7 +66,7 @@ mlTextBoxEdit鎵╂暎绠¢暱搴�.TrailingIcon = GlobalResource.GetTipTrailingIcon(); skyLabel鎵╂暎绠¢暱搴�.Visible = true; } - if (string.IsNullOrEmpty(mlTextBoxEdit涓績璺濈.Text) || mlTextBoxEdit涓績璺濈.Text == "璇疯緭鍏ヤ腑蹇冭窛绂�" || double.Parse(mlTextBoxEdit涓績璺濈.Text) == 0) + if (string.IsNullOrEmpty(mlTextBoxEdit涓績璺濈.Text) || mlTextBoxEdit涓績璺濈.Text == "璇疯緭鍏ヤ腑蹇冭窛绂�" ) { error = "璇疯緭鍏ヤ腑蹇冭窛绂伙紒"; isOk = false; @@ -112,7 +141,7 @@ } private void mlTextBoxEdit涓績璺濈_Leave(object sender, EventArgs e) { - if (string.IsNullOrEmpty(mlTextBoxEdit涓績璺濈.Text) || double.Parse(mlTextBoxEdit涓績璺濈.Text) == 0) + if (string.IsNullOrEmpty(mlTextBoxEdit涓績璺濈.Text)) { mlTextBoxEdit涓績璺濈.Text = "璇疯緭鍏ヤ腑蹇冭窛绂�"; } diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.resx" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.resx" index 8dccf73..59a48f0 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.resx" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideCurveExitControl.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 diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideLineExitControl.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideLineExitControl.cs" index 7b93ce2..5b71eb4 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideLineExitControl.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sideLineExitControl.cs" @@ -1,4 +1,5 @@ 锘縰sing DPumpHydr.WinFrmUI.RLT.Controls; +using DPumpHydr.WinFrmUI.Volute.ViewModel; using System; using System.Collections.Generic; using System.ComponentModel; @@ -18,41 +19,106 @@ InitializeComponent(); BuildAllTips(); BuildIcon(); + Initialization(); + } + ViewModel.OtuflowParas _otuflowParas = null; + public void SetBindingData(ViewModel.OtuflowParas otuflowParas) + { + if (otuflowParas == null) + { + return; + } + _otuflowParas = otuflowParas; + //mlTextBoxEditR1.Text = otuflowParas.Offset.ToString(); + //mlTextBoxEditR2.Text = otuflowParas.Offset.ToString(); + mlTextBoxEdith1.Text = otuflowParas.H1.ToString(); + mlTextBoxEdith2.Text = otuflowParas.H2.ToString(); + mlTextBoxEditL.Text = otuflowParas.High.ToString(); + mlTextBoxEditr.Text = otuflowParas.Septalradius.ToString(); + mlTextBoxEditD4.Text = otuflowParas.Dia.ToString(); + mlTextBoxEditA.Text = otuflowParas.Offset.ToString(); + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Value = Convert.ToInt32(otuflowParas.TopValue_left * 100); + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Value = Convert.ToInt32(otuflowParas.BtmValue_left * 100); + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Value = Convert.ToInt32(otuflowParas.TopValue_reight * 100); + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Value = Convert.ToInt32(otuflowParas.BtmValue_reight * 100); + } + public ViewModel.OtuflowParas GetBindingData(out string error) + { + error = ""; + if (!Verify(out error)) + { + return null; + } + _otuflowParas.H1 = Convert.ToDouble(mlTextBoxEdith1.Text); + _otuflowParas.H2 = Convert.ToDouble(mlTextBoxEdith2.Text); + _otuflowParas.High = Convert.ToDouble(mlTextBoxEditL.Text); + _otuflowParas.Septalradius = Convert.ToDouble(mlTextBoxEditr.Text); + _otuflowParas.Dia = Convert.ToDouble(mlTextBoxEditD4.Text); + _otuflowParas.Offset = Convert.ToDouble(mlTextBoxEditA.Text); + _otuflowParas.TopValue_left = Convert.ToDouble(metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Value) / 100; + _otuflowParas.BtmValue_left = Convert.ToDouble(metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Value) / 100; + _otuflowParas.TopValue_reight = Convert.ToDouble(metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Value) / 100; + _otuflowParas.BtmValue_reight = Convert.ToDouble(metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Value) / 100; + return _otuflowParas; + + } + public void SetA_state(bool isEnabled) + { + if (!isEnabled) + { + mlTextBoxEditA.Text = 0.ToString(); + mlTextBoxEditA.Enabled = false; + } + else + { + mlTextBoxEditA.Enabled = true; + } + } + private void Initialization() + { + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Minimum) / 100).ToString(); + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Maximum) / 100).ToString(); + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Minimum) / 100).ToString(); + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Maximum) / 100).ToString(); + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Minimum) / 100).ToString(); + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Maximum) / 100).ToString(); + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Minimum) / 100).ToString(); + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.Text = (Convert.ToDouble(metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Maximum) / 100).ToString(); } private void BuildIcon() { //杈撳叆妗嗗墠缂�鍥剧墖 - mlTextBoxEditR1.LeadingIcon = GlobalResource.GetLeadingIcon(); - mlTextBoxEditR2.LeadingIcon = GlobalResource.GetLeadingIcon(); + //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鎵╂暎绠″嚭鍙g洿寰�.LeadingIcon = GlobalResource.GetLeadingIcon(); + mlTextBoxEditD4.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) + //if (string.IsNullOrEmpty(mlTextBoxEditR1.Text) || mlTextBoxEditR1.Text == "璇疯緭鍏�" || double.Parse(mlTextBoxEditR1.Text) == 0) + //{ + // error = "璇疯緭鍏1锛�"; + // isOk = false; + // mlTextBoxEditR1.TrailingIcon = GlobalResource.GetTipTrailingIcon(); + // skyLabelR1.Visible = true; + //} + //if (string.IsNullOrEmpty(mlTextBoxEditR2.Text) || mlTextBoxEditR2.Text == "璇疯緭鍏�" || double.Parse(mlTextBoxEditR2.Text) == 0) + //{ + // error = "璇疯緭鍏2锛�"; + // isOk = false; + // mlTextBoxEditR2.TrailingIcon = GlobalResource.GetTipTrailingIcon(); + // skyLabelR2.Visible = true; + //} + if (string.IsNullOrEmpty(mlTextBoxEditD4.Text) || mlTextBoxEditD4.Text == "璇疯緭鍏�" || double.Parse(mlTextBoxEditD4.Text) == 0) { - error = "璇疯緭鍏1锛�"; + error = "璇疯緭鍏4锛�"; isOk = false; - mlTextBoxEditR1.TrailingIcon = GlobalResource.GetTipTrailingIcon(); - skyLabelR1.Visible = true; - } - if (string.IsNullOrEmpty(mlTextBoxEditR2.Text) || mlTextBoxEditR2.Text == "璇疯緭鍏�" || double.Parse(mlTextBoxEditR2.Text) == 0) - { - error = "璇疯緭鍏2锛�"; - isOk = false; - mlTextBoxEditR2.TrailingIcon = GlobalResource.GetTipTrailingIcon(); - skyLabelR2.Visible = true; - } - if (string.IsNullOrEmpty(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text) || mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text == "璇疯緭鍏ユ墿鏁g鍑哄彛鐩村緞" || double.Parse(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text) == 0) - { - error = "璇疯緭鍏ユ墿鏁g鍑哄彛鐩村緞锛�"; - isOk = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.TrailingIcon = GlobalResource.GetTipTrailingIcon(); + mlTextBoxEditD4.TrailingIcon = GlobalResource.GetTipTrailingIcon(); skyLabel鎵╂暎绠″嚭鍙g洿寰�.Visible = true; } if (string.IsNullOrEmpty(mlTextBoxEdith1.Text) || mlTextBoxEdith1.Text == "璇疯緭鍏�" || double.Parse(mlTextBoxEdith1.Text) == 0) @@ -62,9 +128,9 @@ mlTextBoxEdith1.TrailingIcon = GlobalResource.GetTipTrailingIcon(); skyLabelh1.Visible = true; } - if (string.IsNullOrEmpty(mlTextBoxEditA.Text) || mlTextBoxEditA.Text == "璇疯緭鍏�" || double.Parse(mlTextBoxEditA.Text) == 0) + if (string.IsNullOrEmpty(mlTextBoxEditA.Text) || mlTextBoxEditA.Text == "璇疯緭鍏�" ) { - error = "璇疯緭鍏2锛�"; + error = "璇疯緭鍏锛�"; isOk = false; mlTextBoxEditA.TrailingIcon = GlobalResource.GetTipTrailingIcon(); skyLabelA.Visible = true; @@ -87,87 +153,88 @@ } private void BuildAllTips() { - metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditR1, "R1"); - metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditR2, "R2"); + //metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditR1, "R1"); + //metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditR2, "R2"); metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEdith1, "h1"); + metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEdith2, "h2"); metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditA, "A"); metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditL, "L"); metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditr, "r"); - metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�, "鎵╂暎绠″嚭鍙g洿寰�"); + metroToolTip渚ч潰鍑哄彛鐩寸嚎.SetToolTip(this.mlTextBoxEditD4, "鎵╂暎绠″嚭鍙g洿寰�"); } - private void mlTextBoxEditR1_Enter(object sender, EventArgs e) - { - skyLabelR1.Visible = false; - mlTextBoxEditR1.TrailingIcon = null; - if (mlTextBoxEditR1.Text == "璇疯緭鍏�") - { - mlTextBoxEditR1.Text = ""; - } - } + //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_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 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_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_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 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) { @@ -204,10 +271,12 @@ mlTextBoxEdith1.UseAccent = false; } } + mlTextBoxEdith2.Text = mlTextBoxEdith1.Text; } private void mlTextBoxEditA_Enter(object sender, EventArgs e) { + skyLabelA.Visible = false; mlTextBoxEditA.TrailingIcon = null; if (mlTextBoxEditA.Text == "璇疯緭鍏�") @@ -218,7 +287,7 @@ private void mlTextBoxEditA_Leave(object sender, EventArgs e) { - if (string.IsNullOrEmpty(mlTextBoxEditA.Text) || double.Parse(mlTextBoxEditA.Text) == 0) + if (string.IsNullOrEmpty(mlTextBoxEditA.Text) ) { mlTextBoxEditA.Text = "璇疯緭鍏�"; } @@ -320,38 +389,58 @@ private void mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜Enter(object sender, EventArgs e) { skyLabel鎵╂暎绠″嚭鍙g洿寰�.Visible = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.TrailingIcon = null; - if (mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text == "璇疯緭鍏ユ墿鏁g鍑哄彛鐩村緞") + mlTextBoxEditD4.TrailingIcon = null; + if (mlTextBoxEditD4.Text == "璇疯緭鍏�") { - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text = ""; + mlTextBoxEditD4.Text = ""; } } private void mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜Leave(object sender, EventArgs e) { - if (string.IsNullOrEmpty(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text) || double.Parse(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text) == 0) + if (string.IsNullOrEmpty(mlTextBoxEditD4.Text) || double.Parse(mlTextBoxEditD4.Text) == 0) { - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text = "璇疯緭鍏ユ墿鏁g鍑哄彛鐩村緞"; + mlTextBoxEditD4.Text = "璇疯緭鍏�"; } } private void mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜TextChanged(object sender, EventArgs e) { - foreach (var s in mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text) + foreach (var s in mlTextBoxEditD4.Text) { - if (!double.TryParse(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text) && mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text != "璇疯緭鍏ユ墿鏁g鍑哄彛鐩村緞") + if (!double.TryParse(mlTextBoxEditD4.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditD4.Text) && mlTextBoxEditD4.Text != "璇疯緭鍏�") { - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.UseAccent = true; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.ShowAssistiveText = true; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text = ""; + mlTextBoxEditD4.UseAccent = true; + mlTextBoxEditD4.ShowAssistiveText = true; + mlTextBoxEditD4.Text = ""; break; } else { - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.ShowAssistiveText = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.UseAccent = false; + mlTextBoxEditD4.ShowAssistiveText = false; + mlTextBoxEditD4.UseAccent = false; } } } + + private void metroTrackBar宸︿笂鍒囩嚎缂╂斁閲廮Scroll(object sender) + { + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.Text = (Convert.ToDouble(metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Value) / 100).ToString(); + } + + private void metroTrackBar宸︿笅鍒囩嚎缂╂斁閲廮Scroll(object sender) + { + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.Text = (Convert.ToDouble(metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Value) / 100).ToString(); + } + + private void metroTrackBar鍙充笂鍒囩嚎缂╂斁閲廮Scroll(object sender) + { + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.Text = (Convert.ToDouble(metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Value) / 100).ToString(); + } + + private void metroTrackBar鍙充笅鍒囩嚎缂╂斁閲廮Scroll(object sender) + { + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.Text = (Convert.ToDouble(metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Value) / 100).ToString(); + } } } diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sidelineExitControl.Designer.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sidelineExitControl.Designer.cs" index d468608..fb0a025 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sidelineExitControl.Designer.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\345\207\272\346\260\264\350\256\276\350\256\241/\345\217\202\346\225\260\346\216\247\344\273\266/sidelineExitControl.Designer.cs" @@ -29,20 +29,37 @@ private void InitializeComponent() { thunderGroupBox2 = new RLT.Controls.ThunderGroupBox(); + crownLabel鍙充笅鍒囩嚎缂╂斁閲� = new RLT.Controls.CrownLabel(); + crownLabel鍙充笂鍒囩嚎缂╂斁閲� = new RLT.Controls.CrownLabel(); + crownLabel宸︿笅鍒囩嚎缂╂斁閲� = new RLT.Controls.CrownLabel(); + crownLabel宸︿笂鍒囩嚎缂╂斁閲� = new RLT.Controls.CrownLabel(); + crownLabel9 = new RLT.Controls.CrownLabel(); + mlTextBoxEdith2 = new RLT.Controls.MaterialTextBoxEdit(); + crownLabel鍙充笅鏈�澶х缉鏀鹃噺 = new RLT.Controls.CrownLabel(); skyLabelr = new RLT.Controls.SkyLabel(); + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺 = new RLT.Controls.CrownLabel(); mlTextBoxEditr = new RLT.Controls.MaterialTextBoxEdit(); + crownLabel6 = new RLT.Controls.CrownLabel(); skyLabelL = new RLT.Controls.SkyLabel(); + crownLabel鍙充笂鏈�澶х缉鏀鹃噺 = new RLT.Controls.CrownLabel(); mlTextBoxEditL = new RLT.Controls.MaterialTextBoxEdit(); + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺 = new RLT.Controls.CrownLabel(); skyLabelA = new RLT.Controls.SkyLabel(); + crownLabel3 = new RLT.Controls.CrownLabel(); mlTextBoxEditA = new RLT.Controls.MaterialTextBoxEdit(); - skyLabelR2 = new RLT.Controls.SkyLabel(); - mlTextBoxEditR2 = new RLT.Controls.MaterialTextBoxEdit(); + crownLabel宸︿笅鏈�澶х缉鏀鹃噺 = new RLT.Controls.CrownLabel(); + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺 = new RLT.Controls.CrownLabel(); + crownLabel2 = new RLT.Controls.CrownLabel(); skyLabel鎵╂暎绠″嚭鍙g洿寰� = new RLT.Controls.SkyLabel(); - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰� = new RLT.Controls.MaterialTextBoxEdit(); + crownLabel宸︿笂鏈�澶х缉鏀鹃噺 = new RLT.Controls.CrownLabel(); + mlTextBoxEditD4 = new RLT.Controls.MaterialTextBoxEdit(); + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺 = new RLT.Controls.CrownLabel(); skyLabelh1 = new RLT.Controls.SkyLabel(); - skyLabelR1 = new RLT.Controls.SkyLabel(); + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲� = new RLT.Controls.MetroTrackBar(); + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲� = new RLT.Controls.MetroTrackBar(); mlTextBoxEdith1 = new RLT.Controls.MaterialTextBoxEdit(); - mlTextBoxEditR1 = new RLT.Controls.MaterialTextBoxEdit(); + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲� = new RLT.Controls.MetroTrackBar(); + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲� = new RLT.Controls.MetroTrackBar(); metroToolTip渚ч潰鍑哄彛鐩寸嚎 = new RLT.Controls.MetroToolTip(); thunderGroupBox2.SuspendLayout(); SuspendLayout(); @@ -54,40 +71,174 @@ thunderGroupBox2.BodyColorB = System.Drawing.Color.DarkGray; thunderGroupBox2.BodyColorC = System.Drawing.SystemColors.ButtonFace; thunderGroupBox2.BodyColorD = System.Drawing.SystemColors.ButtonFace; + thunderGroupBox2.Controls.Add(crownLabel鍙充笅鍒囩嚎缂╂斁閲�); + thunderGroupBox2.Controls.Add(crownLabel鍙充笂鍒囩嚎缂╂斁閲�); + thunderGroupBox2.Controls.Add(crownLabel宸︿笅鍒囩嚎缂╂斁閲�); + thunderGroupBox2.Controls.Add(crownLabel宸︿笂鍒囩嚎缂╂斁閲�); + thunderGroupBox2.Controls.Add(crownLabel9); + thunderGroupBox2.Controls.Add(mlTextBoxEdith2); + thunderGroupBox2.Controls.Add(crownLabel鍙充笅鏈�澶х缉鏀鹃噺); thunderGroupBox2.Controls.Add(skyLabelr); + thunderGroupBox2.Controls.Add(crownLabel鍙充笅鏈�灏忕缉鏀鹃噺); thunderGroupBox2.Controls.Add(mlTextBoxEditr); + thunderGroupBox2.Controls.Add(crownLabel6); thunderGroupBox2.Controls.Add(skyLabelL); + thunderGroupBox2.Controls.Add(crownLabel鍙充笂鏈�澶х缉鏀鹃噺); thunderGroupBox2.Controls.Add(mlTextBoxEditL); + thunderGroupBox2.Controls.Add(crownLabel鍙充笂鏈�灏忕缉鏀鹃噺); thunderGroupBox2.Controls.Add(skyLabelA); + thunderGroupBox2.Controls.Add(crownLabel3); thunderGroupBox2.Controls.Add(mlTextBoxEditA); - thunderGroupBox2.Controls.Add(skyLabelR2); - thunderGroupBox2.Controls.Add(mlTextBoxEditR2); + thunderGroupBox2.Controls.Add(crownLabel宸︿笅鏈�澶х缉鏀鹃噺); + thunderGroupBox2.Controls.Add(crownLabel宸︿笅鏈�灏忕缉鏀鹃噺); + thunderGroupBox2.Controls.Add(crownLabel2); thunderGroupBox2.Controls.Add(skyLabel鎵╂暎绠″嚭鍙g洿寰�); - thunderGroupBox2.Controls.Add(mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�); + thunderGroupBox2.Controls.Add(crownLabel宸︿笂鏈�澶х缉鏀鹃噺); + thunderGroupBox2.Controls.Add(mlTextBoxEditD4); + thunderGroupBox2.Controls.Add(crownLabel宸︿笂鏈�灏忕缉鏀鹃噺); thunderGroupBox2.Controls.Add(skyLabelh1); - thunderGroupBox2.Controls.Add(skyLabelR1); + thunderGroupBox2.Controls.Add(metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�); + thunderGroupBox2.Controls.Add(metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�); thunderGroupBox2.Controls.Add(mlTextBoxEdith1); - thunderGroupBox2.Controls.Add(mlTextBoxEditR1); + thunderGroupBox2.Controls.Add(metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�); + thunderGroupBox2.Controls.Add(metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�); 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.Size = new System.Drawing.Size(325, 411); thunderGroupBox2.TabIndex = 31; thunderGroupBox2.Text = "杈撳叆鍙傛暟"; + // + // crownLabel鍙充笅鍒囩嚎缂╂斁閲� + // + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.AutoSize = true; + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.BackColor = System.Drawing.SystemColors.Control; + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.ForeColor = System.Drawing.Color.Black; + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.Location = new System.Drawing.Point(98, 375); + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.Name = "crownLabel鍙充笅鍒囩嚎缂╂斁閲�"; + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(0, 16); + crownLabel鍙充笅鍒囩嚎缂╂斁閲�.TabIndex = 106; + // + // crownLabel鍙充笂鍒囩嚎缂╂斁閲� + // + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.AutoSize = true; + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.BackColor = System.Drawing.SystemColors.Control; + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.ForeColor = System.Drawing.Color.Black; + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.Location = new System.Drawing.Point(98, 337); + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.Name = "crownLabel鍙充笂鍒囩嚎缂╂斁閲�"; + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(0, 16); + crownLabel鍙充笂鍒囩嚎缂╂斁閲�.TabIndex = 105; + // + // crownLabel宸︿笅鍒囩嚎缂╂斁閲� + // + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.AutoSize = true; + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.BackColor = System.Drawing.SystemColors.Control; + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.ForeColor = System.Drawing.Color.Black; + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.Location = new System.Drawing.Point(98, 299); + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.Name = "crownLabel宸︿笅鍒囩嚎缂╂斁閲�"; + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(0, 16); + crownLabel宸︿笅鍒囩嚎缂╂斁閲�.TabIndex = 104; + // + // crownLabel宸︿笂鍒囩嚎缂╂斁閲� + // + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.AutoSize = true; + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.BackColor = System.Drawing.SystemColors.Control; + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.ForeColor = System.Drawing.Color.Black; + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.Location = new System.Drawing.Point(98, 261); + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.Name = "crownLabel宸︿笂鍒囩嚎缂╂斁閲�"; + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(0, 16); + crownLabel宸︿笂鍒囩嚎缂╂斁閲�.TabIndex = 103; + // + // crownLabel9 + // + crownLabel9.AutoSize = true; + crownLabel9.BackColor = System.Drawing.SystemColors.Control; + crownLabel9.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel9.ForeColor = System.Drawing.Color.Black; + crownLabel9.Location = new System.Drawing.Point(8, 375); + crownLabel9.Name = "crownLabel9"; + crownLabel9.Size = new System.Drawing.Size(84, 16); + crownLabel9.TabIndex = 102; + crownLabel9.Text = "鍙充笅鍒囩嚎缂╂斁閲�"; + // + // 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.Enabled = false; + 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(165, 34); + 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 = 77; + mlTextBoxEdith2.TabStop = false; + mlTextBoxEdith2.Text = "璇疯緭鍏�"; + mlTextBoxEdith2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; + mlTextBoxEdith2.TrailingIcon = null; + mlTextBoxEdith2.UseAccent = false; + mlTextBoxEdith2.UseSystemPasswordChar = false; + // + // crownLabel鍙充笅鏈�澶х缉鏀鹃噺 + // + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.AutoSize = true; + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.Location = new System.Drawing.Point(269, 359); + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.Name = "crownLabel鍙充笅鏈�澶х缉鏀鹃噺"; + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.TabIndex = 101; + crownLabel鍙充笅鏈�澶х缉鏀鹃噺.Text = "15.40"; // // 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.Location = new System.Drawing.Point(165, 151); skyLabelr.Name = "skyLabelr"; skyLabelr.Size = new System.Drawing.Size(46, 12); skyLabelr.TabIndex = 76; skyLabelr.Text = "璇疯緭鍏!"; skyLabelr.Visible = false; + // + // crownLabel鍙充笅鏈�灏忕缉鏀鹃噺 + // + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.AutoSize = true; + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.Location = new System.Drawing.Point(8, 359); + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.Name = "crownLabel鍙充笅鏈�灏忕缉鏀鹃噺"; + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.TabIndex = 100; + crownLabel鍙充笅鏈�灏忕缉鏀鹃噺.Text = "15.40"; // // mlTextBoxEditr // @@ -102,7 +253,7 @@ mlTextBoxEditr.HideSelection = true; mlTextBoxEditr.Hint = "r"; mlTextBoxEditr.LeadingIcon = null; - mlTextBoxEditr.Location = new System.Drawing.Point(164, 167); + mlTextBoxEditr.Location = new System.Drawing.Point(165, 100); mlTextBoxEditr.MaxLength = 32767; mlTextBoxEditr.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT; mlTextBoxEditr.Name = "mlTextBoxEditr"; @@ -128,17 +279,41 @@ mlTextBoxEditr.Leave += mlTextBoxEditr_Leave; mlTextBoxEditr.TextChanged += mlTextBoxEditr_TextChanged; // + // crownLabel6 + // + crownLabel6.AutoSize = true; + crownLabel6.BackColor = System.Drawing.SystemColors.Control; + crownLabel6.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel6.ForeColor = System.Drawing.Color.Black; + crownLabel6.Location = new System.Drawing.Point(8, 337); + crownLabel6.Name = "crownLabel6"; + crownLabel6.Size = new System.Drawing.Size(84, 16); + crownLabel6.TabIndex = 99; + crownLabel6.Text = "鍙充笂鍒囩嚎缂╂斁閲�"; + // // 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.Location = new System.Drawing.Point(14, 151); skyLabelL.Name = "skyLabelL"; skyLabelL.Size = new System.Drawing.Size(48, 12); skyLabelL.TabIndex = 74; skyLabelL.Text = "璇疯緭鍏!"; skyLabelL.Visible = false; + // + // crownLabel鍙充笂鏈�澶х缉鏀鹃噺 + // + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.AutoSize = true; + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.Location = new System.Drawing.Point(269, 321); + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.Name = "crownLabel鍙充笂鏈�澶х缉鏀鹃噺"; + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.TabIndex = 98; + crownLabel鍙充笂鏈�澶х缉鏀鹃噺.Text = "15.40"; // // mlTextBoxEditL // @@ -153,7 +328,7 @@ mlTextBoxEditL.HideSelection = true; mlTextBoxEditL.Hint = "L"; mlTextBoxEditL.LeadingIcon = null; - mlTextBoxEditL.Location = new System.Drawing.Point(13, 167); + mlTextBoxEditL.Location = new System.Drawing.Point(14, 100); mlTextBoxEditL.MaxLength = 32767; mlTextBoxEditL.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT; mlTextBoxEditL.Name = "mlTextBoxEditL"; @@ -179,17 +354,41 @@ mlTextBoxEditL.Leave += mlTextBoxEditL_Leave; mlTextBoxEditL.TextChanged += mlTextBoxEditL_TextChanged; // + // crownLabel鍙充笂鏈�灏忕缉鏀鹃噺 + // + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.AutoSize = true; + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.Location = new System.Drawing.Point(8, 321); + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.Name = "crownLabel鍙充笂鏈�灏忕缉鏀鹃噺"; + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.TabIndex = 97; + crownLabel鍙充笂鏈�灏忕缉鏀鹃噺.Text = "15.40"; + // // 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.Location = new System.Drawing.Point(165, 217); skyLabelA.Name = "skyLabelA"; skyLabelA.Size = new System.Drawing.Size(48, 12); skyLabelA.TabIndex = 72; skyLabelA.Text = "璇疯緭鍏!"; skyLabelA.Visible = false; + // + // crownLabel3 + // + crownLabel3.AutoSize = true; + crownLabel3.BackColor = System.Drawing.SystemColors.Control; + crownLabel3.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel3.ForeColor = System.Drawing.Color.Black; + crownLabel3.Location = new System.Drawing.Point(8, 299); + crownLabel3.Name = "crownLabel3"; + crownLabel3.Size = new System.Drawing.Size(84, 16); + crownLabel3.TabIndex = 96; + crownLabel3.Text = "宸︿笅鍒囩嚎缂╂斁閲�"; // // mlTextBoxEditA // @@ -204,7 +403,7 @@ mlTextBoxEditA.HideSelection = true; mlTextBoxEditA.Hint = "A"; mlTextBoxEditA.LeadingIcon = null; - mlTextBoxEditA.Location = new System.Drawing.Point(164, 101); + mlTextBoxEditA.Location = new System.Drawing.Point(165, 166); mlTextBoxEditA.MaxLength = 32767; mlTextBoxEditA.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT; mlTextBoxEditA.Name = "mlTextBoxEditA"; @@ -230,131 +429,176 @@ mlTextBoxEditA.Leave += mlTextBoxEditA_Leave; mlTextBoxEditA.TextChanged += mlTextBoxEditA_TextChanged; // - // skyLabelR2 + // crownLabel宸︿笅鏈�澶х缉鏀鹃噺 // - 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 = "璇疯緭鍏2!"; - skyLabelR2.Visible = false; + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.AutoSize = true; + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.Location = new System.Drawing.Point(269, 283); + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.Name = "crownLabel宸︿笅鏈�澶х缉鏀鹃噺"; + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.TabIndex = 95; + crownLabel宸︿笅鏈�澶х缉鏀鹃噺.Text = "15.40"; // - // mlTextBoxEditR2 + // crownLabel宸︿笅鏈�灏忕缉鏀鹃噺 // - 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; + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.AutoSize = true; + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.Location = new System.Drawing.Point(8, 283); + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.Name = "crownLabel宸︿笅鏈�灏忕缉鏀鹃噺"; + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.TabIndex = 94; + crownLabel宸︿笅鏈�灏忕缉鏀鹃噺.Text = "15.40"; + // + // 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(8, 261); + crownLabel2.Name = "crownLabel2"; + crownLabel2.Size = new System.Drawing.Size(84, 16); + crownLabel2.TabIndex = 93; + crownLabel2.Text = "宸︿笂鍒囩嚎缂╂斁閲�"; // // skyLabel鎵╂暎绠″嚭鍙g洿寰� // skyLabel鎵╂暎绠″嚭鍙g洿寰�.AutoSize = true; skyLabel鎵╂暎绠″嚭鍙g洿寰�.Font = new System.Drawing.Font("Swis721 BlkCn BT", 7F, System.Drawing.FontStyle.Bold); skyLabel鎵╂暎绠″嚭鍙g洿寰�.ForeColor = System.Drawing.Color.DeepPink; - skyLabel鎵╂暎绠″嚭鍙g洿寰�.Location = new System.Drawing.Point(13, 284); + skyLabel鎵╂暎绠″嚭鍙g洿寰�.Location = new System.Drawing.Point(14, 217); skyLabel鎵╂暎绠″嚭鍙g洿寰�.Name = "skyLabel鎵╂暎绠″嚭鍙g洿寰�"; - skyLabel鎵╂暎绠″嚭鍙g洿寰�.Size = new System.Drawing.Size(119, 12); + skyLabel鎵╂暎绠″嚭鍙g洿寰�.Size = new System.Drawing.Size(55, 12); skyLabel鎵╂暎绠″嚭鍙g洿寰�.TabIndex = 68; - skyLabel鎵╂暎绠″嚭鍙g洿寰�.Text = "璇疯緭鍏ユ墿鏁g鍑哄彛鐩村緞!"; + skyLabel鎵╂暎绠″嚭鍙g洿寰�.Text = "璇疯緭鍏4!"; skyLabel鎵╂暎绠″嚭鍙g洿寰�.Visible = false; // - // mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰� + // crownLabel宸︿笂鏈�澶х缉鏀鹃噺 // - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.AnimateReadOnly = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Depth = 0; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.HelperText = "璇疯緭鍏ユ纭墿鏁g鍑哄彛鐩村緞锛�"; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.HideSelection = true; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Hint = "鎵╂暎绠″嚭鍙g洿寰凞4"; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.LeadingIcon = null; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Location = new System.Drawing.Point(13, 233); - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.MaxLength = 32767; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Name = "mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�"; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.NullValuePromptText = null; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.PasswordChar = '\0'; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.PrefixSuffixText = "mm"; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.ReadOnly = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.RightToLeft = System.Windows.Forms.RightToLeft.Yes; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.SelectedText = ""; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.SelectionLength = 0; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.SelectionStart = 0; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.ShortcutsEnabled = true; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Size = new System.Drawing.Size(296, 48); - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.TabIndex = 67; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.TabStop = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Text = "璇疯緭鍏ユ墿鏁g鍑哄彛鐩村緞"; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.TrailingIcon = null; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.UseAccent = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.UseSystemPasswordChar = false; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Enter += mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜Enter; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.Leave += mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜Leave; - mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�.TextChanged += mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜TextChanged; + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.AutoSize = true; + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.Location = new System.Drawing.Point(269, 245); + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.Name = "crownLabel宸︿笂鏈�澶х缉鏀鹃噺"; + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.TabIndex = 92; + crownLabel宸︿笂鏈�澶х缉鏀鹃噺.Text = "15.40"; + // + // mlTextBoxEditD4 + // + mlTextBoxEditD4.AnimateReadOnly = false; + mlTextBoxEditD4.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; + mlTextBoxEditD4.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; + mlTextBoxEditD4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + mlTextBoxEditD4.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; + mlTextBoxEditD4.Depth = 0; + mlTextBoxEditD4.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); + mlTextBoxEditD4.HelperText = "杈撳叆閿欒锛�"; + mlTextBoxEditD4.HideSelection = true; + mlTextBoxEditD4.Hint = "D4"; + mlTextBoxEditD4.LeadingIcon = null; + mlTextBoxEditD4.Location = new System.Drawing.Point(14, 166); + mlTextBoxEditD4.MaxLength = 32767; + mlTextBoxEditD4.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT; + mlTextBoxEditD4.Name = "mlTextBoxEditD4"; + mlTextBoxEditD4.NullValuePromptText = null; + mlTextBoxEditD4.PasswordChar = '\0'; + mlTextBoxEditD4.PrefixSuffix = RLT.Controls.MaterialTextBoxEdit.PrefixSuffixTypes.Suffix; + mlTextBoxEditD4.PrefixSuffixText = "mm"; + mlTextBoxEditD4.ReadOnly = false; + mlTextBoxEditD4.RightToLeft = System.Windows.Forms.RightToLeft.Yes; + mlTextBoxEditD4.SelectedText = ""; + mlTextBoxEditD4.SelectionLength = 0; + mlTextBoxEditD4.SelectionStart = 0; + mlTextBoxEditD4.ShortcutsEnabled = true; + mlTextBoxEditD4.Size = new System.Drawing.Size(145, 48); + mlTextBoxEditD4.TabIndex = 67; + mlTextBoxEditD4.TabStop = false; + mlTextBoxEditD4.Text = "璇疯緭鍏�"; + mlTextBoxEditD4.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; + mlTextBoxEditD4.TrailingIcon = null; + mlTextBoxEditD4.UseAccent = false; + mlTextBoxEditD4.UseSystemPasswordChar = false; + mlTextBoxEditD4.Enter += mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜Enter; + mlTextBoxEditD4.Leave += mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜Leave; + mlTextBoxEditD4.TextChanged += mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰刜TextChanged; + // + // crownLabel宸︿笂鏈�灏忕缉鏀鹃噺 + // + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.AutoSize = true; + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.BackColor = System.Drawing.SystemColors.Control; + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F, System.Drawing.FontStyle.Bold); + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.ForeColor = System.Drawing.Color.Black; + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.Location = new System.Drawing.Point(8, 245); + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.Name = "crownLabel宸︿笂鏈�灏忕缉鏀鹃噺"; + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.Size = new System.Drawing.Size(38, 16); + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.TabIndex = 91; + crownLabel宸︿笂鏈�灏忕缉鏀鹃噺.Text = "15.40"; // // 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.Location = new System.Drawing.Point(14, 85); skyLabelh1.Name = "skyLabelh1"; skyLabelh1.Size = new System.Drawing.Size(54, 12); skyLabelh1.TabIndex = 66; skyLabelh1.Text = "璇疯緭鍏1!"; skyLabelh1.Visible = false; // - // skyLabelR1 + // metroTrackBar鍙充笅鍒囩嚎缂╂斁閲� // - 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 = "璇疯緭鍏1!"; - skyLabelR1.Visible = false; + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.BackgroundColor = System.Drawing.Color.FromArgb(205, 205, 205); + 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(52, 356); + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Maximum = 10000; + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Minimum = 0; + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Name = "metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�"; + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(204, 16); + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Style = RLT.Enum.Metro.Style.Light; + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.StyleManager = null; + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.TabIndex = 90; + metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�.Text = "metroTrackBar4"; + 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鍙充笂鍒囩嚎缂╂斁閲�.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(52, 318); + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Maximum = 10000; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Minimum = 0; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Name = "metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�"; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(204, 16); + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Style = RLT.Enum.Metro.Style.Light; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.StyleManager = null; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.TabIndex = 89; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Text = "metroTrackBar3"; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.ThemeAuthor = "Taiizor"; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.ThemeName = "MetroLight"; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Value = 0; + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.ValueColor = System.Drawing.Color.FromArgb(65, 177, 225); + metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�.Scroll += metroTrackBar鍙充笂鍒囩嚎缂╂斁閲廮Scroll; // // mlTextBoxEdith1 // @@ -369,7 +613,7 @@ mlTextBoxEdith1.HideSelection = true; mlTextBoxEdith1.Hint = "h1"; mlTextBoxEdith1.LeadingIcon = null; - mlTextBoxEdith1.Location = new System.Drawing.Point(13, 101); + mlTextBoxEdith1.Location = new System.Drawing.Point(14, 34); mlTextBoxEdith1.MaxLength = 32767; mlTextBoxEdith1.MouseState = RLT.Helper.MaterialDrawHelper.MaterialMouseState.OUT; mlTextBoxEdith1.Name = "mlTextBoxEdith1"; @@ -395,44 +639,53 @@ mlTextBoxEdith1.Leave += mlTextBoxEdith1_Leave; mlTextBoxEdith1.TextChanged += mlTextBoxEdith1_TextChanged; // - // mlTextBoxEditR1 + // metroTrackBar宸︿笅鍒囩嚎缂╂斁閲� // - 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; + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.BackgroundColor = System.Drawing.Color.FromArgb(205, 205, 205); + 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(52, 280); + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Maximum = 10000; + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Minimum = 0; + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Name = "metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�"; + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(204, 16); + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.Style = RLT.Enum.Metro.Style.Light; + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.StyleManager = null; + metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�.TabIndex = 88; + 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宸︿笂鍒囩嚎缂╂斁閲�.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(52, 245); + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Maximum = 10000; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Minimum = 0; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Name = "metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�"; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Size = new System.Drawing.Size(204, 16); + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Style = RLT.Enum.Metro.Style.Light; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.StyleManager = null; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.TabIndex = 87; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Text = "metroTrackBar1"; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.ThemeAuthor = "Taiizor"; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.ThemeName = "MetroLight"; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Value = 0; + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.ValueColor = System.Drawing.Color.FromArgb(65, 177, 225); + metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�.Scroll += metroTrackBar宸︿笂鍒囩嚎缂╂斁閲廮Scroll; // // metroToolTip渚ч潰鍑哄彛鐩寸嚎 // @@ -453,7 +706,7 @@ BackColor = System.Drawing.SystemColors.ControlLight; Controls.Add(thunderGroupBox2); Name = "sidelineExitControl"; - Size = new System.Drawing.Size(325, 308); + Size = new System.Drawing.Size(325, 411); thunderGroupBox2.ResumeLayout(false); thunderGroupBox2.PerformLayout(); ResumeLayout(false); @@ -468,14 +721,31 @@ 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鎵╂暎绠″嚭鍙g洿寰�; - private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdit鎵╂暎绠″嚭鍙g洿寰�; + private RLT.Controls.MaterialTextBoxEdit mlTextBoxEditD4; 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渚ч潰鍑哄彛鐩寸嚎; + private RLT.Controls.MaterialTextBoxEdit mlTextBoxEdith2; + private RLT.Controls.CrownLabel crownLabel9; + private RLT.Controls.CrownLabel crownLabel鍙充笅鏈�澶х缉鏀鹃噺; + private RLT.Controls.CrownLabel crownLabel鍙充笅鏈�灏忕缉鏀鹃噺; + private RLT.Controls.CrownLabel crownLabel6; + private RLT.Controls.CrownLabel crownLabel鍙充笂鏈�澶х缉鏀鹃噺; + private RLT.Controls.CrownLabel crownLabel鍙充笂鏈�灏忕缉鏀鹃噺; + private RLT.Controls.CrownLabel crownLabel3; + private RLT.Controls.CrownLabel crownLabel宸︿笅鏈�澶х缉鏀鹃噺; + private RLT.Controls.CrownLabel crownLabel宸︿笅鏈�灏忕缉鏀鹃噺; + private RLT.Controls.CrownLabel crownLabel2; + private RLT.Controls.CrownLabel crownLabel宸︿笂鏈�澶х缉鏀鹃噺; + private RLT.Controls.CrownLabel crownLabel宸︿笂鏈�灏忕缉鏀鹃噺; + private RLT.Controls.MetroTrackBar metroTrackBar鍙充笅鍒囩嚎缂╂斁閲�; + private RLT.Controls.MetroTrackBar metroTrackBar鍙充笂鍒囩嚎缂╂斁閲�; + private RLT.Controls.MetroTrackBar metroTrackBar宸︿笅鍒囩嚎缂╂斁閲�; + private RLT.Controls.MetroTrackBar metroTrackBar宸︿笂鍒囩嚎缂╂斁閲�; + private RLT.Controls.CrownLabel crownLabel鍙充笅鍒囩嚎缂╂斁閲�; + private RLT.Controls.CrownLabel crownLabel鍙充笂鍒囩嚎缂╂斁閲�; + private RLT.Controls.CrownLabel crownLabel宸︿笅鍒囩嚎缂╂斁閲�; + private RLT.Controls.CrownLabel crownLabel宸︿笂鍒囩嚎缂╂斁閲�; } } -- Gitblit v1.9.3