TheBossMan
Expert Member
Hi Guys
I am really new to programming. I recently downloaded Visual Studio 2015 Community, busy making a small application for some of the people at work to try and assist them. (This will be my 1st ever time I try and program something, never even studied this, mostly getting by on YouTube and Googling, so forgive me if my question sound dof.)
It allows them to keep track of the stock they have in their store room. Item Search, Receive Stock, Dispatch Stock, Basic Reporting. Most of the basic features are working as I would like it to. I am having some issues with users. The login screen does work and you can add and delete users from the database, it picks up when you sign in with guest account or admin account and opens the correct form.
How to I get the app to remember who the signed in user is, I was trying to create a label object to show
"Logged in as:" Name and Surname it opens the 1st form with these details, but when changing forms these label seem to pull wrong details from the database.
Also on the user creation screen I am able to delete a user account of a currently logged in user. It's as if the application don't know who the logged in user is.
Any tips or guides you guys can give will be appreciated.
O yeah currently using Windows Form application, just started looking in WPF, not sure if I should try and redo / move everything over to WPF.
I am really new to programming. I recently downloaded Visual Studio 2015 Community, busy making a small application for some of the people at work to try and assist them. (This will be my 1st ever time I try and program something, never even studied this, mostly getting by on YouTube and Googling, so forgive me if my question sound dof.)
It allows them to keep track of the stock they have in their store room. Item Search, Receive Stock, Dispatch Stock, Basic Reporting. Most of the basic features are working as I would like it to. I am having some issues with users. The login screen does work and you can add and delete users from the database, it picks up when you sign in with guest account or admin account and opens the correct form.
How to I get the app to remember who the signed in user is, I was trying to create a label object to show
"Logged in as:" Name and Surname it opens the 1st form with these details, but when changing forms these label seem to pull wrong details from the database.
Also on the user creation screen I am able to delete a user account of a currently logged in user. It's as if the application don't know who the logged in user is.
Any tips or guides you guys can give will be appreciated.
O yeah currently using Windows Form application, just started looking in WPF, not sure if I should try and redo / move everything over to WPF.