private void Calcfh() { //因为F1中已经存在TFM1_f,这里new出他的引用 TFM1_f tfm3_f = new TFM1_f("Q235"); tfm3_f.Search(); if (tfm3_f.IsSearched) { fh = tfm3_f.TargetValue; } }
/// <summary> /// 抗压拉弯设计值 /// </summary> public void Calcf() { TFM1_f tfm1_f = new TFM1_f("Q235"); f = tfm1_f.Search(); }