Пример #1
0
        private void GetSafetyCoefficient_TextChanged(object sender, TextChangedEventArgs e)
        {
            double fb = Convert.ToDouble(GetSafetyCoefficient.Text);

            FenderFunction.FunctionStabilityCondition(fb);
            MooringFunction.StressCondition();
            UpdateResults();
        }
Пример #2
0
        private void Label_Initialized(object sender, EventArgs e)
        {
            double fb = 1;

            GetSafetyCoefficient.Text = fb.ToString();

            FenderFunction.FunctionStabilityCondition(fb);
            MooringFunction.StressCondition();
            UpdateResults();
        }