Equivalent to VCL's DataModule
- From: Edward Diener <eddielee_no_spam_here@xxxxxxxxxxxxxx>
- Date: Fri, 24 Mar 2006 08:05:15 -0500
In Borland's VCL ( Visual Component Library ), one can use a DataModule into which one can drop non-visual components from the RAD designer. The DataModule is a design-time visual container for non-GUI components, which is never seen visually at run-time as a GUI control. An application or Dll can have any number of datamodules in it, each with its own name. One can also manually add any non-GUI data to any particular DataModule. For an application at run-time, datamodule instances for each visual datamodule are automatically created just like forms, while for a Dll at run-time it is the programmer's responsibility to create datamodule instances for each visual datamodule created at design time.
I have found the ability to use datamodules as visual containers to non-GUI components in an application or Dll to be very useful. Admittedly a datamodule is nothing more than a class which contains instances of non-GUI components and possibly other non-GUI fields, but I like the ability to manipulate it at design time, and as a means of separating the data portion of an application or Dll from the GUI portion.
Does .NET have any equivalent to this idea, so that non-visual components can be created at design time without having to drop such a component on a Windows or Web form. ?
.
- Follow-Ups:
- Re: Equivalent to VCL's DataModule
- From: Clive Dixon
- Re: Equivalent to VCL's DataModule
- Prev by Date: UTF8 to UTF16 ?
- Next by Date: My Project/Settings.settings
- Previous by thread: UTF8 to UTF16 ?
- Next by thread: Re: Equivalent to VCL's DataModule
- Index(es):
Relevant Pages
|
Loading