Resize a window in WinUI (part 2: resize the window)

Once you can calculate DPI for your app, how can you use it to size your windows properly? Let's find out.