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); } }
public void DrawGroundFormBorder(FormBorderRenderEventArgs e) { OnRenderGroundFormBorder(e); var handle = Events[EventRenderGroundFormBorder] as FormBorderRenderEventHandler; if (handle != null) { handle(this, e); } }
protected abstract void OnRenderGroundFormBorder(FormBorderRenderEventArgs e);