开发者

after log out form, the main form remains at its place.. any one will help me out for hiding it

When I login into my application the main form appears but when I log out, the main form remains at its position. I want such that when I log out, the main form should be hidden.

Can anyone help me out?

Update:

When I click onto login button, login page ap开发者_JAVA技巧pears and when I enter the user id and password it proceeds to main form. When I log out, the main form appears and the controls transfer back to the log in page. I need to hide that main form when it logs out. Is it clear now??


I'm going to take a guess here - you have code in the FormClosing event of your Login form that creates a new instance of your main form and shows it (with Show).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜