C# :how to have message box within an event handler that freezes the application until Ok is pressed?
<p>Hi I have this in the main </p>

<pre><code>  NetworkChange.NetworkAddressChanged += new NetworkAddressChangedEventHandler(AddressChangedCallback);
//The main also contains a form
</code></pre>

<p>and this method below it . </p>

<pre><code>static void AddressChangedCallback(object sender, EventArgs e){
// would like to have a message box here that freezes the entire application
including  the form as mentioned above , untill OK is pressed"
}
</code></pre>

<p>there is </p>

<p>please help </p>
