我怎么才能触发AddArcExample的方法
我的代码错在哪里?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;namespace WindowsApplication1
{
    public partial class Form6 : Form
    {
  
        public Form6()
        {
            InitializeComponent();
            this.Form6_Load += new EventHandler(AddArcExample);
            
        }        private void Form6_Load(object sender, EventArgs e)
        {
            PaintEventArgs ex=new PaintEventArgs(this.CreateGraphics(),new Rectangle(0,0,this.Width,this.Height));
            AddArcExample(ex);        }
        private void AddArcExample(PaintEventArgs e)
        {
            // Create a GraphicsPath object.
            GraphicsPath myPath = new GraphicsPath();            // Set up and call AddArc, and close the figure.
            Rectangle rect = new Rectangle(20, 20, 50, 100);
            myPath.StartFigure();
            myPath.AddArc(rect, 0, 180);
            myPath.CloseFigure();            // Draw the path to screen.
            e.Graphics.DrawPath(new Pen(Color.Red, 3), myPath);
        }
}