简单窗口创建封装。

Signed-off-by: CyberZHG <443442708@qq.com>