예제 #1
0
        private void AddScrubber()
        {
            Scrubber          scrubber = new Scrubber();
            ScrubberViewModel vm       = new ScrubberViewModel(scrubber);

            Scrubbers.Add(vm);
            _lss.scrubbers.Add(scrubber);
        }
예제 #2
0
 private void RemoveScrubber(ScrubberViewModel scrubber)
 {
     Scrubbers.Remove(scrubber);
     _lss.scrubbers.Remove(scrubber.Model);
 }