Implements custom painting and rendering in WinForms using GDI and GDI+. Use when overriding OnPaint or OnPaintBackground, creating owner-drawn controls, working with Graphics objects, drawing primitives (DrawLine, DrawRectangle, FillEllipse), measuring or rendering text with TextRenderer or Graphics.DrawString, handling Paint events, using BufferedGraphics for double-buffering, or managing…
安装
npx skills add microsoft/upgrade-agent-plugins --skill managing-winforms-renderingnpx skills add microsoft/upgrade-agent-plugins --skill managing-winforms-rendering -a claude-code -gnpx skills add microsoft/upgrade-agent-plugins --skill managing-winforms-rendering -a codex -ggemini skills install https://github.com/microsoft/upgrade-agent-plugins.git --path plugins/upgrade-agent/upgrade/dotnet/skills/lazy/desktop/winforms/managing-winforms-renderinggh skill install microsoft/upgrade-agent-plugins managing-winforms-renderinggit clone --depth 1 https://github.com/microsoft/upgrade-agent-plugins /tmp/microsoft__upgrade-agent-plugins
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/desktop/winforms/managing-winforms-rendering ~/.claude/skills/managing-winforms-rendering # Claude Code
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/desktop/winforms/managing-winforms-rendering ~/.agents/skills/managing-winforms-rendering # Codex, Cursor, Gemini CLI, Copilot, OpenCode