public SettingWeightForm Setup(ValveWeightPrm valWtPrm) { this.valveKey = valWtPrm.Key; LngPropertyProxyTypeDescriptor proxyObj = new LngPropertyProxyTypeDescriptor(valWtPrm, this.GetType().Name); this.propertyGrid1.SelectedObject = proxyObj; this.valveWeightPrm = valWtPrm; this.valveWeightPrmBackUp = (ValveWeightPrm)valWtPrm.Clone(); return(this); }
public ValveSprayResultPrm(ValveWeightPrm valWtPrm) { this.valWtPrm = valWtPrm; }