Пример #1
0
            public override void Draw()
            {
                this.ButtonClose.X = this.Width - this.ButtonClose.Radius * 3;
                this.ButtonClose.Y = this.Hieght / 2 - this.ButtonClose.Radius;
                UIRenderer.RectangleComponent(this);

                Childs.ForEach(c => c.Draw());
            }
Пример #2
0
        public override void Draw()
        {
            UIRenderer.ListBox(this);

            Items.ForEach(item => UIRenderer.RectangleComponent(item));

            Childs.ForEach(c => c.Draw());
        }