Beispiel #1
0
        public override void Draw()
        {
            if (!IsVisible || Size.Width == 0 || Size.Height == 0)
            {
                return;
            }

            OnBeforeDraw();
            DrawControl();
            OnBeforeChildrenDraw();
            DrawChildControls();
            DrawWindow();
            TitleLabel.Draw();
            DrawBorder();
            OnAfterDraw();
        }