Well, I am trying to give my game\'s window the ability to resize uniformly. I have checked everywhere but I can\'t seem to find anything about it.
Any ideas?
My guess is that this code won't work because it will keep calling itself, because the ClientSizeChanged event will fire the ClientSizeChanged event.
Maybe you need to check and see if the window is already in the correct aspect ratio, and not change it further.