コード例 #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);