public virtual void OnUserException(ExceptionEventArgs e)
{
#if DEBUG
System.Diagnostics.Debug.WriteLine("Exception on editing cell: " + e.Exception.ToString());
#endif
if (UserException!=null)
UserException(this, e);
if (e.Handled == false)
{
DevAge.Windows.Forms.ErrorDialog.Show(this, e.Exception, "Error");
e.Handled = true;
}
}