代码说明:
By Pierre A. Damas. This example show how you can specify the minimum and maximum sizes of a window, showing it directly to the user by blocking him during resize. It also shows predefined size and position of windows when maximizing it
窗口的最大最小化