| | |
| | | using DPumpHydr.WinFrmUI.RLT.Controls; |
| | | using DPumpHydr.WinFrmUI.Volute.ViewModel; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | |
| | | 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æ©æ£ç®¡åºå£ç´å¾.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 = "请è¾å
¥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(mlTextBoxEditD4.Text) || mlTextBoxEditD4.Text == "请è¾å
¥" || double.Parse(mlTextBoxEditD4.Text) == 0) |
| | | { |
| | | error = "请è¾å
¥R1ï¼"; |
| | | error = "请è¾å
¥D4ï¼"; |
| | | 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(); |
| | | mlTextBoxEditD4.TrailingIcon = GlobalResource.GetTipTrailingIcon(); |
| | | skyLabelæ©æ£ç®¡åºå£ç´å¾.Visible = true; |
| | | } |
| | | if (string.IsNullOrEmpty(mlTextBoxEdith1.Text) || mlTextBoxEdith1.Text == "请è¾å
¥" || double.Parse(mlTextBoxEdith1.Text) == 0) |
| | |
| | | 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 = "请è¾å
¥h2ï¼"; |
| | | error = "请è¾å
¥Aï¼"; |
| | | isOk = false; |
| | | mlTextBoxEditA.TrailingIcon = GlobalResource.GetTipTrailingIcon(); |
| | | skyLabelA.Visible = true; |
| | |
| | | } |
| | | 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æ©æ£ç®¡åºå£ç´å¾, "æ©æ£ç®¡åºå£ç´å¾"); |
| | | metroToolTipä¾§é¢åºå£ç´çº¿.SetToolTip(this.mlTextBoxEditD4, "æ©æ£ç®¡åºå£ç´å¾"); |
| | | } |
| | | 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) |
| | | { |
| | |
| | | mlTextBoxEdith1.UseAccent = false; |
| | | } |
| | | } |
| | | mlTextBoxEdith2.Text = mlTextBoxEdith1.Text; |
| | | } |
| | | |
| | | private void mlTextBoxEditA_Enter(object sender, EventArgs e) |
| | | { |
| | | |
| | | skyLabelA.Visible = false; |
| | | mlTextBoxEditA.TrailingIcon = null; |
| | | if (mlTextBoxEditA.Text == "请è¾å
¥") |
| | |
| | | |
| | | 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 = "请è¾å
¥"; |
| | | } |
| | |
| | | private void mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾_Enter(object sender, EventArgs e) |
| | | { |
| | | skyLabelæ©æ£ç®¡åºå£ç´å¾.Visible = false; |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.TrailingIcon = null; |
| | | if (mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text == "请è¾å
¥æ©æ£ç®¡åºå£ç´å¾") |
| | | mlTextBoxEditD4.TrailingIcon = null; |
| | | if (mlTextBoxEditD4.Text == "请è¾å
¥") |
| | | { |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text = ""; |
| | | mlTextBoxEditD4.Text = ""; |
| | | } |
| | | } |
| | | |
| | | private void mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾_Leave(object sender, EventArgs e) |
| | | { |
| | | if (string.IsNullOrEmpty(mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text) || double.Parse(mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text) == 0) |
| | | if (string.IsNullOrEmpty(mlTextBoxEditD4.Text) || double.Parse(mlTextBoxEditD4.Text) == 0) |
| | | { |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text = "请è¾å
¥æ©æ£ç®¡åºå£ç´å¾"; |
| | | mlTextBoxEditD4.Text = "请è¾å
¥"; |
| | | } |
| | | } |
| | | |
| | | private void mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾_TextChanged(object sender, EventArgs e) |
| | | { |
| | | foreach (var s in mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text) |
| | | foreach (var s in mlTextBoxEditD4.Text) |
| | | { |
| | | if (!double.TryParse(mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text) && mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text != "请è¾å
¥æ©æ£ç®¡åºå£ç´å¾") |
| | | if (!double.TryParse(mlTextBoxEditD4.Text, out double result) && !string.IsNullOrEmpty(mlTextBoxEditD4.Text) && mlTextBoxEditD4.Text != "请è¾å
¥") |
| | | { |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.UseAccent = true; |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.ShowAssistiveText = true; |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.Text = ""; |
| | | mlTextBoxEditD4.UseAccent = true; |
| | | mlTextBoxEditD4.ShowAssistiveText = true; |
| | | mlTextBoxEditD4.Text = ""; |
| | | break; |
| | | } |
| | | else |
| | | { |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.ShowAssistiveText = false; |
| | | mlTextBoxEditæ©æ£ç®¡åºå£ç´å¾.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(); |
| | | } |
| | | } |
| | | } |