About vb.net forms
Hi im using vb.net 2003 version pls help me out to resolve the problem of creating forms to develop a desktop stock control system to a bookstore im planning to design a stock control system to a bookshop which is my final yr project of my degree can pls give me an idea of the forms that you have to create for a stock contol system
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Jarrod7 pointsPosted Jan 11, 2007, 6:08 AM EST
On user button click
if ( verified == true )
close out current form
create the new form object
new form.Run()
else "Sorry, you are not verified"
by having the forms know about each other and access to their properties (ie visible) you create an issue that will arise down the road where you want to change something on one form like its accessor methods and the app crashes... but by having the two forms seperated and having one just call the others Run method then you can change everything you need without the fear of issues because neither know anything about each other other than to tell one to run.
Jarrod7 pointsPosted Jan 11, 2007, 6:08 AM EST
On user button click
if ( verified == true )
close out current form
create the new form object
new form.Run()
else "Sorry, you are not verified"
by having the forms know about each other and access to their properties (ie visible) you create an issue that will arise down the road where you want to change something on one form like its accessor methods and the app crashes... but by having the two forms seperated and having one just call the others Run method then you can change everything you need without the fear of issues because neither know anything about each other other than to tell one to run.
Mikkel Meyer Andersen4 pointsPosted Jan 14, 2007, 12:35 PM EST
Mikkel Meyer Andersen4 pointsPosted Jan 14, 2007, 12:35 PM EST