protected override void OnRenderSkinFormBorder(SkinFormBorderRenderEventArgs e)
 {
     Graphics g = e.Graphics;
     using (AntiAliasGraphics antiGraphics = new AntiAliasGraphics(g))
     {
         DrawBorder(
             g,
             e.ClipRectangle,
             e.SkinForm.RoundStyle,
             e.SkinForm.Radius);
     }
 }
Exemple #2
0
        public void DrawSkinFormBorder(
            SkinFormBorderRenderEventArgs e)
        {
            OnRenderSkinFormBorder(e);
            SkinFormBorderRenderEventHandler handle =
                Events[EventRenderSkinFormBorder]
                as SkinFormBorderRenderEventHandler;

            if (handle != null)
            {
                handle(this, e);
            }
        }
Exemple #3
0
        protected override void OnRenderSkinFormBorder(SkinFormBorderRenderEventArgs e)
        {
            Graphics g = e.Graphics;

            using (AntiAliasGraphics antiGraphics = new AntiAliasGraphics(g))
            {
                DrawBorder(
                    g,
                    e.ClipRectangle,
                    e.SkinForm.RoundStyle,
                    e.SkinForm.Radius);
            }
        }
Exemple #4
0
 protected abstract void OnRenderSkinFormBorder(
     SkinFormBorderRenderEventArgs e);
 protected abstract void OnRenderSkinFormBorder(
     SkinFormBorderRenderEventArgs e);
 public void DrawSkinFormBorder(
     SkinFormBorderRenderEventArgs e)
 {
     OnRenderSkinFormBorder(e);
     SkinFormBorderRenderEventHandler handle =
         Events[EventRenderSkinFormBorder]
         as SkinFormBorderRenderEventHandler;
     if (handle != null)
     {
         handle(this, e);
     }
 }