enabling the menustripitems

first of all.. i've two forms, MainForm and LoginForm, doing windows programming for C#..
MainForm has the login menustrip, and once the user clicks on it, it will open and show the LoginForm.. the user will then enter his userid and password and submit the information.. then there will a SELECT query to check whether the user is authenicated.. if the user is authenicated, the menustripitems for Login will be disabled, whereas for Logout will be enabled.. i cant seem to get the enabling and disabling working..
can anyone help me with this? thanks alot in advance..
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!