Exemplo n.º 1
0
 public override void Draw(IGraphicsAdapter pSystem)
 {
     pSystem.DrawRect(Bounds, _background);
     if (IsToggled)
     {
         pSystem.DrawRectOutline(Bounds, Border);
     }
 }