/// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }

                // dispose the ink overlay's resources
                if (myInkOverlay != null)
                {
                    myInkOverlay.Dispose();
                }

                // dispose the divider's resources
                if (myInkDivider != null)
                {
                    // dispose the recognizer context that we associated
                    // with the divider
                    if (myInkDivider.RecognizerContext != null)
                    {
                        myInkDivider.RecognizerContext.Dispose();
                    }

                    // dispose the strokes that we associated
                    // with the divider
                    if (myInkDivider.Strokes != null)
                    {
                        myInkDivider.Strokes.Dispose();
                    }
                    myInkDivider.Dispose();
                }
            }
            base.Dispose(disposing);
        }