Now handles security exceptions.

This commit is contained in:
the_fiddler 2008-04-13 15:51:31 +00:00
parent cacb1625c6
commit 3072a77a61

View file

@ -255,7 +255,9 @@ namespace Examples
}
catch (System.Security.SecurityException e)
{
MessageBox.Show("The Example Launcher failed to start, due to insufficient permissions. This may happen if you execute the application from a network share.", "OpenTK Example Launcher failed to start.",
MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
Trace.WriteLine(e.ToString());
}
}
}