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