/// <summary>Handles the ObjectChanged event of the exceptionTree control.</summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ExceptionExplorer.UI.MethodContainerEventArgs"/> instance containing the event data.</param> void exceptionTree_ObjectChanged(object sender, MethodContainerEventArgs e) { this.exceptionTreeTitle.Text = string.Format("Unhandled exceptions in {0}", e.MethodContainer.ToString()); }
/// <summary>Handles the ObjectChanged event of the callStackList control.</summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ExceptionExplorer.UI.MethodContainerEventArgs"/> instance containing the event data.</param> void callStackList_ObjectChanged(object sender, MethodContainerEventArgs e) { Type ex = this.exceptionTree.SelectedException; if (ex != null) { this.callStackListTitle.Text = string.Format("Call-stacks for {0} in {1}", ex.Name, e.MethodContainer.ToString()); } else { this.callStackListTitle.Text = "Call-stacks"; } }