Briefly you need:
1. Declare per monitor DPI awareness in the application manifest
2. Handle Windows Message about that window is moved to monitor with different DPI
3. Update images and window layout