窗体分为模式窗体和无模式窗体. 模式窗体在创建窗口创建和释放: begin if not Assigned(FB_Input_JianYanDan) then FB_Input_JianYanDan :=TFB_Input_JianYanDan.Create(Self); try FB_Input_JianYanDan.ShowModal; finally FB_Input_JianYanDan.Free; FB_Input_JianYanDan:= nil; end; end; 非模式窗口:在
// // Dog.h // OC12_自动释放池 // // Created by zhangxueming on 15/6/18. // Copyright (c) 2015年 zhangxueming. All rights reserved. // #import <Foundation/Foundation.h> @interface Dog : NSObject @end // // Dog.m // OC12_自动释放池 // // Created by zhangxueming