前年的一个项目用到了,圆角Panel,网上都是VB的例子,也参考了下,改成了C#的例子,放在这里,备以后查用。
---------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace RoundPanel
{
class RoundPanel : Panel
{
private int mMatrixRound = 8;
private Color mBack;
public Color Back
{