You will have to do a few things here. Basically, you will have to have
a mouse handler on the groupbox which determines when you press the mouse
button down. Once you do, you would set a flag indicating that the mouse
button is held down.
Then, in the event handler for when the mouse moves, you would check the
flag, if the flag is set to true, then adjust the Size property accordingly.