Blue.Windows.StickyWindow.StartResize C# (CSharp) Method

StartResize() private method

private StartResize ( ResizeDir resDir ) : bool
resDir ResizeDir
return bool
        private bool StartResize(ResizeDir resDir)
        {
            if ( stickOnResize )
            {
                resizeDirection = resDir;
                formRect = originalForm.Bounds;
                formOriginalRect = originalForm.Bounds;	// save the old bounds

                if ( !originalForm.Capture )	// start capturing messages
                    originalForm.Capture = true;

                MessageProcessor = ResizeMessageProcessor;

                return true;	// catch the message
            } else
                return false;	// leave default processing !
        }