/// <summary> /// An event handler called when the user clicks on the exception details button. /// </summary> /// <param name="sender">The sender object.</param> /// <param name="e">The event argument.</param> private void OnExceptionClick(object sender, EventArgs e) { if (null == this.evt) return; if (null == this.evt.Exception) return; if (null == this.formException) this.formException = new FormExceptionProperties(); this.formException.ShowDialog(this, this.evt.Exception); }
// Private methods. /// <summary> /// An event handler called when the inner exception link label is clicked; /// </summary> /// <param name="sender">The sender object.</param> /// <param name="e">The event arguments.</param> private void OnInnerExceptionClick(object sender, LinkLabelLinkClickedEventArgs e) { if (null == this.exception.InnerException) return; if (null == this.formException) this.formException = new FormExceptionProperties(); this.formException.ShowDialog(this, this.exception.InnerException); }