Beispiel #1
0
 public override void DisableLine(OrderLineVM line)
 {
     if (this.Sections.Remove(line as Section))
     {
         this.DeletedSections.Add(line as Section);
         OnPropertyChanged("Sections");
     }
 }
Beispiel #2
0
        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();
            }
        }
Beispiel #3
0
 public abstract void DisableLine(OrderLineVM line);