Пример #1
0
 public void Show(DisplayArea showArea)
 {
     foreach (var area in areas)
     {
         area.Visible = showArea == area;
     }
 }
Пример #2
0
 public void Add(DisplayArea area)
 {
     areas.Add(area);
 }
Пример #3
0
 public AreaToggler Add(DisplayArea area)
 {
     area.Visible = false;
     this.areas.Add(area);
     return(this);
 }