How to structure the UI and the database
so i'm making application allows user enter/remove data database.. i can make design work, i'm wondering whether best way design it. i have database class, has necessary methods retrieve,add, , remove records database. the way i'm doing right is... i have main window, instantiate other windows (one adding record, 1 deleting record). i thought instantiating database class in main window, , pass add/remove record windows (through constructor), when user click "save" button, the passed database class instance call add or remove methods. is best way design it? thanks. its complicated couple of forms. keep simple! unless building massive multi-user enterprise class application not need go extent. digital forensic software developer ccs labs digital forensic software mark answer or vote if useful thank you! Visual Studio Languages ...