Hi all,
I've got a typical windows form application with a login form, when I
login, the login form will be hidden and a new window will appear.
For this, I'm using .Show() method, and not .ShowDialog() because
there's a chance of reloading a different ini file during login and I
want to allow the user to reuse the login form (and it's credentials),
and when the user reloads the login form will became visible and the
the other window will became hidden.
If he really tries to login again then I will kill the new window and
create a new one.
This all works fine, the problem happens when I try to minimize the
login form, a small box appears in the left corner just like a mdi
window when we minimize it on the main form.
I would like for this "box" not to appear, and the form simply
disapears and when I press the on the icon of the taskbar the window
would appear again, just like any windows form application.
Any help?
Thanks,
Luis Miguel Pinho