如题呀!

解决方案 »

  1.   

    public void FillEllipseFloat(PaintEventArgs e)
    {
    // Create solid brush.
    SolidBrush redBrush = new SolidBrush(Color.Red);
    // Create location and size of ellipse.
    float x = 0.0F;
    float y = 0.0F;
    float width = 200.0F;
    float height = 200.0F;
    // Fill ellipse on screen.
    e.Graphics.FillEllipse(redBrush, x, y, width, height);
      

  2.   

    public void FillEllipseFloat(PaintEventArgs e)
    {
    // Create solid brush.
    SolidBrush redBrush = new SolidBrush(Color.Red);
    // Create location and size of ellipse.
    float x = 0.0F;
    float y = 0.0F;
    float width = 200.0F;
    float height = 200.0F;
    // Fill ellipse on screen.
    e.Graphics.FillEllipse(redBrush, x, y, width, height);
    }
      

  3.   

    System.Drawing.Graphics.FillEllipse方法。圆之时椭圆的一个特例。MSDN查一下全都有了。