From 9ec25b6a1592597d99ecd753e60b6ae6510c39cc Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 5 May 2009 20:47:52 +0000 Subject: [PATCH] Added code to watch the resize of the annotation panel --- PROMS/Volian.Controls.Library/AnnotationDetails.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/AnnotationDetails.cs b/PROMS/Volian.Controls.Library/AnnotationDetails.cs index 5f295672..9f280773 100644 --- a/PROMS/Volian.Controls.Library/AnnotationDetails.cs +++ b/PROMS/Volian.Controls.Library/AnnotationDetails.cs @@ -90,6 +90,9 @@ namespace Volian.Controls.Library public AnnotationDetails() { InitializeComponent(); +#if(DEBUG) + //Resize+=new EventHandler(AnnotationDetails_Resize); // Debug the resize event +#endif } #endregion @@ -297,6 +300,10 @@ namespace Volian.Controls.Library } #endregion - + private void AnnotationDetails_Resize(object sender, EventArgs e) + { + vlnStackTrace.ShowStackLocal(string.Format("Resize - Height = {0}",Height),3,4); + //vlnStackTrace.ShowStack(string.Format("Resize - Height = {0}", Height)); + } } }