窗体启动执行顺序:FormShowFormPaintFormActivateFormResize关闭窗体过程FormCloseFormDestroy最小化再最大化:FormPaintFormResize未执行FormActivate事件.