protected void FireOnError(object sender, Exception ex) { if (OnError != null) OnError(sender, ex); }