Revert "Revert "主窗口函数框架构造完成""

This reverts commit 1e05dba72aef2f2b64368f4361e0907eb82bca73.