Large project. How would u write the classes.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Thread: Large project. How would u write the classes.

Threaded View

  1. #1
    Join Date
    Aug 2012
    Posts
    9

    Large project. How would u write the classes.

    I'm writing a program and I could use some inspiration with the classes.
    The pattern is already in place (using mvp because they want to expand to both website and phone in about a year). With a data and a business layer.

    Background information
    But it's about making trailers for trucks.
    So the program has four catogories of trailers.
    One trailers contains about 200 specifications.

    Problem
    Now I'm using about 35 user controls, so I can re-use them.
    They all work with comboboxes so u can just choose between it.
    Quick example:
    U have axles, Different back doors, Bumper, Measurements.
    The combobox datasource, value is in the table with the data of the vehicle.
    the display member is in each a different table with a relation between it.

    Possible solution
    Have a class for every table. Then have another class for every usercontrol where you implement it.
    Then 1 class for the trailer.
    But that is alot of classes?

    Any other suggestions

    Thanks in advance
    Last edited by deurebokkn; August 30th, 2012 at 02:09 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center