Dave

Dave

  • NA
  • 20
  • 0

Object oriented programming. Create instance of form

Mar 30 2012 4:24 AM
Hi,

I just need some advice on the best way to approach a project.

I need to create a form where users can enter data and this then gets written away to a database.

I will have a parent MDI form that lets you create child instances of the form so you can view/enter more than 1 at a time.


Do i create a form that holds or the methods i need for writing the data away and then create instances if this, or should i first be looking at writing a class that then creates an instance of a form. This class would then hold all the methods etc.

Im really just trying to see how anyone else would aproach this and to try and keep it inline with OOP.


Thanks

Answers (3)