日期:2014-05-18 浏览次数:20939 次
        public frmPrintExcel()
        {
            InitializeComponent();
            GraphicsPath path = new GraphicsPath();
            path.AddEllipse(0, 0, this.ClientRectangle.Width, this.ClientRectangle.Height / 2);
            path.AddEllipse(0, this.ClientRectangle.Height/2, this.ClientRectangle.Width, this.ClientRectangle.Height / 2);
            this.Region = new Region(path);
        }
------解决方案--------------------
重绘标题栏了,就是比较麻烦了
这方面的C++例子很多了,