void addConcrete() { var newMat = new ICEConcrete(); _materials.Materials.Add(newMat); _materialVMs.Add(new MaterialVM(newMat)); }
void addConcrete() { var newMat = new ICEConcrete(); _materials.Materials.Add(newMat); //_materialVMs.Add(new MaterialVM(newMat, this)); MaterialNames.Add(newMat.Name); _parent.UpdateAll(); }
public ICEv2ConcreteVM(ICEConcrete material, Measurement measure) { _measure = measure; _material = material; _concMat = material; setTransportToSite(); setTransportToDisposal(); }