I am developing a very basic application Windows Form Application in c# that inserts values into a SQL database. I have four separate forms
- one for inputting customer details
- one for inputting any transaction details
- one for searching customers/transactions respectively.
What is the best way link all four forms together? I'm only just getting into C# so the most basic way possible would be ideal.
The way I see it working in my head is that you run the program and end up on one screen which shows four buttons for the four corresponding forms. When you press the button a separate window opens showing the insert forms. You can then close the form to return to the Main Start Screen
What would be the basic code for this in C#? For examples sake lets say the 5 different layouts are
Main
(Containing the buttons)TransactionEntry
AddressEntry
TransactionSearch
AddressSearch