Login dialog

Login dialog has two input field:

User name

The name of last user has logged in is restored to this field when dialog is shown

User password

The content of this field is hidden by asterisks.

There're two buttons:

Login

When the button is pressed the application is trying to log in. But dialog has closed immediately after button is clicked. After that a message box appears and prompts about attempt to connect. If the attempt fails, new message box changes it and prompts about login failure. If attempt is a success the message box is hidden and application frame changes status to Connected and opens MDI child windows.

Cancel

Just hides login dialog.