It sounds like you are asking about a "plug-in" implementation.
the correct method will be invoked.
Well that approach would be similar to the old C function pointer technique. OO concepts introduced "interfaces" which are preferable from a design standpoint. It is also referred to as Design by Contract[^]
Anyway a simplified version of this for a "plug in" implementation could go like this:
Design one or more interfaces (see Design by Contract). Each plug-in (class) will implement one or more of these interfaces. Along with the interfaces you design a "configuration" scheme for giving the application the required information about new classes that have been installed. Then you can leverage the System.Reflection classes to dynamically instantiate an object from it's text name (basically). Using this approach you can add new classes to an application by installing a new assembly and adding the requisite information to the applications configuration file.
do you know of the method in .NET 2005 that can help me work on config files?
in the config files, i need to pass string through..
basically, i need to write and read config files to store values in string.
PS:i dont know how to use your codes as i dont understand them, thanks for attaching them. (:
I think you should begin with finding out how message boards work.
First thing is to find the right message board, in this case you are in the wrong one.
This message board is only for C++/cli.
Second thing is that you never ever ask someone to do your homework.
With this said I think you should google a c tutorial or buy a book.
Before i posted in this forum, that was my first choice, but all i tried, put out just -1.
I wan't this index number, when i click on it and then click delete, i woud know, witch cell to read. I am using alot of #define for enormous setting. Some coud be disabled. If i can't find by ID, will try by Username or email. (Only 3 options that can be unique). ps i have almost all Columns enabled, except Comment.