Hi,

In my application, i have one main page and a login page. In the main page i have a pushbutton named Login. Once i click the login It should open Login form and enter password and all. Once password is correct i need to update the pushbutton text to logout.

In this part, i could able to create those two forms and password validation as well. .In this i am facing a problem that when i click login button and enter into Login page then click cancel in the login page,the pushbutton text should be login. This is not happening.

In all these time i am not closing the main window

Could you please help me out to sort out this issue

Regards
Vinithr