private void CalculateProperties() { if (DesignationSet == true) { RebarSectionFactory factory = new RebarSectionFactory(); RebarSection sec = factory.GetRebarSection(Designation); if (sec != null) { this.A = sec.A; this.db = sec.Diameter; } } }
private void CalculateProperties() { if (DesignationSet==true) { RebarSectionFactory factory = new RebarSectionFactory(); RebarSection sec = factory.GetRebarSection(Designation); if (sec != null) { this.A = sec.A; this.db = sec.Diameter; } } }