Esempio n. 1
0
		private void AdjustSliceSplitPosition(Slice otherSlice)
		{
			SplitContainer otherSliceSC = otherSlice.SplitCont;
			// Remove and readd event handler when setting the value for the other fellow.
			otherSliceSC.SplitterMoved -= slice_SplitterMoved;
			otherSlice.SetSplitPosition();
			otherSliceSC.SplitterMoved += slice_SplitterMoved;
		}