How do I write a resize event for my program?

Printable View