| | |
| | | SkyTextBox controlr1 = this.Controls.Find($"skyTextBoxæé¢r1{index}", true).FirstOrDefault() as SkyTextBox; |
| | | SkyTextBox controlGaMa1 = this.Controls.Find($"skyTextBoxæé¢y1{index}", true).FirstOrDefault() as SkyTextBox; |
| | | SkyTextBox controlh1 = this.Controls.Find($"skyTextBoxæé¢H1{index}", true).FirstOrDefault() as SkyTextBox; |
| | | if (Convert.ToDouble(controlr1.Text) * (1 + Math.Sin(Convert.ToDouble(controlGaMa1.Text) * Math.PI / 180)) > Convert.ToDouble(controlh1.Text) || Convert.ToDouble(controlr1.Text) == 0) |
| | | if (Convert.ToDouble(controlr1.Text) * (1 + Math.Sin(Convert.ToDouble(controlGaMa1.Text) * Math.PI / 180)) > Convert.ToDouble(controlh1.Text) - 3 || Convert.ToDouble(controlr1.Text) == 0) |
| | | { |
| | | controlr1.BackColor = Color.OrangeRed; |
| | | MessageBox.Show("rä¸åçï¼è¯·éæ°è¾å
¥"); |
| | |
| | | _sectionBundleInfo = new ViewModel.SectionBundleInfo(); |
| | | } |
| | | _sectionBundleInfo.V3 = v3; |
| | | _sectionBundleInfo.CalcParaV3(this._hdrBaseInfo, this._geomBaseInfo); |
| | | _sectionBundleInfo.RecalculateArea(this._hdrBaseInfo, this._geomBaseInfo); |
| | | |
| | | RefrehSectBundlePara(); |
| | | |