Hi i'm pretty new to using Visual Studio C#. I am creating an EPOS system for an off license and at the moment I am climatizing myself to using Windows Forms.
This is how I plan for it to be set up:
I have created a main form. On the left hand side there are two group boxes one on top of the other. On the right hand side I am leaving it as a big blank square. The top left box lists the items scanned in with their prices. The bottom left box has buttons for example 'Total', 'Void Sale', 'No Sale' etc. What I am planning is that every screen on the EPOS uses this main form and has its own separate controls in the big blank square on the right.
The stage I am at now is creating the log in screen and so I have hit Add New Item and chosen 'Inherited Form' (choosing the default main form to inherit from). This inherited form is called Login and has the same layout as the main form as I had hoped. Now I have added my log in controls into the big blank square on the right but when I hit run to test the app, all it shows is the original main form with the big blank square and not the log in controls.
Can someone please point me out where I have gone wrong. Maybe I'm not understanding the inherited form option correctly?
Thanks
This is how I plan for it to be set up:
I have created a main form. On the left hand side there are two group boxes one on top of the other. On the right hand side I am leaving it as a big blank square. The top left box lists the items scanned in with their prices. The bottom left box has buttons for example 'Total', 'Void Sale', 'No Sale' etc. What I am planning is that every screen on the EPOS uses this main form and has its own separate controls in the big blank square on the right.
The stage I am at now is creating the log in screen and so I have hit Add New Item and chosen 'Inherited Form' (choosing the default main form to inherit from). This inherited form is called Login and has the same layout as the main form as I had hoped. Now I have added my log in controls into the big blank square on the right but when I hit run to test the app, all it shows is the original main form with the big blank square and not the log in controls.
Can someone please point me out where I have gone wrong. Maybe I'm not understanding the inherited form option correctly?
Thanks
Comment