public override void DisableLine(OrderLineVM line) { if (this.Sections.Remove(line as Section)) { this.DeletedSections.Add(line as Section); OnPropertyChanged("Sections"); } }
public override void EnableLine(OrderLineVM line) { OutputLine outLine = line as OutputLine; Item it = line as Item; if (outLine != null) { outLine.Valid = true; this.RefreshOutputList(); } else if (it != null && this.delInputList.Remove(it)) { this.InputList.Add(it); this.RefreshInputList(); } }
public abstract void DisableLine(OrderLineVM line);