public struSiteVariables(string sMode = "default") { sHiba = null; sCalcID = "AT"; rFej = new struRendfej(); rRendszer = new struRendszer(sMode); rKosar = new struTetel[0]; rBontas = new struTetel[0]; }
public struSiteVariables(struSiteVariables rSV) { this.sHiba = rSV.sHiba; this.sCalcID = rSV.sCalcID; this.rFej = rSV.rFej; this.rRendszer = new struRendszer(rSV.rRendszer); this.rKosar = new struTetel[rSV.rBontas.Length]; this.rBontas = new struTetel[rSV.rBontas.Length]; rSV.rBontas.CopyTo(this.rBontas, 0); }