示例#1
0
        protected override void OnRenderGroundFormBorder(FormBorderRenderEventArgs e)
        {
            Graphics g = e.Graphics;

            using (SmoothingModeGraphics antiGraphics = new SmoothingModeGraphics(g))
            {
                DrawBorder(g, e.ClipRectangle, e.Form.RoundStyle, e.Form.Radius);
            }
        }
示例#2
0
        public void DrawGroundFormBorder(FormBorderRenderEventArgs e)
        {
            OnRenderGroundFormBorder(e);
            var handle = Events[EventRenderGroundFormBorder] as FormBorderRenderEventHandler;

            if (handle != null)
            {
                handle(this, e);
            }
        }
示例#3
0
 protected abstract void OnRenderGroundFormBorder(FormBorderRenderEventArgs e);