protected override void OnPaint(PaintEventArgs e) { e.Graphics.SmoothingMode = SmoothingMode.AntiAlias; using (SolidBrush b = new SolidBrush(Color.FromArgb(129, 242, 121))) { for (int i = 0; i < 12; i++) { e.Graphics.FillPath(b, path[i]); } } base.OnPaint(e); }
private SolidBrush _b= null; private SolidBrush b { get { if (_b== null) return _b= new SolidBrush(Color.FromArgb(129, 242, 121)); else return _b; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)