public void starback() { this.dcomp0 = new objsetcom_P(); this.dcomp1 = new objsetcom_P(); this.dcomp0.objset = new List <objsetcom>(); this.dcomp1.objset = new List <objsetcom>(); }
public mpage(Myapp_inf app) { this.Myapp = app; this.objsetcomps = new List <objsetcom_P>(); this.objsetcomindex = 0; this.dcomp0 = null; this.dcomp1 = null; }
public void endback() { if (this.dcomp0 != null && this.dcomp0.objset != null) { if (this.dcomp0.objset.Count > 0) { this.objsetcom_add(this.dcomp0); this.objsetcom_add(this.dcomp1); } this.dcomp0 = new objsetcom_P(); this.dcomp0 = null; this.refbackview(); } }
private void objsetcom_add(objsetcom_P com) { if (this.objsetcomps.Count > 0 && this.objsetcomindex < this.objsetcomps.Count - 1) { if (this.objsetcomindex % 2 != 0) { this.objsetcomindex--; } while (this.objsetcomindex < this.objsetcomps.Count) { this.objsetcomps.Remove(this.objsetcomps[this.objsetcomps.Count - 1]); } } this.objsetcomps.Add(com); this.objsetcomindex = this.objsetcomps.Count - 1; }