Beispiel #1
0
        protected override void OnRenderSkinFormBorder(SkinFormBorderRenderEventArgs e)
        {
            Graphics graphics = e.Graphics;

            using (new AntiAliasGraphics(graphics))
            {
                this.DrawBorder(graphics, e.ClipRectangle, e.SkinForm.RoundStyle, e.SkinForm.Radius, e.SkinForm);
            }
        }
Beispiel #2
0
        public void DrawSkinFormBorder(SkinFormBorderRenderEventArgs e)
        {
            this.OnRenderSkinFormBorder(e);
            SkinFormBorderRenderEventHandler handler = this.Events[EventRenderSkinFormBorder] as SkinFormBorderRenderEventHandler;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Beispiel #3
0
 protected abstract void OnRenderSkinFormBorder(SkinFormBorderRenderEventArgs e);