Correct EventHandler to tell me when notepad closed
<p>I have the following:</p>

<pre><code>class Program {

    static void Main(string[] args) {

        Process pr;
        pr = new Process();
        pr.StartInfo = new ProcessStartInfo(@"notepad.exe");
        pr.Disposed += new EventHandler(YouClosedNotePad);
        pr.Start();

        Console.WriteLine("press [enter] to exit");
        Console.ReadLine();
    }
    static void YouClosedNotePad(object sender, EventArgs e) {
        Console.WriteLine("thanks for closing notepad");
    }

}
</code></pre>

<p>When I close Notepad I don't get the message I was hoping to get - how do I amend so that closing notepad is returned to the console?</p>
