在在线帮助看到以下说明,第二个为int型重载时,需要以下处理了。
Pass a Component and an integer to create the form while bypassing the streaming system that loads a form抯 properties and descendants from a .DFM file. The second parameter (Dummy) serves only to distinguish this constructor from the first. This constructor is rarely used for form objects. When using this syntax, stream in an external .DFM to bind the visual components with their classes. WriteComponentResFile and ReadComponentResFile must bracket the constructor call. The following code sequence
1. streams out an external .DFM file
2. creates a new form disassociated from any .DFM resource file
3. streams in the external .DFM file and binds it to this new form: