SIL.FieldWorks.Common.Framework.DetailControls.Slice.Slice.mySplitterMoved C# (CSharp) Méthode

mySplitterMoved() private méthode

Note: There are two SplitterDistance event handlers on a Slice. This one handles the side effects of redrawing the tree node, when needed. Another one on DataTree takes care of updating the SplitterDisance on all the other slices.
private mySplitterMoved ( object sender, SplitterEventArgs e ) : void
sender object
e SplitterEventArgs
Résultat void
		void mySplitterMoved(object sender, SplitterEventArgs e)
		{
			SplitContainer sc = SplitCont;
			if (!sc.Panel1Collapsed)
			{
				//if ((sc.SplitterDistance > MaxAbbrevWidth && valueSansLabelindent <= MaxAbbrevWidth)
				//	|| (sc.SplitterDistance <= MaxAbbrevWidth && valueSansLabelindent > MaxAbbrevWidth))
				//{
					TreeNode.Invalidate();
				//}
			}
		}