I have been writing a VB.net Windows application for a while and it has grown considerably. Whether this was proper OO design or not, all the code is in a single class. Graphically speaking, the program consists of a single form which contains a single TabControl. The TabControl has three TabPages in it. Like I said, all of the code for these three TabPages is in one, main class.
Another developer is now coming in on the project. I strongly prefer that the new code written by this developer be written in a new TabPage within the same TabControl.
Here's the problem: for source-code control considerations, the other developer's code must be in a new class. Is it possible for the new developer to write their new TabPage code in a new class and still have it function as part of the TabControl in the main class? Would it work to make a constructor for the new class that accepts and argument of a TabControl?
Like I said, I'd prefer that the new code function as part of the same TabControl, but I need the new code to be in a new class.
Any ideas, please?
Thanks so much,
Lazer
Another developer is now coming in on the project. I strongly prefer that the new code written by this developer be written in a new TabPage within the same TabControl.
Here's the problem: for source-code control considerations, the other developer's code must be in a new class. Is it possible for the new developer to write their new TabPage code in a new class and still have it function as part of the TabControl in the main class? Would it work to make a constructor for the new class that accepts and argument of a TabControl?
Like I said, I'd prefer that the new code function as part of the same TabControl, but I need the new code to be in a new class.
Any ideas, please?
Thanks so much,
Lazer